Mock Version: 2.10 Mock Version: 2.10 Mock Version: 2.10 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/kexec-tools.spec'], chrootPath='/var/lib/mock/dist-an23-riscv64-build-117799-45919/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=2592000uid=991gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9g6ouuv3:/etc/resolv.conf', '--bind=/dev/btrfs-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.9g6ouuv3:/etc/resolv.conf', '--bind=/dev/btrfs-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', '14da7cbdd44d4168891fb70596b1332a', '-D', '/var/lib/mock/dist-an23-riscv64-build-117799-45919/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9g6ouuv3:/etc/resolv.conf', '--bind=/dev/btrfs-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', '--console=pipe', '--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 --target riscv64 --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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1644796800 Wrote: /builddir/build/SRPMS/kexec-tools-2.0.23-1.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/kexec-tools.spec'], chrootPath='/var/lib/mock/dist-an23-riscv64-build-117799-45919/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=2592000uid=991gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9g6ouuv3:/etc/resolv.conf', '--bind=/dev/btrfs-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.9g6ouuv3:/etc/resolv.conf', '--bind=/dev/btrfs-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', 'b66108b1571d4bffbce196a499e24f18', '-D', '/var/lib/mock/dist-an23-riscv64-build-117799-45919/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9g6ouuv3:/etc/resolv.conf', '--bind=/dev/btrfs-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', '--console=pipe', '--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 --target riscv64 --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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1644796800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.YJC52A + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf kexec-tools-2.0.23 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/kexec-tools-2.0.23.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd kexec-tools-2.0.23 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mkdir -p -m755 kcp + tar -z -x -v -f /builddir/build/SOURCES/makedumpfile-1.7.0.tar.gz makedumpfile-1.7.0/ makedumpfile-1.7.0/.gitignore makedumpfile-1.7.0/COPYING makedumpfile-1.7.0/IMPLEMENTATION makedumpfile-1.7.0/Makefile makedumpfile-1.7.0/README makedumpfile-1.7.0/arch/ makedumpfile-1.7.0/arch/arm.c makedumpfile-1.7.0/arch/arm64.c makedumpfile-1.7.0/arch/ia64.c makedumpfile-1.7.0/arch/mips64.c makedumpfile-1.7.0/arch/ppc.c makedumpfile-1.7.0/arch/ppc64.c makedumpfile-1.7.0/arch/s390x.c makedumpfile-1.7.0/arch/sparc64.c makedumpfile-1.7.0/arch/x86.c makedumpfile-1.7.0/arch/x86_64.c makedumpfile-1.7.0/cache.c makedumpfile-1.7.0/cache.h makedumpfile-1.7.0/common.h makedumpfile-1.7.0/diskdump_mod.h makedumpfile-1.7.0/dwarf_info.c makedumpfile-1.7.0/dwarf_info.h makedumpfile-1.7.0/elf_info.c makedumpfile-1.7.0/elf_info.h makedumpfile-1.7.0/eppic_scripts/ makedumpfile-1.7.0/eppic_scripts/README makedumpfile-1.7.0/eppic_scripts/ap_messages_3_10_to_4_8.c makedumpfile-1.7.0/eppic_scripts/dir_names_3_10_to_3_13.c makedumpfile-1.7.0/eppic_scripts/dir_names_3_14_to_4_8.c makedumpfile-1.7.0/eppic_scripts/keyring_3_10_to_4_3.c makedumpfile-1.7.0/eppic_scripts/keyring_4_4_to_4_8.c makedumpfile-1.7.0/eppic_scripts/proc_names_3_10_to_4_8.c makedumpfile-1.7.0/eppic_scripts/tcp_sk_buf_3_10_to_4_8.c makedumpfile-1.7.0/eppic_scripts/udp_sk_buf_3_10_to_4_8.c makedumpfile-1.7.0/eppic_scripts/unix_sk_buff_3_10_to_4_8.c makedumpfile-1.7.0/eppic_scripts/vhost_net_buffers_3_10_to_3_18.c makedumpfile-1.7.0/eppic_scripts/vhost_net_buffers_3_19_to_4_8.c makedumpfile-1.7.0/eppic_scripts/vhost_scsi_buffers_3_10_to_4_8.c makedumpfile-1.7.0/erase_info.c makedumpfile-1.7.0/erase_info.h makedumpfile-1.7.0/extension_eppic.c makedumpfile-1.7.0/extension_eppic.h makedumpfile-1.7.0/makedumpfile-R.pl makedumpfile-1.7.0/makedumpfile.8 makedumpfile-1.7.0/makedumpfile.c makedumpfile-1.7.0/makedumpfile.conf makedumpfile-1.7.0/makedumpfile.conf.5 makedumpfile-1.7.0/makedumpfile.h makedumpfile-1.7.0/makedumpfile.spec makedumpfile-1.7.0/print_info.c makedumpfile-1.7.0/print_info.h makedumpfile-1.7.0/printk.c makedumpfile-1.7.0/sadump_info.c makedumpfile-1.7.0/sadump_info.h makedumpfile-1.7.0/sadump_mod.h makedumpfile-1.7.0/tools.c + tar -z -x -v -f /builddir/build/SOURCES/eppic-e8844d3.tar.gz eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/ eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/_config.yml eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/applications/ eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/applications/crash/ eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/applications/crash/README.code eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/applications/crash/code/ eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/applications/crash/code/idr.c eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/applications/crash/code/include/ eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/applications/crash/code/include/idr.h eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/applications/crash/code/include/ipc/ eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/applications/crash/code/include/ipc/util.h eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/applications/crash/code/include/ipc/~util.h eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/applications/crash/code/include/ipcs.h eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/applications/crash/code/include/kernel.h eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/applications/crash/code/include/list.h eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/applications/crash/code/include/page.h eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/applications/crash/code/include/rculist.h eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/applications/crash/code/include/shm.h eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/applications/crash/code/include/stddef.h eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/applications/crash/code/ipcs.c eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/applications/crash/code/msg.c eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/applications/crash/code/sem.c eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/applications/crash/code/shm.c eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/applications/crash/code/util.c eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/applications/crash/eppic.c eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/applications/crash/eppic.mk eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/ eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/Makefile eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/README eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic-lsed eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic.h eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic.l eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic.y eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_alloc.c eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_api.c eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_api.h eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_builtin.c eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_case.c eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_define.c eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_func.c eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_input.c eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_member.c eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_node.c eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_num.c eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_op.c eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_print.c eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_stat.c eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_str.c eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_type.c eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_util.c eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_var.c eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppicpp-lsed eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppicpp.l eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppicpp.y eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/mkbaseop.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.CuGQj9 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/kexec-tools-2.0.23/.package_note-kexec-tools-2.0.23-1.an23.riscv64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' -f /usr/lib/rpm/generate-rpm-note.sh ']' + /usr/lib/rpm/generate-rpm-note.sh kexec-tools 2.0.23-1.an23 riscv64 cat: /usr/lib/system-release-cpe: No such file or directory + cd kexec-tools-2.0.23 + autoreconf configure.ac:92: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:92: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:92: the top level configure.ac:96: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:96: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:96: the top level configure.ac:100: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:100: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:100: the top level configure.ac:103: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:103: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:103: the top level configure.ac:106: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:106: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:106: the top level configure.ac:110: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:110: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:110: the top level configure.ac:242: warning: AC_OUTPUT should be used without arguments. configure.ac:242: You should run autoupdate. + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/kexec-tools-2.0.23/.package_note-kexec-tools-2.0.23-1.an23.riscv64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 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.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' + 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' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-linux-gnu --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 riscv64-koji-linux-gnu-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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking build system type... riscv64-koji-linux-gnu checking host system type... riscv64-koji-linux-gnu checking target system type... riscv64-koji-linux-gnu configure: error: unsupported architecture riscv64 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.CuGQj9 (%build) Bad exit status from /var/tmp/rpm-tmp.CuGQj9 (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/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: # /usr/bin/systemd-nspawn -q -M b66108b1571d4bffbce196a499e24f18 -D /var/lib/mock/dist-an23-riscv64-build-117799-45919/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.9g6ouuv3:/etc/resolv.conf --bind=/dev/btrfs-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 --console=pipe --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 --target riscv64 --nodeps /builddir/build/SPECS/kexec-tools.spec