Mock Version: 1.1.38 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target i686 --nodeps builddir/build/SPECS/kernel.spec'], False, '/srv/build/7/A/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/A/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.6FqMB5 + 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=11 + '[' 11 -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 + 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 ']' Patch1005: 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 ']' Patch1006: cpufreq.patch + case "$patch" in + patch -p1 -F1 -s + chmod +x scripts/checkpatch.pl + touch .scmversion + '[' -L configs ']' + rm -f configs + mkdir configs + for cfg in 'kernel-3.10.0-*.config' ++ echo kernel-3.10.0-i686-debug.config kernel-3.10.0-i686.config ++ grep -c kernel-3.10.0-i686-debug.config + '[' 1 -eq 0 ']' + for cfg in 'kernel-3.10.0-*.config' ++ echo kernel-3.10.0-i686-debug.config kernel-3.10.0-i686.config ++ grep -c kernel-3.10.0-i686.config + '[' 1 -eq 0 ']' + for cfg in 'kernel-3.10.0-*.config' ++ echo kernel-3.10.0-i686-debug.config kernel-3.10.0-i686.config ++ grep -c kernel-3.10.0-ppc64-debug.config + '[' 0 -eq 0 ']' + rm -f kernel-3.10.0-ppc64-debug.config + for cfg in 'kernel-3.10.0-*.config' ++ echo kernel-3.10.0-i686-debug.config kernel-3.10.0-i686.config ++ grep -c kernel-3.10.0-ppc64.config + '[' 0 -eq 0 ']' + rm -f kernel-3.10.0-ppc64.config + for cfg in 'kernel-3.10.0-*.config' ++ echo kernel-3.10.0-i686-debug.config kernel-3.10.0-i686.config ++ grep -c kernel-3.10.0-ppc64le-debug.config + '[' 0 -eq 0 ']' + rm -f kernel-3.10.0-ppc64le-debug.config + for cfg in 'kernel-3.10.0-*.config' ++ echo kernel-3.10.0-i686-debug.config kernel-3.10.0-i686.config ++ grep -c kernel-3.10.0-ppc64le.config + '[' 0 -eq 0 ']' + rm -f kernel-3.10.0-ppc64le.config + for cfg in 'kernel-3.10.0-*.config' ++ echo kernel-3.10.0-i686-debug.config kernel-3.10.0-i686.config ++ grep -c kernel-3.10.0-s390x-debug.config + '[' 0 -eq 0 ']' + rm -f kernel-3.10.0-s390x-debug.config + for cfg in 'kernel-3.10.0-*.config' ++ echo kernel-3.10.0-i686-debug.config kernel-3.10.0-i686.config ++ grep -c kernel-3.10.0-s390x-kdump.config + '[' 0 -eq 0 ']' + rm -f kernel-3.10.0-s390x-kdump.config + for cfg in 'kernel-3.10.0-*.config' ++ echo kernel-3.10.0-i686-debug.config kernel-3.10.0-i686.config ++ grep -c kernel-3.10.0-s390x.config + '[' 0 -eq 0 ']' + rm -f kernel-3.10.0-s390x.config + for cfg in 'kernel-3.10.0-*.config' ++ grep -c kernel-3.10.0-x86_64-debug.config ++ echo kernel-3.10.0-i686-debug.config kernel-3.10.0-i686.config + '[' 0 -eq 0 ']' + rm -f kernel-3.10.0-x86_64-debug.config + for cfg in 'kernel-3.10.0-*.config' ++ echo kernel-3.10.0-i686-debug.config kernel-3.10.0-i686.config ++ grep -c kernel-3.10.0-x86_64.config + '[' 0 -eq 0 ']' + rm -f kernel-3.10.0-x86_64.config + for i in '*.config' + mv kernel-3.10.0-i686-debug.config .config ++ head -1 .config ++ cut -b 3- + Arch=x86 + make ARCH=x86 listnewconfig + grep -E '^CONFIG_' .config:5397:warning: override: reassigning to symbol X86_PPRO_FENCE + '[' -s .newoptions ']' + cat .newoptions CONFIG_USERFAULTFD CONFIG_PGTABLE_MAPPING CONFIG_NET_FOU CONFIG_NET_FOU_IP_TUNNELS CONFIG_GENEVE CONFIG_TCP_CONG_DCTCP CONFIG_IPV6_VTI CONFIG_NET_SCH_FQ CONFIG_DM_MQ_DEFAULT CONFIG_DM_CACHE_SMQ CONFIG_TCM_USER CONFIG_TUN_VNET_CROSS_LE CONFIG_CHELSIO_T4_DCB CONFIG_BE2NET_HWMON CONFIG_I40E_FCOE CONFIG_FM10K CONFIG_MLX5_CORE_EN CONFIG_ATH_TRACEPOINTS CONFIG_ATH9K_DYNACK CONFIG_ATH9K_CHANNEL_CONTEXT CONFIG_BRCMFMAC_PCIE CONFIG_IWLWIFI_UAPSD CONFIG_IPMI_SSIF CONFIG_TCG_TIS_I2C_ATMEL CONFIG_TCG_TIS_I2C_NUVOTON CONFIG_TCG_XEN CONFIG_TCG_CRB CONFIG_I2C_DESIGNWARE_PLATFORM CONFIG_DRM_I2C_ADV7511 CONFIG_DRM_RADEON_USERPTR CONFIG_SND_USB_POD CONFIG_SND_USB_PODHD CONFIG_SND_USB_TONEPORT CONFIG_SND_USB_VARIAX CONFIG_HID_RMI CONFIG_USB_OTG_WHITELIST CONFIG_USB_LINK_LAYER_TEST CONFIG_USB_CHAOSKEY CONFIG_USB_LED_TRIG CONFIG_INFINIBAND_ON_DEMAND_PAGING CONFIG_EDAC_IE31200 CONFIG_VIRTIO_PCI_LEGACY CONFIG_VIRTIO_INPUT CONFIG_HP_WIRELESS CONFIG_NFSD_PNFS CONFIG_CRYPTO_842 CONFIG_VHOST_CROSS_ENDIAN_LEGACY CONFIG_RH_KABI_SIZE_ALIGN_CHECKS RPM build errors: + exit 1 error: Bad exit status from /var/tmp/rpm-tmp.6FqMB5 (%prep) Bad exit status from /var/tmp/rpm-tmp.6FqMB5 (%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