Mock Version: 1.2.14 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-kid.spec'], user='mockbuild'logger=gid=135uid=7225chrootPath='/scratch/mock/epel-5-x86_64-19431/root'printOutput=Falseenv={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'CCACHE_UMASK': '002', 'LANG': 'en_US.UTF-8', 'CCACHE_DIR': '/tmp/ccache', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"'}timeout=0shell=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-kid.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'CCACHE_UMASK': '002', 'LANG': 'en_US.UTF-8', 'CCACHE_DIR': '/tmp/ccache', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-kid-0.9.6-6.el5.centos.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/python-kid.spec '], user='mockbuild'logger=gid=135uid=7225private_network=TruechrootPath='/scratch/mock/epel-5-x86_64-19431/root'printOutput=Falseenv={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'CCACHE_UMASK': '002', 'LANG': 'en_US.UTF-8', 'CCACHE_DIR': '/tmp/ccache', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"'}timeout=0shell=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-kid.spec '] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'CCACHE_UMASK': '002', 'LANG': 'en_US.UTF-8', 'CCACHE_DIR': '/tmp/ccache', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.75823 + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf kid-0.9.6 + /bin/gzip -dc /builddir/build/SOURCES/kid-0.9.6.tar.gz + tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd kid-0.9.6 ++ /usr/bin/id -u + '[' 7225 = 0 ']' ++ /usr/bin/id -u + '[' 7225 = 0 ']' + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (python-kid-0.9.6-escape-gt.patch):' Patch #0 (python-kid-0.9.6-escape-gt.patch): + patch -p1 -b --suffix .escape-gt -s + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.75823 + umask 022 + cd /builddir/build/BUILD + cd kid-0.9.6 + LANG=C + export LANG + unset DISPLAY + /usr/bin/python setup.py build The required version of setuptools (>=0.6c6) 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.75823 (%build) Bad exit status from /var/tmp/rpm-tmp.75823 (%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/python-kid.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/python-kid.spec LEAVE do --> EXCEPTION RAISED