Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rhnlib.spec'], chrootPath='/var/lib/mock/rhnlib-2.5.65-8.el7-20181030215215-30722/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=1006) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rhnlib.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 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/rhnlib-2.5.65-8.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rhnlib.spec'], chrootPath='/var/lib/mock/rhnlib-2.5.65-8.el7-20181030215215-30722/root'shell=Falseuid=1006env={'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 x86_64 --nodeps /builddir/build/SPECS/rhnlib.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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fhN6SK + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rhnlib-2.5.65 + /usr/bin/gzip -dc /builddir/build/SOURCES/rhnlib-2.5.65.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd rhnlib-2.5.65 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (rhnlib-2.5.65-1-to-rhnlib-2.5.65-2-el7.patch):' Patch #0 (rhnlib-2.5.65-1-to-rhnlib-2.5.65-2-el7.patch): + /usr/bin/cat /builddir/build/SOURCES/rhnlib-2.5.65-1-to-rhnlib-2.5.65-2-el7.patch + /usr/bin/patch -p1 --fuzz=0 patching file rhn/connections.py patching file rhnlib.spec + echo 'Patch #1 (rhnlib-2.5.65-2-el7-to-rhnlib-2.5.65-3-el7.patch):' Patch #1 (rhnlib-2.5.65-2-el7-to-rhnlib-2.5.65-3-el7.patch): + /usr/bin/cat /builddir/build/SOURCES/rhnlib-2.5.65-2-el7-to-rhnlib-2.5.65-3-el7.patch + /usr/bin/patch -p1 --fuzz=0 patching file rhnlib.spec + echo 'Patch #2 (rhnlib-2.5.65-3-el7-to-rhnlib-2.5.65-4-el7.patch):' Patch #2 (rhnlib-2.5.65-3-el7-to-rhnlib-2.5.65-4-el7.patch): + /usr/bin/cat /builddir/build/SOURCES/rhnlib-2.5.65-3-el7-to-rhnlib-2.5.65-4-el7.patch + /usr/bin/patch -p1 --fuzz=0 patching file rhnlib.spec + echo 'Patch #3 (rhnlib-2.5.65-4-el7-to-rhnlib-2.5.65-5-el7.patch):' Patch #3 (rhnlib-2.5.65-4-el7-to-rhnlib-2.5.65-5-el7.patch): + /usr/bin/cat /builddir/build/SOURCES/rhnlib-2.5.65-4-el7-to-rhnlib-2.5.65-5-el7.patch + /usr/bin/patch -p1 --fuzz=0 patching file rhn/SSL.py patching file rhnlib.spec Patch #4 (rhnlib-2.5.65-5-el7-to-rhnlib-2.5.65-6-el7.patch): + echo 'Patch #4 (rhnlib-2.5.65-5-el7-to-rhnlib-2.5.65-6-el7.patch):' + /usr/bin/cat /builddir/build/SOURCES/rhnlib-2.5.65-5-el7-to-rhnlib-2.5.65-6-el7.patch + /usr/bin/patch -p1 --fuzz=0 patching file rhn/connections.py patching file rhnlib.spec + echo 'Patch #5 (rhnlib-2.5.65-6-el7-to-rhnlib-2.5.65-7-el7.patch):' Patch #5 (rhnlib-2.5.65-6-el7-to-rhnlib-2.5.65-7-el7.patch): + /usr/bin/cat /builddir/build/SOURCES/rhnlib-2.5.65-6-el7-to-rhnlib-2.5.65-7-el7.patch + /usr/bin/patch -p1 --fuzz=0 patching file rhnlib.spec + echo 'Patch #6 (rhnlib-2.5.65-7-el7-to-rhnlib-2.5.65-8-el7.patch):' Patch #6 (rhnlib-2.5.65-7-el7-to-rhnlib-2.5.65-8-el7.patch): + /usr/bin/cat /builddir/build/SOURCES/rhnlib-2.5.65-7-el7-to-rhnlib-2.5.65-8-el7.patch + /usr/bin/patch -p1 --fuzz=0 patching file rhn/SSL.py patching file rhnlib.spec + '[' '!' -e setup.py ']' + sed -e s/@VERSION@/2.5.65/ -e s/@NAME@/rhnlib/ setup.py.in + '[' '!' -e setup.cfg ']' + sed s/@RELEASE@/8.el7/ setup.cfg.in + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.BcYBc7 + umask 022 + cd /builddir/build/BUILD + cd rhnlib-2.5.65 + make -f Makefile.rhnlib running build running build_py creating build creating build/lib creating build/lib/rhn copying rhn/rpclib.py -> build/lib/rhn copying rhn/connections.py -> build/lib/rhn copying rhn/__init__.py -> build/lib/rhn copying rhn/SSL.py -> build/lib/rhn copying rhn/SmartIO.py -> build/lib/rhn copying rhn/rhnLockfile.py -> build/lib/rhn copying rhn/nonblocking.py -> build/lib/rhn copying rhn/transports.py -> build/lib/rhn copying rhn/UserDictCase.py -> build/lib/rhn for i in build/lib/rhn/rpclib.py build/lib/rhn/transports.py ; do sed -i 's!\$Revision\$!2.5.65-8.el7!' $i ; done + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Iqo0nu + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rhnlib-2.5.65-8.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rhnlib-2.5.65-8.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/rhnlib-2.5.65-8.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rhnlib-2.5.65-8.el7.x86_64 + cd rhnlib-2.5.65 + rm -rf /builddir/build/BUILDROOT/rhnlib-2.5.65-8.el7.x86_64 + /usr/bin/python setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/rhnlib-2.5.65-8.el7.x86_64 --prefix=/usr running install running install_lib creating /builddir/build/BUILDROOT/rhnlib-2.5.65-8.el7.x86_64 creating /builddir/build/BUILDROOT/rhnlib-2.5.65-8.el7.x86_64/usr creating /builddir/build/BUILDROOT/rhnlib-2.5.65-8.el7.x86_64/usr/lib creating /builddir/build/BUILDROOT/rhnlib-2.5.65-8.el7.x86_64/usr/lib/python2.7 creating /builddir/build/BUILDROOT/rhnlib-2.5.65-8.el7.x86_64/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/rhnlib-2.5.65-8.el7.x86_64/usr/lib/python2.7/site-packages/rhn copying build/lib/rhn/rpclib.py -> /builddir/build/BUILDROOT/rhnlib-2.5.65-8.el7.x86_64/usr/lib/python2.7/site-packages/rhn copying build/lib/rhn/connections.py -> /builddir/build/BUILDROOT/rhnlib-2.5.65-8.el7.x86_64/usr/lib/python2.7/site-packages/rhn copying build/lib/rhn/__init__.py -> /builddir/build/BUILDROOT/rhnlib-2.5.65-8.el7.x86_64/usr/lib/python2.7/site-packages/rhn copying build/lib/rhn/SSL.py -> /builddir/build/BUILDROOT/rhnlib-2.5.65-8.el7.x86_64/usr/lib/python2.7/site-packages/rhn copying build/lib/rhn/SmartIO.py -> /builddir/build/BUILDROOT/rhnlib-2.5.65-8.el7.x86_64/usr/lib/python2.7/site-packages/rhn copying build/lib/rhn/rhnLockfile.py -> /builddir/build/BUILDROOT/rhnlib-2.5.65-8.el7.x86_64/usr/lib/python2.7/site-packages/rhn copying build/lib/rhn/nonblocking.py -> /builddir/build/BUILDROOT/rhnlib-2.5.65-8.el7.x86_64/usr/lib/python2.7/site-packages/rhn copying build/lib/rhn/transports.py -> /builddir/build/BUILDROOT/rhnlib-2.5.65-8.el7.x86_64/usr/lib/python2.7/site-packages/rhn copying build/lib/rhn/UserDictCase.py -> /builddir/build/BUILDROOT/rhnlib-2.5.65-8.el7.x86_64/usr/lib/python2.7/site-packages/rhn byte-compiling /builddir/build/BUILDROOT/rhnlib-2.5.65-8.el7.x86_64/usr/lib/python2.7/site-packages/rhn/rpclib.py to rpclib.pyc byte-compiling /builddir/build/BUILDROOT/rhnlib-2.5.65-8.el7.x86_64/usr/lib/python2.7/site-packages/rhn/connections.py to connections.pyc byte-compiling /builddir/build/BUILDROOT/rhnlib-2.5.65-8.el7.x86_64/usr/lib/python2.7/site-packages/rhn/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/rhnlib-2.5.65-8.el7.x86_64/usr/lib/python2.7/site-packages/rhn/SSL.py to SSL.pyc byte-compiling /builddir/build/BUILDROOT/rhnlib-2.5.65-8.el7.x86_64/usr/lib/python2.7/site-packages/rhn/SmartIO.py to SmartIO.pyc byte-compiling /builddir/build/BUILDROOT/rhnlib-2.5.65-8.el7.x86_64/usr/lib/python2.7/site-packages/rhn/rhnLockfile.py to rhnLockfile.pyc byte-compiling /builddir/build/BUILDROOT/rhnlib-2.5.65-8.el7.x86_64/usr/lib/python2.7/site-packages/rhn/nonblocking.py to nonblocking.pyc byte-compiling /builddir/build/BUILDROOT/rhnlib-2.5.65-8.el7.x86_64/usr/lib/python2.7/site-packages/rhn/transports.py to transports.pyc byte-compiling /builddir/build/BUILDROOT/rhnlib-2.5.65-8.el7.x86_64/usr/lib/python2.7/site-packages/rhn/UserDictCase.py to UserDictCase.pyc writing byte-compilation script '/tmp/tmp2yiimS.py' /usr/bin/python -O /tmp/tmp2yiimS.py removing /tmp/tmp2yiimS.py running install_egg_info Writing /builddir/build/BUILDROOT/rhnlib-2.5.65-8.el7.x86_64/usr/lib/python2.7/site-packages/rhnlib-2.5.65-py2.7.egg-info + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/rhnlib-2.5.65 /usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 0 CRC32s did match. find: 'debug': No such file or directory + /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/rhnlib-2.5.65-8.el7.x86_64/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: rhnlib-2.5.65-8.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.xzkn8R + umask 022 + cd /builddir/build/BUILD + cd rhnlib-2.5.65 + DOCDIR=/builddir/build/BUILDROOT/rhnlib-2.5.65-8.el7.x86_64/usr/share/doc/rhnlib-2.5.65 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rhnlib-2.5.65-8.el7.x86_64/usr/share/doc/rhnlib-2.5.65 + cp -pr ChangeLog /builddir/build/BUILDROOT/rhnlib-2.5.65-8.el7.x86_64/usr/share/doc/rhnlib-2.5.65 + cp -pr COPYING /builddir/build/BUILDROOT/rhnlib-2.5.65-8.el7.x86_64/usr/share/doc/rhnlib-2.5.65 + cp -pr README /builddir/build/BUILDROOT/rhnlib-2.5.65-8.el7.x86_64/usr/share/doc/rhnlib-2.5.65 + cp -pr TODO /builddir/build/BUILDROOT/rhnlib-2.5.65-8.el7.x86_64/usr/share/doc/rhnlib-2.5.65 + exit 0 Provides: rhnlib = 2.5.65-8.el7 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: python(abi) = 2.7 Conflicts: rhncfg < 5.10.45 spacewalk-proxy-installer < 1.3.2 rhn-client-tools < 1.3.3 rhn-custom-info < 5.4.7 rhnpush < 5.5.10 rhnclient < 0.10 spacewalk-proxy < 1.3.6 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rhnlib-2.5.65-8.el7.x86_64 Wrote: /builddir/build/RPMS/rhnlib-2.5.65-8.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.9Tv9ME + umask 022 + cd /builddir/build/BUILD + cd rhnlib-2.5.65 + rm -rf /builddir/build/BUILDROOT/rhnlib-2.5.65-8.el7.x86_64 + exit 0 Child return code was: 0