Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/kernel-plus.spec'], chrootPath='/var/lib/mock/kernel-plus-3.10.0-862.el7.centos.plus-20180510130613-27275/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=1006) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/kernel-plus.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/kernel-plus-3.10.0-862.el7.centos.plus.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/kernel-plus.spec'], chrootPath='/var/lib/mock/kernel-plus-3.10.0-862.el7.centos.plus-20180510130613-27275/root'shell=Falseuid=1006env={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/kernel-plus.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.mreSL0 + umask 022 + cd /builddir/build/BUILD + patch_command='patch -p1 -F1 -s' + cd /builddir/build/BUILD + rm -rf kernel-3.10.0-862.el7 + /usr/bin/mkdir -p kernel-3.10.0-862.el7 + cd kernel-3.10.0-862.el7 + /usr/bin/xz -dc /builddir/build/SOURCES/linux-3.10.0-862.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-862.el7 linux-3.10.0-862.el7.centos.plus.i686 + cd linux-3.10.0-862.el7.centos.plus.i686 + cp /builddir/build/SOURCES/kernel-3.10.0-x86_64.config . + 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-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-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 removejiffies.patch + local patch=removejiffies.patch + shift + '[' '!' -f /builddir/build/SOURCES/removejiffies.patch ']' ++ wc -l /builddir/build/SOURCES/removejiffies.patch ++ awk '{print $1}' + local C=12 + '[' 12 -gt 9 ']' + ApplyPatch removejiffies.patch + local patch=removejiffies.patch + shift + '[' '!' -f /builddir/build/SOURCES/removejiffies.patch ']' Patch1004: removejiffies.patch + case "$patch" in + patch -p1 -F1 -s + ApplyOptionalPatch cpufreq.patch + local patch=cpufreq.patch + shift + '[' '!' -f /builddir/build/SOURCES/cpufreq.patch ']' ++ wc -l /builddir/build/SOURCES/cpufreq.patch ++ awk '{print $1}' + local C=394 + '[' 394 -gt 9 ']' + ApplyPatch cpufreq.patch + local patch=cpufreq.patch + shift + '[' '!' -f /builddir/build/SOURCES/cpufreq.patch ']' Patch1005: cpufreq.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 ']' Patch1006: i386-audit-stop-scri-stack-frame.patch + case "$patch" in + patch -p1 -F1 -s + ApplyOptionalPatch addmissing.patch + local patch=addmissing.patch + shift + '[' '!' -f /builddir/build/SOURCES/addmissing.patch ']' ++ wc -l /builddir/build/SOURCES/addmissing.patch ++ awk '{print $1}' + local C=27 + '[' 27 -gt 9 ']' + ApplyPatch addmissing.patch + local patch=addmissing.patch + shift + '[' '!' -f /builddir/build/SOURCES/addmissing.patch ']' Patch1007: addmissing.patch + case "$patch" in + patch -p1 -F1 -s + ApplyOptionalPatch morefixes.patch + local patch=morefixes.patch + shift + '[' '!' -f /builddir/build/SOURCES/morefixes.patch ']' ++ wc -l /builddir/build/SOURCES/morefixes.patch ++ awk '{print $1}' + local C=84 + '[' 84 -gt 9 ']' + ApplyPatch morefixes.patch + local patch=morefixes.patch + shift + '[' '!' -f /builddir/build/SOURCES/morefixes.patch ']' Patch1011: morefixes.patch + case "$patch" in + patch -p1 -F1 -s + ApplyOptionalPatch clear-32bit-Werror-warnings.patch + local patch=clear-32bit-Werror-warnings.patch + shift + '[' '!' -f /builddir/build/SOURCES/clear-32bit-Werror-warnings.patch ']' ++ wc -l /builddir/build/SOURCES/clear-32bit-Werror-warnings.patch ++ awk '{print $1}' + local C=27 + '[' 27 -gt 9 ']' + ApplyPatch clear-32bit-Werror-warnings.patch + local patch=clear-32bit-Werror-warnings.patch + shift + '[' '!' -f /builddir/build/SOURCES/clear-32bit-Werror-warnings.patch ']' Patch1009: clear-32bit-Werror-warnings.patch + case "$patch" in + patch -p1 -F1 -s + ApplyOptionalPatch upstream-32bit-fixes-7_4.patch + local patch=upstream-32bit-fixes-7_4.patch + shift + '[' '!' -f /builddir/build/SOURCES/upstream-32bit-fixes-7_4.patch ']' ++ wc -l /builddir/build/SOURCES/upstream-32bit-fixes-7_4.patch ++ awk '{print $1}' + local C=176 + '[' 176 -gt 9 ']' + ApplyPatch upstream-32bit-fixes-7_4.patch + local patch=upstream-32bit-fixes-7_4.patch + shift + '[' '!' -f /builddir/build/SOURCES/upstream-32bit-fixes-7_4.patch ']' Patch1010: upstream-32bit-fixes-7_4.patch + case "$patch" in + patch -p1 -F1 -s 2 out of 3 hunks FAILED -- saving rejects to file drivers/scsi/qla2xxx/qla_init.c.rej 2 out of 3 hunks FAILED -- saving rejects to file include/linux/netfilter/x_tables.h.rej error: Bad exit status from /var/tmp/rpm-tmp.mreSL0 (%prep) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.mreSL0 (%prep) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 88, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 547, in do raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/kernel-plus.spec