Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/kexec-tools.spec'], chrootPath='/var/lib/mock/dist-an8.7-build-263831-63945/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --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: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/kexec-tools-2.0.25-5.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/kexec-tools.spec'], chrootPath='/var/lib/mock/dist-an8.7-build-263831-63945/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --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: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.PN9cC1 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf kexec-tools-2.0.25 + /usr/bin/xz -dc /builddir/build/SOURCES/kexec-tools-2.0.25.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd kexec-tools-2.0.25 + /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 Patch #602 (rhelonly-kexec-tools-2.0.18-eppic-fix-issues-with-hardening-flags.patch): + echo '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 #701 (rhelonly-kexec-tools-2.0.20-makedumpfile-arm64-Add-support-for-ARMv8.2-LVA-52-bi.patch):' Patch #701 (rhelonly-kexec-tools-2.0.20-makedumpfile-arm64-Add-support-for-ARMv8.2-LVA-52-bi.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file makedumpfile-1.7.1/arch/arm64.c patching file makedumpfile-1.7.1/makedumpfile.c Hunk #1 succeeded at 2485 (offset 68 lines). Hunk #2 succeeded at 2932 (offset 68 lines). patching file makedumpfile-1.7.1/makedumpfile.h + echo 'Patch #702 (kexec-tools-2.0.24-makedumpfile-Avoid_false_positive_mem_section_validation_with_vmlinux.patch):' Patch #702 (kexec-tools-2.0.24-makedumpfile-Avoid_false_positive_mem_section_validation_with_vmlinux.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 (Patch is indented 1 space.) patching file makedumpfile-1.7.1/makedumpfile.c Hunk #1 succeeded at 3700 (offset 2 lines). Hunk #2 succeeded at 3728 (offset 2 lines). + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.SALL78 + umask 022 + cd /builddir/build/BUILD + cd kexec-tools-2.0.25 + autoreconf + CFLAGS='-O2 -g' + export CFLAGS + CXXFLAGS='-O2 -g' + export CXXFLAGS + FFLAGS='-O2 -g -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config/config.guess ++ basename ./config/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config/config.guess '/usr/lib/rpm/redhat/config.guess' -> './config/config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config/config.sub ++ basename ./config/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config/config.sub '/usr/lib/rpm/redhat/config.sub' -> './config/config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=loongarch64-Anolis-linux --host=loongarch64-Anolis-linux --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --sbindir=/usr/sbin configure: WARNING: unrecognized options: --disable-dependency-tracking checking for loongarch64-Anolis-linux-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking build system type... loongarch64-Anolis-linux-gnu checking host system type... loongarch64-Anolis-linux-gnu checking target system type... loongarch64-Anolis-linux-gnu configure: error: unsupported architecture loongarch64 error: Bad exit status from /var/tmp/rpm-tmp.SALL78 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.SALL78 (%build) Child return code was: 1 EXCEPTION: [Error()] 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 600, 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 --target loongarch64 --nodeps /builddir/build/SPECS/kexec-tools.spec