Mock Version: 1.2.21 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-azure-sdk.spec'], env={'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'PS1': ' \\s-\\v\\$ ', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'TERM': 'vt100'}logger=timeout=0gid=135printOutput=Falseuid=1001user='mockbuild'shell=FalsechrootPath='/var/lib/mock/epel-6-x86_64-mockbuilder-4594/root') Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-azure-sdk.spec'] with env {'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'PS1': ' \\s-\\v\\$ ', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'TERM': 'vt100'} and shell False warning: Could not canonicalize hostname: copr-builder-41725622.novalocal Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-azure-sdk-2.0.0-0.8.rc6.el6.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-azure-sdk.spec'], env={'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'PS1': ' \\s-\\v\\$ ', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'TERM': 'vt100'}logger=timeout=0gid=135printOutput=Falseuid=1001user='mockbuild'shell=FalsechrootPath='/var/lib/mock/epel-6-x86_64-mockbuilder-4594/root'private_network=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-azure-sdk.spec'] with env {'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'PS1': ' \\s-\\v\\$ ', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'TERM': 'vt100'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ua5r6m + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf azure-sdk-for-python-2.0.0rc6 + /usr/bin/gzip -dc /builddir/build/SOURCES/python-azure-sdk-2.0.0rc6.tar.gz + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd azure-sdk-for-python-2.0.0rc6 + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (python-azure-sdk-2.0.0-tests.patch):' Patch #0 (python-azure-sdk-2.0.0-tests.patch): + /usr/bin/patch -p0 -b --suffix .tests --fuzz=0 + /bin/cat /builddir/build/SOURCES/python-azure-sdk-2.0.0-tests.patch patching file ./azure/setup.py + rm azure-mgmt/tests/test_mgmt_network.py azure-mgmt/tests/test_mgmt_resource.py + rm azure-servicemanagement-legacy/tests/test_legacy_mgmt_misc.py + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.uGFKDt + umask 022 + cd /builddir/build/BUILD + cd azure-sdk-for-python-2.0.0rc6 + LANG=C + export LANG + unset DISPLAY + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' + /usr/bin/python2.6 setup.py build '--executable=/usr/bin/python2.6 -s' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' + sleep 1 + make -C doc/ html make: Entering directory `/builddir/build/BUILD/azure-sdk-for-python-2.0.0rc6/doc' sphinx-build -b html -d _build/doctrees . _build/html Making output directory... Running Sphinx v0.6.6 Extension error: Could not import extension sphinx.ext.viewcode (exception: No module named viewcode) make: *** [html] Error 1 make: Leaving directory `/builddir/build/BUILD/azure-sdk-for-python-2.0.0rc6/doc' RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.uGFKDt (%build) Bad exit status from /var/tmp/rpm-tmp.uGFKDt (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.5/site-packages/mockbuild/trace_decorator.py", line 88, in trace result = func(*args, **kw) File "/usr/lib/python3.5/site-packages/mockbuild/util.py", line 562, 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-azure-sdk.spec