Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc --nodeps /builddir/build/SPECS/kernel.spec'], chrootPath='/var/lib/mock/kernel-3.10.0-1160.99.1.el7-20230912142145-27582/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=1005) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc --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: ppc Building for target ppc Wrote: /builddir/build/SRPMS/kernel-3.10.0-1160.99.1.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target ppc --nodeps /builddir/build/SPECS/kernel.spec'], chrootPath='/var/lib/mock/kernel-3.10.0-1160.99.1.el7-20230912142145-27582/root'shell=Falseuid=1005env={'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 ppc --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: ppc Building for target ppc Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.n1hrpz + umask 022 + cd /builddir/build/BUILD + patch_command='patch -p1 -F1 -s' + cd /builddir/build/BUILD + rm -rf kernel-3.10.0-1160.99.1.el7 + /usr/bin/mkdir -p kernel-3.10.0-1160.99.1.el7 + cd kernel-3.10.0-1160.99.1.el7 + /usr/bin/xz -dc /builddir/build/SOURCES/linux-3.10.0-1160.99.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-1160.99.1.el7 linux-3.10.0-1160.99.1.el7.ppc + cd linux-3.10.0-1160.99.1.el7.ppc + cp /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=12 + '[' 12 -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 + chmod +x scripts/checkpatch.pl + touch .scmversion + 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.bqtxNe + umask 022 + cd /builddir/build/BUILD + cd kernel-3.10.0-1160.99.1.el7 + rm -rf /builddir/build/BUILDROOT/kernel-3.10.0-1160.99.1.el7.ppc + mkdir -p /builddir/build/BUILDROOT/kernel-3.10.0-1160.99.1.el7.ppc/boot + mkdir -p /builddir/build/BUILDROOT/kernel-3.10.0-1160.99.1.el7.ppc/usr/libexec + cd linux-3.10.0-1160.99.1.el7.ppc + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ntS2bU + umask 022 + cd /builddir/build/BUILD + cd kernel-3.10.0-1160.99.1.el7 + cd linux-3.10.0-1160.99.1.el7.ppc + make ARCH=powerpc INSTALL_HDR_PATH=/builddir/build/BUILDROOT/kernel-3.10.0-1160.99.1.el7.ppc/usr headers_install CHK include/generated/uapi/linux/version.h UPD include/generated/uapi/linux/version.h HOSTCC scripts/basic/fixdep WRAP arch/powerpc/include/generated/asm/clkdev.h WRAP arch/powerpc/include/generated/asm/rwsem.h WRAP arch/powerpc/include/generated/asm/trace_clock.h WRAP arch/powerpc/include/generated/asm/vtime.h WRAP arch/powerpc/include/generated/asm/irq_work.h WRAP arch/powerpc/include/generated/uapi/asm/bpf_perf_event.h HOSTCC scripts/unifdef INSTALL include/asm-generic (36 files) INSTALL include/drm (19 files) INSTALL include/linux/byteorder (2 files) INSTALL include/linux/caif (2 files) INSTALL include/linux/can (5 files) INSTALL include/linux/dvb (8 files) INSTALL include/linux/hdlc (1 file) INSTALL include/linux/hsi (1 file) INSTALL include/linux/iio (2 files) INSTALL include/linux/isdn (1 file) INSTALL include/linux/mmc (1 file) INSTALL include/linux/netfilter/ipset (4 files) INSTALL include/linux/netfilter (83 files) INSTALL include/linux/netfilter_arp (2 files) INSTALL include/linux/netfilter_bridge (18 files) INSTALL include/linux/netfilter_ipv4 (10 files) INSTALL include/linux/netfilter_ipv6 (12 files) INSTALL include/linux/nfsd (5 files) INSTALL include/linux/raid (2 files) INSTALL include/linux/spi (1 file) INSTALL include/linux/sunrpc (1 file) INSTALL include/linux/tc_act (14 files) INSTALL include/linux/tc_ematch (4 files) INSTALL include/linux/usb (11 files) INSTALL include/linux/wimax (1 file) INSTALL include/linux (413 files) INSTALL include/misc (1 file) INSTALL include/mtd (5 files) INSTALL include/rdma/hfi (2 files) INSTALL include/rdma (22 files) INSTALL include/scsi/fc (4 files) INSTALL include/scsi (4 files) INSTALL include/sound (14 files) INSTALL include/video (3 files) INSTALL include/xen (2 files) INSTALL include/uapi (0 file) INSTALL include/asm (45 files) + make ARCH=powerpc INSTALL_HDR_PATH=/builddir/build/BUILDROOT/kernel-3.10.0-1160.99.1.el7.ppc/usr headers_check /builddir/build/BUILDROOT/kernel-3.10.0-1160.99.1.el7.ppc/usr/include/drm/amdgpu_drm.h:38: userspace cannot reference function or variable defined in the kernel /builddir/build/BUILDROOT/kernel-3.10.0-1160.99.1.el7.ppc/usr/include/drm/drm.h:63: userspace cannot reference function or variable defined in the kernel /builddir/build/BUILDROOT/kernel-3.10.0-1160.99.1.el7.ppc/usr/include/drm/drm.h:779: userspace cannot reference function or variable defined in the kernel /builddir/build/BUILDROOT/kernel-3.10.0-1160.99.1.el7.ppc/usr/include/drm/drm_fourcc.h:30: userspace cannot reference function or variable defined in the kernel /builddir/build/BUILDROOT/kernel-3.10.0-1160.99.1.el7.ppc/usr/include/drm/drm_mode.h:33: userspace cannot reference function or variable defined in the kernel /builddir/build/BUILDROOT/kernel-3.10.0-1160.99.1.el7.ppc/usr/include/drm/drm_sarea.h:38: userspace cannot reference function or variable defined in the kernel /builddir/build/BUILDROOT/kernel-3.10.0-1160.99.1.el7.ppc/usr/include/drm/exynos_drm.h:22: userspace cannot reference function or variable defined in the kernel /builddir/build/BUILDROOT/kernel-3.10.0-1160.99.1.el7.ppc/usr/include/drm/i810_drm.h:8: userspace cannot reference function or variable defined in the kernel /builddir/build/BUILDROOT/kernel-3.10.0-1160.99.1.el7.ppc/usr/include/drm/i915_drm.h:33: userspace cannot reference function or variable defined in the kernel /builddir/build/BUILDROOT/kernel-3.10.0-1160.99.1.el7.ppc/usr/include/drm/mga_drm.h:41: userspace cannot reference function or variable defined in the kernel /builddir/build/BUILDROOT/kernel-3.10.0-1160.99.1.el7.ppc/usr/include/drm/nouveau_drm.h:33: userspace cannot reference function or variable defined in the kernel /builddir/build/BUILDROOT/kernel-3.10.0-1160.99.1.el7.ppc/usr/include/drm/qxl_drm.h:30: userspace cannot reference function or variable defined in the kernel /builddir/build/BUILDROOT/kernel-3.10.0-1160.99.1.el7.ppc/usr/include/drm/r128_drm.h:39: userspace cannot reference function or variable defined in the kernel /builddir/build/BUILDROOT/kernel-3.10.0-1160.99.1.el7.ppc/usr/include/drm/radeon_drm.h:39: userspace cannot reference function or variable defined in the kernel /builddir/build/BUILDROOT/kernel-3.10.0-1160.99.1.el7.ppc/usr/include/drm/savage_drm.h:32: userspace cannot reference function or variable defined in the kernel /builddir/build/BUILDROOT/kernel-3.10.0-1160.99.1.el7.ppc/usr/include/drm/sis_drm.h:33: userspace cannot reference function or variable defined in the kernel /builddir/build/BUILDROOT/kernel-3.10.0-1160.99.1.el7.ppc/usr/include/drm/tegra_drm.h:29: userspace cannot reference function or variable defined in the kernel /builddir/build/BUILDROOT/kernel-3.10.0-1160.99.1.el7.ppc/usr/include/drm/via_drm.h:30: userspace cannot reference function or variable defined in the kernel /builddir/build/BUILDROOT/kernel-3.10.0-1160.99.1.el7.ppc/usr/include/drm/virtgpu_drm.h:30: userspace cannot reference function or variable defined in the kernel /builddir/build/BUILDROOT/kernel-3.10.0-1160.99.1.el7.ppc/usr/include/drm/vmwgfx_drm.h:34: userspace cannot reference function or variable defined in the kernel /builddir/build/BUILDROOT/kernel-3.10.0-1160.99.1.el7.ppc/usr/include/linux/kexec.h:60: userspace cannot reference function or variable defined in the kernel + grep -q exist hdrwarnings.txt + xargs rm -f + find /builddir/build/BUILDROOT/kernel-3.10.0-1160.99.1.el7.ppc/usr/include '(' -name .install -o -name .check -o -name ..install.cmd -o -name ..check.cmd ')' ++ export LC_ALL=C ++ LC_ALL=C ++ find /builddir/build/BUILDROOT/kernel-3.10.0-1160.99.1.el7.ppc/usr/include -type f -name '*.h' '!' -path /builddir/build/BUILDROOT/kernel-3.10.0-1160.99.1.el7.ppc/usr/include/linux/version.h ++ sort ++ xargs cat ++ sha1sum - ++ cut -f 1 -d ' ' + HEADERS_CHKSUM=6f25d2172f8f9656770e0d91d7e3c7e71110fb18 + echo '#define KERNEL_HEADERS_CHECKSUM "6f25d2172f8f9656770e0d91d7e3c7e71110fb18"' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars + '[' 0 -ne 0 ']' + '[' 0 -ne 0 ']' + '[' 0 -eq 1 ']' Processing files: kernel-headers-3.10.0-1160.99.1.el7.ppc Provides: glibc-kernheaders = 3.0-46 kernel-headers = 3.10.0-1160.99.1.el7 kernel-headers(ppc-32) = 3.10.0-1160.99.1.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Obsoletes: glibc-kernheaders < 3.0-46 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/kernel-3.10.0-1160.99.1.el7.ppc Wrote: /builddir/build/RPMS/kernel-headers-3.10.0-1160.99.1.el7.ppc.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.xNytgG + umask 022 + cd /builddir/build/BUILD + cd kernel-3.10.0-1160.99.1.el7 + rm -rf /builddir/build/BUILDROOT/kernel-3.10.0-1160.99.1.el7.ppc + exit 0 Child return code was: 0