Mock Version: 1.4.11 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/atop.spec'], timeout=0nspawn_args=['--bind=/tmp/mock-resolv.H2xZxb:/etc/resolv.conf']shell=Falseuid=1001chrootPath='/var/lib/mock/centos-7-i386/root'gid=135user='mockbuild'env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}logger=unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '1a5a8b9f48ef4201a231c3b010642a1b', '-D', '/var/lib/mock/centos-7-i386/root', '--bind=/tmp/mock-resolv.H2xZxb:/etc/resolv.conf', '--setenv=LANG=en_US.UTF-8', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOSTNAME=mock', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=HOME=/builddir', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PS1= \\s-\\v\\$ ', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/atop.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/atop-2.3.0-8.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/atop.spec'], timeout=0nspawn_args=['--bind=/tmp/mock-resolv.H2xZxb:/etc/resolv.conf']shell=Falseuid=1001chrootPath='/var/lib/mock/centos-7-i386/root'gid=135user='mockbuild'env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}logger=unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'c1d1b59625f84f3d9b4dd23b83b3b1ae', '-D', '/var/lib/mock/centos-7-i386/root', '--bind=/tmp/mock-resolv.H2xZxb:/etc/resolv.conf', '--setenv=LANG=en_US.UTF-8', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOSTNAME=mock', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=HOME=/builddir', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PS1= \\s-\\v\\$ ', '-u', 'mockbuild', 'bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/atop.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system Building target platforms: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.iyhrh8 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf atop-2.3.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/atop-2.3.0.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd atop-2.3.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (nvme_support.patch):' Patch #0 (nvme_support.patch): + /usr/bin/cat /builddir/build/SOURCES/nvme_support.patch + /usr/bin/patch -p0 -b --suffix .nvme --fuzz=0 patching file ./photosyst.c Patch #1 (atop-sysconfig.patch): + echo 'Patch #1 (atop-sysconfig.patch):' + /usr/bin/cat /builddir/build/SOURCES/atop-sysconfig.patch + /usr/bin/patch -p0 -b --suffix .sysconfig --fuzz=0 patching file atop.daily + echo 'Patch #2 (atop-2.3.0-restart.patch):' Patch #2 (atop-2.3.0-restart.patch): + /usr/bin/cat /builddir/build/SOURCES/atop-2.3.0-restart.patch + /usr/bin/patch -p0 -b --suffix .cron --fuzz=0 patching file atop.cronsystemd + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.2lFoX5 + umask 022 + cd /builddir/build/BUILD + cd atop-2.3.0 + make -j4 '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 BUILDSTDERR: various.c: In function 'regainrootprivs': BUILDSTDERR: various.c:604:9: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: seteuid(0); BUILDSTDERR: ^ 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 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 BUILDSTDERR: atopacctd.c: In function 'main': BUILDSTDERR: atopacctd.c:306:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: (void) chdir("/tmp"); // go to a safe place BUILDSTDERR: ^ BUILDSTDERR: atopacctd.c:370:2: warning: ignoring return value of 'nice', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: (void) nice(-39); BUILDSTDERR: ^ BUILDSTDERR: atopacctd.c: In function 'setcurrent': BUILDSTDERR: atopacctd.c:994:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: (void) ftruncate(cfd, 0); BUILDSTDERR: ^ BUILDSTDERR: atopacctd.c:996:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: (void) write(cfd, currentdata, len); BUILDSTDERR: ^ 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.oDFjtb + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/atop-2.3.0-8.el7.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/atop-2.3.0-8.el7.i386 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/atop-2.3.0-8.el7.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/atop-2.3.0-8.el7.i386 + cd atop-2.3.0 + install -Dp -m 0755 atop /builddir/build/BUILDROOT/atop-2.3.0-8.el7.i386/usr/bin/atop + ln -s atop /builddir/build/BUILDROOT/atop-2.3.0-8.el7.i386/usr/bin/atopsar + install -Dp -m 0644 man/atop.1 /builddir/build/BUILDROOT/atop-2.3.0-8.el7.i386/usr/share/man/man1/atop.1 + install -Dp -m 0644 man/atopsar.1 /builddir/build/BUILDROOT/atop-2.3.0-8.el7.i386/usr/share/man/man1/atopsar.1 + install -Dp -m 0644 atop.cronsystemd /builddir/build/BUILDROOT/atop-2.3.0-8.el7.i386/etc/cron.d/atop + install -Dp -m 0755 atop.daily /builddir/build/BUILDROOT/atop-2.3.0-8.el7.i386/usr/share/atop/atop.daily + install -Dp -m 0644 /builddir/build/SOURCES/atop.sysconfig /builddir/build/BUILDROOT/atop-2.3.0-8.el7.i386/etc/sysconfig/atop + install -Dp -m 0755 /builddir/build/SOURCES/atop.d /builddir/build/BUILDROOT/atop-2.3.0-8.el7.i386/usr/bin/atopd + install -Dp -m 0644 atop.service /builddir/build/BUILDROOT/atop-2.3.0-8.el7.i386/usr/lib/systemd/system/atop.service + install -d /builddir/build/BUILDROOT/atop-2.3.0-8.el7.i386/var/log/atop + /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.3.0 extracting debug info from /builddir/build/BUILDROOT/atop-2.3.0-8.el7.i386/usr/bin/atop BUILDSTDERR: 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 BUILDSTDERR: 1227 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.3.0-8.el7.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.KeIrHi + umask 022 + cd /builddir/build/BUILD + cd atop-2.3.0 + DOCDIR=/builddir/build/BUILDROOT/atop-2.3.0-8.el7.i386/usr/share/doc/atop-2.3.0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/atop-2.3.0-8.el7.i386/usr/share/doc/atop-2.3.0 + cp -pr COPYING /builddir/build/BUILDROOT/atop-2.3.0-8.el7.i386/usr/share/doc/atop-2.3.0 + cp -pr AUTHOR /builddir/build/BUILDROOT/atop-2.3.0-8.el7.i386/usr/share/doc/atop-2.3.0 + cp -pr README /builddir/build/BUILDROOT/atop-2.3.0-8.el7.i386/usr/share/doc/atop-2.3.0 + cp -pr ChangeLog /builddir/build/BUILDROOT/atop-2.3.0-8.el7.i386/usr/share/doc/atop-2.3.0 + exit 0 Provides: atop = 2.3.0-8.el7 atop(x86-32) = 2.3.0-8.el7 config(atop) = 2.3.0-8.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.3.0-8.el7.i686 Provides: atop-debuginfo = 2.3.0-8.el7 atop-debuginfo(x86-32) = 2.3.0-8.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.3.0-8.el7.i386 Wrote: /builddir/build/RPMS/atop-2.3.0-8.el7.i686.rpm Wrote: /builddir/build/RPMS/atop-debuginfo-2.3.0-8.el7.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.LX52cH + umask 022 + cd /builddir/build/BUILD + cd atop-2.3.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/atop-2.3.0-8.el7.i386 + exit 0 Child return code was: 0