Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-rtslib.spec'], chrootPath='/var/lib/mock/python-rtslib-2.1.fb69-3.el7-20190809015116-28977/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 aarch64 --nodeps /builddir/build/SPECS/python-rtslib.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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/python-rtslib-2.1.fb69-3.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/python-rtslib.spec'], chrootPath='/var/lib/mock/python-rtslib-2.1.fb69-3.el7-20190809015116-28977/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 aarch64 --nodeps /builddir/build/SPECS/python-rtslib.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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qj6RtY + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rtslib-fb-2.1.fb69 + /usr/bin/gzip -dc /builddir/build/SOURCES/rtslib-fb-2.1.fb69.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd rtslib-fb-2.1.fb69 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (0001-Turn-off-unsupported-fabrics.patch):' Patch #0 (0001-Turn-off-unsupported-fabrics.patch): + /usr/bin/cat /builddir/build/SOURCES/0001-Turn-off-unsupported-fabrics.patch + /usr/bin/patch -p1 --fuzz=0 patching file rtslib/fabric.py Patch #1 (0002-Fix-comparisons-to-None.patch): + echo 'Patch #1 (0002-Fix-comparisons-to-None.patch):' + /usr/bin/cat /builddir/build/SOURCES/0002-Fix-comparisons-to-None.patch + /usr/bin/patch -p1 --fuzz=0 patching file rtslib/node.py Patch #2 (0003-report-the-correct-size-for-partitions.patch): + echo 'Patch #2 (0003-report-the-correct-size-for-partitions.patch):' + /usr/bin/cat /builddir/build/SOURCES/0003-report-the-correct-size-for-partitions.patch + /usr/bin/patch -p1 --fuzz=0 patching file rtslib/utils.py + echo 'Patch #3 (0004-save_to_file-function-breaks-symbolic-link-when-savi.patch):' Patch #3 (0004-save_to_file-function-breaks-symbolic-link-when-savi.patch): + /usr/bin/cat /builddir/build/SOURCES/0004-save_to_file-function-breaks-symbolic-link-when-savi.patch + /usr/bin/patch -p1 --fuzz=0 patching file rtslib/root.py + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.WG1pbP + umask 022 + cd /builddir/build/BUILD + cd rtslib-fb-2.1.fb69 + /usr/bin/python setup.py build running build running build_py creating build creating build/lib creating build/lib/rtslib_fb copying rtslib_fb/utils.py -> build/lib/rtslib_fb copying rtslib_fb/tcm.py -> build/lib/rtslib_fb copying rtslib_fb/fabric.py -> build/lib/rtslib_fb copying rtslib_fb/__init__.py -> build/lib/rtslib_fb copying rtslib_fb/root.py -> build/lib/rtslib_fb copying rtslib_fb/alua.py -> build/lib/rtslib_fb copying rtslib_fb/target.py -> build/lib/rtslib_fb copying rtslib_fb/node.py -> build/lib/rtslib_fb creating build/lib/rtslib copying rtslib/utils.py -> build/lib/rtslib copying rtslib/tcm.py -> build/lib/rtslib copying rtslib/fabric.py -> build/lib/rtslib copying rtslib/__init__.py -> build/lib/rtslib copying rtslib/root.py -> build/lib/rtslib copying rtslib/alua.py -> build/lib/rtslib copying rtslib/target.py -> build/lib/rtslib copying rtslib/node.py -> build/lib/rtslib running build_scripts creating build/scripts-2.7 copying and adjusting scripts/targetctl -> build/scripts-2.7 changing mode of build/scripts-2.7/targetctl from 644 to 755 + gzip --stdout doc/targetctl.8 + gzip --stdout doc/saveconfig.json.5 + mkdir -p doc/html + epydoc --no-sourcecode --html -n rtslib -o doc/html rtslib/__init__.py rtslib/alua.py rtslib/fabric.py rtslib/node.py rtslib/root.py rtslib/target.py rtslib/tcm.py rtslib/utils.py [.........................................................................] Warning: 17 markup errors were found while processing docstrings. Use the verbose switch (-v) to display markup errors. + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.uA6X36 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64 ++ dirname /builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64 + cd rtslib-fb-2.1.fb69 + /usr/bin/python setup.py install --skip-build --root /builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64 running install running install_lib creating /builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64/usr creating /builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64/usr/lib creating /builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64/usr/lib/python2.7 creating /builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64/usr/lib/python2.7/site-packages/rtslib_fb copying build/lib/rtslib_fb/utils.py -> /builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64/usr/lib/python2.7/site-packages/rtslib_fb copying build/lib/rtslib_fb/tcm.py -> /builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64/usr/lib/python2.7/site-packages/rtslib_fb copying build/lib/rtslib_fb/fabric.py -> /builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64/usr/lib/python2.7/site-packages/rtslib_fb copying build/lib/rtslib_fb/__init__.py -> /builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64/usr/lib/python2.7/site-packages/rtslib_fb copying build/lib/rtslib_fb/root.py -> /builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64/usr/lib/python2.7/site-packages/rtslib_fb copying build/lib/rtslib_fb/alua.py -> /builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64/usr/lib/python2.7/site-packages/rtslib_fb copying build/lib/rtslib_fb/target.py -> /builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64/usr/lib/python2.7/site-packages/rtslib_fb copying build/lib/rtslib_fb/node.py -> /builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64/usr/lib/python2.7/site-packages/rtslib_fb creating /builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64/usr/lib/python2.7/site-packages/rtslib copying build/lib/rtslib/utils.py -> /builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64/usr/lib/python2.7/site-packages/rtslib copying build/lib/rtslib/tcm.py -> /builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64/usr/lib/python2.7/site-packages/rtslib copying build/lib/rtslib/fabric.py -> /builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64/usr/lib/python2.7/site-packages/rtslib copying build/lib/rtslib/__init__.py -> /builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64/usr/lib/python2.7/site-packages/rtslib copying build/lib/rtslib/root.py -> /builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64/usr/lib/python2.7/site-packages/rtslib copying build/lib/rtslib/alua.py -> /builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64/usr/lib/python2.7/site-packages/rtslib copying build/lib/rtslib/target.py -> /builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64/usr/lib/python2.7/site-packages/rtslib copying build/lib/rtslib/node.py -> /builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64/usr/lib/python2.7/site-packages/rtslib byte-compiling /builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64/usr/lib/python2.7/site-packages/rtslib_fb/utils.py to utils.pyc byte-compiling /builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64/usr/lib/python2.7/site-packages/rtslib_fb/tcm.py to tcm.pyc byte-compiling /builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64/usr/lib/python2.7/site-packages/rtslib_fb/fabric.py to fabric.pyc byte-compiling /builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64/usr/lib/python2.7/site-packages/rtslib_fb/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64/usr/lib/python2.7/site-packages/rtslib_fb/root.py to root.pyc byte-compiling /builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64/usr/lib/python2.7/site-packages/rtslib_fb/alua.py to alua.pyc byte-compiling /builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64/usr/lib/python2.7/site-packages/rtslib_fb/target.py to target.pyc byte-compiling /builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64/usr/lib/python2.7/site-packages/rtslib_fb/node.py to node.pyc byte-compiling /builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64/usr/lib/python2.7/site-packages/rtslib/utils.py to utils.pyc byte-compiling /builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64/usr/lib/python2.7/site-packages/rtslib/tcm.py to tcm.pyc byte-compiling /builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64/usr/lib/python2.7/site-packages/rtslib/fabric.py to fabric.pyc byte-compiling /builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64/usr/lib/python2.7/site-packages/rtslib/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64/usr/lib/python2.7/site-packages/rtslib/root.py to root.pyc byte-compiling /builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64/usr/lib/python2.7/site-packages/rtslib/alua.py to alua.pyc byte-compiling /builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64/usr/lib/python2.7/site-packages/rtslib/target.py to target.pyc byte-compiling /builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64/usr/lib/python2.7/site-packages/rtslib/node.py to node.pyc running install_egg_info running egg_info creating rtslib_fb.egg-info writing requirements to rtslib_fb.egg-info/requires.txt writing rtslib_fb.egg-info/PKG-INFO writing top-level names to rtslib_fb.egg-info/top_level.txt writing dependency_links to rtslib_fb.egg-info/dependency_links.txt writing manifest file 'rtslib_fb.egg-info/SOURCES.txt' reading manifest file 'rtslib_fb.egg-info/SOURCES.txt' writing manifest file 'rtslib_fb.egg-info/SOURCES.txt' Copying rtslib_fb.egg-info to /builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64/usr/lib/python2.7/site-packages/rtslib_fb-2.1.69-py2.7.egg-info running install_scripts creating /builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64/usr/bin copying build/scripts-2.7/targetctl -> /builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64/usr/bin changing mode of /builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64/usr/bin/targetctl to 755 + mkdir -p /builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64/usr/share/man/man8/ + mkdir -p /builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64/usr/share/man/man5/ + mkdir -p /builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64/usr/lib/systemd/system + mkdir -p /builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64/etc/target/backup + mkdir -p /builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64/var/target/pr + mkdir -p /builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64/var/target/alua + install -m 644 /builddir/build/SOURCES/target.service /builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64/usr/lib/systemd/system/target.service + install -m 644 doc/targetctl.8.gz /builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64/usr/share/man/man8/ + install -m 644 doc/saveconfig.json.5.gz /builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64/usr/share/man/man5/ + /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/rtslib-fb-2.1.fb69 /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/python-rtslib-2.1.fb69-3.el7.aarch64/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: python-rtslib-2.1.fb69-3.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.501O4K + umask 022 + cd /builddir/build/BUILD + cd rtslib-fb-2.1.fb69 + DOCDIR=/builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64/usr/share/doc/python-rtslib-2.1.fb69 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64/usr/share/doc/python-rtslib-2.1.fb69 + cp -pr COPYING /builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64/usr/share/doc/python-rtslib-2.1.fb69 + cp -pr README.md /builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64/usr/share/doc/python-rtslib-2.1.fb69 + cp -pr doc/getting_started.md /builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64/usr/share/doc/python-rtslib-2.1.fb69 + exit 0 Provides: python-rtslib = 2.1.fb69-3.el7 Requires(interp): /bin/sh /bin/sh /bin/sh 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(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: /usr/bin/python python(abi) = 2.7 Processing files: python-rtslib-doc-2.1.fb69-3.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Natlwn + umask 022 + cd /builddir/build/BUILD + cd rtslib-fb-2.1.fb69 + DOCDIR=/builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64/usr/share/doc/python-rtslib-doc-2.1.fb69 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64/usr/share/doc/python-rtslib-doc-2.1.fb69 + cp -pr doc/html /builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64/usr/share/doc/python-rtslib-doc-2.1.fb69 + exit 0 Provides: python-rtslib-doc = 2.1.fb69-3.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64 Wrote: /builddir/build/RPMS/python-rtslib-2.1.fb69-3.el7.noarch.rpm Wrote: /builddir/build/RPMS/python-rtslib-doc-2.1.fb69-3.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.1veCX1 + umask 022 + cd /builddir/build/BUILD + cd rtslib-fb-2.1.fb69 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-rtslib-2.1.fb69-3.el7.aarch64 + exit 0 Child return code was: 0