Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/kernel.spec'], chrootPath='/var/lib/mock/kernel-3.10.0-693.11.6.el7.centos.plus-20180109171431-11653/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.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-3.10.0-693.11.6.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.spec'], chrootPath='/var/lib/mock/kernel-3.10.0-693.11.6.el7.centos.plus-20180109171431-11653/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.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.D9Lb1n + umask 022 + cd /builddir/build/BUILD + patch_command='patch -p1 -F1 -s' + cd /builddir/build/BUILD + rm -rf kernel-3.10.0-693.11.6.el7 + /usr/bin/mkdir -p kernel-3.10.0-693.11.6.el7 + cd kernel-3.10.0-693.11.6.el7 + /usr/bin/xz -dc /builddir/build/SOURCES/linux-3.10.0-693.11.6.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.11.6.el7 linux-3.10.0-693.11.6.el7.centos.plus.i686 + cd linux-3.10.0-693.11.6.el7.centos.plus.i686 + 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 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 + ApplyOptionalPatch qspinlock_types-32bit.patch + local patch=qspinlock_types-32bit.patch + shift + '[' '!' -f /builddir/build/SOURCES/qspinlock_types-32bit.patch ']' ++ awk '{print $1}' ++ wc -l /builddir/build/SOURCES/qspinlock_types-32bit.patch + local C=14 + '[' 14 -gt 9 ']' + ApplyPatch qspinlock_types-32bit.patch + local patch=qspinlock_types-32bit.patch + shift + '[' '!' -f /builddir/build/SOURCES/qspinlock_types-32bit.patch ']' Patch1012: qspinlock_types-32bit.patch + case "$patch" in + patch -p1 -F1 -s + ApplyOptionalPatch init_32.patch + local patch=init_32.patch + shift + '[' '!' -f /builddir/build/SOURCES/init_32.patch ']' ++ wc -l /builddir/build/SOURCES/init_32.patch ++ awk '{print $1}' + local C=11 + '[' 11 -gt 9 ']' + ApplyPatch init_32.patch + local patch=init_32.patch + shift + '[' '!' -f /builddir/build/SOURCES/init_32.patch ']' Patch1013: init_32.patch + case "$patch" in + patch -p1 -F1 -s + ApplyOptionalPatch ioremap.patch + local patch=ioremap.patch + shift + '[' '!' -f /builddir/build/SOURCES/ioremap.patch ']' ++ wc -l /builddir/build/SOURCES/ioremap.patch ++ awk '{print $1}' + local C=14 + '[' 14 -gt 9 ']' + ApplyPatch ioremap.patch + local patch=ioremap.patch + shift + '[' '!' -f /builddir/build/SOURCES/ioremap.patch ']' Patch1014: ioremap.patch + case "$patch" in + patch -p1 -F1 -s + ApplyOptionalPatch huge_memory.patch + local patch=huge_memory.patch + shift + '[' '!' -f /builddir/build/SOURCES/huge_memory.patch ']' ++ wc -l /builddir/build/SOURCES/huge_memory.patch ++ awk '{print $1}' + local C=20 + '[' 20 -gt 9 ']' + ApplyPatch huge_memory.patch + local patch=huge_memory.patch + shift + '[' '!' -f /builddir/build/SOURCES/huge_memory.patch ']' Patch1015: huge_memory.patch + case "$patch" in + patch -p1 -F1 -s + ApplyOptionalPatch smpboot.patch + local patch=smpboot.patch + shift + '[' '!' -f /builddir/build/SOURCES/smpboot.patch ']' ++ wc -l /builddir/build/SOURCES/smpboot.patch ++ awk '{print $1}' + local C=20 + '[' 20 -gt 9 ']' + ApplyPatch smpboot.patch + local patch=smpboot.patch + shift + '[' '!' -f /builddir/build/SOURCES/smpboot.patch ']' Patch1016: smpboot.patch + case "$patch" in + patch -p1 -F1 -s + ApplyOptionalPatch i686-7-4.patch + local patch=i686-7-4.patch + shift + '[' '!' -f /builddir/build/SOURCES/i686-7-4.patch ']' ++ wc -l /builddir/build/SOURCES/i686-7-4.patch ++ awk '{print $1}' + local C=143 + '[' 143 -gt 9 ']' + ApplyPatch i686-7-4.patch + local patch=i686-7-4.patch + shift + '[' '!' -f /builddir/build/SOURCES/i686-7-4.patch ']' Patch1017: i686-7-4.patch + case "$patch" in + patch -p1 -F1 -s + ApplyOptionalPatch firmware-efi-32bit.patch + local patch=firmware-efi-32bit.patch + shift + '[' '!' -f /builddir/build/SOURCES/firmware-efi-32bit.patch ']' ++ wc -l /builddir/build/SOURCES/firmware-efi-32bit.patch ++ awk '{print $1}' + local C=11 + '[' 11 -gt 9 ']' + ApplyPatch firmware-efi-32bit.patch + local patch=firmware-efi-32bit.patch + shift + '[' '!' -f /builddir/build/SOURCES/firmware-efi-32bit.patch ']' Patch1018: firmware-efi-32bit.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 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 ++ 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 ++ 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.config .config ++ cut -b 3- ++ head -1 .config + Arch=x86 + make ARCH=x86 listnewconfig + grep -E '^CONFIG_' + true + '[' -s .newoptions ']' + rm -f .newoptions + make ARCH=x86 oldnoconfig scripts/kconfig/conf --olddefconfig Kconfig # # configuration written to .config # + echo '# x86' + cat .config + find . '(' -name '*.orig' -o -name '*~' ')' -exec rm -f '{}' ';' + find . -name .gitignore -exec rm -f '{}' ';' + cd .. + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.eixk4X + umask 022 + cd /builddir/build/BUILD + cd kernel-3.10.0-693.11.6.el7 + export 'AFTER_LINK=sh -xc "/usr/lib/rpm/debugedit -b $$RPM_BUILD_DIR -d /usr/src/debug -i $@ > $@.id"' + AFTER_LINK='sh -xc "/usr/lib/rpm/debugedit -b $$RPM_BUILD_DIR -d /usr/src/debug -i $@ > $@.id"' + rm -rf /builddir/build/BUILDROOT/kernel-3.10.0-693.11.6.el7.centos.plus.i386 + mkdir -p /builddir/build/BUILDROOT/kernel-3.10.0-693.11.6.el7.centos.plus.i386/boot + mkdir -p /builddir/build/BUILDROOT/kernel-3.10.0-693.11.6.el7.centos.plus.i386/usr/libexec + cd linux-3.10.0-693.11.6.el7.centos.plus.i686 + BuildKernel bzImage arch/x86/boot/bzImage + MakeTarget=bzImage + KernelImage=arch/x86/boot/bzImage + Flavour= + InstallName=vmlinuz + Config=kernel-3.10.0-i686.config + DevelDir=/usr/src/kernels/3.10.0-693.11.6.el7.centos.plus.i686 + '[' arch/x86/boot/bzImage = vmlinux ']' + CopyKernel=cp + KernelVer=3.10.0-693.11.6.el7.centos.plus.i686 BUILDING A KERNEL FOR i686... + echo BUILDING A KERNEL FOR i686... + perl -p -i -e 's/^EXTRAVERSION.*/EXTRAVERSION = -693.11.6.el7.centos.plus.i686/' Makefile + make -s mrproper + cp /builddir/build/SOURCES/x509.genkey . + cp /builddir/build/SOURCES/extra_certificates . + cp /builddir/build/SOURCES/centos-ldup.x509 . + cp /builddir/build/SOURCES/centos-kpatch.x509 . + cp configs/kernel-3.10.0-i686.config .config ++ head -1 .config ++ cut -b 3- + Arch=x86 + echo USING ARCH=x86 + make -s ARCH=x86 oldnoconfig USING ARCH=x86 + make -s ARCH=x86 V=1 -j16 KCFLAGS= 'WITH_GCOV= 0' bzImage In file included from include/linux/topology.h:34:0, from include/linux/gfp.h:8, from include/linux/slab.h:12, from kernel/fork.c:14: ./arch/x86/include/asm/spec_ctrl.h: In function '__spec_ctrl_vm_ibrs': ./arch/x86/include/asm/spec_ctrl.h:290:22: error: 'spec_ctrl_pcp' undeclared (first use in this function) if (__this_cpu_read(spec_ctrl_pcp) & (SPEC_CTRL_PCP_IBRS_USER | ^ include/linux/percpu.h:182:11: note: in definition of macro '__pcpu_size_call_return' ({ typeof(variable) pscr_ret__; \ ^ ./arch/x86/include/asm/spec_ctrl.h:290:6: note: in expansion of macro '__this_cpu_read' if (__this_cpu_read(spec_ctrl_pcp) & (SPEC_CTRL_PCP_IBRS_USER | ^ ./arch/x86/include/asm/spec_ctrl.h:290:22: note: each undeclared identifier is reported only once for each function it appears in if (__this_cpu_read(spec_ctrl_pcp) & (SPEC_CTRL_PCP_IBRS_USER | ^ include/linux/percpu.h:182:11: note: in definition of macro '__pcpu_size_call_return' ({ typeof(variable) pscr_ret__; \ ^ ./arch/x86/include/asm/spec_ctrl.h:290:6: note: in expansion of macro '__this_cpu_read' if (__this_cpu_read(spec_ctrl_pcp) & (SPEC_CTRL_PCP_IBRS_USER | ^ ./arch/x86/include/asm/spec_ctrl.h: In function 'spec_ctrl_enable_ibrs': ./arch/x86/include/asm/spec_ctrl.h:322:23: error: 'spec_ctrl_pcp' undeclared (first use in this function) if (__this_cpu_read(spec_ctrl_pcp) & SPEC_CTRL_PCP_IBRS) ^ include/linux/percpu.h:182:11: note: in definition of macro '__pcpu_size_call_return' ({ typeof(variable) pscr_ret__; \ ^ ./arch/x86/include/asm/spec_ctrl.h:322:7: note: in expansion of macro '__this_cpu_read' if (__this_cpu_read(spec_ctrl_pcp) & SPEC_CTRL_PCP_IBRS) ^ ./arch/x86/include/asm/spec_ctrl.h: In function 'spec_ctrl_disable_ibrs': ./arch/x86/include/asm/spec_ctrl.h:333:23: error: 'spec_ctrl_pcp' undeclared (first use in this function) if (__this_cpu_read(spec_ctrl_pcp) & SPEC_CTRL_PCP_IBRS) ^ include/linux/percpu.h:182:11: note: in definition of macro '__pcpu_size_call_return' ({ typeof(variable) pscr_ret__; \ ^ ./arch/x86/include/asm/spec_ctrl.h:333:7: note: in expansion of macro '__this_cpu_read' if (__this_cpu_read(spec_ctrl_pcp) & SPEC_CTRL_PCP_IBRS) ^ ./arch/x86/include/asm/spec_ctrl.h: In function 'spec_ctrl_ibpb': ./arch/x86/include/asm/spec_ctrl.h:349:23: error: 'spec_ctrl_pcp' undeclared (first use in this function) if (__this_cpu_read(spec_ctrl_pcp) & SPEC_CTRL_PCP_IBPB) ^ include/linux/percpu.h:182:11: note: in definition of macro '__pcpu_size_call_return' ({ typeof(variable) pscr_ret__; \ ^ ./arch/x86/include/asm/spec_ctrl.h:349:7: note: in expansion of macro '__this_cpu_read' if (__this_cpu_read(spec_ctrl_pcp) & SPEC_CTRL_PCP_IBPB) ^ ./arch/x86/include/asm/spec_ctrl.h: In function 'spec_ctrl_check_only_ibpb': ./arch/x86/include/asm/spec_ctrl.h:357:22: error: 'spec_ctrl_pcp' undeclared (first use in this function) __this_cpu_read(spec_ctrl_pcp) & (SPEC_CTRL_PCP_ONLY_IBPB)) ^ include/linux/percpu.h:182:11: note: in definition of macro '__pcpu_size_call_return' ({ typeof(variable) pscr_ret__; \ ^ ./arch/x86/include/asm/spec_ctrl.h:357:6: note: in expansion of macro '__this_cpu_read' __this_cpu_read(spec_ctrl_pcp) & (SPEC_CTRL_PCP_ONLY_IBPB)) ^ ./arch/x86/include/asm/spec_ctrl.h: In function 'spec_ctrl_ibpb_if_different_creds': ./arch/x86/include/asm/spec_ctrl.h:376:23: error: 'spec_ctrl_pcp' undeclared (first use in this function) if (__this_cpu_read(spec_ctrl_pcp) & SPEC_CTRL_PCP_IBPB && ^ include/linux/percpu.h:182:11: note: in definition of macro '__pcpu_size_call_return' ({ typeof(variable) pscr_ret__; \ ^ ./arch/x86/include/asm/spec_ctrl.h:376:7: note: in expansion of macro '__this_cpu_read' if (__this_cpu_read(spec_ctrl_pcp) & SPEC_CTRL_PCP_IBPB && ^ make[1]: *** [kernel/fork.o] Error 1 make[1]: *** Waiting for unfinished jobs.... In file included from include/linux/topology.h:34:0, from include/linux/gfp.h:8, from include/linux/slab.h:12, from fs/exec.c:25: ./arch/x86/include/asm/spec_ctrl.h: In function '__spec_ctrl_vm_ibrs': ./arch/x86/include/asm/spec_ctrl.h:290:22: error: 'spec_ctrl_pcp' undeclared (first use in this function) if (__this_cpu_read(spec_ctrl_pcp) & (SPEC_CTRL_PCP_IBRS_USER | ^ include/linux/percpu.h:182:11: note: in definition of macro '__pcpu_size_call_return' ({ typeof(variable) pscr_ret__; \ ^ ./arch/x86/include/asm/spec_ctrl.h:290:6: note: in expansion of macro '__this_cpu_read' if (__this_cpu_read(spec_ctrl_pcp) & (SPEC_CTRL_PCP_IBRS_USER | ^ ./arch/x86/include/asm/spec_ctrl.h:290:22: note: each undeclared identifier is reported only once for each function it appears in if (__this_cpu_read(spec_ctrl_pcp) & (SPEC_CTRL_PCP_IBRS_USER | ^ include/linux/percpu.h:182:11: note: in definition of macro '__pcpu_size_call_return' ({ typeof(variable) pscr_ret__; \ ^ ./arch/x86/include/asm/spec_ctrl.h:290:6: note: in expansion of macro '__this_cpu_read' if (__this_cpu_read(spec_ctrl_pcp) & (SPEC_CTRL_PCP_IBRS_USER | ^ ./arch/x86/include/asm/spec_ctrl.h: In function 'spec_ctrl_enable_ibrs': ./arch/x86/include/asm/spec_ctrl.h:322:23: error: 'spec_ctrl_pcp' undeclared (first use in this function) if (__this_cpu_read(spec_ctrl_pcp) & SPEC_CTRL_PCP_IBRS) ^ include/linux/percpu.h:182:11: note: in definition of macro '__pcpu_size_call_return' ({ typeof(variable) pscr_ret__; \ ^ ./arch/x86/include/asm/spec_ctrl.h:322:7: note: in expansion of macro '__this_cpu_read' if (__this_cpu_read(spec_ctrl_pcp) & SPEC_CTRL_PCP_IBRS) ^ ./arch/x86/include/asm/spec_ctrl.h: In function 'spec_ctrl_disable_ibrs': ./arch/x86/include/asm/spec_ctrl.h:333:23: error: 'spec_ctrl_pcp' undeclared (first use in this function) if (__this_cpu_read(spec_ctrl_pcp) & SPEC_CTRL_PCP_IBRS) ^ include/linux/percpu.h:182:11: note: in definition of macro '__pcpu_size_call_return' ({ typeof(variable) pscr_ret__; \ ^ ./arch/x86/include/asm/spec_ctrl.h:333:7: note: in expansion of macro '__this_cpu_read' if (__this_cpu_read(spec_ctrl_pcp) & SPEC_CTRL_PCP_IBRS) ^ ./arch/x86/include/asm/spec_ctrl.h: In function 'spec_ctrl_ibpb': make: *** [kernel] Error 2 ./arch/x86/include/asm/spec_ctrl.h:349:23: error: 'spec_ctrl_pcp' undeclared (first use in this function) if (__this_cpu_read(spec_ctrl_pcp) & SPEC_CTRL_PCP_IBPB) ^ include/linux/percpu.h:182:11: note: in definition of macro '__pcpu_size_call_return' ({ typeof(variable) pscr_ret__; \ ^ ./arch/x86/include/asm/spec_ctrl.h:349:7: note: in expansion of macro '__this_cpu_read' if (__this_cpu_read(spec_ctrl_pcp) & SPEC_CTRL_PCP_IBPB) ^ make: *** Waiting for unfinished jobs.... ./arch/x86/include/asm/spec_ctrl.h: In function 'spec_ctrl_check_only_ibpb': ./arch/x86/include/asm/spec_ctrl.h:357:22: error: 'spec_ctrl_pcp' undeclared (first use in this function) __this_cpu_read(spec_ctrl_pcp) & (SPEC_CTRL_PCP_ONLY_IBPB)) ^ include/linux/percpu.h:182:11: note: in definition of macro '__pcpu_size_call_return' ({ typeof(variable) pscr_ret__; \ ^ ./arch/x86/include/asm/spec_ctrl.h:357:6: note: in expansion of macro '__this_cpu_read' __this_cpu_read(spec_ctrl_pcp) & (SPEC_CTRL_PCP_ONLY_IBPB)) ^ ./arch/x86/include/asm/spec_ctrl.h: In function 'spec_ctrl_ibpb_if_different_creds': ./arch/x86/include/asm/spec_ctrl.h:376:23: error: 'spec_ctrl_pcp' undeclared (first use in this function) if (__this_cpu_read(spec_ctrl_pcp) & SPEC_CTRL_PCP_IBPB && ^ include/linux/percpu.h:182:11: note: in definition of macro '__pcpu_size_call_return' ({ typeof(variable) pscr_ret__; \ ^ ./arch/x86/include/asm/spec_ctrl.h:376:7: note: in expansion of macro '__this_cpu_read' if (__this_cpu_read(spec_ctrl_pcp) & SPEC_CTRL_PCP_IBPB && ^ make[1]: *** [fs/exec.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [fs] Error 2 In file included from include/linux/topology.h:34:0, from include/linux/gfp.h:8, from arch/x86/mm/init.c:1: ./arch/x86/include/asm/spec_ctrl.h: In function '__spec_ctrl_vm_ibrs': ./arch/x86/include/asm/spec_ctrl.h:290:22: error: 'spec_ctrl_pcp' undeclared (first use in this function) if (__this_cpu_read(spec_ctrl_pcp) & (SPEC_CTRL_PCP_IBRS_USER | ^ include/linux/percpu.h:182:11: note: in definition of macro '__pcpu_size_call_return' ({ typeof(variable) pscr_ret__; \ ^ ./arch/x86/include/asm/spec_ctrl.h:290:6: note: in expansion of macro '__this_cpu_read' if (__this_cpu_read(spec_ctrl_pcp) & (SPEC_CTRL_PCP_IBRS_USER | ^ ./arch/x86/include/asm/spec_ctrl.h:290:22: note: each undeclared identifier is reported only once for each function it appears in if (__this_cpu_read(spec_ctrl_pcp) & (SPEC_CTRL_PCP_IBRS_USER | ^ include/linux/percpu.h:182:11: note: in definition of macro '__pcpu_size_call_return' ({ typeof(variable) pscr_ret__; \ ^ ./arch/x86/include/asm/spec_ctrl.h:290:6: note: in expansion of macro '__this_cpu_read' if (__this_cpu_read(spec_ctrl_pcp) & (SPEC_CTRL_PCP_IBRS_USER | ^ ./arch/x86/include/asm/spec_ctrl.h: In function 'spec_ctrl_enable_ibrs': ./arch/x86/include/asm/spec_ctrl.h:322:23: error: 'spec_ctrl_pcp' undeclared (first use in this function) if (__this_cpu_read(spec_ctrl_pcp) & SPEC_CTRL_PCP_IBRS) ^ include/linux/percpu.h:182:11: note: in definition of macro '__pcpu_size_call_return' ({ typeof(variable) pscr_ret__; \ ^ ./arch/x86/include/asm/spec_ctrl.h:322:7: note: in expansion of macro '__this_cpu_read' if (__this_cpu_read(spec_ctrl_pcp) & SPEC_CTRL_PCP_IBRS) ^ ./arch/x86/include/asm/spec_ctrl.h: In function 'spec_ctrl_disable_ibrs': ./arch/x86/include/asm/spec_ctrl.h:333:23: error: 'spec_ctrl_pcp' undeclared (first use in this function) if (__this_cpu_read(spec_ctrl_pcp) & SPEC_CTRL_PCP_IBRS) ^ include/linux/percpu.h:182:11: note: in definition of macro '__pcpu_size_call_return' ({ typeof(variable) pscr_ret__; \ ^ ./arch/x86/include/asm/spec_ctrl.h:333:7: note: in expansion of macro '__this_cpu_read' if (__this_cpu_read(spec_ctrl_pcp) & SPEC_CTRL_PCP_IBRS) ^ ./arch/x86/include/asm/spec_ctrl.h: In function 'spec_ctrl_ibpb': ./arch/x86/include/asm/spec_ctrl.h:349:23: error: 'spec_ctrl_pcp' undeclared (first use in this function) if (__this_cpu_read(spec_ctrl_pcp) & SPEC_CTRL_PCP_IBPB) ^ include/linux/percpu.h:182:11: note: in definition of macro '__pcpu_size_call_return' ({ typeof(variable) pscr_ret__; \ ^ ./arch/x86/include/asm/spec_ctrl.h:349:7: note: in expansion of macro '__this_cpu_read' if (__this_cpu_read(spec_ctrl_pcp) & SPEC_CTRL_PCP_IBPB) ^ ./arch/x86/include/asm/spec_ctrl.h: In function 'spec_ctrl_check_only_ibpb': ./arch/x86/include/asm/spec_ctrl.h:357:22: error: 'spec_ctrl_pcp' undeclared (first use in this function) __this_cpu_read(spec_ctrl_pcp) & (SPEC_CTRL_PCP_ONLY_IBPB)) ^ include/linux/percpu.h:182:11: note: in definition of macro '__pcpu_size_call_return' ({ typeof(variable) pscr_ret__; \ ^ ./arch/x86/include/asm/spec_ctrl.h:357:6: note: in expansion of macro '__this_cpu_read' __this_cpu_read(spec_ctrl_pcp) & (SPEC_CTRL_PCP_ONLY_IBPB)) ^ ./arch/x86/include/asm/spec_ctrl.h: In function 'spec_ctrl_ibpb_if_different_creds': ./arch/x86/include/asm/spec_ctrl.h:376:23: error: 'spec_ctrl_pcp' undeclared (first use in this function) if (__this_cpu_read(spec_ctrl_pcp) & SPEC_CTRL_PCP_IBPB && ^ include/linux/percpu.h:182:11: note: in definition of macro '__pcpu_size_call_return' ({ typeof(variable) pscr_ret__; \ ^ ./arch/x86/include/asm/spec_ctrl.h:376:7: note: in expansion of macro '__this_cpu_read' if (__this_cpu_read(spec_ctrl_pcp) & SPEC_CTRL_PCP_IBPB && ^ make[2]: *** [arch/x86/mm/init.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from include/linux/topology.h:34:0, from include/linux/gfp.h:8, from arch/x86/kernel/ldt.c:10: ./arch/x86/include/asm/spec_ctrl.h: In function '__spec_ctrl_vm_ibrs': ./arch/x86/include/asm/spec_ctrl.h:290:22: error: 'spec_ctrl_pcp' undeclared (first use in this function) if (__this_cpu_read(spec_ctrl_pcp) & (SPEC_CTRL_PCP_IBRS_USER | ^ include/linux/percpu.h:182:11: note: in definition of macro '__pcpu_size_call_return' ({ typeof(variable) pscr_ret__; \ ^ ./arch/x86/include/asm/spec_ctrl.h:290:6: note: in expansion of macro '__this_cpu_read' if (__this_cpu_read(spec_ctrl_pcp) & (SPEC_CTRL_PCP_IBRS_USER | ^ ./arch/x86/include/asm/spec_ctrl.h:290:22: note: each undeclared identifier is reported only once for each function it appears in if (__this_cpu_read(spec_ctrl_pcp) & (SPEC_CTRL_PCP_IBRS_USER | ^ include/linux/percpu.h:182:11: note: in definition of macro '__pcpu_size_call_return' ({ typeof(variable) pscr_ret__; \ ^ ./arch/x86/include/asm/spec_ctrl.h:290:6: note: in expansion of macro '__this_cpu_read' if (__this_cpu_read(spec_ctrl_pcp) & (SPEC_CTRL_PCP_IBRS_USER | ^ ./arch/x86/include/asm/spec_ctrl.h: In function 'spec_ctrl_enable_ibrs': ./arch/x86/include/asm/spec_ctrl.h:322:23: error: 'spec_ctrl_pcp' undeclared (first use in this function) if (__this_cpu_read(spec_ctrl_pcp) & SPEC_CTRL_PCP_IBRS) ^ include/linux/percpu.h:182:11: note: in definition of macro '__pcpu_size_call_return' ({ typeof(variable) pscr_ret__; \ ^ ./arch/x86/include/asm/spec_ctrl.h:322:7: note: in expansion of macro '__this_cpu_read' if (__this_cpu_read(spec_ctrl_pcp) & SPEC_CTRL_PCP_IBRS) ^ ./arch/x86/include/asm/spec_ctrl.h: In function 'spec_ctrl_disable_ibrs': ./arch/x86/include/asm/spec_ctrl.h:333:23: error: 'spec_ctrl_pcp' undeclared (first use in this function) if (__this_cpu_read(spec_ctrl_pcp) & SPEC_CTRL_PCP_IBRS) ^ include/linux/percpu.h:182:11: note: in definition of macro '__pcpu_size_call_return' ({ typeof(variable) pscr_ret__; \ ^ ./arch/x86/include/asm/spec_ctrl.h:333:7: note: in expansion of macro '__this_cpu_read' if (__this_cpu_read(spec_ctrl_pcp) & SPEC_CTRL_PCP_IBRS) ^ ./arch/x86/include/asm/spec_ctrl.h: In function 'spec_ctrl_ibpb': ./arch/x86/include/asm/spec_ctrl.h:349:23: error: 'spec_ctrl_pcp' undeclared (first use in this function) if (__this_cpu_read(spec_ctrl_pcp) & SPEC_CTRL_PCP_IBPB) ^ include/linux/percpu.h:182:11: note: in definition of macro '__pcpu_size_call_return' ({ typeof(variable) pscr_ret__; \ ^ ./arch/x86/include/asm/spec_ctrl.h:349:7: note: in expansion of macro '__this_cpu_read' if (__this_cpu_read(spec_ctrl_pcp) & SPEC_CTRL_PCP_IBPB) ^ ./arch/x86/include/asm/spec_ctrl.h: In function 'spec_ctrl_check_only_ibpb': ./arch/x86/include/asm/spec_ctrl.h:357:22: error: 'spec_ctrl_pcp' undeclared (first use in this function) __this_cpu_read(spec_ctrl_pcp) & (SPEC_CTRL_PCP_ONLY_IBPB)) ^ include/linux/percpu.h:182:11: note: in definition of macro '__pcpu_size_call_return' ({ typeof(variable) pscr_ret__; \ ^ ./arch/x86/include/asm/spec_ctrl.h:357:6: note: in expansion of macro '__this_cpu_read' __this_cpu_read(spec_ctrl_pcp) & (SPEC_CTRL_PCP_ONLY_IBPB)) ^ ./arch/x86/include/asm/spec_ctrl.h: In function 'spec_ctrl_ibpb_if_different_creds': ./arch/x86/include/asm/spec_ctrl.h:376:23: error: 'spec_ctrl_pcp' undeclared (first use in this function) if (__this_cpu_read(spec_ctrl_pcp) & SPEC_CTRL_PCP_IBPB && ^ include/linux/percpu.h:182:11: note: in definition of macro '__pcpu_size_call_return' ({ typeof(variable) pscr_ret__; \ ^ ./arch/x86/include/asm/spec_ctrl.h:376:7: note: in expansion of macro '__this_cpu_read' if (__this_cpu_read(spec_ctrl_pcp) & SPEC_CTRL_PCP_IBPB && ^ make[2]: *** [arch/x86/kernel/ldt.o] Error 1 make[1]: *** [arch/x86/kernel] Error 2 make[1]: *** Waiting for unfinished jobs.... arch/x86/platform/efi/efi_32.c: In function 'efi_call_phys_prelog': arch/x86/platform/efi/efi_32.c:64:2: error: implicit declaration of function 'load_cr3' [-Werror=implicit-function-declaration] load_cr3(initial_page_table); ^ cc1: all warnings being treated as errors make[3]: *** [arch/x86/platform/efi/efi_32.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[1]: *** [arch/x86/mm] Error 2 make[2]: *** [arch/x86/platform/efi] Error 2 make[1]: *** [arch/x86/platform] Error 2 In file included from include/linux/topology.h:34:0, from include/linux/gfp.h:8, from include/linux/mm.h:9, from mm/mmu_context.c:6: ./arch/x86/include/asm/spec_ctrl.h: In function '__spec_ctrl_vm_ibrs': ./arch/x86/include/asm/spec_ctrl.h:290:22: error: 'spec_ctrl_pcp' undeclared (first use in this function) if (__this_cpu_read(spec_ctrl_pcp) & (SPEC_CTRL_PCP_IBRS_USER | ^ include/linux/percpu.h:182:11: note: in definition of macro '__pcpu_size_call_return' ({ typeof(variable) pscr_ret__; \ ^ ./arch/x86/include/asm/spec_ctrl.h:290:6: note: in expansion of macro '__this_cpu_read' if (__this_cpu_read(spec_ctrl_pcp) & (SPEC_CTRL_PCP_IBRS_USER | ^ ./arch/x86/include/asm/spec_ctrl.h:290:22: note: each undeclared identifier is reported only once for each function it appears in if (__this_cpu_read(spec_ctrl_pcp) & (SPEC_CTRL_PCP_IBRS_USER | ^ include/linux/percpu.h:182:11: note: in definition of macro '__pcpu_size_call_return' ({ typeof(variable) pscr_ret__; \ ^ ./arch/x86/include/asm/spec_ctrl.h:290:6: note: in expansion of macro '__this_cpu_read' if (__this_cpu_read(spec_ctrl_pcp) & (SPEC_CTRL_PCP_IBRS_USER | ^ ./arch/x86/include/asm/spec_ctrl.h: In function 'spec_ctrl_enable_ibrs': ./arch/x86/include/asm/spec_ctrl.h:322:23: error: 'spec_ctrl_pcp' undeclared (first use in this function) if (__this_cpu_read(spec_ctrl_pcp) & SPEC_CTRL_PCP_IBRS) ^ include/linux/percpu.h:182:11: note: in definition of macro '__pcpu_size_call_return' ({ typeof(variable) pscr_ret__; \ ^ ./arch/x86/include/asm/spec_ctrl.h:322:7: note: in expansion of macro '__this_cpu_read' if (__this_cpu_read(spec_ctrl_pcp) & SPEC_CTRL_PCP_IBRS) ^ ./arch/x86/include/asm/spec_ctrl.h: In function 'spec_ctrl_disable_ibrs': ./arch/x86/include/asm/spec_ctrl.h:333:23: error: 'spec_ctrl_pcp' undeclared (first use in this function) if (__this_cpu_read(spec_ctrl_pcp) & SPEC_CTRL_PCP_IBRS) ^ include/linux/percpu.h:182:11: note: in definition of macro '__pcpu_size_call_return' ({ typeof(variable) pscr_ret__; \ ^ ./arch/x86/include/asm/spec_ctrl.h:333:7: note: in expansion of macro '__this_cpu_read' if (__this_cpu_read(spec_ctrl_pcp) & SPEC_CTRL_PCP_IBRS) ^ ./arch/x86/include/asm/spec_ctrl.h: In function 'spec_ctrl_ibpb': ./arch/x86/include/asm/spec_ctrl.h:349:23: error: 'spec_ctrl_pcp' undeclared (first use in this function) if (__this_cpu_read(spec_ctrl_pcp) & SPEC_CTRL_PCP_IBPB) ^ include/linux/percpu.h:182:11: note: in definition of macro '__pcpu_size_call_return' ({ typeof(variable) pscr_ret__; \ ^ ./arch/x86/include/asm/spec_ctrl.h:349:7: note: in expansion of macro '__this_cpu_read' if (__this_cpu_read(spec_ctrl_pcp) & SPEC_CTRL_PCP_IBPB) ^ ./arch/x86/include/asm/spec_ctrl.h: In function 'spec_ctrl_check_only_ibpb': ./arch/x86/include/asm/spec_ctrl.h:357:22: error: 'spec_ctrl_pcp' undeclared (first use in this function) __this_cpu_read(spec_ctrl_pcp) & (SPEC_CTRL_PCP_ONLY_IBPB)) ^ include/linux/percpu.h:182:11: note: in definition of macro '__pcpu_size_call_return' ({ typeof(variable) pscr_ret__; \ ^ ./arch/x86/include/asm/spec_ctrl.h:357:6: note: in expansion of macro '__this_cpu_read' __this_cpu_read(spec_ctrl_pcp) & (SPEC_CTRL_PCP_ONLY_IBPB)) ^ ./arch/x86/include/asm/spec_ctrl.h: In function 'spec_ctrl_ibpb_if_different_creds': ./arch/x86/include/asm/spec_ctrl.h:376:23: error: 'spec_ctrl_pcp' undeclared (first use in this function) if (__this_cpu_read(spec_ctrl_pcp) & SPEC_CTRL_PCP_IBPB && ^ include/linux/percpu.h:182:11: note: in definition of macro '__pcpu_size_call_return' ({ typeof(variable) pscr_ret__; \ ^ ./arch/x86/include/asm/spec_ctrl.h:376:7: note: in expansion of macro '__this_cpu_read' if (__this_cpu_read(spec_ctrl_pcp) & SPEC_CTRL_PCP_IBPB && ^ make[1]: *** [mm/mmu_context.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [arch/x86] Error 2 make: *** [mm] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.eixk4X (%build) Bad exit status from /var/tmp/rpm-tmp.eixk4X (%build) 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 i686 --nodeps /builddir/build/SPECS/kernel.spec