Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ltrace.spec'], chrootPath='/var/lib/mock/f31-build-108121-33725/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ltrace.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1563840000 Wrote: /builddir/build/SRPMS/ltrace-0.7.91-35.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ltrace.spec'], chrootPath='/var/lib/mock/f31-build-108121-33725/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ltrace.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1563840000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.0HVfxw + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ltrace-0.7.91 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/ltrace-0.7.91.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ltrace-0.7.91 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (ltrace-0.7.91-arm.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #1 (ltrace-0.7.91-account_execl.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #2 (ltrace-0.7.91-x86_64-irelative.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #3 (ltrace-0.7.91-s390-fetch-syscall.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #4 (ltrace-0.7.91-s390-irelative.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #5 (ltrace-0.7.91-ppc64-fork.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #6 (ltrace-0.7.91-breakpoint-on_install.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #7 (ltrace-0.7.91-ppc64-unprelink.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #8 (ltrace-0.7.91-man.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #9 (ltrace-0.7.91-cant_open.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #10 (ltrace-0.7.91-aarch64.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #11 (ltrace-0.7.2-e_machine.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #13 (ltrace-0.7.91-ppc64le-support.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #14 (ltrace-0.7.91-ppc64le-fixes.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #15 (ltrace-0.7.91-parser-ws_after_id.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #16 (ltrace-0.7.91-ppc-bias.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #17 (ltrace-0.7.91-x86-plt_map.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #18 (ltrace-0.7.91-x86-unused_label.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #19 (ltrace-0.7.91-unwind-elfutils.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #20 (ltrace-0.7.91-multithread-no-f-1.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 Patch #0 (ltrace-0.7.91-arm.patch): patching file ltrace-elf.c patching file ltrace-elf.h patching file sysdeps/linux-gnu/arm/arch.h patching file sysdeps/linux-gnu/arm/fetch.c patching file sysdeps/linux-gnu/arm/plt.c patching file sysdeps/linux-gnu/ppc/plt.c Patch #1 (ltrace-0.7.91-account_execl.patch): patching file Makefile.am patching file common.h patching file forward.h patching file handle_event.c patching file libltrace.c Hunk #1 succeeded at 31 (offset -1 lines). patching file options.h patching file output.c patching file output.h patching file proc.h patching file summary.c patching file summary.h patching file testsuite/ltrace.minor/trace-exec.exp Patch #2 (ltrace-0.7.91-x86_64-irelative.patch): patching file sysdeps/linux-gnu/x86/arch.h patching file sysdeps/linux-gnu/x86/plt.c Patch #3 (ltrace-0.7.91-s390-fetch-syscall.patch): patching file sysdeps/linux-gnu/s390/fetch.c Patch #4 (ltrace-0.7.91-s390-irelative.patch): patching file sysdeps/linux-gnu/s390/arch.h patching file sysdeps/linux-gnu/s390/plt.c Patch #5 (ltrace-0.7.91-ppc64-fork.patch): patching file sysdeps/linux-gnu/ppc/plt.c Patch #6 (ltrace-0.7.91-breakpoint-on_install.patch): patching file breakpoint.h patching file breakpoints.c Patch #7 (ltrace-0.7.91-ppc64-unprelink.patch): patching file sysdeps/linux-gnu/ppc/arch.h patching file sysdeps/linux-gnu/ppc/plt.c Patch #8 (ltrace-0.7.91-man.patch): patching file options.c patching file ltrace.1 Patch #9 (ltrace-0.7.91-cant_open.patch): patching file libltrace.c patching file ltrace-elf.c Patch #10 (ltrace-0.7.91-aarch64.patch): patching file README patching file configure.ac Hunk #2 succeeded at 346 (offset -53 lines). patching file etc/libc.so.conf Hunk #2 succeeded at 238 (offset -2 lines). Hunk #3 succeeded at 361 (offset -2 lines). patching file etc/syscalls.conf patching file sysdeps/linux-gnu/Makefile.am patching file sysdeps/linux-gnu/aarch64/Makefile.am patching file sysdeps/linux-gnu/aarch64/arch.h patching file sysdeps/linux-gnu/aarch64/fetch.c patching file sysdeps/linux-gnu/aarch64/plt.c patching file sysdeps/linux-gnu/aarch64/ptrace.h patching file sysdeps/linux-gnu/aarch64/regs.c patching file sysdeps/linux-gnu/aarch64/signalent.h patching file sysdeps/linux-gnu/aarch64/syscallent.h patching file sysdeps/linux-gnu/aarch64/trace.c patching file testsuite/ltrace.main/system_call_params.exp patching file testsuite/ltrace.main/system_calls.c patching file testsuite/ltrace.main/system_calls.exp patching file testsuite/ltrace.minor/trace-clone.c Patch #11 (ltrace-0.7.2-e_machine.patch): patching file proc.c Hunk #1 succeeded at 220 (offset 26 lines). Patch #13 (ltrace-0.7.91-ppc64le-support.patch): patching file ltrace-elf.c patching file ltrace-elf.h patching file sysdeps/linux-gnu/ppc/arch.h patching file sysdeps/linux-gnu/ppc/fetch.c patching file sysdeps/linux-gnu/ppc/plt.c patching file sysdeps/linux-gnu/ppc/trace.c patching file sysdeps/linux-gnu/ppc/trace.c patching file configure Hunk #2 succeeded at 12088 (offset -6 lines). Patch #14 (ltrace-0.7.91-ppc64le-fixes.patch): patching file sysdeps/linux-gnu/ppc/arch.h patching file sysdeps/linux-gnu/ppc/fetch.c Patch #15 (ltrace-0.7.91-parser-ws_after_id.patch): patching file read_config_file.c Hunk #3 succeeded at 1076 (offset -2 lines). Hunk #4 succeeded at 1106 (offset -9 lines). Hunk #5 succeeded at 1127 (offset -8 lines). patching file testsuite/ltrace.main/parameters2.exp Patch #16 (ltrace-0.7.91-ppc-bias.patch): patching file sysdeps/linux-gnu/ppc/plt.c Patch #17 (ltrace-0.7.91-x86-plt_map.patch): patching file sysdeps/linux-gnu/x86/plt.c Patch #18 (ltrace-0.7.91-x86-unused_label.patch): patching file sysdeps/linux-gnu/x86/plt.c Patch #19 (ltrace-0.7.91-unwind-elfutils.patch): patching file configure.ac patching file ltrace.1 patching file Makefile.am patching file options.c patching file options.h patching file output.c patching file proc.c patching file proc.h patching file proc.c Patch #20 (ltrace-0.7.91-multithread-no-f-1.patch): patching file testsuite/ltrace.main/Makefile.am BUILDSTDERR: patching file testsuite/ltrace.main/main-threade+ echo 'Patch #21 (ltrace-0.7.91-multithread-no-f-2.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #22 (ltrace-0.7.91-testsuite-includes.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #23 (ltrace-0.7.91-testsuite-includes-2.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #24 (ltrace-0.7.91-ppc64le-configure.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #25 (ltrace-rh1307754.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #26 (ltrace-0.7.91-tautology.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #27 (ltrace-rh1423913.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #28 (ltrace-0.7.91-aarch64-params.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #29 (ltrace-0.7.91-null.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #30 (ltrace-0.7.91-cet.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #31 (ltrace-0.7.91-aarch64-headers.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #32 (ltrace-rh1225568.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #33 (ltrace-0.7.91-testsuite-system_call_params.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #34 (ltrace-0.7.91-XDG_CONFIG_DIRS.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 d.c patching file testsuite/ltrace.main/main-threaded.exp Patch #21 (ltrace-0.7.91-multithread-no-f-2.patch): patching file handle_event.c patching file testsuite/ltrace.main/main-threaded.exp Patch #22 (ltrace-0.7.91-testsuite-includes.patch): patching file testsuite/ltrace.main/filters.exp patching file testsuite/ltrace.main/main-internal.exp patching file testsuite/ltrace.main/parameters.c patching file testsuite/ltrace.main/parameters2.exp patching file testsuite/ltrace.main/parameters3.exp patching file testsuite/ltrace.main/system_call_params.exp patching file testsuite/ltrace.minor/attach-process.exp patching file testsuite/ltrace.minor/libdl-simple.c patching file testsuite/ltrace.minor/time-record.c patching file testsuite/ltrace.minor/trace-clone.c patching file testsuite/ltrace.minor/trace-fork.c patching file testsuite/ltrace.torture/vfork-thread.c Patch #23 (ltrace-0.7.91-testsuite-includes-2.patch): patching file testsuite/ltrace.main/signals.c patching file testsuite/ltrace.torture/signals.c Patch #24 (ltrace-0.7.91-ppc64le-configure.patch): patching file configure.ac Patch #25 (ltrace-rh1307754.patch): patching file testsuite/ltrace.main/system_calls.exp Patch #26 (ltrace-0.7.91-tautology.patch): patching file filter.c patching file sysdeps/linux-gnu/proc.c patching file sysdeps/linux-gnu/x86/fetch.c patching file sysdeps/linux-gnu/x86/trace.c patching file value.c Patch #27 (ltrace-rh1423913.patch): patching file sysdeps/linux-gnu/arm/trace.c Patch #28 (ltrace-0.7.91-aarch64-params.patch): patching file sysdeps/linux-gnu/aarch64/fetch.c patching file testsuite/ltrace.main/system_call_params.exp Patch #29 (ltrace-0.7.91-null.patch): patching file output.c Patch #30 (ltrace-0.7.91-cet.patch): patching file ltrace-elf.c patching file ltrace-elf.h patching file sysdeps/linux-gnu/x86/plt.c Patch #31 (ltrace-0.7.91-aarch64-headers.patch): patching file sysdeps/linux-gnu/aarch64/regs.c patching file sysdeps/linux-gnu/aarch64/trace.c Patch #32 (ltrace-rh1225568.patch): patching file testsuite/ltrace.minor/trace-irelative.exp Patch #33 (ltrace-0.7.91-testsuite-system_call_params.patch): patching file testsuite/Makefile.am patching file testsuite/Makefile.in patching file testsuite/ltrace.main/system_call_params.exp Patch #34 (ltrace-0.7.91-XDG_CONFIG_DIRS.patch): patching file options.c patching file options.h patching file sysdeps/linux-gnu/hooks.c patching file testsuite/ltrace.main/XDG_CONFIG_DIRS.exp Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.x7BJqv + umask 022 + cd /builddir/build/BUILD + cd ltrace-0.7.91 + autoreconf -i BUILDSTDERR: configure.ac:55: installing 'config/autoconf/compile' + 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/autoconf/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config/autoconf/config.guess BUILDSTDERR: ++ basename ./config/autoconf/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config/autoconf/config.guess + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config/autoconf/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config/autoconf/config.sub BUILDSTDERR: ++ basename ./config/autoconf/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config/autoconf/config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./config/autoconf/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 --docdir=/usr/share/doc/ltrace libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config/autoconf'. libtoolize: copying file 'config/autoconf/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'config/m4'. libtoolize: copying file 'config/m4/libtool.m4' libtoolize: copying file 'config/m4/ltoptions.m4' libtoolize: copying file 'config/m4/ltversion.m4' '/usr/lib/rpm/redhat/config.guess' -> './config/autoconf/config.guess' '/usr/lib/rpm/redhat/config.sub' -> './config/autoconf/config.sub' checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu 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 whether gcc understands -c and -o together... yes checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for gawk... gawk checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes BUILDSTDERR: checking for a BSD-compatible inst/builddir/build/BUILD/ltrace-0.7.91/config/autoconf/missing: Unknown `--is-lightweight' option BUILDSTDERR: Try `/builddir/build/BUILD/ltrace-0.7.91/config/autoconf/missing --help' for more information BUILDSTDERR: configure: WARNING: 'missing' script is too old or missing all... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) checking whether make supports nested variables... yes checking dependency style of gcc... none checking whether to enable maintainer-specific portions of Makefiles... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking elf.h usability... yes checking elf.h presence... yes checking for elf.h... yes checking gelf.h usability... yes checking gelf.h presence... yes checking for gelf.h... yes checking for elf_begin in -lelf... yes checking for cplus_demangle in -liberty... no checking for __cxa_demangle in -lsupc++... no checking for __cxa_demangle in -lstdc++... yes checking selinux/selinux.h usability... yes checking selinux/selinux.h presence... yes checking for selinux/selinux.h... yes checking for security_get_boolean_active in -lselinux... yes checking elfutils/libdwfl.h usability... yes checking elfutils/libdwfl.h presence... yes checking for elfutils/libdwfl.h... yes checking for dwfl_getthread_frames in -ldw... yes checking whether to use elfutils libdwfl unwinding support... yes checking libunwind.h usability... no checking libunwind.h presence... no checking for libunwind.h... no checking libunwind-ptrace.h usability... no checking libunwind-ptrace.h presence... no checking for libunwind-ptrace.h... no checking whether to use libunwind support... no checking whether 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 BUILDSTDERR: config.stat+ make -j4 BUILDSTDERR: /bin/sh: line 20: cd: riscv64: No such file or directory BUILDSTDERR: make[3]: *** [Makefile:504: all-recursive] Error 1 BUILDSTDERR: make[2]: *** [Makefile:395: all-recursive] Error 1 BUILDSTDERR: make[1]: *** [Makefile:871: all-recursive] Error 1 BUILDSTDERR: make: *** [Makefile:545: all] Error 2 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.x7BJqv (%build) us: 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 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/ltrace-0.7.91' Making all in sysdeps make[2]: Entering directory '/builddir/build/BUILD/ltrace-0.7.91/sysdeps' Making all in linux-gnu make[3]: Entering directory '/builddir/build/BUILD/ltrace-0.7.91/sysdeps/linux-gnu' Making all in riscv64 make[3]: Leaving directory '/builddir/build/BUILD/ltrace-0.7.91/sysdeps/linux-gnu' make[2]: Leaving directory '/builddir/build/BUILD/ltrace-0.7.91/sysdeps' make[1]: Leaving directory '/builddir/build/BUILD/ltrace-0.7.91' RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.x7BJqv (%build) 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 700, 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/ltrace.spec