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.3V83Iy + 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' ++ grep -c kernel-3.10.0-i686-debug.config ++ echo kernel-3.10.0-i686-debug.config kernel-3.10.0-i686.config + '[' 1 -eq 0 ']' + for cfg in 'kernel-3.10.0-*.config' ++ grep -c kernel-3.10.0-i686.config ++ echo kernel-3.10.0-i686-debug.config 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' ++ grep -c kernel-3.10.0-ppc64.config ++ echo kernel-3.10.0-i686-debug.config kernel-3.10.0-i686.config + '[' 0 -eq 0 ']' + rm -f kernel-3.10.0-ppc64.config + for cfg in 'kernel-3.10.0-*.config' ++ grep -c kernel-3.10.0-ppc64le-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-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' ++ echo kernel-3.10.0-i686-debug.config kernel-3.10.0-i686.config ++ grep -c kernel-3.10.0-x86_64-debug.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_' + true + '[' -s .newoptions ']' + rm -f .newoptions + make ARCH=x86 oldnoconfig scripts/kconfig/conf --olddefconfig Kconfig # # configuration written to .config # + echo '# x86' + cat .config + 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_' + 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.dqE5R3 + umask 022 + cd /builddir/build/BUILD + cd kernel-3.10.0-327.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-327.el7.i386 + mkdir -p /builddir/build/BUILDROOT/kernel-3.10.0-327.el7.i386/boot + mkdir -p /builddir/build/BUILDROOT/kernel-3.10.0-327.el7.i386/usr/libexec + cd linux-3.10.0-327.el7.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-327.el7.i686 + '[' arch/x86/boot/bzImage = vmlinux ']' + CopyKernel=cp + KernelVer=3.10.0-327.el7.i686 + echo BUILDING A KERNEL FOR i686... BUILDING A KERNEL FOR i686... + perl -p -i -e 's/^EXTRAVERSION.*/EXTRAVERSION = -327.el7.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 USING ARCH=x86 + echo USING ARCH=x86 + make -s ARCH=x86 oldnoconfig + make -s ARCH=x86 V=1 -j16 KCFLAGS= 'WITH_GCOV= 0' bzImage In file included from /builddir/build/BUILD/kernel-3.10.0-327.el7/linux-3.10.0-327.el7.i686/arch/x86/include/asm/processor.h:33:0, from /builddir/build/BUILD/kernel-3.10.0-327.el7/linux-3.10.0-327.el7.i686/arch/x86/include/asm/atomic.h:6, from include/linux/atomic.h:4, from include/linux/crypto.h:20, from arch/x86/kernel/asm-offsets.c:8: include/linux/rh_kabi.h:61:3: error: static assertion failed: "kabi sizeof test panic" _Static_assert(sizeof(struct{_new;}) <= sizeof(struct{_orig;}), \ ^ include/linux/rh_kabi.h:76:3: note: in expansion of macro '__RH_KABI_CHECK_SIZE_ALIGN' __RH_KABI_CHECK_SIZE_ALIGN(_orig, _new); \ ^ include/linux/rh_kabi.h:92:39: note: in expansion of macro '_RH_KABI_REPLACE' #define RH_KABI_REPLACE(_orig, _new) _RH_KABI_REPLACE(_orig, _new); ^ include/linux/rh_kabi.h:108:31: note: in expansion of macro 'RH_KABI_REPLACE' #define RH_KABI_USE(n, _new) RH_KABI_REPLACE(_RH_KABI_RESERVE(n), _new) ^ include/linux/sched.h:631:2: note: in expansion of macro 'RH_KABI_USE' RH_KABI_USE(1, seqlock_t stats_lock) ^ make[1]: *** [arch/x86/kernel/asm-offsets.s] Error 1 make: *** [prepare0] Error 2 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.dqE5R3 (%build) Bad exit status from /var/tmp/rpm-tmp.dqE5R3 (%build) 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