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 aarch64 --nodeps /builddir/build/SPECS/kexec-tools.spec'], chrootPath='/var/lib/mock/dist-an8.8-build-334201-69617/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --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'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/kexec-tools-2.0.26-8.0.3.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/kexec-tools.spec'], chrootPath='/var/lib/mock/dist-an8.8-build-334201-69617/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --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'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.HQ96rj + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf kexec-tools-2.0.26 + /usr/bin/xz -dc /builddir/build/SOURCES/kexec-tools-2.0.26.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd kexec-tools-2.0.26 + /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.2.tar.gz makedumpfile-1.7.2/ makedumpfile-1.7.2/.gitignore makedumpfile-1.7.2/COPYING makedumpfile-1.7.2/IMPLEMENTATION makedumpfile-1.7.2/Makefile makedumpfile-1.7.2/README makedumpfile-1.7.2/arch/ makedumpfile-1.7.2/arch/arm.c makedumpfile-1.7.2/arch/arm64.c makedumpfile-1.7.2/arch/ia64.c makedumpfile-1.7.2/arch/loongarch64.c makedumpfile-1.7.2/arch/mips64.c makedumpfile-1.7.2/arch/ppc.c makedumpfile-1.7.2/arch/ppc64.c makedumpfile-1.7.2/arch/s390x.c makedumpfile-1.7.2/arch/sparc64.c makedumpfile-1.7.2/arch/x86.c makedumpfile-1.7.2/arch/x86_64.c makedumpfile-1.7.2/cache.c makedumpfile-1.7.2/cache.h makedumpfile-1.7.2/common.h makedumpfile-1.7.2/detect_cycle.c makedumpfile-1.7.2/detect_cycle.h makedumpfile-1.7.2/diskdump_mod.h makedumpfile-1.7.2/dwarf_info.c makedumpfile-1.7.2/dwarf_info.h makedumpfile-1.7.2/elf_info.c makedumpfile-1.7.2/elf_info.h makedumpfile-1.7.2/eppic_scripts/ makedumpfile-1.7.2/eppic_scripts/README makedumpfile-1.7.2/eppic_scripts/ap_messages_3_10_to_4_8.c makedumpfile-1.7.2/eppic_scripts/dir_names_3_10_to_3_13.c makedumpfile-1.7.2/eppic_scripts/dir_names_3_14_to_4_8.c makedumpfile-1.7.2/eppic_scripts/keyring_3_10_to_4_3.c makedumpfile-1.7.2/eppic_scripts/keyring_4_4_to_4_8.c makedumpfile-1.7.2/eppic_scripts/proc_names_3_10_to_4_8.c makedumpfile-1.7.2/eppic_scripts/tcp_sk_buf_3_10_to_4_8.c makedumpfile-1.7.2/eppic_scripts/udp_sk_buf_3_10_to_4_8.c makedumpfile-1.7.2/eppic_scripts/unix_sk_buff_3_10_to_4_8.c makedumpfile-1.7.2/eppic_scripts/vhost_net_buffers_3_10_to_3_18.c makedumpfile-1.7.2/eppic_scripts/vhost_net_buffers_3_19_to_4_8.c makedumpfile-1.7.2/eppic_scripts/vhost_scsi_buffers_3_10_to_4_8.c makedumpfile-1.7.2/erase_info.c makedumpfile-1.7.2/erase_info.h makedumpfile-1.7.2/extension_eppic.c makedumpfile-1.7.2/extension_eppic.h makedumpfile-1.7.2/makedumpfile-R.pl makedumpfile-1.7.2/makedumpfile.8.in makedumpfile-1.7.2/makedumpfile.c makedumpfile-1.7.2/makedumpfile.conf makedumpfile-1.7.2/makedumpfile.conf.5.in makedumpfile-1.7.2/makedumpfile.h makedumpfile-1.7.2/makedumpfile.spec makedumpfile-1.7.2/print_info.c makedumpfile-1.7.2/print_info.h makedumpfile-1.7.2/printk.c makedumpfile-1.7.2/sadump_info.c makedumpfile-1.7.2/sadump_info.h makedumpfile-1.7.2/sadump_mod.h makedumpfile-1.7.2/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 Hunk #1 succeeded at 68 (offset 1 line). + 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.25-Add-LoongArch-support.patch):' Patch #603 (kexec-tools-2.0.25-Add-LoongArch-support.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file config/config.guess Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file config/config.guess.rej patching file config/config.sub Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file config/config.sub.rej patching file configure Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file configure.rej patching file configure.ac Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file configure.ac.rej patching file include/elf.h Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file include/elf.h.rej patching file include/image.h Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file include/image.h.rej patching file kexec/Makefile Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file kexec/Makefile.rej The next patch would create the file kexec/arch/loongarch/Makefile, which already exists! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored The next patch would create the file kexec/arch/loongarch/crashdump-loongarch.c, which already exists! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored The next patch would create the file kexec/arch/loongarch/crashdump-loongarch.h, which already exists! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored The next patch would create the file kexec/arch/loongarch/image-header.h, which already exists! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored The next patch would create the file kexec/arch/loongarch/include/arch/options.h, which already exists! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored patching file kexec/arch/loongarch/iomem.h The next patch would create the file kexec/arch/loongarch/kexec-elf-loongarch.c, which already exists! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored The next patch would create the file kexec/arch/loongarch/kexec-elf-rel-loongarch.c, which already exists! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored The next patch would create the file kexec/arch/loongarch/kexec-loongarch.c, which already exists! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored The next patch would create the file kexec/arch/loongarch/kexec-loongarch.h, which already exists! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored The next patch would create the file kexec/arch/loongarch/kexec-pei-loongarch.c, which already exists! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored patching file kexec/kexec-syscall.h Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 4 out of 4 hunks ignored -- saving rejects to file kexec/kexec-syscall.h.rej patching file kexec/kexec.c Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file kexec/kexec.c.rej patching file kexec/kexec.h Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file kexec/kexec.h.rej patching file purgatory/Makefile Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file purgatory/Makefile.rej The next patch would create the file purgatory/arch/loongarch/Makefile, which already exists! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored The next patch would create the file purgatory/arch/loongarch/console-loongarch.c, which already exists! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored The next patch would create the file purgatory/arch/loongarch/purgatory-loongarch.c, which already exists! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored The next patch would create the file purgatory/arch/loongarch/purgatory-loongarch.h, which already exists! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.HQ96rj (%prep) Bad exit status from /var/tmp/rpm-tmp.HQ96rj (%prep) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --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: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/kexec-tools.spec