Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/nicstat.spec'], chrootPath='/var/lib/mock/f33-build-127049-40157/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/nicstat.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580256000 Wrote: /builddir/build/SRPMS/nicstat-1.95-13.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/nicstat.spec'], chrootPath='/var/lib/mock/f33-build-127049-40157/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/nicstat.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580256000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1hrgXy + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf nicstat-1.95 + /usr/bin/gzip -dc /builddir/build/SOURCES/nicstat-1.95.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd nicstat-1.95 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.oQaKVu + umask 022 + cd /builddir/build/BUILD + cd nicstat-1.95 + gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection nicstat.c -o nicstat nicstat.c: In function 'load_snmp': nicstat.c:1566:21: warning: too many arguments for format [-Wformat-extra-args] 1566 | n = fscanf(snmp, "Udp: %lld %lld %lld %lld " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ nicstat.c: In function 'init_if_speed_list': nicstat.c:2344:10: warning: unused variable 'if_record_save_ptr' [-Wunused-variable] 2344 | char *if_record_save_ptr; | ^~~~~~~~~~~~~~~~~~ nicstat.c: In function 'main': nicstat.c:2841:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 2841 | if (time_is_up) | ^ At top level: nicstat.c:284:12: warning: 'g_opt_k' defined but not used [-Wunused-variable] 284 | static int g_opt_k; | ^~~~~~~ In file included from /usr/include/string.h:495, from nicstat.c:36: In function 'strncpy', inlined from 'get_speed_duplex' at nicstat.c:1603:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nicstat.c: In function 'main': nicstat.c:1770:10: warning: 'sats' may be used uninitialized in this function [-Wmaybe-uninitialized] 1770 | else if (value < 100000) | ^ nicstat.c:2030:9: note: 'sats' was declared here 2030 | double sats; /* saturation value per sec */ | ^~~~ nicstat.c:1780:10: warning: 'defers' may be used uninitialized in this function [-Wmaybe-uninitialized] 1780 | else if (value < 100) | ^ nicstat.c:2035:9: note: 'defers' was declared here 2035 | double defers; | ^~~~~~ nicstat.c:1780:10: warning: 'nocps' may be used uninitialized in this function [-Wmaybe-uninitialized] 1780 | else if (value < 100) | ^ nicstat.c:2034:9: note: 'nocps' was declared here 2034 | double nocps; | ^~~~~ nicstat.c:1780:10: warning: 'colls' may be used uninitialized in this function [-Wmaybe-uninitialized] 1780 | else if (value < 100) | ^ nicstat.c:2033:9: note: 'colls' was declared here 2033 | double colls; | ^~~~~ nicstat.c:1780:10: warning: 'oerrs' may be used uninitialized in this function [-Wmaybe-uninitialized] 1780 | else if (value < 100) | ^ nicstat.c:2032:9: note: 'oerrs' was declared here 2032 | double oerrs; | ^~~~~ nicstat.c:1780:10: warning: 'ierrs' may be used uninitialized in this function [-Wmaybe-uninitialized] 1780 | else if (value < 100) | ^ nicstat.c:2031:9: note: 'ierrs' was declared here 2031 | double ierrs; | ^~~~~ nicstat.c:1770:10: warning: 'wavs' may be used uninitialized in this function [-Wmaybe-uninitialized] 1770 | else if (value < 100000) | ^ nicstat.c:2029:9: note: 'wavs' was declared here 2029 | double wavs; /* write average packet size */ | ^~~~ nicstat.c:1770:10: warning: 'ravs' may be used uninitialized in this function [-Wmaybe-uninitialized] 1770 | else if (value < 100000) | ^ nicstat.c:2028:9: note: 'ravs' was declared here 2028 | double ravs; /* read average packet size */ | ^~~~ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.A5QnCw + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/nicstat-1.95-13.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/nicstat-1.95-13.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/nicstat-1.95-13.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/nicstat-1.95-13.fc33.riscv64 + cd nicstat-1.95 + install -p -D -m 0755 nicstat /builddir/build/BUILDROOT/nicstat-1.95-13.fc33.riscv64/usr/bin/nicstat + install -p -D -m 0644 nicstat.1 /builddir/build/BUILDROOT/nicstat-1.95-13.fc33.riscv64/usr/share/man/man1/nicstat.1 + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.95-13.fc33 --unique-debug-suffix -1.95-13.fc33.riscv64 --unique-debug-src-base nicstat-1.95-13.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/nicstat-1.95 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/nicstat-1.95-13.fc33.riscv64/usr/bin/nicstat extracting debug info from /builddir/build/BUILDROOT/nicstat-1.95-13.fc33.riscv64/usr/bin/nicstat original debug info size: 104kB, size after compression: 108kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 137 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/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: nicstat-1.95-13.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.RtRW7y + umask 022 + cd /builddir/build/BUILD + cd nicstat-1.95 + DOCDIR=/builddir/build/BUILDROOT/nicstat-1.95-13.fc33.riscv64/usr/share/doc/nicstat + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/nicstat-1.95-13.fc33.riscv64/usr/share/doc/nicstat + cp -pr README.txt /builddir/build/BUILDROOT/nicstat-1.95-13.fc33.riscv64/usr/share/doc/nicstat + cp -pr ChangeLog.txt /builddir/build/BUILDROOT/nicstat-1.95-13.fc33.riscv64/usr/share/doc/nicstat + cp -pr LICENSE.txt /builddir/build/BUILDROOT/nicstat-1.95-13.fc33.riscv64/usr/share/doc/nicstat + RPM_EC=0 ++ jobs -p + exit 0 Provides: nicstat = 1.95-13.fc33 nicstat(riscv-64) = 1.95-13.fc33 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) rtld(GNU_HASH) Processing files: nicstat-debugsource-1.95-13.fc33.riscv64 Provides: nicstat-debugsource = 1.95-13.fc33 nicstat-debugsource(riscv-64) = 1.95-13.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: nicstat-debuginfo-1.95-13.fc33.riscv64 Provides: debuginfo(build-id) = 6bc929c829235cb10320da2a83547061b2aaa23a nicstat-debuginfo = 1.95-13.fc33 nicstat-debuginfo(riscv-64) = 1.95-13.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: nicstat-debugsource(riscv-64) = 1.95-13.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/nicstat-1.95-13.fc33.riscv64 Wrote: /builddir/build/RPMS/nicstat-1.95-13.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/nicstat-debugsource-1.95-13.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/nicstat-debuginfo-1.95-13.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.3oWzix + umask 022 + cd /builddir/build/BUILD + cd nicstat-1.95 + /usr/bin/rm -rf /builddir/build/BUILDROOT/nicstat-1.95-13.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0