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/iptstate.spec'], chrootPath='/var/lib/mock/f31-build-62705-29122/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/iptstate.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/iptstate-2.2.6-9.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/iptstate.spec'], chrootPath='/var/lib/mock/f31-build-62705-29122/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/iptstate.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.t4pmGU + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf iptstate-2.2.6 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/iptstate-2.2.6.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd iptstate-2.2.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (iptstate-2.1-man8.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .man8 --fuzz=0 + echo 'Patch #1 (iptstate-2.2.6-no_debug.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .no_debug --fuzz=0 + echo 'Patch #2 (iptstate-2.2.6-rhbz599181.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .rhbz599181 --fuzz=0 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #0 (iptstate-2.1-man8.patch): patching file Makefile Hunk #1 succeeded at 70 (offset 2 lines). Patch #1 (iptstate-2.2.6-no_debug.patch): patching file iptstate.cc Patch #2 (iptstate-2.2.6-rhbz599181.patch): patching file iptstate.cc Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.dyERCV + umask 022 + cd /builddir/build/BUILD + cd iptstate-2.2.6 + make -j4 '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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' BUILDSTDERR: iptstate.cc: In function 'WINDOW* start_curses(flags_t&)': BUILDSTDERR: iptstate.cc:539:7: warning: variable 'y' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 539 | int y, x; BUILDSTDERR: | ^ BUILDSTDERR: iptstate.cc: In function 'void switch_scroll(flags_t&, WINDOW*&)': BUILDSTDERR: iptstate.cc:632:10: warning: variable 'y' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 632 | int x, y; BUILDSTDERR: | ^ BUILDSTDERR: iptstate.cc: In function 'void get_input(WINDOW*, std::string&, const string&, const flags_t&)': BUILDSTDERR: iptstate.cc:679:10: warning: variable 'y' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 679 | int x, y; BUILDSTDERR: | ^ BUILDSTDERR: iptstate.cc: In function 'int conntrack_hook(nf_conntrack_msg_type, nf_conntrack*, void*)': BUILDSTDERR: iptstate.cc:1002:30: warning: ':' directive output may be truncated writing 1 byte into a region of size between 0 and 5 [-Wformat-truncation=] BUILDSTDERR: 1002 | snprintf(ttlc,11, "%3i:%02i:%02i", hours, minutes, seconds); BUILDSTDERR: | ^ BUILDSTDERR: iptstate.cc:1002:21: note: directive argument in the range [-59, 59] BUILDSTDERR: 1002 | snprintf(ttlc,11, "%3i:%02i:%02i", hours, minutes, seconds); 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/istream:38, BUILDSTDERR: from /usr/include/c++/9/fstream:38, BUILDSTDERR: from iptstate.cc:49: BUILDSTDERR: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 10 and 16 bytes into a destination of size 11 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 +------------------------------------------------------------+ | Welcome to IP Tables State by Phil Dibowitz | | | | PLEASE read the LICENSE and the README for important info. | | | | You may also wish to read the README for install info, | | the WISHLIST for upcoming features, BUGS for known bugs | | and info on bug reports, and the Changelog to find out | | what's new. | | | | Let's compile... | +------------------------------------------------------------+ 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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld iptstate.cc -o iptstate -lncurses -lnetfilter_conntrack All done. Do 'make install' as root and you should be set to go! Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.GFj7TW + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/iptstate-2.2.6-9.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/iptstate-2.2.6-9.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/iptstate-2.2.6-9.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/iptstate-2.2.6-9.fc31.riscv64 + cd iptstate-2.2.6 + rm -rf /builddir/build/BUILDROOT/iptstate-2.2.6-9.fc31.riscv64 + make install PREFIX=/builddir/build/BUILDROOT/iptstate-2.2.6-9.fc31.riscv64/usr 'INSTALL=install -p' + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 2.2.6-9.fc31 --unique-debug-suffix -2.2.6-9.fc31.riscv64 --unique-debug-src-base iptstate-2.2.6-9.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/iptstate-2.2.6 BUILDSTDERR: 149 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 install -p -D --mode=755 iptstate /builddir/build/BUILDROOT/iptstate-2.2.6-9.fc31.riscv64/usr/sbin/iptstate install -p -D --mode=444 iptstate.8 /builddir/build/BUILDROOT/iptstate-2.2.6-9.fc31.riscv64/usr/share/man/man8/iptstate.8 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/iptstate-2.2.6-9.fc31.riscv64/usr/sbin/iptstate extracting debug info from /builddir/build/BUILDROOT/iptstate-2.2.6-9.fc31.riscv64/usr/sbin/iptstate original debug info size: 720kB, size after compression: 688kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Processing files: iptstate-2.2.6-9.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.k9WG2W + umask 022 + cd /builddir/build/BUILD + cd iptstate-2.2.6 + DOCDIR=/builddir/build/BUILDROOT/iptstate-2.2.6-9.fc31.riscv64/usr/share/doc/iptstate + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/iptstate-2.2.6-9.fc31.riscv64/usr/share/doc/iptstate + cp -pr LICENSE /builddir/build/BUILDROOT/iptstate-2.2.6-9.fc31.riscv64/usr/share/doc/iptstate + cp -pr README.md /builddir/build/BUILDROOT/iptstate-2.2.6-9.fc31.riscv64/usr/share/doc/iptstate + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: iptstate = 2.2.6-9.fc31 iptstate(riscv-64) = 2.2.6-9.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) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.4)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libncurses.so.6()(64bit) libnetfilter_conntrack.so.3()(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.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Processing files: iptstate-debugsource-2.2.6-9.fc31.riscv64 Provides: iptstate-debugsource = 2.2.6-9.fc31 iptstate-debugsource(riscv-64) = 2.2.6-9.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: iptstate-debuginfo-2.2.6-9.fc31.riscv64 Provides: debuginfo(build-id) = 6c0ec904f87798e0e9327c7df113de83cfc3f6a1 iptstate-debuginfo = 2.2.6-9.fc31 iptstate-debuginfo(riscv-64) = 2.2.6-9.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: iptstate-debugsource(riscv-64) = 2.2.6-9.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/iptstate-2.2.6-9.fc31.riscv64 Wrote: /builddir/build/RPMS/iptstate-2.2.6-9.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/iptstate-debugsource-2.2.6-9.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/iptstate-debuginfo-2.2.6-9.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.cIK05X + umask 022 + cd /builddir/build/BUILD + cd iptstate-2.2.6 + /usr/bin/rm -rf /builddir/build/BUILDROOT/iptstate-2.2.6-9.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0