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/nicstat.spec'], chrootPath='/var/lib/mock/f37-build-670621-75126/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=432000uid=991gid=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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658448000 Wrote: /builddir/build/SRPMS/nicstat-1.95-18.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/nicstat.spec'], chrootPath='/var/lib/mock/f37-build-670621-75126/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=432000uid=991gid=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': '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.S2fYZR + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf nicstat-1.95 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/nicstat-1.95.tar.gz + 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.yaAq1x + 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 nicstat-1.95 + 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 nicstat.c -o nicstat nicstat.c: In function 'load_snmp': nicstat.c:1566:42: 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:2359:26: warning: the comparison will always evaluate as 'false' for the address of 'name' will never be NULL [-Waddress] 2359 | if (name == NULL) | ^~ nicstat.c:2345:33: note: 'name' declared here 2345 | char name[32]; | ^~~~ nicstat.c:2344:34: warning: unused variable 'if_record_save_ptr' [-Wunused-variable] 2344 | char *if_record_save_ptr; | ^~~~~~~~~~~~~~~~~~ nicstat.c: In function 'main': nicstat.c:2841:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 2841 | if (time_is_up) | ^ nicstat.c: At top level: nicstat.c:284:12: warning: 'g_opt_k' defined but not used [-Wunused-variable] 284 | static int g_opt_k; | ^~~~~~~ In function 'precision', inlined from 'print_stats' at nicstat.c:2156:11, inlined from 'main' at nicstat.c:2817:3: nicstat.c:1770:17: warning: 'sats' may be used uninitialized [-Wmaybe-uninitialized] 1770 | else if (value < 100000) | ^ nicstat.c: In function 'main': nicstat.c:2030:16: note: 'sats' was declared here 2030 | double sats; /* saturation value per sec */ | ^~~~ In function 'precision4', inlined from 'print_stats' at nicstat.c:2194:11, inlined from 'main' at nicstat.c:2817:3: nicstat.c:1780:17: warning: 'defers' may be used uninitialized [-Wmaybe-uninitialized] 1780 | else if (value < 100) | ^ nicstat.c: In function 'main': nicstat.c:2035:16: note: 'defers' was declared here 2035 | double defers; | ^~~~~~ In function 'precision4', inlined from 'print_stats' at nicstat.c:2194:11, inlined from 'main' at nicstat.c:2817:3: nicstat.c:1780:17: warning: 'nocps' may be used uninitialized [-Wmaybe-uninitialized] 1780 | else if (value < 100) | ^ nicstat.c: In function 'main': nicstat.c:2034:16: note: 'nocps' was declared here 2034 | double nocps; | ^~~~~ In function 'precision4', inlined from 'print_stats' at nicstat.c:2194:11, inlined from 'main' at nicstat.c:2817:3: nicstat.c:1780:17: warning: 'colls' may be used uninitialized [-Wmaybe-uninitialized] 1780 | else if (value < 100) | ^ nicstat.c: In function 'main': nicstat.c:2033:16: note: 'colls' was declared here 2033 | double colls; | ^~~~~ In function 'precision4', inlined from 'print_stats' at nicstat.c:2194:11, inlined from 'main' at nicstat.c:2817:3: nicstat.c:1780:17: warning: 'oerrs' may be used uninitialized [-Wmaybe-uninitialized] 1780 | else if (value < 100) | ^ nicstat.c: In function 'main': nicstat.c:2032:16: note: 'oerrs' was declared here 2032 | double oerrs; | ^~~~~ In function 'precision4', inlined from 'print_stats' at nicstat.c:2194:11, inlined from 'main' at nicstat.c:2817:3: nicstat.c:1780:17: warning: 'ierrs' may be used uninitialized [-Wmaybe-uninitialized] 1780 | else if (value < 100) | ^ nicstat.c: In function 'main': nicstat.c:2031:16: note: 'ierrs' was declared here 2031 | double ierrs; | ^~~~~ In function 'precision', inlined from 'print_stats' at nicstat.c:2156:11, inlined from 'main' at nicstat.c:2817:3: nicstat.c:1770:17: warning: 'wavs' may be used uninitialized [-Wmaybe-uninitialized] 1770 | else if (value < 100000) | ^ nicstat.c: In function 'main': nicstat.c:2029:16: note: 'wavs' was declared here 2029 | double wavs; /* write average packet size */ | ^~~~ In function 'precision', inlined from 'print_stats' at nicstat.c:2156:11, inlined from 'main' at nicstat.c:2817:3: nicstat.c:1770:17: warning: 'ravs' may be used uninitialized [-Wmaybe-uninitialized] 1770 | else if (value < 100000) | ^ nicstat.c: In function 'main': nicstat.c:2028:16: 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.KnogGO + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/nicstat-1.95-18.fc37.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/nicstat-1.95-18.fc37.riscv64 ++ dirname /builddir/build/BUILDROOT/nicstat-1.95-18.fc37.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/nicstat-1.95-18.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 nicstat-1.95 + install -p -D -m 0755 nicstat /builddir/build/BUILDROOT/nicstat-1.95-18.fc37.riscv64/usr/bin/nicstat + install -p -D -m 0644 nicstat.1 /builddir/build/BUILDROOT/nicstat-1.95-18.fc37.riscv64/usr/share/man/man1/nicstat.1 + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 1.95-18.fc37 --unique-debug-suffix -1.95-18.fc37.riscv64 --unique-debug-src-base nicstat-1.95-18.fc37.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/nicstat-1.95 extracting debug info from /builddir/build/BUILDROOT/nicstat-1.95-18.fc37.riscv64/usr/bin/nicstat original debug info size: 228kB, size after compression: 228kB /usr/bin/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/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: nicstat-1.95-18.fc37.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.lrzWtm + umask 022 + cd /builddir/build/BUILD + cd nicstat-1.95 + DOCDIR=/builddir/build/BUILDROOT/nicstat-1.95-18.fc37.riscv64/usr/share/doc/nicstat + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/nicstat-1.95-18.fc37.riscv64/usr/share/doc/nicstat + cp -pr README.txt /builddir/build/BUILDROOT/nicstat-1.95-18.fc37.riscv64/usr/share/doc/nicstat + cp -pr ChangeLog.txt /builddir/build/BUILDROOT/nicstat-1.95-18.fc37.riscv64/usr/share/doc/nicstat + cp -pr LICENSE.txt /builddir/build/BUILDROOT/nicstat-1.95-18.fc37.riscv64/usr/share/doc/nicstat + RPM_EC=0 ++ jobs -p + exit 0 Provides: nicstat = 1.95-18.fc37 nicstat(riscv-64) = 1.95-18.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: nicstat-debugsource-1.95-18.fc37.riscv64 Provides: nicstat-debugsource = 1.95-18.fc37 nicstat-debugsource(riscv-64) = 1.95-18.fc37 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-18.fc37.riscv64 Provides: debuginfo(build-id) = b65468fc103db91d6e33ab019db50d98cb54b683 nicstat-debuginfo = 1.95-18.fc37 nicstat-debuginfo(riscv-64) = 1.95-18.fc37 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-18.fc37 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/nicstat-1.95-18.fc37.riscv64 Wrote: /builddir/build/RPMS/nicstat-1.95-18.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/nicstat-debugsource-1.95-18.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/nicstat-debuginfo-1.95-18.fc37.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.JYzesB + umask 022 + cd /builddir/build/BUILD + cd nicstat-1.95 + /usr/bin/rm -rf /builddir/build/BUILDROOT/nicstat-1.95-18.fc37.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.hWzdgd + umask 022 + cd /builddir/build/BUILD + rm -rf nicstat-1.95 nicstat-1.95.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0