Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc --nodeps /builddir/build/SPECS/python-ethtool.spec'], chrootPath='/var/lib/mock/python-ethtool-0.8-7.el7-20181030162630-5111/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 ppc --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: ppc Building for target ppc 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 ppc --nodeps /builddir/build/SPECS/python-ethtool.spec'], chrootPath='/var/lib/mock/python-ethtool-0.8-7.el7-20181030162630-5111/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 ppc --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: ppc Building for target ppc Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.RUnR7S + 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/cat /builddir/build/SOURCES/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): + 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/patch -p1 --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/python-ethtool-0.8-check-libnl-return-codes.patch 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.Oeq8AA + 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-ppc-2.7 creating build/temp.linux-ppc-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 -m32 -mcpu=power7 -mtune=power7 -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -mcpu=power7 -mtune=power7 -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DVERSION="0.8" -I/usr/include/python2.7 -c python-ethtool/ethtool.c -o build/temp.linux-ppc-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 -m32 -mcpu=power7 -mtune=power7 -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -mcpu=power7 -mtune=power7 -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DVERSION="0.8" -I/usr/include/python2.7 -c python-ethtool/etherinfo.c -o build/temp.linux-ppc-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 -m32 -mcpu=power7 -mtune=power7 -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -mcpu=power7 -mtune=power7 -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DVERSION="0.8" -I/usr/include/python2.7 -c python-ethtool/etherinfo_obj.c -o build/temp.linux-ppc-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 -m32 -mcpu=power7 -mtune=power7 -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -mcpu=power7 -mtune=power7 -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DVERSION="0.8" -I/usr/include/python2.7 -c python-ethtool/etherinfo_ipv6_obj.c -o build/temp.linux-ppc-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 -m32 -mcpu=power7 -mtune=power7 -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -mcpu=power7 -mtune=power7 -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DVERSION="0.8" -I/usr/include/python2.7 -c python-ethtool/netlink-address.c -o build/temp.linux-ppc-2.7/python-ethtool/netlink-address.o creating build/lib.linux-ppc-2.7 gcc -pthread -shared -Wl,-z,relro build/temp.linux-ppc-2.7/python-ethtool/ethtool.o build/temp.linux-ppc-2.7/python-ethtool/etherinfo.o build/temp.linux-ppc-2.7/python-ethtool/etherinfo_obj.o build/temp.linux-ppc-2.7/python-ethtool/etherinfo_ipv6_obj.o build/temp.linux-ppc-2.7/python-ethtool/netlink-address.o -L/usr/lib -lnl -lpython2.7 -o build/lib.linux-ppc-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.qFIzZj + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-ethtool-0.8-7.el7.ppc '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-ethtool-0.8-7.el7.ppc ++ dirname /builddir/build/BUILDROOT/python-ethtool-0.8-7.el7.ppc + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-ethtool-0.8-7.el7.ppc + cd python-ethtool-0.8 + rm -rf /builddir/build/BUILDROOT/python-ethtool-0.8-7.el7.ppc + /usr/bin/python setup.py install --skip-build --root /builddir/build/BUILDROOT/python-ethtool-0.8-7.el7.ppc running install running install_lib creating /builddir/build/BUILDROOT/python-ethtool-0.8-7.el7.ppc creating /builddir/build/BUILDROOT/python-ethtool-0.8-7.el7.ppc/usr creating /builddir/build/BUILDROOT/python-ethtool-0.8-7.el7.ppc/usr/lib creating /builddir/build/BUILDROOT/python-ethtool-0.8-7.el7.ppc/usr/lib/python2.7 creating /builddir/build/BUILDROOT/python-ethtool-0.8-7.el7.ppc/usr/lib/python2.7/site-packages copying build/lib.linux-ppc-2.7/ethtool.so -> /builddir/build/BUILDROOT/python-ethtool-0.8-7.el7.ppc/usr/lib/python2.7/site-packages running install_egg_info Writing /builddir/build/BUILDROOT/python-ethtool-0.8-7.el7.ppc/usr/lib/python2.7/site-packages/ethtool-0.8-py2.7.egg-info + mkdir -p /builddir/build/BUILDROOT/python-ethtool-0.8-7.el7.ppc/usr/sbin /builddir/build/BUILDROOT/python-ethtool-0.8-7.el7.ppc/usr/share/man/man8 + cp -p pethtool.py /builddir/build/BUILDROOT/python-ethtool-0.8-7.el7.ppc/usr/sbin/pethtool + cp -p pifconfig.py /builddir/build/BUILDROOT/python-ethtool-0.8-7.el7.ppc/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.ppc/usr/lib/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.ppc/usr/lib/python2.7 using /usr/bin/python2.7 Bytecompiling .py files below /builddir/build/BUILDROOT/python-ethtool-0.8-7.el7.ppc/usr/lib/debug/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: python-ethtool-0.8-7.el7.ppc Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.0hd6D3 + umask 022 + cd /builddir/build/BUILD + cd python-ethtool-0.8 + DOCDIR=/builddir/build/BUILDROOT/python-ethtool-0.8-7.el7.ppc/usr/share/doc/python-ethtool-0.8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-ethtool-0.8-7.el7.ppc/usr/share/doc/python-ethtool-0.8 + cp -pr COPYING /builddir/build/BUILDROOT/python-ethtool-0.8-7.el7.ppc/usr/share/doc/python-ethtool-0.8 + exit 0 Provides: python-ethtool = 0.8-7.el7 python-ethtool(ppc-32) = 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 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.4) libnl.so.1 libpthread.so.0 libpthread.so.0(GLIBC_2.0) libpython2.7.so.1.0 python(abi) = 2.7 rtld(GNU_HASH) Processing files: python-ethtool-debuginfo-0.8-7.el7.ppc Provides: python-ethtool-debuginfo = 0.8-7.el7 python-ethtool-debuginfo(ppc-32) = 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.ppc Wrote: /builddir/build/RPMS/python-ethtool-0.8-7.el7.ppc.rpm Wrote: /builddir/build/RPMS/python-ethtool-debuginfo-0.8-7.el7.ppc.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ZNBsOg + umask 022 + cd /builddir/build/BUILD + cd python-ethtool-0.8 + rm -rf /builddir/build/BUILDROOT/python-ethtool-0.8-7.el7.ppc + exit 0 Child return code was: 0