Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/kexec-tools.spec'], chrootPath='/var/lib/mock/f31-build-67004-29955/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=432000uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564012800 Wrote: /builddir/build/SRPMS/kexec-tools-2.0.19-3.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/kexec-tools.spec'], chrootPath='/var/lib/mock/f31-build-67004-29955/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=432000uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564012800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.BkcR4w + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf kexec-tools-2.0.19 + /usr/bin/xz -dc /builddir/build/SOURCES/kexec-tools-2.0.19.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd kexec-tools-2.0.19 + /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.6.5.tar.gz + tar -z -x -v -f /builddir/build/SOURCES/eppic-d84c354.tar.gz makedumpfile-1.6.5/ makedumpfile-1.6.5/.gitignore makedumpfile-1.6.5/COPYING makedumpfile-1.6.5/IMPLEMENTATION makedumpfile-1.6.5/Makefile makedumpfile-1.6.5/README makedumpfile-1.6.5/arch/ makedumpfile-1.6.5/arch/arm.c makedumpfile-1.6.5/arch/arm64.c makedumpfile-1.6.5/arch/ia64.c makedumpfile-1.6.5/arch/ppc.c makedumpfile-1.6.5/arch/ppc64.c makedumpfile-1.6.5/arch/s390x.c makedumpfile-1.6.5/arch/sparc64.c makedumpfile-1.6.5/arch/x86.c makedumpfile-1.6.5/arch/x86_64.c makedumpfile-1.6.5/cache.c makedumpfile-1.6.5/cache.h makedumpfile-1.6.5/common.h makedumpfile-1.6.5/diskdump_mod.h makedumpfile-1.6.5/dwarf_info.c makedumpfile-1.6.5/dwarf_info.h makedumpfile-1.6.5/elf_info.c makedumpfile-1.6.5/elf_info.h makedumpfile-1.6.5/eppic_scripts/ makedumpfile-1.6.5/eppic_scripts/README makedumpfile-1.6.5/eppic_scripts/ap_messages_3_10_to_4_8.c makedumpfile-1.6.5/eppic_scripts/dir_names_3_10_to_3_13.c makedumpfile-1.6.5/eppic_scripts/dir_names_3_14_to_4_8.c makedumpfile-1.6.5/eppic_scripts/keyring_3_10_to_4_3.c makedumpfile-1.6.5/eppic_scripts/keyring_4_4_to_4_8.c makedumpfile-1.6.5/eppic_scripts/proc_names_3_10_to_4_8.c makedumpfile-1.6.5/eppic_scripts/tcp_sk_buf_3_10_to_4_8.c makedumpfile-1.6.5/eppic_scripts/udp_sk_buf_3_10_to_4_8.c makedumpfile-1.6.5/eppic_scripts/unix_sk_buff_3_10_to_4_8.c makedumpfile-1.6.5/eppic_scripts/vhost_net_buffers_3_10_to_3_18.c makedumpfile-1.6.5/eppic_scripts/vhost_net_buffers_3_19_to_4_8.c makedumpfile-1.6.5/eppic_scripts/vhost_scsi_buffers_3_10_to_4_8.c makedumpfile-1.6.5/erase_info.c makedumpfile-1.6.5/erase_info.h makedumpfile-1.6.5/extension_eppic.c makedumpfile-1.6.5/extension_eppic.h makedumpfile-1.6.5/makedumpfile-R.pl makedumpfile-1.6.5/makedumpfile.8 makedumpfile-1.6.5/makedumpfile.c makedumpfile-1.6.5/makedumpfile.conf makedumpfile-1.6.5/makedumpfile.conf.5 makedumpfile-1.6.5/makedumpfile.h makedumpfile-1.6.5/makedumpfile.spec makedumpfile-1.6.5/print_info.c makedumpfile-1.6.5/print_info.h makedumpfile-1.6.5/sadump_info.c makedumpfile-1.6.5/sadump_info.h makedumpfile-1.6.5/sadump_mod.h makedumpfile-1.6.5/tools.c eppic-d84c3541035d95077aa8571f5d5c3e07c6ef510b/ eppic-d84c3541035d95077aa8571f5d5c3e07c6ef510b/_config.yml eppic-d84c3541035d95077aa8571f5d5c3e07c6ef510b/applications/ eppic-d84c3541035d95077aa8571f5d5c3e07c6ef510b/applications/crash/ eppic-d84c3541035d95077aa8571f5d5c3e07c6ef510b/applications/crash/README.code eppic-d84c3541035d95077aa8571f5d5c3e07c6ef510b/applications/crash/code/ eppic-d84c3541035d95077aa8571f5d5c3e07c6ef510b/applications/crash/code/idr.c eppic-d84c3541035d95077aa8571f5d5c3e07c6ef510b/applications/crash/code/include/ eppic-d84c3541035d95077aa8571f5d5c3e07c6ef510b/applications/crash/code/include/idr.h eppic-d84c3541035d95077aa8571f5d5c3e07c6ef510b/applications/crash/code/include/ipc/ eppic-d84c3541035d95077aa8571f5d5c3e07c6ef510b/applications/crash/code/include/ipc/util.h eppic-d84c3541035d95077aa8571f5d5c3e07c6ef510b/applications/crash/code/include/ipc/~util.h eppic-d84c3541035d95077aa8571f5d5c3e07c6ef510b/applications/crash/code/include/ipcs.h eppic-d84c3541035d95077aa8571f5d5c3e07c6ef510b/applications/crash/code/include/kernel.h eppic-d84c3541035d95077aa8571f5d5c3e07c6ef510b/applications/crash/code/include/list.h eppic-d84c3541035d95077aa8571f5d5c3e07c6ef510b/applications/crash/code/include/page.h eppic-d84c3541035d95077aa8571f5d5c3e07c6ef510b/applications/crash/code/include/rculist.h eppic-d84c3541035d95077aa8571f5d5c3e07c6ef510b/applications/crash/code/include/shm.h eppic-d84c3541035d95077aa8571f5d5c3e07c6ef510b/applications/crash/code/include/stddef.h eppic-d84c3541035d95077aa8571f5d5c3e07c6ef510b/applications/crash/code/ipcs.c eppic-d84c3541035d95077aa8571f5d5c3e07c6ef510b/applications/crash/code/msg.c eppic-d84c3541035d95077aa8571f5d5c3e07c6ef510b/applications/crash/code/sem.c eppic-d84c3541035d95077aa8571f5d5c3e07c6ef510b/applications/crash/code/shm.c eppic-d84c3541035d95077aa8571f5d5c3e07c6ef510b/applications/crash/code/util.c eppic-d84c3541035d95077aa8571f5d5c3e07c6ef510b/applications/crash/eppic.c eppic-d84c3541035d95077aa8571f5d5c3e07c6ef510b/applications/crash/eppic.mk eppic-d84c3541035d95077aa8571f5d5c3e07c6ef510b/libeppic/ eppic-d84c3541035d95077aa8571f5d5c3e07c6ef510b/libeppic/Makefile eppic-d84c3541035d95077aa8571f5d5c3e07c6ef510b/libeppic/README eppic-d84c3541035d95077aa8571f5d5c3e07c6ef510b/libeppic/eppic-lsed eppic-d84c3541035d95077aa8571f5d5c3e07c6ef510b/libeppic/eppic.h eppic-d84c3541035d95077aa8571f5d5c3e07c6ef510b/libeppic/eppic.l eppic-d84c3541035d95077aa8571f5d5c3e07c6ef510b/libeppic/eppic.y eppic-d84c3541035d95077aa8571f5d5c3e07c6ef510b/libeppic/eppic_alloc.c eppic-d84c3541035d95077aa8571f5d5c3e07c6ef510b/libeppic/eppic_api.c eppic-d84c3541035d95077aa8571f5d5c3e07c6ef510b/libeppic/eppic_api.h eppic-d84c3541035d95077aa8571f5d5c3e07c6ef510b/libeppic/eppic_builtin.c eppic-d84c3541035d95077aa8571f5d5c3e07c6ef510b/libeppic/eppic_case.c eppic-d84c3541035d95077aa8571f5d5c3e07c6ef510b/libeppic/eppic_define.c eppic-d84c3541035d95077aa8571f5d5c3e07c6ef510b/libeppic/eppic_func.c eppic-d84c3541035d95077aa8571f5d5c3e07c6ef510b/libeppic/eppic_input.c eppic-d84c3541035d95077aa8571f5d5c3e07c6ef510b/libeppic/eppic_member.c eppic-d84c3541035d95077aa8571f5d5c3e07c6ef510b/libeppic/eppic_node.c eppic-d84c3541035d95077aa8571f5d5c3e07c6ef510b/libeppic/eppic_num.c eppic-d84c3541035d95077aa8571f5d5c3e07c6ef510b/libeppic/eppic_op.c eppic-d84c3541035d95077aa8571f5d5c3e07c6ef510b/libeppic/eppic_print.c eppic-d84c3541035d95077aa8571f5d5c3e07c6ef510b/libeppic/eppic_stat.c eppic-d84c3541035d95077aa8571f5d5c3e07c6ef510b/libeppic/eppic_str.c eppic-d84c3541035d95077aa8571f5d5c3e07c6ef510b/libeppic/eppic_type.c eppic-d84c3541035d95077aa8571f5d5c3e07c6ef510b/libeppic/eppic_util.c eppic-d84c3541035d95077aa8571f5d5c3e07c6ef510b/libeppic/eppic_var.c eppic-d84c3541035d95077aa8571f5d5c3e07c6ef510b/libeppic/eppicpp-lsed eppic-d84c3541035d95077aa8571f5d5c3e07c6ef510b/libeppic/eppicpp.l eppic-d84c3541035d95077aa8571f5d5c3e07c6ef510b/libeppic/eppicpp.y eppic-d84c3541035d95077aa8571f5d5c3e07c6ef510b/libeppic/mkbaseop.c Patch #601 (kexec-tools-2.0.18-makedumpfiles-honor-the-CFLAGS-from-environment.patch): patching file makedumpfile-1.6.5/Makefile Patch #101 (kexec-tools-2.0.19-makedumpfiles-x86_64-Add-support-for-AMD-Secure-Memory-Encry.patch): patching file makedumpfile-1.6.5/arch/x86_64.c Hunk #1 succeeded at 291 (offset -6 lines). Hunk #2 succeeded at 303 (offset -6 lines). Hunk #3 succeeded at 322 (offset -6 lines). Hunk #4 succeeded at 335 (offset -6 lines). Hunk #5 succeeded at 349 (offset -6 lines). Hunk #6 succeeded at 368 (offset -6 lines). Hunk #7 succeeded at 388 (offset -6 lines). Hunk #8 succeeded at 407 (offset -6 lines). Hunk #9 succeeded at 640 (offset -6 lines). Hunk #10 succeeded at 661 (offset -6 lines). Hunk #11 succeeded at 694 (offset -6 lines). Hunk #12 succeeded at 707 (offset -6 lines). Hunk #13 succeeded at 749 (offset -6 lines). patching file makedumpfile-1.6.5/makedumpfile.c Hunk #1 succeeded at 977 (offset -16 lines). Hunk #2 succeeded at 2278 (offset -16 lines). Hunk #3 succeeded at 2675 (offset -23 lines). patching file makedumpfile-1.6.5/makedumpfile.h Hunk #1 succeeded at 1912 (offset -1 lines). Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.bN56pz + echo 'Patch #601 (kexec-tools-2.0.18-makedumpfiles-honor-the-CFLAGS-from-environment.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #101 (kexec-tools-2.0.19-makedumpfiles-x86_64-Add-support-for-AMD-Secure-Memory-Encry.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 + umask 022 + cd /builddir/build/BUILD + cd kexec-tools-2.0.19 + autoreconf + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config/config.sub BUILDSTDERR: ++ basename ./config/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config/config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config/config.guess BUILDSTDERR: ++ basename ./config/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config/config.guess + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-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=/sbin BUILDSTDERR: configure: WARNING: unrecognized options: --disable-dependency-tracking BUILDSTDERR: configure: error: unsupported architecture riscv64 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.bN56pz (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.bN56pz (%build) '/usr/lib/rpm/redhat/config.sub' -> './config/config.sub' '/usr/lib/rpm/redhat/config.guess' -> './config/config.guess' checking for riscv64-redhat-linux-gnu-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... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking target system type... riscv64-redhat-linux-gnu RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 636, in do 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 riscv64 --nodeps /builddir/build/SPECS/kexec-tools.spec