Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/open-mtools.spec'], chrootPath='/var/lib/mock/802114-epel-7-x86_64-1537790240.119708/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tj9gzp4n:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '6252b9d860dd4423b2849ec1b58ea62e', '-D', '/var/lib/mock/802114-epel-7-x86_64-1537790240.119708/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tj9gzp4n:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/open-mtools-1.0-11.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/open-mtools.spec'], chrootPath='/var/lib/mock/802114-epel-7-x86_64-1537790240.119708/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tj9gzp4n:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '2a64777230934bd8be8595f01d206d02', '-D', '/var/lib/mock/802114-epel-7-x86_64-1537790240.119708/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tj9gzp4n:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.A1Ce6h + 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.iDMBD6 + umask 022 + cd /builddir/build/BUILD + cd mtools + for F in '*.c' BUILDSTDERR: ++ test mdump.c = mpong.c + cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z,relro mdump.c -o mdump BUILDSTDERR: mdump.c: In function 'main': BUILDSTDERR: mdump.c:565:14: warning: 'listensock' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: CLOSESOCKET(listensock); BUILDSTDERR: ^ + for F in '*.c' BUILDSTDERR: ++ test mpong.c = mpong.c BUILDSTDERR: ++ printf -- -lm + cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z,relro mpong.c -o mpong -lm BUILDSTDERR: mpong.c: In function 'main': BUILDSTDERR: mpong.c:448:147: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] BUILDSTDERR: 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); } BUILDSTDERR: ^ BUILDSTDERR: mpong.c:475:5: warning: format '%d' expects argument of type 'int', but argument 3 has type '__time_t' [-Wformat=] BUILDSTDERR: sprintf(timestr1, "%d.%06d", start_tv.tv_sec, start_tv.tv_usec); BUILDSTDERR: ^ BUILDSTDERR: mpong.c:475:5: warning: format '%d' expects argument of type 'int', but argument 4 has type '__suseconds_t' [-Wformat=] BUILDSTDERR: mpong.c:476:5: warning: format '%d' expects argument of type 'int', but argument 3 has type '__time_t' [-Wformat=] BUILDSTDERR: if (delta_tv.tv_sec != 0) sprintf(timestr2, "%d%06d", delta_tv.tv_sec, delta_tv.tv_usec); BUILDSTDERR: ^ BUILDSTDERR: mpong.c:476:5: warning: format '%d' expects argument of type 'int', but argument 4 has type '__suseconds_t' [-Wformat=] BUILDSTDERR: mpong.c:477:5: warning: format '%d' expects argument of type 'int', but argument 3 has type '__suseconds_t' [-Wformat=] BUILDSTDERR: else sprintf(timestr2, "%d", delta_tv.tv_usec); BUILDSTDERR: ^ BUILDSTDERR: mpong.c:512:3: warning: format '%d' expects argument of type 'int', but argument 3 has type '__time_t' [-Wformat=] BUILDSTDERR: if (min_tv.tv_sec != 0) sprintf(timestr1, "%d%06d", min_tv.tv_sec, min_tv.tv_usec); BUILDSTDERR: ^ BUILDSTDERR: mpong.c:512:3: warning: format '%d' expects argument of type 'int', but argument 4 has type '__suseconds_t' [-Wformat=] BUILDSTDERR: mpong.c:513:3: warning: format '%d' expects argument of type 'int', but argument 3 has type '__suseconds_t' [-Wformat=] BUILDSTDERR: else sprintf(timestr1, "%d", min_tv.tv_usec); BUILDSTDERR: ^ BUILDSTDERR: mpong.c:514:3: warning: format '%d' expects argument of type 'int', but argument 3 has type '__time_t' [-Wformat=] BUILDSTDERR: if (max_tv.tv_sec != 0) sprintf(timestr2, "%d%06d", max_tv.tv_sec, max_tv.tv_usec); BUILDSTDERR: ^ BUILDSTDERR: mpong.c:514:3: warning: format '%d' expects argument of type 'int', but argument 4 has type '__suseconds_t' [-Wformat=] BUILDSTDERR: mpong.c:515:3: warning: format '%d' expects argument of type 'int', but argument 3 has type '__suseconds_t' [-Wformat=] BUILDSTDERR: else sprintf(timestr2, "%d", max_tv.tv_usec); BUILDSTDERR: ^ BUILDSTDERR: mpong.c:203:8: warning: unused variable 'pause_slash' [-Wunused-variable] BUILDSTDERR: char *pause_slash; BUILDSTDERR: ^ BUILDSTDERR: mpong.c:202:8: warning: unused variable 'perc_loss' [-Wunused-variable] BUILDSTDERR: float perc_loss; BUILDSTDERR: ^ BUILDSTDERR: mpong.c:201:6: warning: unused variable 'num_sent' [-Wunused-variable] BUILDSTDERR: int num_sent; BUILDSTDERR: ^ BUILDSTDERR: mpong.c:188:15: warning: unused variable 'wttl' [-Wunused-variable] BUILDSTDERR: unsigned int wttl; BUILDSTDERR: ^ BUILDSTDERR: mpong.c:179:7: warning: unused variable 'equiv_cmd' [-Wunused-variable] BUILDSTDERR: char equiv_cmd[1024]; BUILDSTDERR: ^ BUILDSTDERR: mpong.c:486:40: warning: 'min_tv.tv_usec' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: (delta_tv.tv_sec == min_tv.tv_sec && delta_tv.tv_usec < min_tv.tv_usec)) { BUILDSTDERR: ^ BUILDSTDERR: mpong.c:485:57: warning: 'min_tv.tv_sec' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: if (num_rcvd == 0 || delta_tv.tv_sec < min_tv.tv_sec || BUILDSTDERR: ^ BUILDSTDERR: mpong.c:490:40: warning: 'max_tv.tv_usec' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: (delta_tv.tv_sec == max_tv.tv_sec && delta_tv.tv_usec > max_tv.tv_usec)) { BUILDSTDERR: ^ BUILDSTDERR: mpong.c:489:57: warning: 'max_tv.tv_sec' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: if (num_rcvd == 0 || delta_tv.tv_sec > max_tv.tv_sec || BUILDSTDERR: ^ BUILDSTDERR: mpong.c:471:40: warning: 'first_tv.tv_usec' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: start_tv.tv_usec = start_tv.tv_usec - first_tv.tv_usec; BUILDSTDERR: ^ BUILDSTDERR: mpong.c:470:38: warning: 'first_tv.tv_sec' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: start_tv.tv_sec = start_tv.tv_sec - first_tv.tv_sec; BUILDSTDERR: ^ + for F in '*.c' BUILDSTDERR: ++ test msend.c = mpong.c + cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z,relro msend.c -o msend BUILDSTDERR: msend.c: In function 'main': BUILDSTDERR: msend.c:159:15: warning: unused variable 'wttl' [-Wunused-variable] BUILDSTDERR: unsigned int wttl; BUILDSTDERR: ^ BUILDSTDERR: msend.c:158:17: warning: unused variable 'tv' [-Wunused-variable] BUILDSTDERR: struct timeval tv = {1,0}; BUILDSTDERR: ^ + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.KELPAX + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/open-mtools-1.0-11.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/open-mtools-1.0-11.el7.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/open-mtools-1.0-11.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/open-mtools-1.0-11.el7.x86_64 + cd mtools + install -d /builddir/build/BUILDROOT/open-mtools-1.0-11.el7.x86_64/usr/bin + for F in '*.c' + install -t /builddir/build/BUILDROOT/open-mtools-1.0-11.el7.x86_64/usr/bin mdump + for F in '*.c' + install -t /builddir/build/BUILDROOT/open-mtools-1.0-11.el7.x86_64/usr/bin mpong + for F in '*.c' + install -t /builddir/build/BUILDROOT/open-mtools-1.0-11.el7.x86_64/usr/bin msend + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/mtools extracting debug info from /builddir/build/BUILDROOT/open-mtools-1.0-11.el7.x86_64/usr/bin/msend extracting debug info from /builddir/build/BUILDROOT/open-mtools-1.0-11.el7.x86_64/usr/bin/mpong extracting debug info from /builddir/build/BUILDROOT/open-mtools-1.0-11.el7.x86_64/usr/bin/mdump /usr/lib/rpm/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. BUILDSTDERR: 125 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: open-mtools-1.0-11.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.kro43P + umask 022 + cd /builddir/build/BUILD + cd mtools + DOCDIR=/builddir/build/BUILDROOT/open-mtools-1.0-11.el7.x86_64/usr/share/doc/open-mtools-1.0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/open-mtools-1.0-11.el7.x86_64/usr/share/doc/open-mtools-1.0 + cp -pr README.txt /builddir/build/BUILDROOT/open-mtools-1.0-11.el7.x86_64/usr/share/doc/open-mtools-1.0 + 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-11.el7.x86_64/usr/share/doc/open-mtools-1.0 + exit 0 Provides: open-mtools = 1.0-11.el7 open-mtools(x86-64) = 1.0-11.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) rtld(GNU_HASH) Processing files: open-mtools-debuginfo-1.0-11.el7.x86_64 Provides: open-mtools-debuginfo = 1.0-11.el7 open-mtools-debuginfo(x86-64) = 1.0-11.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/open-mtools-1.0-11.el7.x86_64 Wrote: /builddir/build/RPMS/open-mtools-1.0-11.el7.x86_64.rpm Wrote: /builddir/build/RPMS/open-mtools-debuginfo-1.0-11.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ipIgEu + umask 022 + cd /builddir/build/BUILD + cd mtools + /usr/bin/rm -rf /builddir/build/BUILDROOT/open-mtools-1.0-11.el7.x86_64 + exit 0 Child return code was: 0