Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/python-ethtool.spec'], chrootPath='/var/lib/mock/python-ethtool-0.8-7.el7-20181030162410-18044/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_GB.UTF-8', '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=0logger=uid=1004) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/python-ethtool.spec'] with env {'LANG': 'en_GB.UTF-8', '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 sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory Building target platforms: ppc64le Building for target ppc64le Wrote: /builddir/build/SRPMS/python-ethtool-0.8-7.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/python-ethtool.spec'], chrootPath='/var/lib/mock/python-ethtool-0.8-7.el7-20181030162410-18044/root'shell=Falseuid=1004env={'LANG': 'en_GB.UTF-8', '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=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/python-ethtool.spec'] with env {'LANG': 'en_GB.UTF-8', '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: ppc64le Building for target ppc64le Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Ktw91G + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf python-ethtool-0.8 + /usr/bin/gzip -dc /builddir/build/SOURCES/v0.8.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd python-ethtool-0.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (python-ethtool-0.6-make-pifconfig-output-all-ipv4-addresses-for-interface.patch): + echo 'Patch #0 (python-ethtool-0.6-make-pifconfig-output-all-ipv4-addresses-for-interface.patch):' + /usr/bin/patch -p1 --fuzz=0 patching file pifconfig.py Patch #1 (python-ethtool-0.6-return-ipv6-only-interface-names.patch): + /usr/bin/cat /builddir/build/SOURCES/python-ethtool-0.6-make-pifconfig-output-all-ipv4-addresses-for-interface.patch + echo 'Patch #1 (python-ethtool-0.6-return-ipv6-only-interface-names.patch):' + /usr/bin/cat /builddir/build/SOURCES/python-ethtool-0.6-return-ipv6-only-interface-names.patch + /usr/bin/patch -p1 --fuzz=0 patching file python-ethtool/ethtool.c Hunk #2 succeeded at 56 (offset 1 line). Patch #2 (python-ethtool-0.8-check-libnl-return-codes.patch): + echo 'Patch #2 (python-ethtool-0.8-check-libnl-return-codes.patch):' + /usr/bin/cat /builddir/build/SOURCES/python-ethtool-0.8-check-libnl-return-codes.patch + /usr/bin/patch -p1 --fuzz=0 patching file python-ethtool/etherinfo.c Patch #3 (fix-long-interface-names.patch): + echo 'Patch #3 (fix-long-interface-names.patch):' + /usr/bin/cat /builddir/build/SOURCES/fix-long-interface-names.patch + /usr/bin/patch -p1 --fuzz=0 patching file pifconfig.py + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.oTrFEi + umask 022 + cd /builddir/build/BUILD + cd python-ethtool-0.8 + /usr/bin/python setup.py build running build running build_ext building 'ethtool' extension creating build creating build/temp.linux-ppc64le-2.7 creating build/temp.linux-ppc64le-2.7/python-ethtool gcc -pthread -fno-strict-aliasing -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 -D_GNU_SOURCE -fPIC -fwrapv -O3 -DNDEBUG -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 -D_GNU_SOURCE -fPIC -fwrapv -O3 -fPIC -DVERSION="0.8" -I/usr/include/python2.7 -c python-ethtool/ethtool.c -o build/temp.linux-ppc64le-2.7/python-ethtool/ethtool.o python-ethtool/ethtool.c: In function 'get_devices': python-ethtool/ethtool.c:84:8: warning: variable 'ret' set but not used [-Wunused-but-set-variable] char *ret;; ^ gcc -pthread -fno-strict-aliasing -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 -D_GNU_SOURCE -fPIC -fwrapv -O3 -DNDEBUG -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 -D_GNU_SOURCE -fPIC -fwrapv -O3 -fPIC -DVERSION="0.8" -I/usr/include/python2.7 -c python-ethtool/etherinfo.c -o build/temp.linux-ppc64le-2.7/python-ethtool/etherinfo.o gcc -pthread -fno-strict-aliasing -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 -D_GNU_SOURCE -fPIC -fwrapv -O3 -DNDEBUG -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 -D_GNU_SOURCE -fPIC -fwrapv -O3 -fPIC -DVERSION="0.8" -I/usr/include/python2.7 -c python-ethtool/etherinfo_obj.c -o build/temp.linux-ppc64le-2.7/python-ethtool/etherinfo_obj.o gcc -pthread -fno-strict-aliasing -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 -D_GNU_SOURCE -fPIC -fwrapv -O3 -DNDEBUG -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 -D_GNU_SOURCE -fPIC -fwrapv -O3 -fPIC -DVERSION="0.8" -I/usr/include/python2.7 -c python-ethtool/etherinfo_ipv6_obj.c -o build/temp.linux-ppc64le-2.7/python-ethtool/etherinfo_ipv6_obj.o gcc -pthread -fno-strict-aliasing -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 -D_GNU_SOURCE -fPIC -fwrapv -O3 -DNDEBUG -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 -D_GNU_SOURCE -fPIC -fwrapv -O3 -fPIC -DVERSION="0.8" -I/usr/include/python2.7 -c python-ethtool/netlink-address.c -o build/temp.linux-ppc64le-2.7/python-ethtool/netlink-address.o creating build/lib.linux-ppc64le-2.7 gcc -pthread -shared -Wl,-z,relro build/temp.linux-ppc64le-2.7/python-ethtool/ethtool.o build/temp.linux-ppc64le-2.7/python-ethtool/etherinfo.o build/temp.linux-ppc64le-2.7/python-ethtool/etherinfo_obj.o build/temp.linux-ppc64le-2.7/python-ethtool/etherinfo_ipv6_obj.o build/temp.linux-ppc64le-2.7/python-ethtool/netlink-address.o -L/usr/lib64 -lnl -lpython2.7 -o build/lib.linux-ppc64le-2.7/ethtool.so + a2x -d manpage -f manpage man/pethtool.8.asciidoc + a2x -d manpage -f manpage man/pifconfig.8.asciidoc + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.viEjEW + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-ethtool-0.8-7.el7.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-ethtool-0.8-7.el7.ppc64le ++ dirname /builddir/build/BUILDROOT/python-ethtool-0.8-7.el7.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-ethtool-0.8-7.el7.ppc64le + cd python-ethtool-0.8 + rm -rf /builddir/build/BUILDROOT/python-ethtool-0.8-7.el7.ppc64le + /usr/bin/python setup.py install --skip-build --root /builddir/build/BUILDROOT/python-ethtool-0.8-7.el7.ppc64le running install running install_lib creating /builddir/build/BUILDROOT/python-ethtool-0.8-7.el7.ppc64le creating /builddir/build/BUILDROOT/python-ethtool-0.8-7.el7.ppc64le/usr creating /builddir/build/BUILDROOT/python-ethtool-0.8-7.el7.ppc64le/usr/lib64 creating /builddir/build/BUILDROOT/python-ethtool-0.8-7.el7.ppc64le/usr/lib64/python2.7 creating /builddir/build/BUILDROOT/python-ethtool-0.8-7.el7.ppc64le/usr/lib64/python2.7/site-packages copying build/lib.linux-ppc64le-2.7/ethtool.so -> /builddir/build/BUILDROOT/python-ethtool-0.8-7.el7.ppc64le/usr/lib64/python2.7/site-packages running install_egg_info Writing /builddir/build/BUILDROOT/python-ethtool-0.8-7.el7.ppc64le/usr/lib64/python2.7/site-packages/ethtool-0.8-py2.7.egg-info + mkdir -p /builddir/build/BUILDROOT/python-ethtool-0.8-7.el7.ppc64le/usr/sbin /builddir/build/BUILDROOT/python-ethtool-0.8-7.el7.ppc64le/usr/share/man/man8 + cp -p pethtool.py /builddir/build/BUILDROOT/python-ethtool-0.8-7.el7.ppc64le/usr/sbin/pethtool + cp -p pifconfig.py /builddir/build/BUILDROOT/python-ethtool-0.8-7.el7.ppc64le/usr/sbin/pifconfig + /usr/bin/gzip -c man/pethtool.8 + /usr/bin/gzip -c man/pifconfig.8 + /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/python-ethtool-0.8 extracting debug info from /builddir/build/BUILDROOT/python-ethtool-0.8-7.el7.ppc64le/usr/lib64/python2.7/site-packages/ethtool.so dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 154 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 Bytecompiling .py files below /builddir/build/BUILDROOT/python-ethtool-0.8-7.el7.ppc64le/usr/lib64/python2.7 using /usr/bin/python2.7 Bytecompiling .py files below /builddir/build/BUILDROOT/python-ethtool-0.8-7.el7.ppc64le/usr/lib/debug/usr/lib64/python2.7 using /usr/bin/python2.7 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: python-ethtool-0.8-7.el7.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.4jbvSA + umask 022 + cd /builddir/build/BUILD + cd python-ethtool-0.8 + DOCDIR=/builddir/build/BUILDROOT/python-ethtool-0.8-7.el7.ppc64le/usr/share/doc/python-ethtool-0.8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-ethtool-0.8-7.el7.ppc64le/usr/share/doc/python-ethtool-0.8 + cp -pr COPYING /builddir/build/BUILDROOT/python-ethtool-0.8-7.el7.ppc64le/usr/share/doc/python-ethtool-0.8 + exit 0 Provides: python-ethtool = 0.8-7.el7 python-ethtool(ppc-64) = 0.8-7.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libnl.so.1()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.17)(64bit) libpython2.7.so.1.0()(64bit) python(abi) = 2.7 rtld(GNU_HASH) Processing files: python-ethtool-debuginfo-0.8-7.el7.ppc64le Provides: python-ethtool-debuginfo = 0.8-7.el7 python-ethtool-debuginfo(ppc-64) = 0.8-7.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/python-ethtool-0.8-7.el7.ppc64le Wrote: /builddir/build/RPMS/python-ethtool-0.8-7.el7.ppc64le.rpm Wrote: /builddir/build/RPMS/python-ethtool-debuginfo-0.8-7.el7.ppc64le.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.T7TpPx + umask 022 + cd /builddir/build/BUILD + cd python-ethtool-0.8 + rm -rf /builddir/build/BUILDROOT/python-ethtool-0.8-7.el7.ppc64le + exit 0 Child return code was: 0