Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/newrelic-nfsiostat.spec'], chrootPath='/var/lib/mock/848474-epel-7-ppc64le-1548023508.365685/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.8d41c0ju:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '1124ae01b0b44ac3be84b98db3d29fe8', '-D', '/var/lib/mock/848474-epel-7-ppc64le-1548023508.365685/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8d41c0ju:/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 ppc64le --nodeps /builddir/build/SPECS/newrelic-nfsiostat.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 BUILDSTDERR: sh: /usr/bin/python2: No such file or directory Building target platforms: ppc64le Building for target ppc64le Wrote: /builddir/build/SRPMS/newrelic-nfsiostat-0.2.5-2.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/newrelic-nfsiostat.spec'], chrootPath='/var/lib/mock/848474-epel-7-ppc64le-1548023508.365685/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.8d41c0ju:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '0dc5a3d829c444ae87a7df48ab518ea6', '-D', '/var/lib/mock/848474-epel-7-ppc64le-1548023508.365685/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8d41c0ju:/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 ppc64le --nodeps /builddir/build/SPECS/newrelic-nfsiostat.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: ppc64le Building for target ppc64le Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.5NIrtj + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf newrelic-nfsiostat-newrelic-nfsiostat-v0.2.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/newrelic-nfsiostat-v0.2.5.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd newrelic-nfsiostat-newrelic-nfsiostat-v0.2.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (newrelic-nfsiostat-0.2.5-Fix-NFSv4-support-by-fixing-check-for-readdirplus.patch):' Patch #0 (newrelic-nfsiostat-0.2.5-Fix-NFSv4-support-by-fixing-check-for-readdirplus.patch): + /usr/bin/cat /builddir/build/SOURCES/newrelic-nfsiostat-0.2.5-Fix-NFSv4-support-by-fixing-check-for-readdirplus.patch + /usr/bin/patch -p1 --fuzz=0 patching file src/plugin.py Patch #1 (newrelic-nfsiostat-0.2.5-Remove-sysvinit-support.patch): + echo 'Patch #1 (newrelic-nfsiostat-0.2.5-Remove-sysvinit-support.patch):' + /usr/bin/cat /builddir/build/SOURCES/newrelic-nfsiostat-0.2.5-Remove-sysvinit-support.patch + /usr/bin/patch -p1 --fuzz=0 patching file setup.py Patch #2 (newrelic-nfsiostat-0.2.5-Dont-install-doc.patch): + echo 'Patch #2 (newrelic-nfsiostat-0.2.5-Dont-install-doc.patch):' + /usr/bin/cat /builddir/build/SOURCES/newrelic-nfsiostat-0.2.5-Dont-install-doc.patch + /usr/bin/patch -p1 --fuzz=0 patching file setup.py + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.sHndd7 + umask 022 + cd /builddir/build/BUILD + cd newrelic-nfsiostat-newrelic-nfsiostat-v0.2.5 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8' + /usr/bin/python2 setup.py build '--executable=/usr/bin/python2 -s' running build running build_py creating build creating build/lib creating build/lib/newrelicnfs copying src/plugin.py -> build/lib/newrelicnfs copying src/nfsiostat.py -> build/lib/newrelicnfs copying src/_version.py -> build/lib/newrelicnfs copying src/__init__.py -> build/lib/newrelicnfs running build_scripts creating build/scripts-2.7 copying and adjusting scripts/newrelic-nfsiostat -> build/scripts-2.7 changing mode of build/scripts-2.7/newrelic-nfsiostat from 644 to 755 + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.PBEQwV + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.ppc64le BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.ppc64le + cd newrelic-nfsiostat-newrelic-nfsiostat-v0.2.5 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8' + /usr/bin/python2 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.ppc64le running install running install_lib creating /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.ppc64le/usr creating /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.ppc64le/usr/lib creating /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.ppc64le/usr/lib/python2.7 creating /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.ppc64le/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.ppc64le/usr/lib/python2.7/site-packages/newrelicnfs copying build/lib/newrelicnfs/__init__.py -> /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.ppc64le/usr/lib/python2.7/site-packages/newrelicnfs copying build/lib/newrelicnfs/_version.py -> /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.ppc64le/usr/lib/python2.7/site-packages/newrelicnfs copying build/lib/newrelicnfs/nfsiostat.py -> /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.ppc64le/usr/lib/python2.7/site-packages/newrelicnfs copying build/lib/newrelicnfs/plugin.py -> /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.ppc64le/usr/lib/python2.7/site-packages/newrelicnfs byte-compiling /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.ppc64le/usr/lib/python2.7/site-packages/newrelicnfs/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.ppc64le/usr/lib/python2.7/site-packages/newrelicnfs/_version.py to _version.pyc byte-compiling /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.ppc64le/usr/lib/python2.7/site-packages/newrelicnfs/nfsiostat.py to nfsiostat.pyc byte-compiling /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.ppc64le/usr/lib/python2.7/site-packages/newrelicnfs/plugin.py to plugin.pyc writing byte-compilation script '/tmp/tmpYK88Qx.py' /usr/bin/python2 -O /tmp/tmpYK88Qx.py removing /tmp/tmpYK88Qx.py running install_scripts creating /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.ppc64le/usr/bin copying build/scripts-2.7/newrelic-nfsiostat -> /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.ppc64le/usr/bin changing mode of /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.ppc64le/usr/bin/newrelic-nfsiostat to 755 running install_data creating /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.ppc64le/etc copying conf/newrelic-nfsiostat.conf -> /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.ppc64le/etc running install_egg_info Writing /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.ppc64le/usr/lib/python2.7/site-packages/newrelic_nfsiostat-0.2.5-py2.7.egg-info + install -d -m 0755 /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.ppc64le/usr/lib/systemd/system + install -p -m 0644 /builddir/build/SOURCES/newrelic-nfsiostat.service /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.ppc64le/usr/lib/systemd/system/ + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 Bytecompiling .py files below /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.ppc64le/usr/lib/python2.7 using /usr/bin/python2.7 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: newrelic-nfsiostat-0.2.5-2.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.JVuyYJ + umask 022 + cd /builddir/build/BUILD + cd newrelic-nfsiostat-newrelic-nfsiostat-v0.2.5 + DOCDIR=/builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.ppc64le/usr/share/doc/newrelic-nfsiostat-0.2.5 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.ppc64le/usr/share/doc/newrelic-nfsiostat-0.2.5 + cp -pr README.md /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.ppc64le/usr/share/doc/newrelic-nfsiostat-0.2.5 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.eBduqy + umask 022 + cd /builddir/build/BUILD + cd newrelic-nfsiostat-newrelic-nfsiostat-v0.2.5 + LICENSEDIR=/builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.ppc64le/usr/share/licenses/newrelic-nfsiostat-0.2.5 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.ppc64le/usr/share/licenses/newrelic-nfsiostat-0.2.5 + cp -pr doc/LICENSE /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.ppc64le/usr/share/licenses/newrelic-nfsiostat-0.2.5 + exit 0 Provides: config(newrelic-nfsiostat) = 0.2.5-2.el7 newrelic-nfsiostat = 0.2.5-2.el7 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: /usr/bin/python2 python(abi) = 2.7 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.ppc64le Wrote: /builddir/build/RPMS/newrelic-nfsiostat-0.2.5-2.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.W6Z3xb + umask 022 + cd /builddir/build/BUILD + cd newrelic-nfsiostat-newrelic-nfsiostat-v0.2.5 + /usr/bin/rm -rf /builddir/build/BUILDROOT/newrelic-nfsiostat-0.2.5-2.el7.ppc64le + exit 0 Child return code was: 0