Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-lit.spec'], chrootPath='/var/lib/mock/llvm-toolset-7-python-lit-0.5.1-1.el7-20180709175241-18755/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=1002) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-lit.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 Wrote: /builddir/build/SRPMS/llvm-toolset-7-python-lit-0.5.1-1.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-lit.spec'], chrootPath='/var/lib/mock/llvm-toolset-7-python-lit-0.5.1-1.el7-20180709175241-18755/root'shell=Falseuid=1002env={'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-lit.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.Bzc0CR + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf lit-0.5.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/lit-0.5.1.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd lit-0.5.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.mjcWEy + umask 022 + cd /builddir/build/BUILD + cd lit-0.5.1 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches ' + /usr/bin/python2 setup.py build '--executable=/usr/bin/python2 -s' running build running build_py creating build creating build/lib creating build/lib/lit copying lit/discovery.py -> build/lib/lit copying lit/LitConfig.py -> build/lib/lit copying lit/TestingConfig.py -> build/lib/lit copying lit/__init__.py -> build/lib/lit copying lit/main.py -> build/lib/lit copying lit/LitTestCase.py -> build/lib/lit copying lit/BooleanExpression.py -> build/lib/lit copying lit/ProgressBar.py -> build/lib/lit copying lit/ShUtil.py -> build/lib/lit copying lit/TestRunner.py -> build/lib/lit copying lit/util.py -> build/lib/lit copying lit/run.py -> build/lib/lit copying lit/ShCommands.py -> build/lib/lit copying lit/Test.py -> build/lib/lit creating build/lib/lit/formats copying lit/formats/googletest.py -> build/lib/lit/formats copying lit/formats/base.py -> build/lib/lit/formats copying lit/formats/shtest.py -> build/lib/lit/formats copying lit/formats/__init__.py -> build/lib/lit/formats + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.owsl4C + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/llvm-toolset-7-python-lit-0.5.1-1.el7.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/llvm-toolset-7-python-lit-0.5.1-1.el7.aarch64 ++ dirname /builddir/build/BUILDROOT/llvm-toolset-7-python-lit-0.5.1-1.el7.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/llvm-toolset-7-python-lit-0.5.1-1.el7.aarch64 + cd lit-0.5.1 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches ' + /usr/bin/python2 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/llvm-toolset-7-python-lit-0.5.1-1.el7.aarch64 running install running install_lib creating /builddir/build/BUILDROOT/llvm-toolset-7-python-lit-0.5.1-1.el7.aarch64/usr creating /builddir/build/BUILDROOT/llvm-toolset-7-python-lit-0.5.1-1.el7.aarch64/usr/lib creating /builddir/build/BUILDROOT/llvm-toolset-7-python-lit-0.5.1-1.el7.aarch64/usr/lib/python2.7 creating /builddir/build/BUILDROOT/llvm-toolset-7-python-lit-0.5.1-1.el7.aarch64/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/llvm-toolset-7-python-lit-0.5.1-1.el7.aarch64/usr/lib/python2.7/site-packages/lit copying build/lib/lit/discovery.py -> /builddir/build/BUILDROOT/llvm-toolset-7-python-lit-0.5.1-1.el7.aarch64/usr/lib/python2.7/site-packages/lit copying build/lib/lit/LitConfig.py -> /builddir/build/BUILDROOT/llvm-toolset-7-python-lit-0.5.1-1.el7.aarch64/usr/lib/python2.7/site-packages/lit copying build/lib/lit/TestingConfig.py -> /builddir/build/BUILDROOT/llvm-toolset-7-python-lit-0.5.1-1.el7.aarch64/usr/lib/python2.7/site-packages/lit copying build/lib/lit/__init__.py -> /builddir/build/BUILDROOT/llvm-toolset-7-python-lit-0.5.1-1.el7.aarch64/usr/lib/python2.7/site-packages/lit copying build/lib/lit/main.py -> /builddir/build/BUILDROOT/llvm-toolset-7-python-lit-0.5.1-1.el7.aarch64/usr/lib/python2.7/site-packages/lit copying build/lib/lit/LitTestCase.py -> /builddir/build/BUILDROOT/llvm-toolset-7-python-lit-0.5.1-1.el7.aarch64/usr/lib/python2.7/site-packages/lit copying build/lib/lit/BooleanExpression.py -> /builddir/build/BUILDROOT/llvm-toolset-7-python-lit-0.5.1-1.el7.aarch64/usr/lib/python2.7/site-packages/lit copying build/lib/lit/ProgressBar.py -> /builddir/build/BUILDROOT/llvm-toolset-7-python-lit-0.5.1-1.el7.aarch64/usr/lib/python2.7/site-packages/lit copying build/lib/lit/ShUtil.py -> /builddir/build/BUILDROOT/llvm-toolset-7-python-lit-0.5.1-1.el7.aarch64/usr/lib/python2.7/site-packages/lit copying build/lib/lit/TestRunner.py -> /builddir/build/BUILDROOT/llvm-toolset-7-python-lit-0.5.1-1.el7.aarch64/usr/lib/python2.7/site-packages/lit copying build/lib/lit/util.py -> /builddir/build/BUILDROOT/llvm-toolset-7-python-lit-0.5.1-1.el7.aarch64/usr/lib/python2.7/site-packages/lit copying build/lib/lit/run.py -> /builddir/build/BUILDROOT/llvm-toolset-7-python-lit-0.5.1-1.el7.aarch64/usr/lib/python2.7/site-packages/lit copying build/lib/lit/ShCommands.py -> /builddir/build/BUILDROOT/llvm-toolset-7-python-lit-0.5.1-1.el7.aarch64/usr/lib/python2.7/site-packages/lit copying build/lib/lit/Test.py -> /builddir/build/BUILDROOT/llvm-toolset-7-python-lit-0.5.1-1.el7.aarch64/usr/lib/python2.7/site-packages/lit creating /builddir/build/BUILDROOT/llvm-toolset-7-python-lit-0.5.1-1.el7.aarch64/usr/lib/python2.7/site-packages/lit/formats copying build/lib/lit/formats/googletest.py -> /builddir/build/BUILDROOT/llvm-toolset-7-python-lit-0.5.1-1.el7.aarch64/usr/lib/python2.7/site-packages/lit/formats copying build/lib/lit/formats/base.py -> /builddir/build/BUILDROOT/llvm-toolset-7-python-lit-0.5.1-1.el7.aarch64/usr/lib/python2.7/site-packages/lit/formats copying build/lib/lit/formats/shtest.py -> /builddir/build/BUILDROOT/llvm-toolset-7-python-lit-0.5.1-1.el7.aarch64/usr/lib/python2.7/site-packages/lit/formats copying build/lib/lit/formats/__init__.py -> /builddir/build/BUILDROOT/llvm-toolset-7-python-lit-0.5.1-1.el7.aarch64/usr/lib/python2.7/site-packages/lit/formats byte-compiling /builddir/build/BUILDROOT/llvm-toolset-7-python-lit-0.5.1-1.el7.aarch64/usr/lib/python2.7/site-packages/lit/discovery.py to discovery.pyc byte-compiling /builddir/build/BUILDROOT/llvm-toolset-7-python-lit-0.5.1-1.el7.aarch64/usr/lib/python2.7/site-packages/lit/LitConfig.py to LitConfig.pyc byte-compiling /builddir/build/BUILDROOT/llvm-toolset-7-python-lit-0.5.1-1.el7.aarch64/usr/lib/python2.7/site-packages/lit/TestingConfig.py to TestingConfig.pyc byte-compiling /builddir/build/BUILDROOT/llvm-toolset-7-python-lit-0.5.1-1.el7.aarch64/usr/lib/python2.7/site-packages/lit/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/llvm-toolset-7-python-lit-0.5.1-1.el7.aarch64/usr/lib/python2.7/site-packages/lit/main.py to main.pyc byte-compiling /builddir/build/BUILDROOT/llvm-toolset-7-python-lit-0.5.1-1.el7.aarch64/usr/lib/python2.7/site-packages/lit/LitTestCase.py to LitTestCase.pyc byte-compiling /builddir/build/BUILDROOT/llvm-toolset-7-python-lit-0.5.1-1.el7.aarch64/usr/lib/python2.7/site-packages/lit/BooleanExpression.py to BooleanExpression.pyc byte-compiling /builddir/build/BUILDROOT/llvm-toolset-7-python-lit-0.5.1-1.el7.aarch64/usr/lib/python2.7/site-packages/lit/ProgressBar.py to ProgressBar.pyc byte-compiling /builddir/build/BUILDROOT/llvm-toolset-7-python-lit-0.5.1-1.el7.aarch64/usr/lib/python2.7/site-packages/lit/ShUtil.py to ShUtil.pyc byte-compiling /builddir/build/BUILDROOT/llvm-toolset-7-python-lit-0.5.1-1.el7.aarch64/usr/lib/python2.7/site-packages/lit/TestRunner.py to TestRunner.pyc byte-compiling /builddir/build/BUILDROOT/llvm-toolset-7-python-lit-0.5.1-1.el7.aarch64/usr/lib/python2.7/site-packages/lit/util.py to util.pyc byte-compiling /builddir/build/BUILDROOT/llvm-toolset-7-python-lit-0.5.1-1.el7.aarch64/usr/lib/python2.7/site-packages/lit/run.py to run.pyc byte-compiling /builddir/build/BUILDROOT/llvm-toolset-7-python-lit-0.5.1-1.el7.aarch64/usr/lib/python2.7/site-packages/lit/ShCommands.py to ShCommands.pyc byte-compiling /builddir/build/BUILDROOT/llvm-toolset-7-python-lit-0.5.1-1.el7.aarch64/usr/lib/python2.7/site-packages/lit/Test.py to Test.pyc byte-compiling /builddir/build/BUILDROOT/llvm-toolset-7-python-lit-0.5.1-1.el7.aarch64/usr/lib/python2.7/site-packages/lit/formats/googletest.py to googletest.pyc byte-compiling /builddir/build/BUILDROOT/llvm-toolset-7-python-lit-0.5.1-1.el7.aarch64/usr/lib/python2.7/site-packages/lit/formats/base.py to base.pyc byte-compiling /builddir/build/BUILDROOT/llvm-toolset-7-python-lit-0.5.1-1.el7.aarch64/usr/lib/python2.7/site-packages/lit/formats/shtest.py to shtest.pyc byte-compiling /builddir/build/BUILDROOT/llvm-toolset-7-python-lit-0.5.1-1.el7.aarch64/usr/lib/python2.7/site-packages/lit/formats/__init__.py to __init__.pyc writing byte-compilation script '/tmp/tmpLTOr8k.py' /usr/bin/python2 -O /tmp/tmpLTOr8k.py removing /tmp/tmpLTOr8k.py running install_egg_info running egg_info writing lit.egg-info/PKG-INFO writing top-level names to lit.egg-info/top_level.txt writing dependency_links to lit.egg-info/dependency_links.txt writing entry points to lit.egg-info/entry_points.txt reading manifest file 'lit.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'TODO' warning: no previously-included files matching '*pyc' found anywhere in distribution warning: no previously-included files matching '*~' found anywhere in distribution no previously-included directories found matching 'tests/Output' no previously-included directories found matching 'tests/*/Output' no previously-included directories found matching 'tests/*/*/Output' no previously-included directories found matching 'tests/*/*/*/Output' writing manifest file 'lit.egg-info/SOURCES.txt' Copying lit.egg-info to /builddir/build/BUILDROOT/llvm-toolset-7-python-lit-0.5.1-1.el7.aarch64/usr/lib/python2.7/site-packages/lit-0.5.1-py2.7.egg-info running install_scripts Installing lit script to /builddir/build/BUILDROOT/llvm-toolset-7-python-lit-0.5.1-1.el7.aarch64/usr/bin + sed -i -e '1{\@^#!/usr/bin/env python@d}' '/builddir/build/BUILDROOT/llvm-toolset-7-python-lit-0.5.1-1.el7.aarch64/opt/rh/llvm-toolset-7/root/usr/lib/python2.7/site-packages/lit/*.py' sed: can't read /builddir/build/BUILDROOT/llvm-toolset-7-python-lit-0.5.1-1.el7.aarch64/opt/rh/llvm-toolset-7/root/usr/lib/python2.7/site-packages/lit/*.py: No such file or directory RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.owsl4C (%install) Bad exit status from /var/tmp/rpm-tmp.owsl4C (%install) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 88, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 547, in do raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/python-lit.spec