Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/onesixtyone.spec'], chrootPath='/var/lib/mock/f37-build-671689-75290/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/onesixtyone.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658448000 Wrote: /builddir/build/SRPMS/onesixtyone-0.3.2-28.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/onesixtyone.spec'], chrootPath='/var/lib/mock/f37-build-671689-75290/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/onesixtyone.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658448000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.719CST + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf onesixtyone-0.3.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/onesixtyone-0.3.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd onesixtyone-0.3.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (onesixtyone-makefile.patch):' Patch #0 (onesixtyone-makefile.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file Makefile + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8qOw8k + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd onesixtyone-0.3.2 + make 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' -j4 gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o onesixtyone.o onesixtyone.c onesixtyone.c:336:6: warning: conflicting types for built-in function 'logf'; expected 'float(float)' [-Wbuiltin-declaration-mismatch] 336 | void logf(char* fmt, ...) | ^~~~ onesixtyone.c:30:1: note: 'logf' is declared in header '' 29 | #include +++ |+#include 30 | onesixtyone.c: In function 'receive_snmp': onesixtyone.c:763:99: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] 763 | ret = recvfrom(sock, &buf, sizeof(buf), 0, (struct sockaddr*)remote_addr, &remote_addr_len); | ^~~~~~~~~~~~~~~~ | | | int * In file included from /usr/include/sys/socket.h:343, from onesixtyone.c:26: /usr/include/bits/socket2.h:62:56: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 62 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ onesixtyone.c: In function 'init_options': onesixtyone.c:205:49: warning: 'strncpy' specified bound 255 equals destination size [-Wstringop-truncation] 205 | strncpy(log_filename, optarg, sizeof(log_filename)); | ^ onesixtyone.c:202:49: warning: 'strncpy' specified bound 250 equals destination size [-Wstringop-truncation] 202 | strncpy(input_filename, optarg, sizeof(input_filename)); | ^ onesixtyone.c:197:49: warning: 'strncpy' specified bound 250 equals destination size [-Wstringop-truncation] 197 | strncpy(community_filename, optarg, sizeof(community_filename)); | ^ gcc -o onesixtyone onesixtyone.o + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.lpszCK + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/onesixtyone-0.3.2-28.fc37.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/onesixtyone-0.3.2-28.fc37.riscv64 ++ dirname /builddir/build/BUILDROOT/onesixtyone-0.3.2-28.fc37.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/onesixtyone-0.3.2-28.fc37.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd onesixtyone-0.3.2 + rm -rf /builddir/build/BUILDROOT/onesixtyone-0.3.2-28.fc37.riscv64 + install -D onesixtyone /builddir/build/BUILDROOT/onesixtyone-0.3.2-28.fc37.riscv64/usr/bin/onesixtyone + install -D -m 0644 dict.txt /builddir/build/BUILDROOT/onesixtyone-0.3.2-28.fc37.riscv64/usr/share/onesixtyone/dict.txt + install -m 0644 -pD /builddir/build/SOURCES/onesixtyone.1 /builddir/build/BUILDROOT/onesixtyone-0.3.2-28.fc37.riscv64/usr/share/man/man1/onesixtyone.1 + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 0.3.2-28.fc37 --unique-debug-suffix -0.3.2-28.fc37.riscv64 --unique-debug-src-base onesixtyone-0.3.2-28.fc37.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/onesixtyone-0.3.2 extracting debug info from /builddir/build/BUILDROOT/onesixtyone-0.3.2-28.fc37.riscv64/usr/bin/onesixtyone original debug info size: 136kB, size after compression: 140kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 38 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: onesixtyone-0.3.2-28.fc37.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.LaLXAh + umask 022 + cd /builddir/build/BUILD + cd onesixtyone-0.3.2 + DOCDIR=/builddir/build/BUILDROOT/onesixtyone-0.3.2-28.fc37.riscv64/usr/share/doc/onesixtyone + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/onesixtyone-0.3.2-28.fc37.riscv64/usr/share/doc/onesixtyone + cp -pr ChangeLog /builddir/build/BUILDROOT/onesixtyone-0.3.2-28.fc37.riscv64/usr/share/doc/onesixtyone + cp -pr README /builddir/build/BUILDROOT/onesixtyone-0.3.2-28.fc37.riscv64/usr/share/doc/onesixtyone + RPM_EC=0 ++ jobs -p + exit 0 Provides: onesixtyone = 0.3.2-28.fc37 onesixtyone(riscv-64) = 0.3.2-28.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.34)(64bit) rtld(GNU_HASH) Processing files: onesixtyone-debugsource-0.3.2-28.fc37.riscv64 Provides: onesixtyone-debugsource = 0.3.2-28.fc37 onesixtyone-debugsource(riscv-64) = 0.3.2-28.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: onesixtyone-debuginfo-0.3.2-28.fc37.riscv64 Provides: debuginfo(build-id) = 536038315aa8ffa7d87906ac858c585505e70579 onesixtyone-debuginfo = 0.3.2-28.fc37 onesixtyone-debuginfo(riscv-64) = 0.3.2-28.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: onesixtyone-debugsource(riscv-64) = 0.3.2-28.fc37 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/onesixtyone-0.3.2-28.fc37.riscv64 Wrote: /builddir/build/RPMS/onesixtyone-0.3.2-28.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/onesixtyone-debugsource-0.3.2-28.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/onesixtyone-debuginfo-0.3.2-28.fc37.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.x7vvnn + umask 022 + cd /builddir/build/BUILD + cd onesixtyone-0.3.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/onesixtyone-0.3.2-28.fc37.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.5BcXIU + umask 022 + cd /builddir/build/BUILD + rm -rf onesixtyone-0.3.2 onesixtyone-0.3.2.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0