Mock Version: 1.2.14 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/atop.spec'], chrootPath='/srv/build/7/A/mock-root/c7-epel-i686/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=21600logger=uid=501) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/atop.spec'] with env {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False warning: Could not canonicalize hostname: worker1.bsys.centos.org Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/atop-2.1-1.el7.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/atop.spec '], chrootPath='/srv/build/7/A/mock-root/c7-epel-i686/root'shell=Falseuid=501env={'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=21600private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/atop.spec '] with env {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ZdhtuZ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf atop-2.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/atop-2.1.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd atop-2.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (atop-1.26-cron.patch): + echo 'Patch #0 (atop-1.26-cron.patch):' + /usr/bin/cat /builddir/build/SOURCES/atop-1.26-cron.patch + /usr/bin/patch -p0 -b --suffix .cron --fuzz=0 patching file atop.cron + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.PzLi2l + umask 022 + cd /builddir/build/BUILD + cd atop-2.1 + make -j16 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables' cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o atop.o atop.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o version.o version.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o various.o various.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o deviate.o deviate.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o procdbase.o procdbase.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o acctproc.o acctproc.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o photoproc.o photoproc.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o photosyst.o photosyst.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o rawlog.o rawlog.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o ifprop.o ifprop.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o parseable.o parseable.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o showgeneric.o showgeneric.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o showlinux.o showlinux.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o showsys.o showsys.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o showprocs.o showprocs.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o atopsar.o atopsar.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o netatopif.o netatopif.c various.c: In function 'regainrootprivs': various.c:598:9: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(0); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o atopacctd.o atopacctd.c cc -I. -Wall -c netlink.c atopacctd.c: In function 'main': atopacctd.c:279:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] (void) chdir("/tmp"); // go to a safe place ^ atopacctd.c:349:2: warning: ignoring return value of 'nice', declared with attribute warn_unused_result [-Wunused-result] (void) nice(-39); ^ atopacctd.c: In function 'setcurrent': atopacctd.c:839:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] (void) ftruncate(cfd, 0); ^ atopacctd.c:841:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(cfd, currentdata, len); ^ cc atopacctd.o netlink.o -o atopacctd cc atop.o version.o various.o deviate.o procdbase.o acctproc.o photoproc.o photosyst.o rawlog.o ifprop.o parseable.o showgeneric.o showlinux.o showsys.o showprocs.o atopsar.o netatopif.o -o atop -lncurses -lz -lm -lrt ln -sf atop atopsar + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.NH0PCK + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/atop-2.1-1.el7.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/atop-2.1-1.el7.i386 ++ dirname /builddir/build/BUILDROOT/atop-2.1-1.el7.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/atop-2.1-1.el7.i386 + cd atop-2.1 + install -Dp -m 0755 atop /builddir/build/BUILDROOT/atop-2.1-1.el7.i386/usr/bin/atop + ln -s atop /builddir/build/BUILDROOT/atop-2.1-1.el7.i386/usr/bin/atopsar + install -Dp -m 0644 man/atop.1 /builddir/build/BUILDROOT/atop-2.1-1.el7.i386/usr/share/man/man1/atop.1 + install -Dp -m 0644 man/atopsar.1 /builddir/build/BUILDROOT/atop-2.1-1.el7.i386/usr/share/man/man1/atopsar.1 + install -Dp -m 0644 atop.cron /builddir/build/BUILDROOT/atop-2.1-1.el7.i386/etc/cron.d/atop + install -Dp -m 0644 /builddir/build/SOURCES/atop.logrotate /builddir/build/BUILDROOT/atop-2.1-1.el7.i386/etc/logrotate.d/atop + install -Dp -m 0644 /builddir/build/SOURCES/atop.sysconfig /builddir/build/BUILDROOT/atop-2.1-1.el7.i386/etc/sysconfig/atop + install -Dp -m 0755 /builddir/build/SOURCES/atop.d /builddir/build/BUILDROOT/atop-2.1-1.el7.i386/usr/bin/atopd + install -Dp -m 0644 /builddir/build/SOURCES/atop.service /builddir/build/BUILDROOT/atop-2.1-1.el7.i386/usr/lib/systemd/system/atop.service + install -d /builddir/build/BUILDROOT/atop-2.1-1.el7.i386/var/log/atop + install -m 0644 /builddir/build/SOURCES/README.fedora . + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/atop-2.1 extracting debug info from /builddir/build/BUILDROOT/atop-2.1-1.el7.i386/usr/bin/atop dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. symlinked /usr/lib/debug/usr/bin/atop.debug to /usr/lib/debug/usr/bin/atopsar.debug 1103 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: atop-2.1-1.el7.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.J7JjW9 + umask 022 + cd /builddir/build/BUILD + cd atop-2.1 + DOCDIR=/builddir/build/BUILDROOT/atop-2.1-1.el7.i386/usr/share/doc/atop-2.1 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/atop-2.1-1.el7.i386/usr/share/doc/atop-2.1 + cp -pr COPYING /builddir/build/BUILDROOT/atop-2.1-1.el7.i386/usr/share/doc/atop-2.1 + cp -pr AUTHOR /builddir/build/BUILDROOT/atop-2.1-1.el7.i386/usr/share/doc/atop-2.1 + cp -pr README /builddir/build/BUILDROOT/atop-2.1-1.el7.i386/usr/share/doc/atop-2.1 + cp -pr ChangeLog /builddir/build/BUILDROOT/atop-2.1-1.el7.i386/usr/share/doc/atop-2.1 + cp -pr README.fedora /builddir/build/BUILDROOT/atop-2.1-1.el7.i386/usr/share/doc/atop-2.1 + exit 0 Provides: atop = 2.1-1.el7 atop(x86-32) = 2.1-1.el7 config(atop) = 2.1-1.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: /bin/bash libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libm.so.6 libm.so.6(GLIBC_2.0) libncurses.so.5 librt.so.1 librt.so.1(GLIBC_2.2) libtinfo.so.5 libz.so.1 rtld(GNU_HASH) Processing files: atop-debuginfo-2.1-1.el7.i686 Provides: atop-debuginfo = 2.1-1.el7 atop-debuginfo(x86-32) = 2.1-1.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/atop-2.1-1.el7.i386 Wrote: /builddir/build/RPMS/atop-2.1-1.el7.i686.rpm Wrote: /builddir/build/RPMS/atop-debuginfo-2.1-1.el7.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.CUuyap + umask 022 + cd /builddir/build/BUILD + cd atop-2.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/atop-2.1-1.el7.i386 + exit 0 Child return code was: 0 LEAVE do -->