Mock Version: 1.1.32 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/rwho.spec'], False, '/srv/build/3/workerG/mock-root/c7.00.02-x86_64/root/', None, 21600, True, False, 502, 498, None, False, {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/rwho.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} warning: Could not canonicalize hostname: b18.bsys.dev.centos.org Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/rwho-0.17-54.el7.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/rwho.spec'], False, '/srv/build/3/workerG/mock-root/c7.00.02-x86_64/root/', None, 21600, True, False, 502, 498, None, False, {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/rwho.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.N8zdbb + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf netkit-rwho-0.17 + /usr/bin/gzip -dc /builddir/build/SOURCES/netkit-rwho-0.17.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd netkit-rwho-0.17 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (rwho-0.15-alpha.patch): + echo 'Patch #0 (rwho-0.15-alpha.patch):' + /usr/bin/cat /builddir/build/SOURCES/rwho-0.15-alpha.patch + /usr/bin/patch -p1 -b --suffix .alpha --fuzz=0 patching file ruptime/ruptime.c patching file rwho/Makefile patching file rwhod/rwhod.c Hunk #2 succeeded at 247 (offset 28 lines). Hunk #3 succeeded at 579 (offset 84 lines). Hunk #4 succeeded at 598 (offset 84 lines). Hunk #5 succeeded at 624 (offset 84 lines). Hunk #6 succeeded at 637 (offset 84 lines). Hunk #7 succeeded at 651 (offset 84 lines). Patch #1 (rwho-0.17-bug22014.patch): + echo 'Patch #1 (rwho-0.17-bug22014.patch):' + /usr/bin/cat /builddir/build/SOURCES/rwho-0.17-bug22014.patch + /usr/bin/patch -p1 -b --suffix .bug22014 --fuzz=0 patching file ruptime/Makefile + echo 'Patch #2 (rwho-0.17-fixbcast.patch):' Patch #2 (rwho-0.17-fixbcast.patch): + /usr/bin/cat /builddir/build/SOURCES/rwho-0.17-fixbcast.patch + /usr/bin/patch -p1 -b --suffix .fixbcast --fuzz=0 patching file rwhod/rwhod.c Hunk #1 succeeded at 617 (offset 84 lines). Patch #3 (rwho-0.17-fixhostname.patch): + echo 'Patch #3 (rwho-0.17-fixhostname.patch):' + /usr/bin/cat /builddir/build/SOURCES/rwho-0.17-fixhostname.patch + /usr/bin/patch -p1 -b --suffix .fixhostname --fuzz=0 patching file rwhod/rwhod.c + echo 'Patch #4 (rwho-0.17-strip.patch):' Patch #4 (rwho-0.17-strip.patch): + /usr/bin/cat /builddir/build/SOURCES/rwho-0.17-strip.patch + /usr/bin/patch -p1 -b --suffix .strip --fuzz=0 patching file rwho/Makefile patching file ruptime/Makefile patching file rwhod/Makefile Hunk #1 succeeded at 12 (offset 1 line). + echo 'Patch #5 (rwho-0.17-include.patch):' Patch #5 (rwho-0.17-include.patch): + /usr/bin/cat /builddir/build/SOURCES/rwho-0.17-include.patch + /usr/bin/patch -p1 -b --suffix .include --fuzz=0 patching file include/protocols/rwhod.h + echo 'Patch #6 (rwho-0.17-wd_we.patch):' Patch #6 (rwho-0.17-wd_we.patch): + /usr/bin/cat /builddir/build/SOURCES/rwho-0.17-wd_we.patch + /usr/bin/patch -p1 -b --suffix .wd_we --fuzz=0 patching file include/protocols/rwhod.h patching file rwhod/rwhod.c + echo 'Patch #7 (rwho-0.17-time.patch):' Patch #7 (rwho-0.17-time.patch): + /usr/bin/cat /builddir/build/SOURCES/rwho-0.17-time.patch + /usr/bin/patch -p1 -b --suffix .time --fuzz=0 patching file rwhod/rwhod.c + echo 'Patch #8 (rwho-0.17-gcc4.patch):' Patch #8 (rwho-0.17-gcc4.patch): + /usr/bin/cat /builddir/build/SOURCES/rwho-0.17-gcc4.patch + /usr/bin/patch -p1 -b --suffix .gcc4 --fuzz=0 patching file rwhod/rwhod.c patching file rwhod/daemon.c Patch #9 (rwho-0.17-waitchild.patch): + echo 'Patch #9 (rwho-0.17-waitchild.patch):' + /usr/bin/cat /builddir/build/SOURCES/rwho-0.17-waitchild.patch + /usr/bin/patch -p1 -b --suffix .waitchild --fuzz=0 patching file rwhod/rwhod.c Patch #10 (rwho-0.17-neighbours.patch): + echo 'Patch #10 (rwho-0.17-neighbours.patch):' + /usr/bin/cat /builddir/build/SOURCES/rwho-0.17-neighbours.patch + /usr/bin/patch -p1 -b --suffix .neighbours --fuzz=0 patching file rwhod/rwhod.c + echo 'Patch #11 (rwho-0.17-hostnamelen.patch):' Patch #11 (rwho-0.17-hostnamelen.patch): + /usr/bin/cat /builddir/build/SOURCES/rwho-0.17-hostnamelen.patch + /usr/bin/patch -p1 -b --suffix .hostnamelen --fuzz=0 patching file ruptime/ruptime.1 patching file ruptime/ruptime.c Patch #12 (rwho-0.17-stderr.patch): + echo 'Patch #12 (rwho-0.17-stderr.patch):' + /usr/bin/cat /builddir/build/SOURCES/rwho-0.17-stderr.patch + /usr/bin/patch -p1 -b --suffix .stderr --fuzz=0 patching file ruptime/ruptime.c patching file rwho/rwho.c + /usr/bin/perl -pi -e ' s|^LDFLAGS=|LDFLAGS="-pie -Wl,-z,relro,-z,now"|; s,^BINDIR=.*$,BINDIR=/usr/bin,; s,^MANDIR=.*$,MANDIR=/usr/share/man,; s,^SBINDIR=.*$,SBINDIR=/usr/sbin,; ' configure + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.kV5M4W + umask 022 + cd /builddir/build/BUILD + cd netkit-rwho-0.17 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I../include -fpic' + sh configure --with-c-compiler=gcc Directories: /usr/bin /usr/sbin /usr/share/man Checking if C compiler works... yes Checking if gcc accepts gcc warnings... yes Checking if gcc accepts -O2... yes Checking for BSD signal semantics... yes Checking for snprintf declaration... ok Checking for snprintf implementation... ok Generating MCONFIG... + make -j16 (cd rwho && make) (cd rwhod && make) (cd ruptime && make) make[1]: Entering directory `/builddir/build/BUILD/netkit-rwho-0.17/rwho' gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I../include -fpic -O2 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline rwho.c -c make[1]: Entering directory `/builddir/build/BUILD/netkit-rwho-0.17/rwhod' gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I../include -fpic -O2 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -I../include rwhod.c -c make[1]: Entering directory `/builddir/build/BUILD/netkit-rwho-0.17/ruptime' gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I../include -fpic -O2 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline ruptime.c -c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I../include -fpic -O2 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -I../include daemon.c -c daemon.c: In function 'daemon': daemon.c:62:4: warning: implicit declaration of function 'perror' [-Wimplicit-function-declaration] perror("Couldn't chdir to /"); ^ daemon.c:62:4: warning: nested extern declaration of 'perror' [-Wnested-externs] gcc -pie -Wl,-z,relro,-z,now rwho.o -o rwho make[1]: Leaving directory `/builddir/build/BUILD/netkit-rwho-0.17/rwho' gcc -pie -Wl,-z,relro,-z,now ruptime.o -o ruptime make[1]: Leaving directory `/builddir/build/BUILD/netkit-rwho-0.17/ruptime' gcc -pie -Wl,-z,relro,-z,now rwhod.o daemon.o -o rwhod make[1]: Leaving directory `/builddir/build/BUILD/netkit-rwho-0.17/rwhod' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.JxhKhK + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rwho-0.17-54.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rwho-0.17-54.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/rwho-0.17-54.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rwho-0.17-54.el7.x86_64 + cd netkit-rwho-0.17 + mkdir -p /builddir/build/BUILDROOT/rwho-0.17-54.el7.x86_64/usr/bin + mkdir -p /builddir/build/BUILDROOT/rwho-0.17-54.el7.x86_64/usr/share/man/man1 /builddir/build/BUILDROOT/rwho-0.17-54.el7.x86_64/usr/share/man/man8 + mkdir -p /builddir/build/BUILDROOT/rwho-0.17-54.el7.x86_64/usr/sbin + mkdir -p /builddir/build/BUILDROOT/rwho-0.17-54.el7.x86_64/usr/lib/systemd/system + mkdir -p /builddir/build/BUILDROOT/rwho-0.17-54.el7.x86_64/var/spool/rwho + make INSTALLROOT=/builddir/build/BUILDROOT/rwho-0.17-54.el7.x86_64 install (cd rwho && make install) make[1]: Entering directory `/builddir/build/BUILD/netkit-rwho-0.17/rwho' install -m755 rwho /builddir/build/BUILDROOT/rwho-0.17-54.el7.x86_64/usr/bin install -m644 rwho.1 /builddir/build/BUILDROOT/rwho-0.17-54.el7.x86_64/usr/share/man/man1/ make[1]: Leaving directory `/builddir/build/BUILD/netkit-rwho-0.17/rwho' (cd rwhod && make install) make[1]: Entering directory `/builddir/build/BUILD/netkit-rwho-0.17/rwhod' install -m755 rwhod /builddir/build/BUILDROOT/rwho-0.17-54.el7.x86_64/usr/sbin install -m644 rwhod.8 /builddir/build/BUILDROOT/rwho-0.17-54.el7.x86_64/usr/share/man/man8/ make[1]: Leaving directory `/builddir/build/BUILD/netkit-rwho-0.17/rwhod' (cd ruptime && make install) make[1]: Entering directory `/builddir/build/BUILD/netkit-rwho-0.17/ruptime' install -m755 ruptime /builddir/build/BUILDROOT/rwho-0.17-54.el7.x86_64/usr/bin install -m644 ruptime.1 /builddir/build/BUILDROOT/rwho-0.17-54.el7.x86_64/usr/share/man/man1/ make[1]: Leaving directory `/builddir/build/BUILD/netkit-rwho-0.17/ruptime' + make INSTALLROOT=/builddir/build/BUILDROOT/rwho-0.17-54.el7.x86_64 install -C ruptime make: Entering directory `/builddir/build/BUILD/netkit-rwho-0.17/ruptime' install -m755 ruptime /builddir/build/BUILDROOT/rwho-0.17-54.el7.x86_64/usr/bin install -m644 ruptime.1 /builddir/build/BUILDROOT/rwho-0.17-54.el7.x86_64/usr/share/man/man1/ make: Leaving directory `/builddir/build/BUILD/netkit-rwho-0.17/ruptime' + install -m 644 /builddir/build/SOURCES/rwhod.service /builddir/build/BUILDROOT/rwho-0.17-54.el7.x86_64/usr/lib/systemd/system/rwhod.service + /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/netkit-rwho-0.17 extracting debug info from /builddir/build/BUILDROOT/rwho-0.17-54.el7.x86_64/usr/bin/rwho extracting debug info from /builddir/build/BUILDROOT/rwho-0.17-54.el7.x86_64/usr/bin/ruptime extracting debug info from /builddir/build/BUILDROOT/rwho-0.17-54.el7.x86_64/usr/sbin/rwhod /usr/lib/rpm/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. 78 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: rwho-0.17-54.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.07oJty + umask 022 + cd /builddir/build/BUILD + cd netkit-rwho-0.17 + DOCDIR=/builddir/build/BUILDROOT/rwho-0.17-54.el7.x86_64/usr/share/doc/rwho-0.17 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rwho-0.17-54.el7.x86_64/usr/share/doc/rwho-0.17 + cp -pr README /builddir/build/BUILDROOT/rwho-0.17-54.el7.x86_64/usr/share/doc/rwho-0.17 + exit 0 Provides: rwho = 0.17-54.el7 rwho(x86-64) = 0.17-54.el7 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) rtld(GNU_HASH) Processing files: rwho-debuginfo-0.17-54.el7.x86_64 Provides: rwho-debuginfo = 0.17-54.el7 rwho-debuginfo(x86-64) = 0.17-54.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/rwho-0.17-54.el7.x86_64 Wrote: /builddir/build/RPMS/rwho-0.17-54.el7.x86_64.rpm Wrote: /builddir/build/RPMS/rwho-debuginfo-0.17-54.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.7TK8HZ + umask 022 + cd /builddir/build/BUILD + cd netkit-rwho-0.17 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rwho-0.17-54.el7.x86_64 + exit 0 Child return code was: 0 LEAVE do -->