Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/nethogs.spec'], chrootPath='/var/lib/mock/f31-build-62208-29045/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=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/nethogs.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=1564444800 Wrote: /builddir/build/SRPMS/nethogs-0.8.5-7.fc31.rvre0.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/nethogs.spec'], chrootPath='/var/lib/mock/f31-build-62208-29045/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=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/nethogs.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=1564444800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.tfwStL + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf nethogs-0.8.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/nethogs-0.8.5.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd nethogs-0.8.5 + /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.be8RIK + umask 022 + cd /builddir/build/BUILD + cd nethogs-0.8.5 + make -j4 'CFLAGS=-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' 'CXXFLAGS=-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' BUILDSTDERR: In file included from conninode_test.cpp:1: BUILDSTDERR: conninode.cpp: In function 'int addprocinfo(const char*)': BUILDSTDERR: conninode.cpp:169:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 169 | fgets(buffer, sizeof(buffer), procinfo); BUILDSTDERR: | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: inode2prog.cpp: In function 'void get_info_for_pid(const char*)': BUILDSTDERR: inode2prog.cpp:176:37: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 11 and 40 [-Wformat-truncation=] BUILDSTDERR: 176 | snprintf(fromname, fromlen, "%s/%s", dirname, entry->d_name); BUILDSTDERR: | ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/cstdio:42, BUILDSTDERR: from /usr/include/c++/9/ext/string_conversions.h:43, BUILDSTDERR: from /usr/include/c++/9/bits/basic_string.h:6493, BUILDSTDERR: from /usr/include/c++/9/string:55, BUILDSTDERR: from /usr/include/c++/9/bits/locale_classes.h:40, BUILDSTDERR: from /usr/include/c++/9/bits/ios_base.h:41, BUILDSTDERR: from /usr/include/c++/9/ios:42, BUILDSTDERR: from /usr/include/c++/9/ostream:38, BUILDSTDERR: from /usr/include/c++/9/iostream:39, BUILDSTDERR: from inode2prog.cpp:29: BUILDSTDERR: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 2 and 286 bytes into a destination of size 41 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: conninode.cpp: In function 'int addprocinfo(const char*)': BUILDSTDERR: conninode.cpp:169:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 169 | fgets(buffer, sizeof(buffer), procinfo); BUILDSTDERR: | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make -C src -f MakeApp.mk decpcap_test make -C src -f MakeApp.mk test make -C src -f MakeApp.mk nethogs make[1]: Entering directory '/builddir/build/BUILD/nethogs-0.8.5/src' g++ -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 conninode_test.cpp -o conninode_test make[1]: Entering directory '/builddir/build/BUILD/nethogs-0.8.5/src' g++ -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 -c packet.cpp make[1]: Entering directory '/builddir/build/BUILD/nethogs-0.8.5/src' cc -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 -c decpcap.c g++ -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 -c connection.cpp g++ -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 decpcap_test.cpp decpcap.o -o decpcap_test -lpcap -lm g++ -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 -c process.cpp g++ -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 -c cui.cpp -DVERSION=\"0.8.5\" make[1]: Leaving directory '/builddir/build/BUILD/nethogs-0.8.5/src' g++ -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 -c inode2prog.cpp for test in conninode_test; do echo $test ; ./$test ; done conninode_test make[1]: Leaving directory '/builddir/build/BUILD/nethogs-0.8.5/src' g++ -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 -c conninode.cpp g++ -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 -c -o devices.o devices.cpp BUILDSTDERR: g++ -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-unwimain.cpp: In function 'void quit_cb(int)': BUILDSTDERR: main.cpp:57:10: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 57 | write(self_pipe.second, "x", 1); BUILDSTDERR: | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 nd-tables -fstack-clash-protection main.cpp packet.o connection.o process.o decpcap.o cui.o inode2prog.o conninode.o devices.o -o nethogs -lpcap -lm -lncurses -DVERSION=\"0.8.5\" make[1]: Leaving directory '/builddir/build/BUILD/nethogs-0.8.5/src' Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.qomz5H + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/nethogs-0.8.5-7.fc31.rvre0.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/nethogs-0.8.5-7.fc31.rvre0.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/nethogs-0.8.5-7.fc31.rvre0.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/nethogs-0.8.5-7.fc31.rvre0.riscv64 + cd nethogs-0.8.5 + rm -rf /builddir/build/BUILDROOT/nethogs-0.8.5-7.fc31.rvre0.riscv64 + mkdir -p /builddir/build/BUILDROOT/nethogs-0.8.5-7.fc31.rvre0.riscv64/usr/sbin + install -m 0755 src/nethogs /builddir/build/BUILDROOT/nethogs-0.8.5-7.fc31.rvre0.riscv64/usr/sbin/ + mkdir -p /builddir/build/BUILDROOT/nethogs-0.8.5-7.fc31.rvre0.riscv64/usr/share/man/man8 + install -m 0644 doc/nethogs.8 /builddir/build/BUILDROOT/nethogs-0.8.5-7.fc31.rvre0.riscv64/usr/share/man/man8/ + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.8.5-7.fc31.rvre0 --unique-debug-suffix -0.8.5-7.fc31.rvre0.riscv64 --unique-debug-src-base nethogs-0.8.5-7.fc31.rvre0.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/nethogs-0.8.5 BUILDSTDERR: 181 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/nethogs-0.8.5-7.fc31.rvre0.riscv64/usr/sbin/nethogs extracting debug info from /builddir/build/BUILDROOT/nethogs-0.8.5-7.fc31.rvre0.riscv64/usr/sbin/nethogs original debug info size: 828kB, size after compression: 676kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Processing files: nethogs-0.8.5-7.fc31.rvre0.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.IXIQiH + umask 022 + cd /builddir/build/BUILD + cd nethogs-0.8.5 + DOCDIR=/builddir/build/BUILDROOT/nethogs-0.8.5-7.fc31.rvre0.riscv64/usr/share/doc/nethogs + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/nethogs-0.8.5-7.fc31.rvre0.riscv64/usr/share/doc/nethogs + cp -pr Changelog /builddir/build/BUILDROOT/nethogs-0.8.5-7.fc31.rvre0.riscv64/usr/share/doc/nethogs + cp -pr DESIGN /builddir/build/BUILDROOT/nethogs-0.8.5-7.fc31.rvre0.riscv64/usr/share/doc/nethogs + cp -pr README.md /builddir/build/BUILDROOT/nethogs-0.8.5-7.fc31.rvre0.riscv64/usr/share/doc/nethogs + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: nethogs = 0.8.5-7.fc31.rvre0 nethogs(riscv-64) = 0.8.5-7.fc31.rvre0 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) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libncurses.so.6()(64bit) libpcap.so.1()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Processing files: nethogs-debugsource-0.8.5-7.fc31.rvre0.riscv64 Provides: nethogs-debugsource = 0.8.5-7.fc31.rvre0 nethogs-debugsource(riscv-64) = 0.8.5-7.fc31.rvre0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: nethogs-debuginfo-0.8.5-7.fc31.rvre0.riscv64 Provides: debuginfo(build-id) = b8cb219b1cbb9eeaa5d824dcf0c8b747f4a5c8ef nethogs-debuginfo = 0.8.5-7.fc31.rvre0 nethogs-debuginfo(riscv-64) = 0.8.5-7.fc31.rvre0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: nethogs-debugsource(riscv-64) = 0.8.5-7.fc31.rvre0 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/nethogs-0.8.5-7.fc31.rvre0.riscv64 Wrote: /builddir/build/RPMS/nethogs-0.8.5-7.fc31.rvre0.riscv64.rpm Wrote: /builddir/build/RPMS/nethogs-debugsource-0.8.5-7.fc31.rvre0.riscv64.rpm Wrote: /builddir/build/RPMS/nethogs-debuginfo-0.8.5-7.fc31.rvre0.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.OfYV0K + umask 022 + cd /builddir/build/BUILD + cd nethogs-0.8.5 + /usr/bin/rm -rf /builddir/build/BUILDROOT/nethogs-0.8.5-7.fc31.rvre0.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0