Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/open-mtools.spec'], chrootPath='/var/lib/mock/f33-build-290112-54431/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/open-mtools.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=1595894400 Wrote: /builddir/build/SRPMS/open-mtools-1.0-15.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/open-mtools.spec'], chrootPath='/var/lib/mock/f33-build-290112-54431/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/open-mtools.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=1595894400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.PiBdVG + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mtools + /usr/bin/unzip -qq /builddir/build/SOURCES/mtools.1.0.zip + STATUS=0 + '[' 0 -ne 0 ']' + cd mtools + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -r AIX-5-powerpc64 Darwin-9.4.0-i386 FreeBSD-6-i386 Linux-2.4-glibc-2.3-i686 SunOS-5.10-i386 SunOS-5.10-sparc Win2k-i386 + for F in README.txt + tr -d '\r' + touch -r README.txt README.txt.unix + mv README.txt.unix README.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.vB7akJ + umask 022 + cd /builddir/build/BUILD + cd mtools + for F in *.c ++ test mdump.c = mpong.c + cc -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld mdump.c -o mdump mdump.c: In function 'format_time': mdump.c:183:35: warning: '__sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 183 | sprintf(buff,"%02d:%02d:%02d.%06d",h,((int)min%3600)/60,(int)min%60,(int)tv->tv_usec); | ^ In file included from /usr/include/stdio.h:866, from mdump.c:26: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 16 and 32 bytes into a destination of size 17 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mdump.c: In function 'main': mdump.c:61:21: warning: 'listensock' may be used uninitialized in this function [-Wmaybe-uninitialized] 61 | #define CLOSESOCKET close | ^~~~~ mdump.c:236:9: note: 'listensock' was declared here 236 | SOCKET listensock; | ^~~~~~~~~~ + for F in *.c ++ test mpong.c = mpong.c ++ printf -- -lm + cc -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld mpong.c -o mpong -lm mpong.c: In function 'main': mpong.c:448:117: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] 448 | if (cur_size != sizeof(struct timeval)) { fprintf(stderr, "ERROR: recvfrom rtn val %d != sizeof struct timeval %d\n", cur_size, sizeof(struct timeval)); EXIT(1); } | ~^ ~~~~~~~~~~~~~~~~~~~~~~ | | | | int long unsigned int | %ld mpong.c:475:25: warning: format '%d' expects argument of type 'int', but argument 3 has type '__time_t' {aka 'long int'} [-Wformat=] 475 | sprintf(timestr1, "%d.%06d", start_tv.tv_sec, start_tv.tv_usec); | ~^ ~~~~~~~~~~~~~~~ | | | | int __time_t {aka long int} | %ld mpong.c:475:30: warning: format '%d' expects argument of type 'int', but argument 4 has type '__suseconds_t' {aka 'long int'} [-Wformat=] 475 | sprintf(timestr1, "%d.%06d", start_tv.tv_sec, start_tv.tv_usec); | ~~~^ ~~~~~~~~~~~~~~~~ | | | | int __suseconds_t {aka long int} | %06ld mpong.c:476:51: warning: format '%d' expects argument of type 'int', but argument 3 has type '__time_t' {aka 'long int'} [-Wformat=] 476 | if (delta_tv.tv_sec != 0) sprintf(timestr2, "%d%06d", delta_tv.tv_sec, delta_tv.tv_usec); | ~^ ~~~~~~~~~~~~~~~ | | | | int __time_t {aka long int} | %ld mpong.c:476:55: warning: format '%d' expects argument of type 'int', but argument 4 has type '__suseconds_t' {aka 'long int'} [-Wformat=] 476 | if (delta_tv.tv_sec != 0) sprintf(timestr2, "%d%06d", delta_tv.tv_sec, delta_tv.tv_usec); | ~~~^ ~~~~~~~~~~~~~~~~ | | | | int __suseconds_t {aka long int} | %06ld mpong.c:477:30: warning: format '%d' expects argument of type 'int', but argument 3 has type '__suseconds_t' {aka 'long int'} [-Wformat=] 477 | else sprintf(timestr2, "%d", delta_tv.tv_usec); | ~^ ~~~~~~~~~~~~~~~~ | | | | int __suseconds_t {aka long int} | %ld mpong.c:512:47: warning: format '%d' expects argument of type 'int', but argument 3 has type '__time_t' {aka 'long int'} [-Wformat=] 512 | if (min_tv.tv_sec != 0) sprintf(timestr1, "%d%06d", min_tv.tv_sec, min_tv.tv_usec); | ~^ ~~~~~~~~~~~~~ | | | | int __time_t {aka long int} | %ld mpong.c:512:51: warning: format '%d' expects argument of type 'int', but argument 4 has type '__suseconds_t' {aka 'long int'} [-Wformat=] 512 | if (min_tv.tv_sec != 0) sprintf(timestr1, "%d%06d", min_tv.tv_sec, min_tv.tv_usec); | ~~~^ ~~~~~~~~~~~~~~ | | | | int __suseconds_t {aka long int} | %06ld mpong.c:513:28: warning: format '%d' expects argument of type 'int', but argument 3 has type '__suseconds_t' {aka 'long int'} [-Wformat=] 513 | else sprintf(timestr1, "%d", min_tv.tv_usec); | ~^ ~~~~~~~~~~~~~~ | | | | int __suseconds_t {aka long int} | %ld mpong.c:514:47: warning: format '%d' expects argument of type 'int', but argument 3 has type '__time_t' {aka 'long int'} [-Wformat=] 514 | if (max_tv.tv_sec != 0) sprintf(timestr2, "%d%06d", max_tv.tv_sec, max_tv.tv_usec); | ~^ ~~~~~~~~~~~~~ | | | | int __time_t {aka long int} | %ld mpong.c:514:51: warning: format '%d' expects argument of type 'int', but argument 4 has type '__suseconds_t' {aka 'long int'} [-Wformat=] 514 | if (max_tv.tv_sec != 0) sprintf(timestr2, "%d%06d", max_tv.tv_sec, max_tv.tv_usec); | ~~~^ ~~~~~~~~~~~~~~ | | | | int __suseconds_t {aka long int} | %06ld mpong.c:515:28: warning: format '%d' expects argument of type 'int', but argument 3 has type '__suseconds_t' {aka 'long int'} [-Wformat=] 515 | else sprintf(timestr2, "%d", max_tv.tv_usec); | ~^ ~~~~~~~~~~~~~~ | | | | int __suseconds_t {aka long int} | %ld mpong.c:203:8: warning: unused variable 'pause_slash' [-Wunused-variable] 203 | char *pause_slash; | ^~~~~~~~~~~ mpong.c:202:8: warning: unused variable 'perc_loss' [-Wunused-variable] 202 | float perc_loss; | ^~~~~~~~~ mpong.c:201:6: warning: unused variable 'num_sent' [-Wunused-variable] 201 | int num_sent; | ^~~~~~~~ mpong.c:188:15: warning: unused variable 'wttl' [-Wunused-variable] 188 | unsigned int wttl; | ^~~~ mpong.c:179:7: warning: unused variable 'equiv_cmd' [-Wunused-variable] 179 | char equiv_cmd[1024]; | ^~~~~~~~~ mpong.c:485:57: warning: 'min_tv.tv_sec' may be used uninitialized in this function [-Wmaybe-uninitialized] 485 | if (num_rcvd == 0 || delta_tv.tv_sec < min_tv.tv_sec || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 486 | (delta_tv.tv_sec == min_tv.tv_sec && delta_tv.tv_usec < min_tv.tv_usec)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpong.c:489:57: warning: 'max_tv.tv_sec' may be used uninitialized in this function [-Wmaybe-uninitialized] 489 | if (num_rcvd == 0 || delta_tv.tv_sec > max_tv.tv_sec || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 490 | (delta_tv.tv_sec == max_tv.tv_sec && delta_tv.tv_usec > max_tv.tv_usec)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpong.c:471:40: warning: 'first_tv.tv_usec' may be used uninitialized in this function [-Wmaybe-uninitialized] 471 | start_tv.tv_usec = start_tv.tv_usec - first_tv.tv_usec; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ mpong.c:470:38: warning: 'first_tv.tv_sec' may be used uninitialized in this function [-Wmaybe-uninitialized] 470 | start_tv.tv_sec = start_tv.tv_sec - first_tv.tv_sec; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ + for F in *.c ++ test msend.c = mpong.c + cc -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld msend.c -o msend msend.c: In function 'main': msend.c:390:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 390 | if (o_quiet < 2) | ^~ msend.c:396:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 396 | printf("Equiv cmd line: %s\n", equiv_cmd); | ^~~~~~ msend.c:409:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 409 | if (o_quiet < 2) | ^~ msend.c:415:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 415 | printf("Equiv cmd line: %s\n", equiv_cmd); | ^~~~~~ msend.c:422:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 422 | if (o_quiet < 2) | ^~ msend.c:428:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 428 | printf("Equiv cmd line: %s\n", equiv_cmd); | ^~~~~~ msend.c:159:15: warning: unused variable 'wttl' [-Wunused-variable] 159 | unsigned int wttl; | ^~~~ msend.c:158:17: warning: unused variable 'tv' [-Wunused-variable] 158 | struct timeval tv = {1,0}; | ^~ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.4zPPEH + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/open-mtools-1.0-15.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/open-mtools-1.0-15.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/open-mtools-1.0-15.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/open-mtools-1.0-15.fc33.riscv64 + cd mtools + install -d /builddir/build/BUILDROOT/open-mtools-1.0-15.fc33.riscv64/usr/bin + for F in *.c + install -t /builddir/build/BUILDROOT/open-mtools-1.0-15.fc33.riscv64/usr/bin mdump + for F in *.c + install -t /builddir/build/BUILDROOT/open-mtools-1.0-15.fc33.riscv64/usr/bin mpong + for F in *.c + install -t /builddir/build/BUILDROOT/open-mtools-1.0-15.fc33.riscv64/usr/bin msend + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.0-15.fc33 --unique-debug-suffix -1.0-15.fc33.riscv64 --unique-debug-src-base open-mtools-1.0-15.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/mtools explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/open-mtools-1.0-15.fc33.riscv64/usr/bin/mdump explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/open-mtools-1.0-15.fc33.riscv64/usr/bin/mpong explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/open-mtools-1.0-15.fc33.riscv64/usr/bin/msend extracting debug info from /builddir/build/BUILDROOT/open-mtools-1.0-15.fc33.riscv64/usr/bin/mdump extracting debug info from /builddir/build/BUILDROOT/open-mtools-1.0-15.fc33.riscv64/usr/bin/mpong extracting debug info from /builddir/build/BUILDROOT/open-mtools-1.0-15.fc33.riscv64/usr/bin/msend original debug info size: 352kB, size after compression: 344kB /usr/lib/rpm/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. 125 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/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: open-mtools-1.0-15.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.YvvawH + umask 022 + cd /builddir/build/BUILD + cd mtools + DOCDIR=/builddir/build/BUILDROOT/open-mtools-1.0-15.fc33.riscv64/usr/share/doc/open-mtools + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/open-mtools-1.0-15.fc33.riscv64/usr/share/doc/open-mtools + cp -pr README.txt /builddir/build/BUILDROOT/open-mtools-1.0-15.fc33.riscv64/usr/share/doc/open-mtools + cp -pr TestNet/docbook.css TestNet/index.html TestNet/initial-five.html TestNet/mpong.html TestNet/testnet.html TestNet/testnet.pdf TestNet/tool-notes.html /builddir/build/BUILDROOT/open-mtools-1.0-15.fc33.riscv64/usr/share/doc/open-mtools + RPM_EC=0 ++ jobs -p + exit 0 Provides: open-mtools = 1.0-15.fc33 open-mtools(riscv-64) = 1.0-15.fc33 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) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: open-mtools-debugsource-1.0-15.fc33.riscv64 Provides: open-mtools-debugsource = 1.0-15.fc33 open-mtools-debugsource(riscv-64) = 1.0-15.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: open-mtools-debuginfo-1.0-15.fc33.riscv64 Provides: debuginfo(build-id) = 26f67e2a4ed2310a4f877e880aa58be6d0f83dc9 debuginfo(build-id) = 7296634352a41613eef809967fc160c14226a84a debuginfo(build-id) = f805ed64fabafe47ac9b9882a0d50d7fa7aebeef open-mtools-debuginfo = 1.0-15.fc33 open-mtools-debuginfo(riscv-64) = 1.0-15.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: open-mtools-debugsource(riscv-64) = 1.0-15.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/open-mtools-1.0-15.fc33.riscv64 Wrote: /builddir/build/RPMS/open-mtools-debugsource-1.0-15.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/open-mtools-debuginfo-1.0-15.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/open-mtools-1.0-15.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.95FIeJ + umask 022 + cd /builddir/build/BUILD + cd mtools + /usr/bin/rm -rf /builddir/build/BUILDROOT/open-mtools-1.0-15.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0