Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/targetcli.spec'], chrootPath='/var/lib/mock/targetcli-2.1.fb46-7.el7-20181030222543-21038/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 ppc64le --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: ppc64le Building for target ppc64le Wrote: /builddir/build/SRPMS/targetcli-2.1.fb46-7.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/targetcli.spec'], chrootPath='/var/lib/mock/targetcli-2.1.fb46-7.el7-20181030222543-21038/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 ppc64le --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: ppc64le Building for target ppc64le Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.5t4n0e + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf targetcli-fb-2.1.fb46 + /usr/bin/gzip -dc /builddir/build/SOURCES/targetcli-fb-2.1.fb46.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd targetcli-fb-2.1.fb46 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (0001-Properly-detect-errors-when-writing-backup-files.-Cl.patch): + echo 'Patch #0 (0001-Properly-detect-errors-when-writing-backup-files.-Cl.patch):' + /usr/bin/cat /builddir/build/SOURCES/0001-Properly-detect-errors-when-writing-backup-files.-Cl.patch + /usr/bin/patch -p1 --fuzz=0 patching file targetcli/ui_root.py Patch #1 (0002-Read-number-of-backup-files-to-keep-from-file.patch): + echo 'Patch #1 (0002-Read-number-of-backup-files-to-keep-from-file.patch):' + /usr/bin/cat /builddir/build/SOURCES/0002-Read-number-of-backup-files-to-keep-from-file.patch + /usr/bin/patch -p1 --fuzz=0 patching file targetcli/ui_root.py Patch #2 (0003-config-defend-on-etc-target-backup-directory.patch): + echo 'Patch #2 (0003-config-defend-on-etc-target-backup-directory.patch):' + /usr/bin/cat /builddir/build/SOURCES/0003-config-defend-on-etc-target-backup-directory.patch + /usr/bin/patch -p1 --fuzz=0 patching file targetcli/ui_root.py Patch #3 (0004-config-backup-when-current-config-is-different-from-.patch): + echo 'Patch #3 (0004-config-backup-when-current-config-is-different-from-.patch):' + /usr/bin/cat /builddir/build/SOURCES/0004-config-backup-when-current-config-is-different-from-.patch + /usr/bin/patch -p1 --fuzz=0 patching file targetcli/ui_root.py Patch #4 (0005-config-rename-key-kept_backups-as-max_backup_files.patch): + echo 'Patch #4 (0005-config-rename-key-kept_backups-as-max_backup_files.patch):' + /usr/bin/cat /builddir/build/SOURCES/0005-config-rename-key-kept_backups-as-max_backup_files.patch + /usr/bin/patch -p1 --fuzz=0 patching file targetcli/ui_root.py Patch #5 (0006-backup-global-option-to-tune-max-no.-of-backup-conf-.patch): + echo 'Patch #5 (0006-backup-global-option-to-tune-max-no.-of-backup-conf-.patch):' + /usr/bin/cat /builddir/build/SOURCES/0006-backup-global-option-to-tune-max-no.-of-backup-conf-.patch + /usr/bin/patch -p1 --fuzz=0 patching file scripts/targetcli patching file targetcli/ui_node.py patching file targetcli/ui_root.py Patch #6 (0007-Fix-default-max_backup_files-in-ui_command_saveconfi.patch): + echo 'Patch #6 (0007-Fix-default-max_backup_files-in-ui_command_saveconfi.patch):' + /usr/bin/patch -p1 --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/0007-Fix-default-max_backup_files-in-ui_command_saveconfi.patch patching file targetcli/ui_root.py Patch #7 (0008-config-add-saveconfig-command-to-StorageObject-level.patch): + echo 'Patch #7 (0008-config-add-saveconfig-command-to-StorageObject-level.patch):' + /usr/bin/cat /builddir/build/SOURCES/0008-config-add-saveconfig-command-to-StorageObject-level.patch + /usr/bin/patch -p1 --fuzz=0 patching file targetcli/ui_backstore.py Hunk #1 succeeded at 33 (offset -3 lines). Hunk #2 succeeded at 660 (offset -44 lines). patching file targetcli/ui_root.py Patch #8 (0009-Support-tcmu-hw-max-sectors.patch): + echo 'Patch #8 (0009-Support-tcmu-hw-max-sectors.patch):' + /usr/bin/cat /builddir/build/SOURCES/0009-Support-tcmu-hw-max-sectors.patch + /usr/bin/patch -p1 --fuzz=0 patching file targetcli/ui_backstore.py Hunk #1 succeeded at 576 (offset 2 lines). Hunk #2 succeeded at 601 (offset 2 lines). Patch #9 (0010-create-add-a-way-to-set-control-string.patch): + echo 'Patch #9 (0010-create-add-a-way-to-set-control-string.patch):' + /usr/bin/cat /builddir/build/SOURCES/0010-create-add-a-way-to-set-control-string.patch + /usr/bin/patch -p1 --fuzz=0 patching file targetcli/ui_backstore.py Patch #10 (0011-saveconfig-way-for-block-level-save-with-delete-comm.patch): + echo 'Patch #10 (0011-saveconfig-way-for-block-level-save-with-delete-comm.patch):' + /usr/bin/cat /builddir/build/SOURCES/0011-saveconfig-way-for-block-level-save-with-delete-comm.patch + /usr/bin/patch -p1 --fuzz=0 patching file targetcli/ui_backstore.py Hunk #1 succeeded at 271 (offset -13 lines). Hunk #2 succeeded at 288 (offset -13 lines). Patch #11 (0012-saveconfig-handle-backups-with-block-level-delete.patch): + echo 'Patch #11 (0012-saveconfig-handle-backups-with-block-level-delete.patch):' + /usr/bin/cat /builddir/build/SOURCES/0012-saveconfig-handle-backups-with-block-level-delete.patch + /usr/bin/patch -p1 --fuzz=0 patching file targetcli/ui_backstore.py Hunk #1 succeeded at 289 (offset -13 lines). + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.zUBMHp + umask 022 + cd /builddir/build/BUILD + cd targetcli-fb-2.1.fb46 + /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/ui_backstore.py -> build/lib/targetcli copying targetcli/__init__.py -> build/lib/targetcli copying targetcli/ui_root.py -> build/lib/targetcli copying targetcli/version.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 changing mode of build/scripts-2.7/targetcli from 644 to 755 + gzip --stdout targetcli.8 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.pwLcsA + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/targetcli-2.1.fb46-7.el7.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/targetcli-2.1.fb46-7.el7.ppc64le ++ dirname /builddir/build/BUILDROOT/targetcli-2.1.fb46-7.el7.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/targetcli-2.1.fb46-7.el7.ppc64le + cd targetcli-fb-2.1.fb46 + /usr/bin/python setup.py install --skip-build --root /builddir/build/BUILDROOT/targetcli-2.1.fb46-7.el7.ppc64le running install running install_lib creating /builddir/build/BUILDROOT/targetcli-2.1.fb46-7.el7.ppc64le/usr creating /builddir/build/BUILDROOT/targetcli-2.1.fb46-7.el7.ppc64le/usr/lib creating /builddir/build/BUILDROOT/targetcli-2.1.fb46-7.el7.ppc64le/usr/lib/python2.7 creating /builddir/build/BUILDROOT/targetcli-2.1.fb46-7.el7.ppc64le/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/targetcli-2.1.fb46-7.el7.ppc64le/usr/lib/python2.7/site-packages/targetcli copying build/lib/targetcli/ui_node.py -> /builddir/build/BUILDROOT/targetcli-2.1.fb46-7.el7.ppc64le/usr/lib/python2.7/site-packages/targetcli copying build/lib/targetcli/ui_backstore.py -> /builddir/build/BUILDROOT/targetcli-2.1.fb46-7.el7.ppc64le/usr/lib/python2.7/site-packages/targetcli copying build/lib/targetcli/__init__.py -> /builddir/build/BUILDROOT/targetcli-2.1.fb46-7.el7.ppc64le/usr/lib/python2.7/site-packages/targetcli copying build/lib/targetcli/ui_root.py -> /builddir/build/BUILDROOT/targetcli-2.1.fb46-7.el7.ppc64le/usr/lib/python2.7/site-packages/targetcli copying build/lib/targetcli/version.py -> /builddir/build/BUILDROOT/targetcli-2.1.fb46-7.el7.ppc64le/usr/lib/python2.7/site-packages/targetcli copying build/lib/targetcli/ui_target.py -> /builddir/build/BUILDROOT/targetcli-2.1.fb46-7.el7.ppc64le/usr/lib/python2.7/site-packages/targetcli byte-compiling /builddir/build/BUILDROOT/targetcli-2.1.fb46-7.el7.ppc64le/usr/lib/python2.7/site-packages/targetcli/ui_node.py to ui_node.pyc byte-compiling /builddir/build/BUILDROOT/targetcli-2.1.fb46-7.el7.ppc64le/usr/lib/python2.7/site-packages/targetcli/ui_backstore.py to ui_backstore.pyc byte-compiling /builddir/build/BUILDROOT/targetcli-2.1.fb46-7.el7.ppc64le/usr/lib/python2.7/site-packages/targetcli/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/targetcli-2.1.fb46-7.el7.ppc64le/usr/lib/python2.7/site-packages/targetcli/ui_root.py to ui_root.pyc byte-compiling /builddir/build/BUILDROOT/targetcli-2.1.fb46-7.el7.ppc64le/usr/lib/python2.7/site-packages/targetcli/version.py to version.pyc byte-compiling /builddir/build/BUILDROOT/targetcli-2.1.fb46-7.el7.ppc64le/usr/lib/python2.7/site-packages/targetcli/ui_target.py to ui_target.pyc 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.fb46-7.el7.ppc64le/usr/lib/python2.7/site-packages/targetcli_fb-2.1.fb46-py2.7.egg-info running install_scripts creating /builddir/build/BUILDROOT/targetcli-2.1.fb46-7.el7.ppc64le/usr/bin copying build/scripts-2.7/targetcli -> /builddir/build/BUILDROOT/targetcli-2.1.fb46-7.el7.ppc64le/usr/bin changing mode of /builddir/build/BUILDROOT/targetcli-2.1.fb46-7.el7.ppc64le/usr/bin/targetcli to 755 + mkdir -p /builddir/build/BUILDROOT/targetcli-2.1.fb46-7.el7.ppc64le/etc/target/backup + mkdir -p /builddir/build/BUILDROOT/targetcli-2.1.fb46-7.el7.ppc64le/usr/share/man/man8/ + install -m 644 targetcli.8.gz /builddir/build/BUILDROOT/targetcli-2.1.fb46-7.el7.ppc64le/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 50000000 /builddir/build/BUILD/targetcli-fb-2.1.fb46 /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.fb46-7.el7.ppc64le/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.fb46-7.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ZHp8sL + umask 022 + cd /builddir/build/BUILD + cd targetcli-fb-2.1.fb46 + DOCDIR=/builddir/build/BUILDROOT/targetcli-2.1.fb46-7.el7.ppc64le/usr/share/doc/targetcli-2.1.fb46 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/targetcli-2.1.fb46-7.el7.ppc64le/usr/share/doc/targetcli-2.1.fb46 + cp -pr COPYING /builddir/build/BUILDROOT/targetcli-2.1.fb46-7.el7.ppc64le/usr/share/doc/targetcli-2.1.fb46 + cp -pr README.md /builddir/build/BUILDROOT/targetcli-2.1.fb46-7.el7.ppc64le/usr/share/doc/targetcli-2.1.fb46 + exit 0 Provides: targetcli = 2.1.fb46-7.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.fb46-7.el7.ppc64le Wrote: /builddir/build/RPMS/targetcli-2.1.fb46-7.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.mhzvu8 + umask 022 + cd /builddir/build/BUILD + cd targetcli-fb-2.1.fb46 + /usr/bin/rm -rf /builddir/build/BUILDROOT/targetcli-2.1.fb46-7.el7.ppc64le + exit 0 Child return code was: 0