Mock Version: 1.1.32 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target noarch --nodeps builddir/build/SPECS/PyQt4.spec'], False, '/srv/build/3/workerG/mock-root/c7.00.02-x86_64/root/', None, 21600, True, False, 502, 498, None, False, {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target noarch --nodeps builddir/build/SPECS/PyQt4.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory warning: Could not canonicalize hostname: b18.bsys.dev.centos.org Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/PyQt4-4.10.1-13.el7.centos.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target noarch --nodeps builddir/build/SPECS/PyQt4.spec'], False, '/srv/build/3/workerG/mock-root/c7.00.02-x86_64/root/', None, 21600, True, False, 502, 498, None, False, {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target noarch --nodeps builddir/build/SPECS/PyQt4.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7PDvPq + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf PyQt-x11-gpl-4.10.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/PyQt-x11-gpl-4.10.1.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd PyQt-x11-gpl-4.10.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #50 (PyQt-x11-gpl-4.9.5-timestamp_multilib.patch): + echo 'Patch #50 (PyQt-x11-gpl-4.9.5-timestamp_multilib.patch):' + /usr/bin/cat /builddir/build/SOURCES/PyQt-x11-gpl-4.9.5-timestamp_multilib.patch + /usr/bin/patch -p1 -b --suffix .timestamp --fuzz=0 patching file pyrcc/rcc.cpp Patch #51 (PyQt-x11-gpl-4.9.1-opengl_types.patch): + echo 'Patch #51 (PyQt-x11-gpl-4.9.1-opengl_types.patch):' + /usr/bin/cat /builddir/build/SOURCES/PyQt-x11-gpl-4.9.1-opengl_types.patch + /usr/bin/patch -p1 -b --suffix .opengl_types --fuzz=0 patching file configure.py Hunk #1 succeeded at 1219 (offset 16 lines). Patch #52 (PyQt-x11-gpl-4.10-pyuic_shbang.patch): + echo 'Patch #52 (PyQt-x11-gpl-4.10-pyuic_shbang.patch):' + /usr/bin/cat /builddir/build/SOURCES/PyQt-x11-gpl-4.10-pyuic_shbang.patch + /usr/bin/patch -p1 --fuzz=0 patching file pyuic/uic/pyuic.py + cp -a ./sip/QtOpenGL/opengl_types.sip ./sip/QtOpenGL/opengl_types.sip.orig Patch #60 (qreal_float_support.diff): + echo 'Patch #60 (qreal_float_support.diff):' + /usr/bin/cat /builddir/build/SOURCES/qreal_float_support.diff + /usr/bin/patch -p1 -b --suffix .arm --fuzz=0 patching file configure.py Hunk #1 succeeded at 2169 (offset 97 lines). patching file sip/QtCore/qlist.sip Patch #300 (PyQt-x11-gpl-4.10-webkit.patch): + echo 'Patch #300 (PyQt-x11-gpl-4.10-webkit.patch):' + /usr/bin/cat /builddir/build/SOURCES/PyQt-x11-gpl-4.10-webkit.patch + /usr/bin/patch -p1 -b --suffix .webkit --fuzz=0 patching file configure.py Hunk #1 succeeded at 366 (offset -21 lines). Hunk #2 succeeded at 506 (offset -23 lines). Hunk #3 succeeded at 1281 (offset -25 lines). Hunk #4 succeeded at 1580 (offset -25 lines). + find examples/ -name '*.py' + xargs chmod a-x + chmod a+rx pyuic/uic/pyuic.py + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.NjmwQu + umask 022 + cd /builddir/build/BUILD + cd PyQt-x11-gpl-4.10.1 + QT4DIR=/usr/lib/qt4 + PATH=/usr/lib/qt4/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin + export PATH + /usr/bin/python configure.py --assume-shared --confirm-license --no-timestamp --qmake=/usr/lib/qt4/bin/qmake --verbose Usage: python configure.py [opts] [macro=value] [macro+=value] configure.py: error: '/usr/lib/qt4/bin/qmake' is not a file error: Bad exit status from /var/tmp/rpm-tmp.NjmwQu (%build) Bad exit status from /var/tmp/rpm-tmp.NjmwQu (%build) RPM build errors: Child return code was: 1 EXCEPTION: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bb --target noarch --nodeps builddir/build/SPECS/PyQt4.spec'] Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/mockbuild/trace_decorator.py", line 70, in trace result = func(*args, **kw) File "/usr/lib/python2.6/site-packages/mockbuild/util.py", line 359, in do raise mockbuild.exception.Error, ("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bb --target noarch --nodeps builddir/build/SPECS/PyQt4.spec'] LEAVE do --> EXCEPTION RAISED