Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/targetcli.spec'], chrootPath='/var/lib/mock/targetcli-2.1.51-2.el7-20200930173947-29334/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=1005) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/targetcli.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/targetcli-2.1.51-2.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/targetcli.spec'], chrootPath='/var/lib/mock/targetcli-2.1.51-2.el7-20200930173947-29334/root'shell=Falseuid=1005env={'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/targetcli.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.Q6xaG9 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf targetcli-fb-2.1.51 + /usr/bin/gzip -dc /builddir/build/SOURCES/targetcli-fb-2.1.51.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd targetcli-fb-2.1.51 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (0001-setup.py-add-the-socket-and-service-files-to-the-dat.patch):' Patch #0 (0001-setup.py-add-the-socket-and-service-files-to-the-dat.patch): + /usr/bin/cat /builddir/build/SOURCES/0001-setup.py-add-the-socket-and-service-files-to-the-dat.patch + /usr/bin/patch -p1 --fuzz=0 patching file setup.py + echo 'Patch #1 (0002-Use-StringIO-as-a-buffer-instead-of-a-file.patch):' Patch #1 (0002-Use-StringIO-as-a-buffer-instead-of-a-file.patch): + /usr/bin/cat /builddir/build/SOURCES/0002-Use-StringIO-as-a-buffer-instead-of-a-file.patch + /usr/bin/patch -p1 --fuzz=0 patching file daemon/targetclid + echo 'Patch #2 (0003-Fix-targetclid-daemon-infinite-stuck.patch):' Patch #2 (0003-Fix-targetclid-daemon-infinite-stuck.patch): + /usr/bin/cat /builddir/build/SOURCES/0003-Fix-targetclid-daemon-infinite-stuck.patch + /usr/bin/patch -p1 --fuzz=0 patching file daemon/targetclid Patch #3 (0004-targetclid.sock-change-SocketMode-to-0600.patch): + echo 'Patch #3 (0004-targetclid.sock-change-SocketMode-to-0600.patch):' + /usr/bin/cat /builddir/build/SOURCES/0004-targetclid.sock-change-SocketMode-to-0600.patch + /usr/bin/patch -p1 --fuzz=0 patching file systemd/targetclid.socket Patch #4 (0005-Fix-StringIO-BytesIO-stuck-issue.patch): + echo 'Patch #4 (0005-Fix-StringIO-BytesIO-stuck-issue.patch):' + /usr/bin/cat /builddir/build/SOURCES/0005-Fix-StringIO-BytesIO-stuck-issue.patch + /usr/bin/patch -p1 --fuzz=0 patching file daemon/targetclid + echo 'Patch #5 (0006-Use-temp-file-objects-for-temporary-storage-area.patch):' Patch #5 (0006-Use-temp-file-objects-for-temporary-storage-area.patch): + /usr/bin/cat /builddir/build/SOURCES/0006-Use-temp-file-objects-for-temporary-storage-area.patch + /usr/bin/patch -p1 --fuzz=0 patching file daemon/targetclid patching file scripts/targetcli + echo 'Patch #6 (0007-daemonized-mode-add-interactive-shell-support.patch):' Patch #6 (0007-daemonized-mode-add-interactive-shell-support.patch): + /usr/bin/cat /builddir/build/SOURCES/0007-daemonized-mode-add-interactive-shell-support.patch + /usr/bin/patch -p1 --fuzz=0 patching file scripts/targetcli patching file targetcli/ui_node.py patching file targetclid.8 + echo 'Patch #7 (0008-daemonized-mode-fix-issues-noticed-with-curser-posit.patch):' Patch #7 (0008-daemonized-mode-fix-issues-noticed-with-curser-posit.patch): + /usr/bin/cat /builddir/build/SOURCES/0008-daemonized-mode-fix-issues-noticed-with-curser-posit.patch + /usr/bin/patch -p1 --fuzz=0 patching file scripts/targetcli Patch #8 (0009-daemon-interactive-show-path-on-prompt.patch): + echo 'Patch #8 (0009-daemon-interactive-show-path-on-prompt.patch):' + /usr/bin/cat /builddir/build/SOURCES/0009-daemon-interactive-show-path-on-prompt.patch + /usr/bin/patch -p1 --fuzz=0 patching file scripts/targetcli + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.7r0VXN + umask 022 + cd /builddir/build/BUILD + cd targetcli-fb-2.1.51 + /usr/bin/python setup.py build running build running build_py creating build creating build/lib creating build/lib/targetcli copying targetcli/ui_node.py -> build/lib/targetcli copying targetcli/version.py -> build/lib/targetcli copying targetcli/ui_backstore.py -> build/lib/targetcli copying targetcli/ui_root.py -> build/lib/targetcli copying targetcli/__init__.py -> build/lib/targetcli copying targetcli/ui_target.py -> build/lib/targetcli running build_scripts creating build/scripts-2.7 copying and adjusting scripts/targetcli -> build/scripts-2.7 copying and adjusting daemon/targetclid -> build/scripts-2.7 changing mode of build/scripts-2.7/targetcli from 644 to 755 changing mode of build/scripts-2.7/targetclid from 644 to 755 + gzip --stdout targetcli.8 + gzip --stdout targetclid.8 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Qnc8ss + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/targetcli-2.1.51-2.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/targetcli-2.1.51-2.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/targetcli-2.1.51-2.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/targetcli-2.1.51-2.el7.x86_64 + cd targetcli-fb-2.1.51 + /usr/bin/python setup.py install --skip-build --root /builddir/build/BUILDROOT/targetcli-2.1.51-2.el7.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/targetcli-2.1.51-2.el7.x86_64/usr creating /builddir/build/BUILDROOT/targetcli-2.1.51-2.el7.x86_64/usr/lib creating /builddir/build/BUILDROOT/targetcli-2.1.51-2.el7.x86_64/usr/lib/python2.7 creating /builddir/build/BUILDROOT/targetcli-2.1.51-2.el7.x86_64/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/targetcli-2.1.51-2.el7.x86_64/usr/lib/python2.7/site-packages/targetcli copying build/lib/targetcli/ui_node.py -> /builddir/build/BUILDROOT/targetcli-2.1.51-2.el7.x86_64/usr/lib/python2.7/site-packages/targetcli copying build/lib/targetcli/version.py -> /builddir/build/BUILDROOT/targetcli-2.1.51-2.el7.x86_64/usr/lib/python2.7/site-packages/targetcli copying build/lib/targetcli/ui_backstore.py -> /builddir/build/BUILDROOT/targetcli-2.1.51-2.el7.x86_64/usr/lib/python2.7/site-packages/targetcli copying build/lib/targetcli/ui_root.py -> /builddir/build/BUILDROOT/targetcli-2.1.51-2.el7.x86_64/usr/lib/python2.7/site-packages/targetcli copying build/lib/targetcli/__init__.py -> /builddir/build/BUILDROOT/targetcli-2.1.51-2.el7.x86_64/usr/lib/python2.7/site-packages/targetcli copying build/lib/targetcli/ui_target.py -> /builddir/build/BUILDROOT/targetcli-2.1.51-2.el7.x86_64/usr/lib/python2.7/site-packages/targetcli byte-compiling /builddir/build/BUILDROOT/targetcli-2.1.51-2.el7.x86_64/usr/lib/python2.7/site-packages/targetcli/ui_node.py to ui_node.pyc byte-compiling /builddir/build/BUILDROOT/targetcli-2.1.51-2.el7.x86_64/usr/lib/python2.7/site-packages/targetcli/version.py to version.pyc byte-compiling /builddir/build/BUILDROOT/targetcli-2.1.51-2.el7.x86_64/usr/lib/python2.7/site-packages/targetcli/ui_backstore.py to ui_backstore.pyc byte-compiling /builddir/build/BUILDROOT/targetcli-2.1.51-2.el7.x86_64/usr/lib/python2.7/site-packages/targetcli/ui_root.py to ui_root.pyc byte-compiling /builddir/build/BUILDROOT/targetcli-2.1.51-2.el7.x86_64/usr/lib/python2.7/site-packages/targetcli/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/targetcli-2.1.51-2.el7.x86_64/usr/lib/python2.7/site-packages/targetcli/ui_target.py to ui_target.pyc running install_data creating /builddir/build/BUILDROOT/targetcli-2.1.51-2.el7.x86_64/usr/lib/systemd creating /builddir/build/BUILDROOT/targetcli-2.1.51-2.el7.x86_64/usr/lib/systemd/system copying systemd/targetclid.socket -> /builddir/build/BUILDROOT/targetcli-2.1.51-2.el7.x86_64/usr/lib/systemd/system copying systemd/targetclid.service -> /builddir/build/BUILDROOT/targetcli-2.1.51-2.el7.x86_64/usr/lib/systemd/system running install_egg_info running egg_info creating targetcli_fb.egg-info writing targetcli_fb.egg-info/PKG-INFO writing top-level names to targetcli_fb.egg-info/top_level.txt writing dependency_links to targetcli_fb.egg-info/dependency_links.txt writing manifest file 'targetcli_fb.egg-info/SOURCES.txt' reading manifest file 'targetcli_fb.egg-info/SOURCES.txt' writing manifest file 'targetcli_fb.egg-info/SOURCES.txt' Copying targetcli_fb.egg-info to /builddir/build/BUILDROOT/targetcli-2.1.51-2.el7.x86_64/usr/lib/python2.7/site-packages/targetcli_fb-2.1.51-py2.7.egg-info running install_scripts creating /builddir/build/BUILDROOT/targetcli-2.1.51-2.el7.x86_64/usr/bin copying build/scripts-2.7/targetcli -> /builddir/build/BUILDROOT/targetcli-2.1.51-2.el7.x86_64/usr/bin copying build/scripts-2.7/targetclid -> /builddir/build/BUILDROOT/targetcli-2.1.51-2.el7.x86_64/usr/bin changing mode of /builddir/build/BUILDROOT/targetcli-2.1.51-2.el7.x86_64/usr/bin/targetcli to 755 changing mode of /builddir/build/BUILDROOT/targetcli-2.1.51-2.el7.x86_64/usr/bin/targetclid to 755 + mkdir -p /builddir/build/BUILDROOT/targetcli-2.1.51-2.el7.x86_64/etc/target/backup + mkdir -p /builddir/build/BUILDROOT/targetcli-2.1.51-2.el7.x86_64/etc/target/pr + mkdir -p /builddir/build/BUILDROOT/targetcli-2.1.51-2.el7.x86_64/usr/share/man/man8/ + install -m 644 targetcli.8.gz /builddir/build/BUILDROOT/targetcli-2.1.51-2.el7.x86_64/usr/share/man/man8/ + install -m 644 targetclid.8.gz /builddir/build/BUILDROOT/targetcli-2.1.51-2.el7.x86_64/usr/share/man/man8/ + /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/targetcli-fb-2.1.51 /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/targetcli-2.1.51-2.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: targetcli-2.1.51-2.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.f2IPZ7 + umask 022 + cd /builddir/build/BUILD + cd targetcli-fb-2.1.51 + DOCDIR=/builddir/build/BUILDROOT/targetcli-2.1.51-2.el7.x86_64/usr/share/doc/targetcli-2.1.51 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/targetcli-2.1.51-2.el7.x86_64/usr/share/doc/targetcli-2.1.51 + cp -pr COPYING /builddir/build/BUILDROOT/targetcli-2.1.51-2.el7.x86_64/usr/share/doc/targetcli-2.1.51 + cp -pr README.md /builddir/build/BUILDROOT/targetcli-2.1.51-2.el7.x86_64/usr/share/doc/targetcli-2.1.51 + exit 0 Provides: targetcli = 2.1.51-2.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: /usr/bin/python python(abi) = 2.7 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/targetcli-2.1.51-2.el7.x86_64 Wrote: /builddir/build/RPMS/targetcli-2.1.51-2.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.vwFPfu + umask 022 + cd /builddir/build/BUILD + cd targetcli-fb-2.1.51 + /usr/bin/rm -rf /builddir/build/BUILDROOT/targetcli-2.1.51-2.el7.x86_64 + exit 0 Child return code was: 0