+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/open-mtools.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.LA2pRd + 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 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.rRBBle + umask 022 + cd /builddir/build/BUILD + cd mtools + for F in *.c ++ test mdump.c = mpong.c + 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 mdump.c -o mdump mdump.c: In function 'format_time': mdump.c:183:35: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 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:862:0, from mdump.c:26: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 16 and 32 bytes into a destination of size 17 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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] #define CLOSESOCKET close ^~~~~ mdump.c:236:9: note: 'listensock' was declared here SOCKET listensock; ^~~~~~~~~~ + for F in *.c ++ test mpong.c = mpong.c ++ printf -- -lm + 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 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=] 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); } ~^ %ld mpong.c:475:25: warning: format '%d' expects argument of type 'int', but argument 3 has type '__time_t {aka long int}' [-Wformat=] sprintf(timestr1, "%d.%06d", start_tv.tv_sec, start_tv.tv_usec); ~^ ~~~~~~~~~~~~~~~ %ld mpong.c:475:30: warning: format '%d' expects argument of type 'int', but argument 4 has type '__suseconds_t {aka long int}' [-Wformat=] sprintf(timestr1, "%d.%06d", start_tv.tv_sec, start_tv.tv_usec); ~~~^ ~~~~~~~~~~~~~~~~ %06ld mpong.c:476:51: warning: format '%d' expects argument of type 'int', but argument 3 has type '__time_t {aka long int}' [-Wformat=] if (delta_tv.tv_sec != 0) sprintf(timestr2, "%d%06d", delta_tv.tv_sec, delta_tv.tv_usec); ~^ ~~~~~~~~~~~~~~~ %ld mpong.c:476:55: warning: format '%d' expects argument of type 'int', but argument 4 has type '__suseconds_t {aka long int}' [-Wformat=] if (delta_tv.tv_sec != 0) sprintf(timestr2, "%d%06d", delta_tv.tv_sec, delta_tv.tv_usec); ~~~^ ~~~~~~~~~~~~~~~~ %06ld mpong.c:477:30: warning: format '%d' expects argument of type 'int', but argument 3 has type '__suseconds_t {aka long int}' [-Wformat=] else sprintf(timestr2, "%d", delta_tv.tv_usec); ~^ ~~~~~~~~~~~~~~~~ %ld mpong.c:512:47: warning: format '%d' expects argument of type 'int', but argument 3 has type '__time_t {aka long int}' [-Wformat=] if (min_tv.tv_sec != 0) sprintf(timestr1, "%d%06d", min_tv.tv_sec, min_tv.tv_usec); ~^ ~~~~~~~~~~~~~ %ld mpong.c:512:51: warning: format '%d' expects argument of type 'int', but argument 4 has type '__suseconds_t {aka long int}' [-Wformat=] if (min_tv.tv_sec != 0) sprintf(timestr1, "%d%06d", min_tv.tv_sec, min_tv.tv_usec); ~~~^ ~~~~~~~~~~~~~~ %06ld mpong.c:513:28: warning: format '%d' expects argument of type 'int', but argument 3 has type '__suseconds_t {aka long int}' [-Wformat=] else sprintf(timestr1, "%d", min_tv.tv_usec); ~^ ~~~~~~~~~~~~~~ %ld mpong.c:514:47: warning: format '%d' expects argument of type 'int', but argument 3 has type '__time_t {aka long int}' [-Wformat=] if (max_tv.tv_sec != 0) sprintf(timestr2, "%d%06d", max_tv.tv_sec, max_tv.tv_usec); ~^ ~~~~~~~~~~~~~ %ld mpong.c:514:51: warning: format '%d' expects argument of type 'int', but argument 4 has type '__suseconds_t {aka long int}' [-Wformat=] if (max_tv.tv_sec != 0) sprintf(timestr2, "%d%06d", max_tv.tv_sec, max_tv.tv_usec); ~~~^ ~~~~~~~~~~~~~~ %06ld mpong.c:515:28: warning: format '%d' expects argument of type 'int', but argument 3 has type '__suseconds_t {aka long int}' [-Wformat=] else sprintf(timestr2, "%d", max_tv.tv_usec); ~^ ~~~~~~~~~~~~~~ %ld mpong.c:203:8: warning: unused variable 'pause_slash' [-Wunused-variable] char *pause_slash; ^~~~~~~~~~~ mpong.c:202:8: warning: unused variable 'perc_loss' [-Wunused-variable] float perc_loss; ^~~~~~~~~ mpong.c:201:6: warning: unused variable 'num_sent' [-Wunused-variable] int num_sent; ^~~~~~~~ mpong.c:188:15: warning: unused variable 'wttl' [-Wunused-variable] unsigned int wttl; ^~~~ mpong.c:179:7: warning: unused variable 'equiv_cmd' [-Wunused-variable] char equiv_cmd[1024]; ^~~~~~~~~ mpong.c:512:6: warning: 'min_tv.tv_sec' may be used uninitialized in this function [-Wmaybe-uninitialized] if (min_tv.tv_sec != 0) sprintf(timestr1, "%d%06d", min_tv.tv_sec, min_tv.tv_usec); ^ mpong.c:514:6: warning: 'max_tv.tv_sec' may be used uninitialized in this function [-Wmaybe-uninitialized] if (max_tv.tv_sec != 0) sprintf(timestr2, "%d%06d", max_tv.tv_sec, max_tv.tv_usec); ^ mpong.c:471:40: warning: 'first_tv.tv_usec' may be used uninitialized in this function [-Wmaybe-uninitialized] 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] start_tv.tv_sec = start_tv.tv_sec - first_tv.tv_sec; ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ + for F in *.c ++ test msend.c = mpong.c + 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 msend.c -o msend msend.c: In function 'main': msend.c:390:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 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' printf("Equiv cmd line: %s\n", equiv_cmd); ^~~~~~ msend.c:409:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 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' printf("Equiv cmd line: %s\n", equiv_cmd); ^~~~~~ msend.c:422:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 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' printf("Equiv cmd line: %s\n", equiv_cmd); ^~~~~~ msend.c:159:15: warning: unused variable 'wttl' [-Wunused-variable] unsigned int wttl; ^~~~ msend.c:158:17: warning: unused variable 'tv' [-Wunused-variable] struct timeval tv = {1,0}; ^~ + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.HswTJL + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/open-mtools-1.0-5.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/open-mtools-1.0-5.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/open-mtools-1.0-5.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/open-mtools-1.0-5.fc28.riscv64 + cd mtools + install -d /builddir/build/BUILDROOT/open-mtools-1.0-5.fc28.riscv64/usr/bin + for F in *.c + install -t /builddir/build/BUILDROOT/open-mtools-1.0-5.fc28.riscv64/usr/bin mdump + for F in *.c + install -t /builddir/build/BUILDROOT/open-mtools-1.0-5.fc28.riscv64/usr/bin mpong + for F in *.c + install -t /builddir/build/BUILDROOT/open-mtools-1.0-5.fc28.riscv64/usr/bin msend + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: open-mtools-1.0-5.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Dd8MCh + umask 022 + cd /builddir/build/BUILD + cd mtools + DOCDIR=/builddir/build/BUILDROOT/open-mtools-1.0-5.fc28.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-5.fc28.riscv64/usr/share/doc/open-mtools + cp -pr README.txt /builddir/build/BUILDROOT/open-mtools-1.0-5.fc28.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-5.fc28.riscv64/usr/share/doc/open-mtools + exit 0 Provides: open-mtools = 1.0-5.fc28 open-mtools(riscv-64) = 1.0-5.fc28 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) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/open-mtools-1.0-5.fc28.riscv64 Wrote: /builddir/build/SRPMS/open-mtools-1.0-5.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/open-mtools-1.0-5.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.zqXKtv + umask 022 + cd /builddir/build/BUILD + cd mtools + /usr/bin/rm -rf /builddir/build/BUILDROOT/open-mtools-1.0-5.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff