Mock Version: 1.2.14 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/pyke.spec'], env={'CCACHE_DIR': '/tmp/ccache', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'CCACHE_UMASK': '002', 'TERM': 'vt100', 'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'SHELL': '/bin/bash'}chrootPath='/scratch/mock/epel-5-x86_64-17129/root'gid=135printOutput=Falseuser='mockbuild'timeout=0uid=7225logger=shell=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/pyke.spec'] with env {'CCACHE_DIR': '/tmp/ccache', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'CCACHE_UMASK': '002', 'TERM': 'vt100', 'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'SHELL': '/bin/bash'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/pyke-0.2-2.el5.centos.1.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/pyke.spec '], private_network=Trueenv={'CCACHE_DIR': '/tmp/ccache', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'CCACHE_UMASK': '002', 'TERM': 'vt100', 'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'SHELL': '/bin/bash'}chrootPath='/scratch/mock/epel-5-x86_64-17129/root'gid=135printOutput=Falseuser='mockbuild'timeout=0uid=7225logger=shell=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/pyke.spec '] with env {'CCACHE_DIR': '/tmp/ccache', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'CCACHE_UMASK': '002', 'TERM': 'vt100', 'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'SHELL': '/bin/bash'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.30443 + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf pyke-0.2 + /bin/gzip -dc /builddir/build/SOURCES/pyke-0.2.tar.gz + tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd pyke-0.2 ++ /usr/bin/id -u + '[' 7225 = 0 ']' ++ /usr/bin/id -u + '[' 7225 = 0 ']' + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.30443 + umask 022 + cd /builddir/build/BUILD + cd pyke-0.2 + LANG=C + export LANG + unset DISPLAY + /usr/bin/python setup.py build The required version of setuptools (>=0.6c7) is not available, and can't be installed while this script is running. Please install a more recent version first. (Currently using setuptools 0.6c5 (/usr/lib/python2.4/site-packages)) RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.30443 (%build) Bad exit status from /var/tmp/rpm-tmp.30443 (%build) Child return code was: 1 EXCEPTION: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/pyke.spec Traceback (most recent call last): File "/usr/lib/python3.4/site-packages/mockbuild/trace_decorator.py", line 84, in trace result = func(*args, **kw) File "/usr/lib/python3.4/site-packages/mockbuild/util.py", line 526, 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/pyke.spec LEAVE do --> EXCEPTION RAISED