er elf_begin accepts ELF_C_READ_MMAP... yes checking whether elf_hash takes a char* argument... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for uid_t in sys/types.h... yes checking for inline... inline checking for pid_t... yes checking for size_t... yes checking size of long... 8 checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for alarm... yes checking for atexit... yes checking for gettimeofday... yes checking for memset... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strsignal... yes checking for strtol... yes checking for strtoul... yes checking for open_memstream... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking for getopt_long... yes checking whether to enable debugging... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating sysdeps/Makefile config.status: creating sysdeps/linux-gnu/Makefile config.status: creating sysdeps/linux-gnu/aarch64/Makefile config.status: creating sysdeps/linux-gnu/alpha/Makefile config.status: creating sysdeps/linux-gnu/arm/Makefile config.status: creating sysdeps/linux-gnu/cris/Makefile config.status: creating sysdeps/linux-gnu/ia64/Makefile config.status: creating sysdeps/linux-gnu/m68k/Makefile config.status: creating sysdeps/linux-gnu/metag/Makefile config.status: creating sysdeps/linux-gnu/mips/Makefile config.status: creating sysdeps/linux-gnu/ppc/Makefile config.status: creating sysdeps/linux-gnu/s390/Makefile config.status: creating sysdeps/linux-gnu/sparc/Makefile config.status: creating sysdeps/linux-gnu/x86/Makefile config.status: creating testsuite/Makefile config.status: creating testsuite/ltrace.main/Makefile config.status: creating testsuite/ltrace.minor/Makefile config.status: creating testsuite/ltrace.torture/Makefile config.status: creating config.h config.status: executing libtool commands config.status: executing depfiles commands + /usr/bin/make -O -j4 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in sysdeps Making all in linux-gnu Making all in riscv64 /bin/sh: line 20: cd: riscv64: No such file or directory make[3]: *** [Makefile:504: all-recursive] Error 1 make[2]: *** [Makefile:395: all-recursive] Error 1 make[1]: *** [Makefile:871: all-recursive] Error 1 make: *** [Makefile:545: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.PP4IUN (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.PP4IUN (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, 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 riscv64 --nodeps /builddir/build/SPECS/ltrace.spec