Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/rhnlib.spec'], chrootPath='/var/lib/mock/dist-an7-build-34113-16169/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=989gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ng7uxi_u:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=FalseprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ng7uxi_u:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'fe8351932be7403eae5c86d1beb13ddb', '-D', '/var/lib/mock/dist-an7-build-34113-16169/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ng7uxi_u:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--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=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/rhnlib.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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False sh: /usr/bin/python: No such file or directory Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/rhnlib-2.5.65-8.an7.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/rhnlib.spec'], chrootPath='/var/lib/mock/dist-an7-build-34113-16169/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=989gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ng7uxi_u:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=FalseprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ng7uxi_u:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '8b10287c09f54daaa3321f9810485983', '-D', '/var/lib/mock/dist-an7-build-34113-16169/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ng7uxi_u:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--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=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/rhnlib.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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Hw0YQt + 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.an7/ setup.cfg.in + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Lp98FG + 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/SmartIO.py -> build/lib/rhn copying rhn/rpclib.py -> build/lib/rhn copying rhn/connections.py -> build/lib/rhn copying rhn/nonblocking.py -> build/lib/rhn copying rhn/__init__.py -> build/lib/rhn copying rhn/UserDictCase.py -> build/lib/rhn copying rhn/rhnLockfile.py -> build/lib/rhn copying rhn/transports.py -> build/lib/rhn copying rhn/SSL.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.an7!' $i ; done + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.LqMzBU + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rhnlib-2.5.65-8.an7.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rhnlib-2.5.65-8.an7.noarch ++ dirname /builddir/build/BUILDROOT/rhnlib-2.5.65-8.an7.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rhnlib-2.5.65-8.an7.noarch + cd rhnlib-2.5.65 + rm -rf /builddir/build/BUILDROOT/rhnlib-2.5.65-8.an7.noarch + /usr/bin/python setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/rhnlib-2.5.65-8.an7.noarch --prefix=/usr running install running install_lib creating /builddir/build/BUILDROOT/rhnlib-2.5.65-8.an7.noarch creating /builddir/build/BUILDROOT/rhnlib-2.5.65-8.an7.noarch/usr creating /builddir/build/BUILDROOT/rhnlib-2.5.65-8.an7.noarch/usr/lib creating /builddir/build/BUILDROOT/rhnlib-2.5.65-8.an7.noarch/usr/lib/python2.7 creating /builddir/build/BUILDROOT/rhnlib-2.5.65-8.an7.noarch/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/rhnlib-2.5.65-8.an7.noarch/usr/lib/python2.7/site-packages/rhn copying build/lib/rhn/SmartIO.py -> /builddir/build/BUILDROOT/rhnlib-2.5.65-8.an7.noarch/usr/lib/python2.7/site-packages/rhn copying build/lib/rhn/rpclib.py -> /builddir/build/BUILDROOT/rhnlib-2.5.65-8.an7.noarch/usr/lib/python2.7/site-packages/rhn copying build/lib/rhn/connections.py -> /builddir/build/BUILDROOT/rhnlib-2.5.65-8.an7.noarch/usr/lib/python2.7/site-packages/rhn copying build/lib/rhn/nonblocking.py -> /builddir/build/BUILDROOT/rhnlib-2.5.65-8.an7.noarch/usr/lib/python2.7/site-packages/rhn copying build/lib/rhn/__init__.py -> /builddir/build/BUILDROOT/rhnlib-2.5.65-8.an7.noarch/usr/lib/python2.7/site-packages/rhn copying build/lib/rhn/UserDictCase.py -> /builddir/build/BUILDROOT/rhnlib-2.5.65-8.an7.noarch/usr/lib/python2.7/site-packages/rhn copying build/lib/rhn/rhnLockfile.py -> /builddir/build/BUILDROOT/rhnlib-2.5.65-8.an7.noarch/usr/lib/python2.7/site-packages/rhn copying build/lib/rhn/transports.py -> /builddir/build/BUILDROOT/rhnlib-2.5.65-8.an7.noarch/usr/lib/python2.7/site-packages/rhn copying build/lib/rhn/SSL.py -> /builddir/build/BUILDROOT/rhnlib-2.5.65-8.an7.noarch/usr/lib/python2.7/site-packages/rhn byte-compiling /builddir/build/BUILDROOT/rhnlib-2.5.65-8.an7.noarch/usr/lib/python2.7/site-packages/rhn/SmartIO.py to SmartIO.pyc byte-compiling /builddir/build/BUILDROOT/rhnlib-2.5.65-8.an7.noarch/usr/lib/python2.7/site-packages/rhn/rpclib.py to rpclib.pyc byte-compiling /builddir/build/BUILDROOT/rhnlib-2.5.65-8.an7.noarch/usr/lib/python2.7/site-packages/rhn/connections.py to connections.pyc byte-compiling /builddir/build/BUILDROOT/rhnlib-2.5.65-8.an7.noarch/usr/lib/python2.7/site-packages/rhn/nonblocking.py to nonblocking.pyc byte-compiling /builddir/build/BUILDROOT/rhnlib-2.5.65-8.an7.noarch/usr/lib/python2.7/site-packages/rhn/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/rhnlib-2.5.65-8.an7.noarch/usr/lib/python2.7/site-packages/rhn/UserDictCase.py to UserDictCase.pyc byte-compiling /builddir/build/BUILDROOT/rhnlib-2.5.65-8.an7.noarch/usr/lib/python2.7/site-packages/rhn/rhnLockfile.py to rhnLockfile.pyc byte-compiling /builddir/build/BUILDROOT/rhnlib-2.5.65-8.an7.noarch/usr/lib/python2.7/site-packages/rhn/transports.py to transports.pyc byte-compiling /builddir/build/BUILDROOT/rhnlib-2.5.65-8.an7.noarch/usr/lib/python2.7/site-packages/rhn/SSL.py to SSL.pyc writing byte-compilation script '/tmp/tmpOE9y2R.py' /usr/bin/python -O /tmp/tmpOE9y2R.py removing /tmp/tmpOE9y2R.py running install_egg_info Writing /builddir/build/BUILDROOT/rhnlib-2.5.65-8.an7.noarch/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 50000000 /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.an7.noarch/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.an7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.vzr9c9 + umask 022 + cd /builddir/build/BUILD + cd rhnlib-2.5.65 + DOCDIR=/builddir/build/BUILDROOT/rhnlib-2.5.65-8.an7.noarch/usr/share/doc/rhnlib-2.5.65 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rhnlib-2.5.65-8.an7.noarch/usr/share/doc/rhnlib-2.5.65 + cp -pr ChangeLog /builddir/build/BUILDROOT/rhnlib-2.5.65-8.an7.noarch/usr/share/doc/rhnlib-2.5.65 + cp -pr COPYING /builddir/build/BUILDROOT/rhnlib-2.5.65-8.an7.noarch/usr/share/doc/rhnlib-2.5.65 + cp -pr README /builddir/build/BUILDROOT/rhnlib-2.5.65-8.an7.noarch/usr/share/doc/rhnlib-2.5.65 + cp -pr TODO /builddir/build/BUILDROOT/rhnlib-2.5.65-8.an7.noarch/usr/share/doc/rhnlib-2.5.65 + exit 0 Provides: rhnlib = 2.5.65-8.an7 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.an7.noarch Wrote: /builddir/build/RPMS/rhnlib-2.5.65-8.an7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.TRC43D + umask 022 + cd /builddir/build/BUILD + cd rhnlib-2.5.65 + rm -rf /builddir/build/BUILDROOT/rhnlib-2.5.65-8.an7.noarch + exit 0 Child return code was: 0