Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/kexec-tools.spec'], chrootPath='/var/lib/mock/dist-an8.8-build-278339-64448/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=990gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._zb4nscc:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._zb4nscc:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '0f2461196a64414d922b68aaba1f9d9f', '-D', '/var/lib/mock/dist-an8.8-build-278339-64448/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._zb4nscc:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/kexec-tools.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/kexec-tools-2.0.24-6.0.5.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/kexec-tools.spec'], chrootPath='/var/lib/mock/dist-an8.8-build-278339-64448/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=990gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._zb4nscc:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._zb4nscc:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '00d6eb7fc482416fb17d7a1b4e529b64', '-D', '/var/lib/mock/dist-an8.8-build-278339-64448/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._zb4nscc:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/kexec-tools.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.CnxCcV + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf kexec-tools-2.0.24 + /usr/bin/xz -dc /builddir/build/SOURCES/kexec-tools-2.0.24.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd kexec-tools-2.0.24 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mkdir -p -m755 kcp + tar -z -x -v -f /builddir/build/SOURCES/1.7.1.tar.gz makedumpfile-1.7.1/ makedumpfile-1.7.1/.gitignore makedumpfile-1.7.1/COPYING makedumpfile-1.7.1/IMPLEMENTATION makedumpfile-1.7.1/Makefile makedumpfile-1.7.1/README makedumpfile-1.7.1/arch/ makedumpfile-1.7.1/arch/arm.c makedumpfile-1.7.1/arch/arm64.c makedumpfile-1.7.1/arch/ia64.c makedumpfile-1.7.1/arch/mips64.c makedumpfile-1.7.1/arch/ppc.c makedumpfile-1.7.1/arch/ppc64.c makedumpfile-1.7.1/arch/s390x.c makedumpfile-1.7.1/arch/sparc64.c makedumpfile-1.7.1/arch/x86.c makedumpfile-1.7.1/arch/x86_64.c makedumpfile-1.7.1/cache.c makedumpfile-1.7.1/cache.h makedumpfile-1.7.1/common.h makedumpfile-1.7.1/detect_cycle.c makedumpfile-1.7.1/detect_cycle.h makedumpfile-1.7.1/diskdump_mod.h makedumpfile-1.7.1/dwarf_info.c makedumpfile-1.7.1/dwarf_info.h makedumpfile-1.7.1/elf_info.c makedumpfile-1.7.1/elf_info.h makedumpfile-1.7.1/eppic_scripts/ makedumpfile-1.7.1/eppic_scripts/README makedumpfile-1.7.1/eppic_scripts/ap_messages_3_10_to_4_8.c makedumpfile-1.7.1/eppic_scripts/dir_names_3_10_to_3_13.c makedumpfile-1.7.1/eppic_scripts/dir_names_3_14_to_4_8.c makedumpfile-1.7.1/eppic_scripts/keyring_3_10_to_4_3.c makedumpfile-1.7.1/eppic_scripts/keyring_4_4_to_4_8.c makedumpfile-1.7.1/eppic_scripts/proc_names_3_10_to_4_8.c makedumpfile-1.7.1/eppic_scripts/tcp_sk_buf_3_10_to_4_8.c makedumpfile-1.7.1/eppic_scripts/udp_sk_buf_3_10_to_4_8.c makedumpfile-1.7.1/eppic_scripts/unix_sk_buff_3_10_to_4_8.c makedumpfile-1.7.1/eppic_scripts/vhost_net_buffers_3_10_to_3_18.c makedumpfile-1.7.1/eppic_scripts/vhost_net_buffers_3_19_to_4_8.c makedumpfile-1.7.1/eppic_scripts/vhost_scsi_buffers_3_10_to_4_8.c makedumpfile-1.7.1/erase_info.c makedumpfile-1.7.1/erase_info.h makedumpfile-1.7.1/extension_eppic.c makedumpfile-1.7.1/extension_eppic.h makedumpfile-1.7.1/makedumpfile-R.pl makedumpfile-1.7.1/makedumpfile.8.in makedumpfile-1.7.1/makedumpfile.c makedumpfile-1.7.1/makedumpfile.conf makedumpfile-1.7.1/makedumpfile.conf.5.in makedumpfile-1.7.1/makedumpfile.h makedumpfile-1.7.1/makedumpfile.spec makedumpfile-1.7.1/print_info.c makedumpfile-1.7.1/print_info.h makedumpfile-1.7.1/printk.c makedumpfile-1.7.1/sadump_info.c makedumpfile-1.7.1/sadump_info.h makedumpfile-1.7.1/sadump_mod.h makedumpfile-1.7.1/tools.c + tar -z -x -v -f /builddir/build/SOURCES/eppic_050615.tar.gz eppic/ eppic/libeppic/ eppic/libeppic/eppic_func.c eppic/libeppic/eppic_node.c eppic/libeppic/eppic_stat.c eppic/libeppic/eppicpp-lsed eppic/libeppic/eppic_member.c eppic/libeppic/eppic_alloc.c eppic/libeppic/eppic_type.c eppic/libeppic/eppic_input.c eppic/libeppic/eppic_api.c eppic/libeppic/eppic_var.c eppic/libeppic/eppic_print.c eppic/libeppic/eppic_define.c eppic/libeppic/eppic_num.c eppic/libeppic/eppic_case.c eppic/libeppic/eppic_util.c eppic/libeppic/eppicpp.y eppic/libeppic/eppic-lsed eppic/libeppic/README eppic/libeppic/eppic.l eppic/libeppic/eppic.y eppic/libeppic/eppicpp.l eppic/libeppic/mkbaseop.c eppic/libeppic/Makefile eppic/libeppic/eppic.h eppic/libeppic/eppic_str.c eppic/libeppic/eppic_builtin.c eppic/libeppic/eppic_op.c eppic/libeppic/eppic_api.h eppic/applications/ eppic/applications/crash/ eppic/applications/crash/code/ eppic/applications/crash/code/shm.c eppic/applications/crash/code/idr.c eppic/applications/crash/code/sem.c eppic/applications/crash/code/util.c eppic/applications/crash/code/msg.c eppic/applications/crash/code/include/ eppic/applications/crash/code/include/ipc/ eppic/applications/crash/code/include/ipc/util.h eppic/applications/crash/code/include/ipc/~util.h eppic/applications/crash/code/include/kernel.h eppic/applications/crash/code/include/rculist.h eppic/applications/crash/code/include/shm.h eppic/applications/crash/code/include/idr.h eppic/applications/crash/code/include/stddef.h eppic/applications/crash/code/include/list.h eppic/applications/crash/code/include/page.h eppic/applications/crash/code/include/ipcs.h eppic/applications/crash/code/ipcs.c eppic/applications/crash/README.code eppic/applications/crash/eppic.mk eppic/applications/crash/eppic.c Patch #601 (rhelonly-kexec-tools-2.0.16-koji-build-fail-workaround.patch): + echo 'Patch #601 (rhelonly-kexec-tools-2.0.16-koji-build-fail-workaround.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file purgatory/Makefile + echo 'Patch #602 (rhelonly-kexec-tools-2.0.18-eppic-fix-issues-with-hardening-flags.patch):' Patch #602 (rhelonly-kexec-tools-2.0.18-eppic-fix-issues-with-hardening-flags.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file eppic/libeppic/Makefile + echo 'Patch #603 (kexec-tools-2.0.24-Add-LoongArch-support.patch):' Patch #603 (kexec-tools-2.0.24-Add-LoongArch-support.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file config/config.guess patching file config/config.sub patching file configure patching file configure.ac patching file include/elf.h patching file include/image.h patching file kexec/Makefile patching file kexec/arch/loongarch/Makefile patching file kexec/arch/loongarch/crashdump-loongarch.c patching file kexec/arch/loongarch/crashdump-loongarch.h patching file kexec/arch/loongarch/image-header.h patching file kexec/arch/loongarch/include/arch/options.h patching file kexec/arch/loongarch/iomem.h patching file kexec/arch/loongarch/kexec-elf-loongarch.c patching file kexec/arch/loongarch/kexec-elf-rel-loongarch.c patching file kexec/arch/loongarch/kexec-loongarch.c patching file kexec/arch/loongarch/kexec-loongarch.h patching file kexec/arch/loongarch/kexec-pei-loongarch.c patching file kexec/kexec-syscall.h patching file kexec/kexec.c patching file kexec/kexec.h patching file purgatory/Makefile patching file purgatory/arch/loongarch/Makefile patching file purgatory/arch/loongarch/console-loongarch.c patching file purgatory/arch/loongarch/purgatory-loongarch.c patching file purgatory/arch/loongarch/purgatory-loongarch.h + echo 'Patch #604 (kexec-tools-2.0.24-Add-New-Segment.patch):' Patch #604 (kexec-tools-2.0.24-Add-New-Segment.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file kexec/arch/i386/crashdump-x86.c + echo 'Patch #605 (kexec-tools-2.0.24-read-proc-kcore.patch):' Patch #605 (kexec-tools-2.0.24-read-proc-kcore.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- kdumpctl 2023-06-25 17:00:03.309913791 +0800 |+++ kdumpctl 2023-06-20 14:47:34.900896183 +0800 -------------------------- File to patch: Skip this patch? [y] Skipping patch. 3 out of 3 hunks ignored RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.CnxCcV (%prep) Bad exit status from /var/tmp/rpm-tmp.CnxCcV (%prep) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 00d6eb7fc482416fb17d7a1b4e529b64 -D /var/lib/mock/dist-an8.8-build-278339-64448/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv._zb4nscc:/etc/resolv.conf --bind=/dev/mapper/control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\\033]0;\\007" --setenv=PS1= \\s-\\v\\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/kexec-tools.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 00d6eb7fc482416fb17d7a1b4e529b64 -D /var/lib/mock/dist-an8.8-build-278339-64448/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv._zb4nscc:/etc/resolv.conf --bind=/dev/mapper/control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;\007" --setenv=PS1= \s-\v\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/kexec-tools.spec