Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/nicstat.spec'], chrootPath='/var/lib/mock/f31-build-63200-29272/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=345600uid=986gid=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=1564012800 Wrote: /builddir/build/SRPMS/nicstat-1.95-12.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/nicstat.spec'], chrootPath='/var/lib/mock/f31-build-63200-29272/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=345600uid=986gid=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=1564012800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.twyu7w + 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 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.AfJfuz + 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 BUILDSTDERR: nicstat.c: In function 'load_snmp': BUILDSTDERR: nicstat.c:1566:21: warning: too many arguments for format [-Wformat-extra-args] BUILDSTDERR: 1566 | n = fscanf(snmp, "Udp: %lld %lld %lld %lld " BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: nicstat.c: In function 'init_if_speed_list': BUILDSTDERR: nicstat.c:2344:10: warning: unused variable 'if_record_save_ptr' [-Wunused-variable] BUILDSTDERR: 2344 | char *if_record_save_ptr; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: nicstat.c: In function 'main': BUILDSTDERR: nicstat.c:2841:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 2841 | if (time_is_up) BUILDSTDERR: | ^ BUILDSTDERR: At top level: BUILDSTDERR: nicstat.c:284:12: warning: 'g_opt_k' defined but not used [-Wunused-variable] BUILDSTDERR: 284 | static int g_opt_k; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from nicstat.c:36: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'get_speed_duplex' at nicstat.c:1603:2: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: nicstat.c: In function 'main': BUILDSTDERR: nicstat.c:1770:10: warning: 'sats' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1770 | else if (value < 100000) BUILDSTDERR: | ^ BUILDSTDERR: nicstat.c:2030:9: note: 'sats' was declared here BUILDSTDERR: 2030 | double sats; /* saturation value per sec */ BUILDSTDERR: | ^~~~ BUILDSTDERR: nicstat.c:1780:10: warning: 'defers' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1780 | else if (value < 100) BUILDSTDERR: | ^ BUILDSTDERR: nicstat.c:2035:9: note: 'defers' was declared here BUILDSTDERR: 2035 | double defers; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: nicstat.c:1780:10: warning: 'nocps' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1780 | else if (value < 100) BUILDSTDERR: | ^ BUILDSTDERR: nicstat.c:2034:9: note: 'nocps' was declared here BUILDSTDERR: 2034 | double nocps; BUILDSTDERR: | ^~~~~ BUILDSTDERR: nicstat.c:1780:10: warning: 'colls' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1780 | else if (value < 100) BUILDSTDERR: | ^ BUILDSTDERR: nicstat.c:2033:9: note: 'colls' was declared here BUILDSTDERR: 2033 | double colls; BUILDSTDERR: | ^~~~~ BUILDSTDERR: nicstat.c:1780:10: warning: 'oerrs' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1780 | else if (value < 100) BUILDSTDERR: | ^ BUILDSTDERR: nicstat.c:2032:9: note: 'oerrs' was declared here BUILDSTDERR: 2032 | double oerrs; BUILDSTDERR: | ^~~~~ BUILDSTDERR: nicstat.c:1780:10: warning: 'ierrs' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1780 | else if (value < 100) BUILDSTDERR: | ^ BUILDSTDERR: nicstat.c:2031:9: note: 'ierrs' was declared here BUILDSTDERR: 2031 | double ierrs; BUILDSTDERR: | ^~~~~ BUILDSTDERR: nicstat.c:1770:10: warning: 'wavs' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1770 | else if (value < 100000) BUILDSTDERR: | ^ BUILDSTDERR: nicstat.c:2029:9: note: 'wavs' was declared here BUILDSTDERR: 2029 | double wavs; /* write average packet size */ BUILDSTDERR: | ^~~~ BUILDSTDERR: nicstat.c:1770:10: warning: 'ravs' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1770 | else if (value < 100000) BUILDSTDERR: | ^ BUILDSTDERR: nicstat.c:2028:9: note: 'ravs' was declared here BUILDSTDERR: 2028 | double ravs; /* read average packet size */ BUILDSTDERR: | ^~~~ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Mnxb3w + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/nicstat-1.95-12.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/nicstat-1.95-12.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/nicstat-1.95-12.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/nicstat-1.95-12.fc31.riscv64 + cd nicstat-1.95 + install -p -D -m 0755 nicstat /builddir/build/BUILDROOT/nicstat-1.95-12.fc31.riscv64/usr/bin/nicstat + install -p -D -m 0644 nicstat.1 /builddir/build/BUILDROOT/nicstat-1.95-12.fc31.riscv64/usr/share/man/man1/nicstat.1 + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.95-12.fc31 --unique-debug-suffix -1.95-12.fc31.riscv64 --unique-debug-src-base nicstat-1.95-12.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/nicstat-1.95 BUILDSTDERR: 137 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/nicstat-1.95-12.fc31.riscv64/usr/bin/nicstat extracting debug info from /builddir/build/BUILDROOT/nicstat-1.95-12.fc31.riscv64/usr/bin/nicstat original debug info size: 104kB, size after compression: 104kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Processing files: nicstat-1.95-12.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ODBt0x + umask 022 + cd /builddir/build/BUILD + cd nicstat-1.95 + DOCDIR=/builddir/build/BUILDROOT/nicstat-1.95-12.fc31.riscv64/usr/share/doc/nicstat + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/nicstat-1.95-12.fc31.riscv64/usr/share/doc/nicstat + cp -pr README.txt /builddir/build/BUILDROOT/nicstat-1.95-12.fc31.riscv64/usr/share/doc/nicstat + cp -pr ChangeLog.txt /builddir/build/BUILDROOT/nicstat-1.95-12.fc31.riscv64/usr/share/doc/nicstat + cp -pr LICENSE.txt /builddir/build/BUILDROOT/nicstat-1.95-12.fc31.riscv64/usr/share/doc/nicstat + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: nicstat = 1.95-12.fc31 nicstat(riscv-64) = 1.95-12.fc31 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-12.fc31.riscv64 Provides: nicstat-debugsource = 1.95-12.fc31 nicstat-debugsource(riscv-64) = 1.95-12.fc31 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-12.fc31.riscv64 Provides: debuginfo(build-id) = 37d2183b6a042ea83ae795bb116878f34746cd9d nicstat-debuginfo = 1.95-12.fc31 nicstat-debuginfo(riscv-64) = 1.95-12.fc31 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-12.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/nicstat-1.95-12.fc31.riscv64 Wrote: /builddir/build/RPMS/nicstat-1.95-12.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/nicstat-debugsource-1.95-12.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/nicstat-debuginfo-1.95-12.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.8UFLkw + umask 022 + cd /builddir/build/BUILD + cd nicstat-1.95 + /usr/bin/rm -rf /builddir/build/BUILDROOT/nicstat-1.95-12.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0