Mock Version: 1.1.38 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target i686 --nodeps builddir/build/SPECS/kernel.spec'], False, '/srv/build/7/D/mock-root/c7.01.u-i686/root/', None, 21600, True, False, 501, 135, None, False, {'LANG': 'en_GB', '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 i686 --nodeps builddir/build/SPECS/kernel.spec'] with env {'LANG': 'en_GB', '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 warning: Could not canonicalize hostname: worker1.bsys.centos.org Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/kernel-3.10.0-327.el7.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target i686 --nodeps builddir/build/SPECS/kernel.spec'], False, '/srv/build/7/D/mock-root/c7.01.u-i686/root/', None, 21600, True, False, 501, 135, None, False, {'LANG': 'en_GB', '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 i686 --nodeps builddir/build/SPECS/kernel.spec'] with env {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} Building target platforms: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.lU6AYP + umask 022 + cd /builddir/build/BUILD + patch_command='patch -p1 -F1 -s' + cd /builddir/build/BUILD + rm -rf kernel-3.10.0-327.el7 + /usr/bin/mkdir -p kernel-3.10.0-327.el7 + cd kernel-3.10.0-327.el7 + /usr/bin/xz -dc /builddir/build/SOURCES/linux-3.10.0-327.el7.tar.xz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv linux-3.10.0-327.el7 linux-3.10.0-327.el7.i686 + cd linux-3.10.0-327.el7.i686 + cp /builddir/build/SOURCES/kernel-3.10.0-i686-debug.config /builddir/build/SOURCES/kernel-3.10.0-i686.config /builddir/build/SOURCES/kernel-3.10.0-ppc64-debug.config /builddir/build/SOURCES/kernel-3.10.0-ppc64.config /builddir/build/SOURCES/kernel-3.10.0-ppc64le-debug.config /builddir/build/SOURCES/kernel-3.10.0-ppc64le.config /builddir/build/SOURCES/kernel-3.10.0-s390x-debug.config /builddir/build/SOURCES/kernel-3.10.0-s390x-kdump.config /builddir/build/SOURCES/kernel-3.10.0-s390x.config /builddir/build/SOURCES/kernel-3.10.0-x86_64-debug.config /builddir/build/SOURCES/kernel-3.10.0-x86_64.config . + ApplyOptionalPatch linux-kernel-test.patch + local patch=linux-kernel-test.patch + shift + '[' '!' -f /builddir/build/SOURCES/linux-kernel-test.patch ']' ++ wc -l /builddir/build/SOURCES/linux-kernel-test.patch ++ awk '{print $1}' + local C=0 + '[' 0 -gt 9 ']' + ApplyOptionalPatch debrand-single-cpu.patch + local patch=debrand-single-cpu.patch + shift + '[' '!' -f /builddir/build/SOURCES/debrand-single-cpu.patch ']' ++ wc -l /builddir/build/SOURCES/debrand-single-cpu.patch ++ awk '{print $1}' + local C=25 + '[' 25 -gt 9 ']' + ApplyPatch debrand-single-cpu.patch + local patch=debrand-single-cpu.patch + shift + '[' '!' -f /builddir/build/SOURCES/debrand-single-cpu.patch ']' Patch1000: debrand-single-cpu.patch + case "$patch" in + patch -p1 -F1 -s + ApplyOptionalPatch debrand-rh_taint.patch + local patch=debrand-rh_taint.patch + shift + '[' '!' -f /builddir/build/SOURCES/debrand-rh_taint.patch ']' ++ wc -l /builddir/build/SOURCES/debrand-rh_taint.patch ++ awk '{print $1}' + local C=25 + '[' 25 -gt 9 ']' + ApplyPatch debrand-rh_taint.patch + local patch=debrand-rh_taint.patch + shift + '[' '!' -f /builddir/build/SOURCES/debrand-rh_taint.patch ']' Patch1001: debrand-rh_taint.patch + case "$patch" in + patch -p1 -F1 -s + ApplyOptionalPatch debrand-rh-i686-cpu.patch + local patch=debrand-rh-i686-cpu.patch + shift + '[' '!' -f /builddir/build/SOURCES/debrand-rh-i686-cpu.patch ']' ++ wc -l /builddir/build/SOURCES/debrand-rh-i686-cpu.patch ++ awk '{print $1}' + local C=11 + '[' 11 -gt 9 ']' + ApplyPatch debrand-rh-i686-cpu.patch + local patch=debrand-rh-i686-cpu.patch + shift + '[' '!' -f /builddir/build/SOURCES/debrand-rh-i686-cpu.patch ']' Patch1002: debrand-rh-i686-cpu.patch + case "$patch" in + patch -p1 -F1 -s + ApplyOptionalPatch i386-audit-stop-scri-stack-frame.patch + local patch=i386-audit-stop-scri-stack-frame.patch + shift + '[' '!' -f /builddir/build/SOURCES/i386-audit-stop-scri-stack-frame.patch ']' ++ wc -l /builddir/build/SOURCES/i386-audit-stop-scri-stack-frame.patch ++ awk '{print $1}' + local C=31 + '[' 31 -gt 9 ']' + ApplyPatch i386-audit-stop-scri-stack-frame.patch + local patch=i386-audit-stop-scri-stack-frame.patch + shift + '[' '!' -f /builddir/build/SOURCES/i386-audit-stop-scri-stack-frame.patch ']' Patch1003: i386-audit-stop-scri-stack-frame.patch + case "$patch" in + patch -p1 -F1 -s + ApplyOptionalPatch ignorewarnings.patch + local patch=ignorewarnings.patch + shift + '[' '!' -f /builddir/build/SOURCES/ignorewarnings.patch ']' ++ wc -l /builddir/build/SOURCES/ignorewarnings.patch ++ awk '{print $1}' + local C=12 + '[' 12 -gt 9 ']' + ApplyPatch ignorewarnings.patch + local patch=ignorewarnings.patch + shift + '[' '!' -f /builddir/build/SOURCES/ignorewarnings.patch ']' Patch1004: ignorewarnings.patch + case "$patch" in + patch -p1 -F1 -s 1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej error: Bad exit status from /var/tmp/rpm-tmp.lU6AYP (%prep) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.lU6AYP (%prep) Child return code was: 1 EXCEPTION: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bb --target i686 --nodeps builddir/build/SPECS/kernel.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 377, 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 i686 --nodeps builddir/build/SPECS/kernel.spec'] LEAVE do --> EXCEPTION RAISED