Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/kernel.spec'], chrootPath='/var/lib/mock/kernel-3.10.0-693.21.1.el7.centos.plus-20180308143456-7264/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 noarch --nodeps /builddir/build/SPECS/kernel.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 warning: Could not canonicalize hostname: x86-01.bsys.centos.org Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/kernel-3.10.0-693.21.1.el7.centos.plus.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/kernel.spec'], chrootPath='/var/lib/mock/kernel-3.10.0-693.21.1.el7.centos.plus-20180308143456-7264/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 noarch --nodeps /builddir/build/SPECS/kernel.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: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.FMBwYP + umask 022 + cd /builddir/build/BUILD + patch_command='patch -p1 -F1 -s' + cd /builddir/build/BUILD + rm -rf kernel-3.10.0-693.21.1.el7 + /usr/bin/mkdir -p kernel-3.10.0-693.21.1.el7 + cd kernel-3.10.0-693.21.1.el7 + /usr/bin/xz -dc /builddir/build/SOURCES/linux-3.10.0-693.21.1.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-693.21.1.el7 linux-3.10.0-693.21.1.el7.centos.plus.noarch + cd linux-3.10.0-693.21.1.el7.centos.plus.noarch + cp /builddir/build/SOURCES/kernel-3.10.0-i686.config /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 centos-linux-3.10-hid-non-LogiTech-remote-bug5780.patch + local patch=centos-linux-3.10-hid-non-LogiTech-remote-bug5780.patch + shift + '[' '!' -f /builddir/build/SOURCES/centos-linux-3.10-hid-non-LogiTech-remote-bug5780.patch ']' ++ wc -l /builddir/build/SOURCES/centos-linux-3.10-hid-non-LogiTech-remote-bug5780.patch ++ awk '{print $1}' + local C=45 + '[' 45 -gt 9 ']' + ApplyPatch centos-linux-3.10-hid-non-LogiTech-remote-bug5780.patch + local patch=centos-linux-3.10-hid-non-LogiTech-remote-bug5780.patch + shift + '[' '!' -f /builddir/build/SOURCES/centos-linux-3.10-hid-non-LogiTech-remote-bug5780.patch ']' Patch30010: centos-linux-3.10-hid-non-LogiTech-remote-bug5780.patch + case "$patch" in + patch -p1 -F1 -s + ApplyOptionalPatch centos-linux-3.10-reiserfs-fix-redefine-error.patch + local patch=centos-linux-3.10-reiserfs-fix-redefine-error.patch + shift + '[' '!' -f /builddir/build/SOURCES/centos-linux-3.10-reiserfs-fix-redefine-error.patch ']' ++ wc -l /builddir/build/SOURCES/centos-linux-3.10-reiserfs-fix-redefine-error.patch ++ awk '{print $1}' + local C=25 + '[' 25 -gt 9 ']' + ApplyPatch centos-linux-3.10-reiserfs-fix-redefine-error.patch + local patch=centos-linux-3.10-reiserfs-fix-redefine-error.patch + shift + '[' '!' -f /builddir/build/SOURCES/centos-linux-3.10-reiserfs-fix-redefine-error.patch ']' Patch30059: centos-linux-3.10-reiserfs-fix-redefine-error.patch + case "$patch" in + patch -p1 -F1 -s + ApplyOptionalPatch centos-linux-3.10-fix-em28xx-cards-bug8285.patch + local patch=centos-linux-3.10-fix-em28xx-cards-bug8285.patch + shift + '[' '!' -f /builddir/build/SOURCES/centos-linux-3.10-fix-em28xx-cards-bug8285.patch ']' ++ wc -l /builddir/build/SOURCES/centos-linux-3.10-fix-em28xx-cards-bug8285.patch ++ awk '{print $1}' + local C=25 + '[' 25 -gt 9 ']' + ApplyPatch centos-linux-3.10-fix-em28xx-cards-bug8285.patch + local patch=centos-linux-3.10-fix-em28xx-cards-bug8285.patch + shift + '[' '!' -f /builddir/build/SOURCES/centos-linux-3.10-fix-em28xx-cards-bug8285.patch ']' Patch30060: centos-linux-3.10-fix-em28xx-cards-bug8285.patch + case "$patch" in + patch -p1 -F1 -s + ApplyOptionalPatch centos-linux-3.10-fix-ecryptfs-error-bug7369.patch + local patch=centos-linux-3.10-fix-ecryptfs-error-bug7369.patch + shift + '[' '!' -f /builddir/build/SOURCES/centos-linux-3.10-fix-ecryptfs-error-bug7369.patch ']' ++ wc -l /builddir/build/SOURCES/centos-linux-3.10-fix-ecryptfs-error-bug7369.patch ++ awk '{print $1}' + local C=31 + '[' 31 -gt 9 ']' + ApplyPatch centos-linux-3.10-fix-ecryptfs-error-bug7369.patch + local patch=centos-linux-3.10-fix-ecryptfs-error-bug7369.patch + shift + '[' '!' -f /builddir/build/SOURCES/centos-linux-3.10-fix-ecryptfs-error-bug7369.patch ']' Patch30062: centos-linux-3.10-fix-ecryptfs-error-bug7369.patch + case "$patch" in + patch -p1 -F1 -s + ApplyOptionalPatch centos-linux-3.10-support-MacBookPro-bug10447.patch + local patch=centos-linux-3.10-support-MacBookPro-bug10447.patch + shift + '[' '!' -f /builddir/build/SOURCES/centos-linux-3.10-support-MacBookPro-bug10447.patch ']' ++ wc -l /builddir/build/SOURCES/centos-linux-3.10-support-MacBookPro-bug10447.patch ++ awk '{print $1}' + local C=466 + '[' 466 -gt 9 ']' + ApplyPatch centos-linux-3.10-support-MacBookPro-bug10447.patch + local patch=centos-linux-3.10-support-MacBookPro-bug10447.patch + shift + '[' '!' -f /builddir/build/SOURCES/centos-linux-3.10-support-MacBookPro-bug10447.patch ']' Patch20070: centos-linux-3.10-support-MacBookPro-bug10447.patch + case "$patch" in + patch -p1 -F1 -s + ApplyOptionalPatch centos-linux-3.10-scsi-storvsc-fix-bug12841.patch + local patch=centos-linux-3.10-scsi-storvsc-fix-bug12841.patch + shift + '[' '!' -f /builddir/build/SOURCES/centos-linux-3.10-scsi-storvsc-fix-bug12841.patch ']' ++ wc -l /builddir/build/SOURCES/centos-linux-3.10-scsi-storvsc-fix-bug12841.patch ++ awk '{print $1}' + local C=35 + '[' 35 -gt 9 ']' + ApplyPatch centos-linux-3.10-scsi-storvsc-fix-bug12841.patch + local patch=centos-linux-3.10-scsi-storvsc-fix-bug12841.patch + shift + '[' '!' -f /builddir/build/SOURCES/centos-linux-3.10-scsi-storvsc-fix-bug12841.patch ']' Patch20104: centos-linux-3.10-scsi-storvsc-fix-bug12841.patch + case "$patch" in + patch -p1 -F1 -s + ApplyOptionalPatch centos-linux-3.10-x86-perf-uncore-Avoid-kernel-panic-on-missing-topolo-bug12818.patch + local patch=centos-linux-3.10-x86-perf-uncore-Avoid-kernel-panic-on-missing-topolo-bug12818.patch + shift + '[' '!' -f /builddir/build/SOURCES/centos-linux-3.10-x86-perf-uncore-Avoid-kernel-panic-on-missing-topolo-bug12818.patch ']' ++ wc -l /builddir/build/SOURCES/centos-linux-3.10-x86-perf-uncore-Avoid-kernel-panic-on-missing-topolo-bug12818.patch ++ awk '{print $1}' + local C=44 + '[' 44 -gt 9 ']' + ApplyPatch centos-linux-3.10-x86-perf-uncore-Avoid-kernel-panic-on-missing-topolo-bug12818.patch + local patch=centos-linux-3.10-x86-perf-uncore-Avoid-kernel-panic-on-missing-topolo-bug12818.patch + shift + '[' '!' -f /builddir/build/SOURCES/centos-linux-3.10-x86-perf-uncore-Avoid-kernel-panic-on-missing-topolo-bug12818.patch ']' Patch20105: centos-linux-3.10-x86-perf-uncore-Avoid-kernel-panic-on-missing-topolo-bug12818.patch + case "$patch" in + patch -p1 -F1 -s + ApplyOptionalPatch centos-linux-3.10-tcp_make_synack-bug13583.patch + local patch=centos-linux-3.10-tcp_make_synack-bug13583.patch + shift + '[' '!' -f /builddir/build/SOURCES/centos-linux-3.10-tcp_make_synack-bug13583.patch ']' ++ wc -l /builddir/build/SOURCES/centos-linux-3.10-tcp_make_synack-bug13583.patch ++ awk '{print $1}' + local C=40 + '[' 40 -gt 9 ']' + ApplyPatch centos-linux-3.10-tcp_make_synack-bug13583.patch + local patch=centos-linux-3.10-tcp_make_synack-bug13583.patch + shift + '[' '!' -f /builddir/build/SOURCES/centos-linux-3.10-tcp_make_synack-bug13583.patch ']' Patch20200: centos-linux-3.10-tcp_make_synack-bug13583.patch + case "$patch" in + patch -p1 -F1 -s + ApplyOptionalPatch centos-linux-3.10-xen-dont-copy-bogus-duplicate-entries-into-kernel-page-tables-bug13763.patch + local patch=centos-linux-3.10-xen-dont-copy-bogus-duplicate-entries-into-kernel-page-tables-bug13763.patch + shift + '[' '!' -f /builddir/build/SOURCES/centos-linux-3.10-xen-dont-copy-bogus-duplicate-entries-into-kernel-page-tables-bug13763.patch ']' ++ wc -l /builddir/build/SOURCES/centos-linux-3.10-xen-dont-copy-bogus-duplicate-entries-into-kernel-page-tables-bug13763.patch ++ awk '{print $1}' + local C=130 + '[' 130 -gt 9 ']' + ApplyPatch centos-linux-3.10-xen-dont-copy-bogus-duplicate-entries-into-kernel-page-tables-bug13763.patch + local patch=centos-linux-3.10-xen-dont-copy-bogus-duplicate-entries-into-kernel-page-tables-bug13763.patch + shift + '[' '!' -f /builddir/build/SOURCES/centos-linux-3.10-xen-dont-copy-bogus-duplicate-entries-into-kernel-page-tables-bug13763.patch ']' Patch20201: centos-linux-3.10-xen-dont-copy-bogus-duplicate-entries-into-kernel-page-tables-bug13763.patch + case "$patch" in + patch -p1 -F1 -s + ApplyOptionalPatch centos-linux-3.10-openssl-correct-msg-bug13990.patch + local patch=centos-linux-3.10-openssl-correct-msg-bug13990.patch + shift + '[' '!' -f /builddir/build/SOURCES/centos-linux-3.10-openssl-correct-msg-bug13990.patch ']' ++ wc -l /builddir/build/SOURCES/centos-linux-3.10-openssl-correct-msg-bug13990.patch ++ awk '{print $1}' + local C=11 + '[' 11 -gt 9 ']' + ApplyPatch centos-linux-3.10-openssl-correct-msg-bug13990.patch + local patch=centos-linux-3.10-openssl-correct-msg-bug13990.patch + shift + '[' '!' -f /builddir/build/SOURCES/centos-linux-3.10-openssl-correct-msg-bug13990.patch ']' Patch20203: centos-linux-3.10-openssl-correct-msg-bug13990.patch + case "$patch" in + patch -p1 -F1 -s + ApplyOptionalPatch centos-linux-3.10-xen-restore-load-sp0-bug14347.patch + local patch=centos-linux-3.10-xen-restore-load-sp0-bug14347.patch + shift + '[' '!' -f /builddir/build/SOURCES/centos-linux-3.10-xen-restore-load-sp0-bug14347.patch ']' ++ wc -l /builddir/build/SOURCES/centos-linux-3.10-xen-restore-load-sp0-bug14347.patch ++ awk '{print $1}' + local C=29 + '[' 29 -gt 9 ']' + ApplyPatch centos-linux-3.10-xen-restore-load-sp0-bug14347.patch + local patch=centos-linux-3.10-xen-restore-load-sp0-bug14347.patch + shift + '[' '!' -f /builddir/build/SOURCES/centos-linux-3.10-xen-restore-load-sp0-bug14347.patch ']' Patch20204: centos-linux-3.10-xen-restore-load-sp0-bug14347.patch + case "$patch" in + patch -p1 -F1 -s + ApplyOptionalPatch centos-linux-3.10-iommu-fix-null-pointer-deref-bug14476.patch + local patch=centos-linux-3.10-iommu-fix-null-pointer-deref-bug14476.patch + shift + '[' '!' -f /builddir/build/SOURCES/centos-linux-3.10-iommu-fix-null-pointer-deref-bug14476.patch ']' ++ wc -l /builddir/build/SOURCES/centos-linux-3.10-iommu-fix-null-pointer-deref-bug14476.patch ++ awk '{print $1}' + local C=60 + '[' 60 -gt 9 ']' + ApplyPatch centos-linux-3.10-iommu-fix-null-pointer-deref-bug14476.patch + local patch=centos-linux-3.10-iommu-fix-null-pointer-deref-bug14476.patch + shift + '[' '!' -f /builddir/build/SOURCES/centos-linux-3.10-iommu-fix-null-pointer-deref-bug14476.patch ']' Patch20205: centos-linux-3.10-iommu-fix-null-pointer-deref-bug14476.patch + case "$patch" in + patch -p1 -F1 -s + ApplyOptionalPatch centos-linux-3.10-iommu-dont-clear-DTE-flags-bug14476.patch + local patch=centos-linux-3.10-iommu-dont-clear-DTE-flags-bug14476.patch + shift + '[' '!' -f /builddir/build/SOURCES/centos-linux-3.10-iommu-dont-clear-DTE-flags-bug14476.patch ']' ++ wc -l /builddir/build/SOURCES/centos-linux-3.10-iommu-dont-clear-DTE-flags-bug14476.patch ++ awk '{print $1}' + local C=46 + '[' 46 -gt 9 ']' + ApplyPatch centos-linux-3.10-iommu-dont-clear-DTE-flags-bug14476.patch + local patch=centos-linux-3.10-iommu-dont-clear-DTE-flags-bug14476.patch + shift + '[' '!' -f /builddir/build/SOURCES/centos-linux-3.10-iommu-dont-clear-DTE-flags-bug14476.patch ']' Patch20206: centos-linux-3.10-iommu-dont-clear-DTE-flags-bug14476.patch + case "$patch" in + patch -p1 -F1 -s + 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 ']' + 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.config kernel-3.10.0-x86_64.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.config kernel-3.10.0-x86_64.config ++ grep -c kernel-3.10.0-x86_64.config + '[' 1 -eq 0 ']' + for i in '*.config' + mv kernel-3.10.0-i686.config .config ++ head -1 .config ++ cut -b 3- + Arch=x86 + make ARCH=x86 listnewconfig + grep -E '^CONFIG_' + '[' -s .newoptions ']' + cat .newoptions CONFIG_RETPOLINE + exit 1 error: Bad exit status from /var/tmp/rpm-tmp.FMBwYP (%prep) Bad exit status from /var/tmp/rpm-tmp.FMBwYP (%prep) RPM build errors: 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 noarch --nodeps /builddir/build/SPECS/kernel.spec