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/nettee.spec'], chrootPath='/var/lib/mock/f31-build-57695-28364/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/nettee.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=1548979200 Wrote: /builddir/build/SRPMS/nettee-0.1.9.1-18.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/nettee.spec'], chrootPath='/var/lib/mock/f31-build-57695-28364/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/nettee.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=1548979200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.WmwYhN + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf nettee-0.1.9.1 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/nettee-0.1.9.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd nettee-0.1.9.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (nettee-options.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #0 (nettee-options.patch): patching file nettee.c Hunk #1 succeeded at 860 (offset -5 lines). Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.gwgRhP + umask 022 + cd /builddir/build/BUILD + cd nettee-0.1.9.1 + 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 -D_LARGEFILE64_SOURCE -o nettee nettee.c BUILDSTDERR: nettee.c: In function 'open_outsocks': BUILDSTDERR: nettee.c:565:8: warning: variable 'stestcount' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 565 | int stestcount, swaitcount; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: nettee.c:562:18: warning: variable 'ssleep' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 562 | struct timeval ssleep; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: nettee.c: In function 'buildchains': BUILDSTDERR: nettee.c:868:70: warning: '%s' directive writing up to 271 bytes into a region of size 207 [-Wformat-overflow=] BUILDSTDERR: 868 | sprintf(str, "nettee: fatal error: could not open output file '%s'", name); BUILDSTDERR: | ^~ ~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from nettee.c:176: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 51 and 322 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: nettee.c:831:69: warning: '%s' directive writing up to 271 bytes into a region of size 208 [-Wformat-overflow=] BUILDSTDERR: 831 | sprintf(str, "nettee: fatal error: could not open input file '%s'", name); BUILDSTDERR: | ^~ ~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from nettee.c:176: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 50 and 321 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: nettee.c:692:43: warning: '%s' directive writing up to 287 bytes into a region of size 237 [-Wformat-overflow=] BUILDSTDERR: 692 | sprintf(msgbuf, "Connecting to host %s... ",hn); BUILDSTDERR: | ^~ ~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from nettee.c:176: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 24 and 311 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: nettee.c:696:14: warning: '%s' directive writing up to 287 bytes into a region of size 219 [-Wformat-overflow=] BUILDSTDERR: 696 | mlen=sprintf(msg, "%16llx MESG %s connecting to %s\n",(long long int) 0, myhostname, hn); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from nettee.c:176: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 39 or more bytes (assuming 326) into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: nettee.c:777:18: warning: '%s' directive writing up to 287 bytes into a region of size 245 [-Wformat-overflow=] BUILDSTDERR: 777 | mlen=sprintf(msg, "Gave up on %s", hn); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from nettee.c:176: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 12 and 299 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: nettee.c:781:20: warning: '%s' directive writing up to 287 bytes into a region of size 222 [-Wformat-overflow=] BUILDSTDERR: 781 | mlen=sprintf(msg, "%16llx MESG %s gave up on %s\n",(long long int) 0, myhostname, hn); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from nettee.c:176: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 36 or more bytes (assuming 323) into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: nettee.c:1161:80: warning: '%s' directive writing up to 1023 bytes into a region of size 203 [-Wformat-overflow=] BUILDSTDERR: 1150 | p = info_buf; BUILDSTDERR: | ~~~~~~~~ BUILDSTDERR: ...... BUILDSTDERR: 1161 | sprintf(msgbuf, "nettee: fatal error: downstream node sent bad READY >%s<",p); BUILDSTDERR: | ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from nettee.c:176: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 55 and 1078 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: nettee.c:1153:78: warning: '%s' directive writing up to 1023 bytes into a region of size 203 [-Wformat-overflow=] BUILDSTDERR: 1150 | p = info_buf; BUILDSTDERR: | ~~~~~~~~ BUILDSTDERR: ...... BUILDSTDERR: 1153 | sprintf(msgbuf, "nettee: fatal error: downstream node sent bad READY >%s<",p); BUILDSTDERR: | ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from nettee.c:176: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 55 and 1078 bytes into a destination of size 256 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.drWE9K + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/nettee-0.1.9.1-18.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/nettee-0.1.9.1-18.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/nettee-0.1.9.1-18.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/nettee-0.1.9.1-18.fc31.riscv64 + cd nettee-0.1.9.1 + rm -rf /builddir/build/BUILDROOT/nettee-0.1.9.1-18.fc31.riscv64 + install -Dp -m 0755 nettee /builddir/build/BUILDROOT/nettee-0.1.9.1-18.fc31.riscv64/usr/bin/nettee + install -Dp -m 0644 nettee.1 /builddir/build/BUILDROOT/nettee-0.1.9.1-18.fc31.riscv64/usr/share/man/man1/nettee.1 + chmod 644 pdist_file.sh pdist_gunzip_detar.sh pdist_shell.sh pdist_store.sh + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.1.9.1-18.fc31 --unique-debug-suffix -0.1.9.1-18.fc31.riscv64 --unique-debug-src-base nettee-0.1.9.1-18.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/nettee-0.1.9.1 BUILDSTDERR: 169 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/nettee-0.1.9.1-18.fc31.riscv64/usr/bin/nettee extracting debug info from /builddir/build/BUILDROOT/nettee-0.1.9.1-18.fc31.riscv64/usr/bin/nettee original debug info size: 148kB, size after compression: 144kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Processing files: nettee-0.1.9.1-18.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.NIperL + umask 022 + cd /builddir/build/BUILD + cd nettee-0.1.9.1 + DOCDIR=/builddir/build/BUILDROOT/nettee-0.1.9.1-18.fc31.riscv64/usr/share/doc/nettee + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/nettee-0.1.9.1-18.fc31.riscv64/usr/share/doc/nettee + cp -pr LICENSE /builddir/build/BUILDROOT/nettee-0.1.9.1-18.fc31.riscv64/usr/share/doc/nettee + cp -pr README.TXT SI_METHOD1.TXT SI_METHOD2.TXT /builddir/build/BUILDROOT/nettee-0.1.9.1-18.fc31.riscv64/usr/share/doc/nettee + cp -pr nettee_man.html /builddir/build/BUILDROOT/nettee-0.1.9.1-18.fc31.riscv64/usr/share/doc/nettee + cp -pr pdist_file.sh pdist_gunzip_detar.sh pdist_shell.sh pdist_store.sh /builddir/build/BUILDROOT/nettee-0.1.9.1-18.fc31.riscv64/usr/share/doc/nettee + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: nettee = 0.1.9.1-18.fc31 nettee(riscv-64) = 0.1.9.1-18.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: nettee-debugsource-0.1.9.1-18.fc31.riscv64 Provides: nettee-debugsource = 0.1.9.1-18.fc31 nettee-debugsource(riscv-64) = 0.1.9.1-18.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: nettee-debuginfo-0.1.9.1-18.fc31.riscv64 Provides: debuginfo(build-id) = 3866e855b42a71828c5fa17636ef7c4dfcbb499b nettee-debuginfo = 0.1.9.1-18.fc31 nettee-debuginfo(riscv-64) = 0.1.9.1-18.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: nettee-debugsource(riscv-64) = 0.1.9.1-18.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/nettee-0.1.9.1-18.fc31.riscv64 Wrote: /builddir/build/RPMS/nettee-debugsource-0.1.9.1-18.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/nettee-0.1.9.1-18.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/nettee-debuginfo-0.1.9.1-18.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.CgvLrO + umask 022 + cd /builddir/build/BUILD + cd nettee-0.1.9.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/nettee-0.1.9.1-18.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0