Mock Version: 1.4.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/dnf-plugin-spacewalk.spec'], chrootPath='/var/lib/mock/911923-epel-7-x86_64-1558434849.326769/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.jc88hq6k:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jc88hq6k:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'd2cfa6da0f884cc0aa5f28a04ae452ea', '-D', '/var/lib/mock/911923-epel-7-x86_64-1558434849.326769/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jc88hq6k:/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 x86_64 --nodeps /builddir/build/SPECS/dnf-plugin-spacewalk.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 BUILDSTDERR: sh: /usr/bin/python2: No such file or directory BUILDSTDERR: sh: /usr/bin/python2: No such file or directory BUILDSTDERR: sh: /usr/bin/python2: No such file or directory BUILDSTDERR: sh: /usr/bin/python2: No such file or directory BUILDSTDERR: sh: /usr/bin/python: No such file or directory BUILDSTDERR: sh: /usr/bin/python: No such file or directory Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/dnf-plugin-spacewalk-2.9.7-1.el7.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/dnf-plugin-spacewalk.spec'], chrootPath='/var/lib/mock/911923-epel-7-x86_64-1558434849.326769/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.jc88hq6k:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jc88hq6k:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '717e833665634b7799e107c9719d9fdd', '-D', '/var/lib/mock/911923-epel-7-x86_64-1558434849.326769/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jc88hq6k:/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 x86_64 --nodeps /builddir/build/SPECS/dnf-plugin-spacewalk.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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.dG2Y09 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dnf-plugin-spacewalk-2.9.7 + /usr/bin/gzip -dc /builddir/build/SOURCES/dnf-plugin-spacewalk-2.9.7.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd dnf-plugin-spacewalk-2.9.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.TKxAI2 + umask 022 + cd /builddir/build/BUILD + cd dnf-plugin-spacewalk-2.9.7 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.TbHVqV + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/dnf-plugin-spacewalk-2.9.7-1.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/dnf-plugin-spacewalk-2.9.7-1.el7.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/dnf-plugin-spacewalk-2.9.7-1.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/dnf-plugin-spacewalk-2.9.7-1.el7.x86_64 + cd dnf-plugin-spacewalk-2.9.7 + install -d /builddir/build/BUILDROOT/dnf-plugin-spacewalk-2.9.7-1.el7.x86_64/etc/dnf/plugins/ + install -d /builddir/build/BUILDROOT/dnf-plugin-spacewalk-2.9.7-1.el7.x86_64/var/lib/up2date + install -d /builddir/build/BUILDROOT/dnf-plugin-spacewalk-2.9.7-1.el7.x86_64/usr/share/man/man5 /builddir/build/BUILDROOT/dnf-plugin-spacewalk-2.9.7-1.el7.x86_64/usr/share/man/man8 + install -m 644 spacewalk.conf /builddir/build/BUILDROOT/dnf-plugin-spacewalk-2.9.7-1.el7.x86_64/etc/dnf/plugins/ + install -m 644 man/spacewalk.conf.5 /builddir/build/BUILDROOT/dnf-plugin-spacewalk-2.9.7-1.el7.x86_64/usr/share/man/man5/ + install -m 644 man/dnf.plugin.spacewalk.8 /builddir/build/BUILDROOT/dnf-plugin-spacewalk-2.9.7-1.el7.x86_64/usr/share/man/man8/ + ln -sf dnf.plugin.spacewalk.8 /builddir/build/BUILDROOT/dnf-plugin-spacewalk-2.9.7-1.el7.x86_64/usr/share/man/man8/dnf-plugin-spacewalk.8 + ln -sf dnf.plugin.spacewalk.8 /builddir/build/BUILDROOT/dnf-plugin-spacewalk-2.9.7-1.el7.x86_64/usr/share/man/man8/yum-rhn-plugin.8 + install -d /builddir/build/BUILDROOT/dnf-plugin-spacewalk-2.9.7-1.el7.x86_64/usr/lib/python2.7/site-packages/rhn/actions + install -d /builddir/build/BUILDROOT/dnf-plugin-spacewalk-2.9.7-1.el7.x86_64/usr/lib/python2.7/site-packages/dnf-plugins/ + install -m 644 spacewalk.py /builddir/build/BUILDROOT/dnf-plugin-spacewalk-2.9.7-1.el7.x86_64/usr/lib/python2.7/site-packages/dnf-plugins/ + install -m 644 actions/packages.py /builddir/build/BUILDROOT/dnf-plugin-spacewalk-2.9.7-1.el7.x86_64/usr/lib/python2.7/site-packages/rhn/actions/ + install -m 644 actions/errata.py /builddir/build/BUILDROOT/dnf-plugin-spacewalk-2.9.7-1.el7.x86_64/usr/lib/python2.7/site-packages/rhn/actions/ + /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/dnf-plugin-spacewalk-2.9.7 /usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 0 CRC32s did match. BUILDSTDERR: 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/dnf-plugin-spacewalk-2.9.7-1.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: dnf-plugin-spacewalk-2.9.7-1.el7.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.lAteTO + umask 022 + cd /builddir/build/BUILD + cd dnf-plugin-spacewalk-2.9.7 + LICENSEDIR=/builddir/build/BUILDROOT/dnf-plugin-spacewalk-2.9.7-1.el7.x86_64/usr/share/licenses/dnf-plugin-spacewalk-2.9.7 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/dnf-plugin-spacewalk-2.9.7-1.el7.x86_64/usr/share/licenses/dnf-plugin-spacewalk-2.9.7 + cp -pr LICENSE /builddir/build/BUILDROOT/dnf-plugin-spacewalk-2.9.7-1.el7.x86_64/usr/share/licenses/dnf-plugin-spacewalk-2.9.7 + exit 0 Provides: config(dnf-plugin-spacewalk) = 2.9.7-1.el7 dnf-plugin-spacewalk = 2.9.7-1.el7 Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh Requires(post): /bin/sh Processing files: python2-dnf-plugin-spacewalk-2.9.7-1.el7.noarch Provides: python-dnf-plugin-spacewalk = 2.9.7-1.el7 python2-dnf-plugin-spacewalk = 2.9.7-1.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 Obsoletes: python-dnf-plugin-spacewalk < 2.9.7-1.el7 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/dnf-plugin-spacewalk-2.9.7-1.el7.x86_64 Wrote: /builddir/build/RPMS/dnf-plugin-spacewalk-2.9.7-1.el7.noarch.rpm Wrote: /builddir/build/RPMS/python2-dnf-plugin-spacewalk-2.9.7-1.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.TBUNLw + umask 022 + cd /builddir/build/BUILD + cd dnf-plugin-spacewalk-2.9.7 + /usr/bin/rm -rf /builddir/build/BUILDROOT/dnf-plugin-spacewalk-2.9.7-1.el7.x86_64 + exit 0 Child return code was: 0