Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-reno.spec'], gid=135nspawn_args=[]shell=Falseuser='mockbuild'printOutput=Falsetimeout=0env={'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'TERM': 'vt100', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'PS1': ' \\s-\\v\\$ ', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8', 'HOME': '/builddir'}uid=1001logger=chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-6543/root') Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-reno.spec'] with env {'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'TERM': 'vt100', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'PS1': ' \\s-\\v\\$ ', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8', 'HOME': '/builddir'} and shell False sh: /usr/bin/python2: No such file or directory sh: /usr/bin/python2: No such file or directory sh: /usr/bin/python2: No such file or directory sh: /usr/bin/python2: No such file or directory warning: Could not canonicalize hostname: copr-builder-266484811.novalocal Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-reno-0.1.0-4.el7.centos.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-reno.spec'], gid=135nspawn_args=[]shell=Falseuser='mockbuild'printOutput=Falsetimeout=0env={'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'TERM': 'vt100', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'PS1': ' \\s-\\v\\$ ', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8', 'HOME': '/builddir'}uid=1001logger=chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-6543/root') Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-reno.spec'] with env {'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'TERM': 'vt100', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'PS1': ' \\s-\\v\\$ ', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8', 'HOME': '/builddir'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.DzF4fQ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf reno-0.1.0 + /usr/bin/tar -xf - + /usr/bin/gzip -dc /builddir/build/SOURCES/reno-0.1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd reno-0.1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.mzbxSv + umask 022 + cd /builddir/build/BUILD + cd reno-0.1.0 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + /usr/bin/python2 setup.py build '--executable=/usr/bin/python2 -s' running build running build_py creating build creating build/lib creating build/lib/reno creating build/lib/reno/tests copying reno/tests/__init__.py -> build/lib/reno/tests copying reno/tests/test_create.py -> build/lib/reno/tests copying reno/tests/base.py -> build/lib/reno/tests copying reno/tests/test_scanner.py -> build/lib/reno/tests copying reno/tests/test_utils.py -> build/lib/reno/tests copying reno/__init__.py -> build/lib/reno copying reno/create.py -> build/lib/reno copying reno/scanner.py -> build/lib/reno copying reno/main.py -> build/lib/reno copying reno/lister.py -> build/lib/reno copying reno/report.py -> build/lib/reno copying reno/utils.py -> build/lib/reno running egg_info writing requirements to reno.egg-info/requires.txt writing reno.egg-info/PKG-INFO writing top-level names to reno.egg-info/top_level.txt writing dependency_links to reno.egg-info/dependency_links.txt writing entry points to reno.egg-info/entry_points.txt [pbr] Reusing existing SOURCES.txt + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.XsHQlg + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-reno-0.1.0-4.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-reno-0.1.0-4.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/python-reno-0.1.0-4.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-reno-0.1.0-4.el7.centos.x86_64 + cd reno-0.1.0 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + /usr/bin/python2 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-reno-0.1.0-4.el7.centos.x86_64 running install [pbr] Generating AUTHORS [pbr] AUTHORS complete (0.0s) running install_lib creating /builddir/build/BUILDROOT/python-reno-0.1.0-4.el7.centos.x86_64/usr creating /builddir/build/BUILDROOT/python-reno-0.1.0-4.el7.centos.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-reno-0.1.0-4.el7.centos.x86_64/usr/lib/python2.7 creating /builddir/build/BUILDROOT/python-reno-0.1.0-4.el7.centos.x86_64/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/python-reno-0.1.0-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/reno copying build/lib/reno/utils.py -> /builddir/build/BUILDROOT/python-reno-0.1.0-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/reno copying build/lib/reno/report.py -> /builddir/build/BUILDROOT/python-reno-0.1.0-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/reno copying build/lib/reno/lister.py -> /builddir/build/BUILDROOT/python-reno-0.1.0-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/reno copying build/lib/reno/main.py -> /builddir/build/BUILDROOT/python-reno-0.1.0-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/reno copying build/lib/reno/scanner.py -> /builddir/build/BUILDROOT/python-reno-0.1.0-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/reno copying build/lib/reno/create.py -> /builddir/build/BUILDROOT/python-reno-0.1.0-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/reno copying build/lib/reno/__init__.py -> /builddir/build/BUILDROOT/python-reno-0.1.0-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/reno creating /builddir/build/BUILDROOT/python-reno-0.1.0-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/reno/tests copying build/lib/reno/tests/test_utils.py -> /builddir/build/BUILDROOT/python-reno-0.1.0-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/reno/tests copying build/lib/reno/tests/test_scanner.py -> /builddir/build/BUILDROOT/python-reno-0.1.0-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/reno/tests copying build/lib/reno/tests/base.py -> /builddir/build/BUILDROOT/python-reno-0.1.0-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/reno/tests copying build/lib/reno/tests/test_create.py -> /builddir/build/BUILDROOT/python-reno-0.1.0-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/reno/tests copying build/lib/reno/tests/__init__.py -> /builddir/build/BUILDROOT/python-reno-0.1.0-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/reno/tests byte-compiling /builddir/build/BUILDROOT/python-reno-0.1.0-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/reno/utils.py to utils.pyc byte-compiling /builddir/build/BUILDROOT/python-reno-0.1.0-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/reno/report.py to report.pyc byte-compiling /builddir/build/BUILDROOT/python-reno-0.1.0-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/reno/lister.py to lister.pyc byte-compiling /builddir/build/BUILDROOT/python-reno-0.1.0-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/reno/main.py to main.pyc byte-compiling /builddir/build/BUILDROOT/python-reno-0.1.0-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/reno/scanner.py to scanner.pyc byte-compiling /builddir/build/BUILDROOT/python-reno-0.1.0-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/reno/create.py to create.pyc byte-compiling /builddir/build/BUILDROOT/python-reno-0.1.0-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/reno/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-reno-0.1.0-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/reno/tests/test_utils.py to test_utils.pyc byte-compiling /builddir/build/BUILDROOT/python-reno-0.1.0-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/reno/tests/test_scanner.py to test_scanner.pyc byte-compiling /builddir/build/BUILDROOT/python-reno-0.1.0-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/reno/tests/base.py to base.pyc byte-compiling /builddir/build/BUILDROOT/python-reno-0.1.0-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/reno/tests/test_create.py to test_create.pyc byte-compiling /builddir/build/BUILDROOT/python-reno-0.1.0-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/reno/tests/__init__.py to __init__.pyc writing byte-compilation script '/tmp/tmpr0i3FF.py' /usr/bin/python2 -O /tmp/tmpr0i3FF.py removing /tmp/tmpr0i3FF.py running install_egg_info running egg_info writing requirements to reno.egg-info/requires.txt writing reno.egg-info/PKG-INFO writing top-level names to reno.egg-info/top_level.txt writing dependency_links to reno.egg-info/dependency_links.txt writing entry points to reno.egg-info/entry_points.txt [pbr] Reusing existing SOURCES.txt Copying reno.egg-info to /builddir/build/BUILDROOT/python-reno-0.1.0-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/reno-0.1.0-py2.7.egg-info running install_scripts Installing reno script to /builddir/build/BUILDROOT/python-reno-0.1.0-4.el7.centos.x86_64/usr/bin + sphinx-build doc/source html Making output directory... Running Sphinx v1.1.3 Extension error: Could not import extension oslosphinx (exception: No module named oslosphinx) RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.XsHQlg (%install) Bad exit status from /var/tmp/rpm-tmp.XsHQlg (%install) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.5/site-packages/mockbuild/trace_decorator.py", line 89, in trace result = func(*args, **kw) File "/usr/lib/python3.5/site-packages/mockbuild/util.py", line 582, in do raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) mockbuild.exception.Error: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-reno.spec