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/f40-build-749333-114268/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/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=1689811200 Wrote: /builddir/build/SRPMS/nicstat-1.95-20.fc40.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/f40-build-749333-114268/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/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=1689811200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.wCqnAJ + 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 + rm -rf /builddir/build/BUILD/nicstat-1.95-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/nicstat-1.95-SPECPARTS + /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.X9Qmpm + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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 -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer 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:2229:11, inlined from ‘main’ at nicstat.c:2817:3: nicstat.c:1768:12: warning: ‘sats’ may be used uninitialized [-Wmaybe-uninitialized] 1768 | if (value < 100) | ^ nicstat.c: In function ‘main’: nicstat.c:2030:16: note: ‘sats’ was declared here 2030 | double sats; /* saturation value per sec */ | ^~~~ In function ‘precision’, inlined from ‘print_stats’ at nicstat.c:2170:11, inlined from ‘main’ at nicstat.c:2817:3: nicstat.c:1768:12: warning: ‘ravs’ may be used uninitialized [-Wmaybe-uninitialized] 1768 | if (value < 100) | ^ nicstat.c: In function ‘main’: nicstat.c:2028:16: note: ‘ravs’ was declared here 2028 | double ravs; /* read average packet size */ | ^~~~ In function ‘precision’, inlined from ‘print_stats’ at nicstat.c:2170:11, inlined from ‘main’ at nicstat.c:2817:3: nicstat.c:1768:12: warning: ‘wavs’ may be used uninitialized [-Wmaybe-uninitialized] 1768 | if (value < 100) | ^ 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:2229:11, inlined from ‘main’ at nicstat.c:2817:3: nicstat.c:1768:12: warning: ‘ierrs’ may be used uninitialized [-Wmaybe-uninitialized] 1768 | 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:2229:11, inlined from ‘main’ at nicstat.c:2817:3: nicstat.c:1768:12: warning: ‘oerrs’ may be used uninitialized [-Wmaybe-uninitialized] 1768 | if (value < 100) | ^ nicstat.c: In function ‘main’: nicstat.c:2032:16: note: ‘oerrs’ was declared here 2032 | double oerrs; | ^~~~~ In function ‘precision’, inlined from ‘print_stats’ at nicstat.c:2229:11, inlined from ‘main’ at nicstat.c:2817:3: nicstat.c:1768:12: warning: ‘colls’ may be used uninitialized [-Wmaybe-uninitialized] 1768 | if (value < 100) | ^ nicstat.c: In function ‘main’: nicstat.c:2033:16: note: ‘colls’ was declared here 2033 | double colls; | ^~~~~ In function ‘precision’, inlined from ‘print_stats’ at nicstat.c:2229:11, inlined from ‘main’ at nicstat.c:2817:3: nicstat.c:1768:12: warning: ‘nocps’ may be used uninitialized [-Wmaybe-uninitialized] 1768 | if (value < 100) | ^ nicstat.c: In function ‘main’: nicstat.c:2034:16: note: ‘nocps’ was declared here 2034 | double nocps; | ^~~~~ In function ‘precision’, inlined from ‘print_stats’ at nicstat.c:2229:11, inlined from ‘main’ at nicstat.c:2817:3: nicstat.c:1768:12: warning: ‘defers’ may be used uninitialized [-Wmaybe-uninitialized] 1768 | if (value < 100) | ^ nicstat.c: In function ‘main’: nicstat.c:2035:16: note: ‘defers’ was declared here 2035 | double defers; | ^~~~~~ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.EYs08U + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/nicstat-1.95-20.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/nicstat-1.95-20.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/nicstat-1.95-20.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/nicstat-1.95-20.fc40.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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-20.fc40.riscv64/usr/bin/nicstat + install -p -D -m 0644 nicstat.1 /builddir/build/BUILDROOT/nicstat-1.95-20.fc40.riscv64/usr/share/man/man1/nicstat.1 + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 1.95-20.fc40 --unique-debug-suffix -1.95-20.fc40.riscv64 --unique-debug-src-base nicstat-1.95-20.fc40.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/nicstat-1.95 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/nicstat-1.95-20.fc40.riscv64 137 blocks find-debuginfo: done + /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 + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: nicstat-1.95-20.fc40.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.u0UUaP + umask 022 + cd /builddir/build/BUILD + cd nicstat-1.95 + DOCDIR=/builddir/build/BUILDROOT/nicstat-1.95-20.fc40.riscv64/usr/share/doc/nicstat + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/nicstat-1.95-20.fc40.riscv64/usr/share/doc/nicstat + cp -pr /builddir/build/BUILD/nicstat-1.95/README.txt /builddir/build/BUILDROOT/nicstat-1.95-20.fc40.riscv64/usr/share/doc/nicstat + cp -pr /builddir/build/BUILD/nicstat-1.95/ChangeLog.txt /builddir/build/BUILDROOT/nicstat-1.95-20.fc40.riscv64/usr/share/doc/nicstat + cp -pr /builddir/build/BUILD/nicstat-1.95/LICENSE.txt /builddir/build/BUILDROOT/nicstat-1.95-20.fc40.riscv64/usr/share/doc/nicstat + RPM_EC=0 ++ jobs -p + exit 0 Provides: nicstat = 1.95-20.fc40 nicstat(riscv-64) = 1.95-20.fc40 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-20.fc40.riscv64 Provides: nicstat-debugsource = 1.95-20.fc40 nicstat-debugsource(riscv-64) = 1.95-20.fc40 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-20.fc40.riscv64 Provides: debuginfo(build-id) = d683119d1e8efea9d8e2851b17b30ac190b9141c nicstat-debuginfo = 1.95-20.fc40 nicstat-debuginfo(riscv-64) = 1.95-20.fc40 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-20.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/nicstat-1.95-20.fc40.riscv64 Wrote: /builddir/build/RPMS/nicstat-1.95-20.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/nicstat-debuginfo-1.95-20.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/nicstat-debugsource-1.95-20.fc40.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.OGgDbP + umask 022 + cd /builddir/build/BUILD + cd nicstat-1.95 + /usr/bin/rm -rf /builddir/build/BUILDROOT/nicstat-1.95-20.fc40.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.0oKiQQ + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/nicstat-1.95-SPECPARTS + rm -rf nicstat-1.95 nicstat-1.95.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0