Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ltrace.spec'], chrootPath='/var/lib/mock/f33-build-444932-63332/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=987gid=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=1595894400 Wrote: /builddir/build/SRPMS/ltrace-0.7.91-39.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ltrace.spec'], chrootPath='/var/lib/mock/f33-build-444932-63332/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=987gid=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=1595894400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.FeTEZt + 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):' Patch #0 (ltrace-0.7.91-arm.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 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): + echo 'Patch #1 (ltrace-0.7.91-account_execl.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 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): + echo 'Patch #2 (ltrace-0.7.91-x86_64-irelative.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file sysdeps/linux-gnu/x86/arch.h patching file sysdeps/linux-gnu/x86/plt.c + echo 'Patch #3 (ltrace-0.7.91-s390-fetch-syscall.patch):' Patch #3 (ltrace-0.7.91-s390-fetch-syscall.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file sysdeps/linux-gnu/s390/fetch.c + echo 'Patch #4 (ltrace-0.7.91-s390-irelative.patch):' Patch #4 (ltrace-0.7.91-s390-irelative.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 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): + echo 'Patch #5 (ltrace-0.7.91-ppc64-fork.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file sysdeps/linux-gnu/ppc/plt.c Patch #6 (ltrace-0.7.91-breakpoint-on_install.patch): + echo 'Patch #6 (ltrace-0.7.91-breakpoint-on_install.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file breakpoint.h patching file breakpoints.c Patch #7 (ltrace-0.7.91-ppc64-unprelink.patch): + echo 'Patch #7 (ltrace-0.7.91-ppc64-unprelink.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file sysdeps/linux-gnu/ppc/arch.h patching file sysdeps/linux-gnu/ppc/plt.c Patch #8 (ltrace-0.7.91-man.patch): + echo 'Patch #8 (ltrace-0.7.91-man.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file options.c patching file ltrace.1 Patch #9 (ltrace-0.7.91-cant_open.patch): + echo 'Patch #9 (ltrace-0.7.91-cant_open.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file libltrace.c patching file ltrace-elf.c + echo 'Patch #10 (ltrace-0.7.91-aarch64.patch):' Patch #10 (ltrace-0.7.91-aarch64.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 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): + echo 'Patch #11 (ltrace-0.7.2-e_machine.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file proc.c Hunk #1 succeeded at 220 (offset 26 lines). + echo 'Patch #13 (ltrace-0.7.91-ppc64le-support.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 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): + echo 'Patch #14 (ltrace-0.7.91-ppc64le-fixes.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 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): + echo 'Patch #15 (ltrace-0.7.91-parser-ws_after_id.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 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): + echo 'Patch #16 (ltrace-0.7.91-ppc-bias.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file sysdeps/linux-gnu/ppc/plt.c Patch #17 (ltrace-0.7.91-x86-plt_map.patch): + echo 'Patch #17 (ltrace-0.7.91-x86-plt_map.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file sysdeps/linux-gnu/x86/plt.c Patch #18 (ltrace-0.7.91-x86-unused_label.patch): + echo 'Patch #18 (ltrace-0.7.91-x86-unused_label.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file sysdeps/linux-gnu/x86/plt.c Patch #19 (ltrace-0.7.91-unwind-elfutils.patch): + echo 'Patch #19 (ltrace-0.7.91-unwind-elfutils.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 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): + echo 'Patch #20 (ltrace-0.7.91-multithread-no-f-1.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file testsuite/ltrace.main/Makefile.am patching file testsuite/ltrace.main/main-threaded.c patching file testsuite/ltrace.main/main-threaded.exp + echo 'Patch #21 (ltrace-0.7.91-multithread-no-f-2.patch):' Patch #21 (ltrace-0.7.91-multithread-no-f-2.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file handle_event.c patching file testsuite/ltrace.main/main-threaded.exp Patch #22 (ltrace-0.7.91-testsuite-includes.patch): + echo 'Patch #22 (ltrace-0.7.91-testsuite-includes.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 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): + echo 'Patch #23 (ltrace-0.7.91-testsuite-includes-2.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file testsuite/ltrace.main/signals.c patching file testsuite/ltrace.torture/signals.c Patch #24 (ltrace-0.7.91-ppc64le-configure.patch): + echo 'Patch #24 (ltrace-0.7.91-ppc64le-configure.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file configure.ac Patch #25 (ltrace-rh1307754.patch): + echo 'Patch #25 (ltrace-rh1307754.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file testsuite/ltrace.main/system_calls.exp Patch #26 (ltrace-0.7.91-tautology.patch): + echo 'Patch #26 (ltrace-0.7.91-tautology.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 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): + echo 'Patch #27 (ltrace-rh1423913.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file sysdeps/linux-gnu/arm/trace.c Patch #28 (ltrace-0.7.91-aarch64-params.patch): + echo 'Patch #28 (ltrace-0.7.91-aarch64-params.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 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): + echo 'Patch #29 (ltrace-0.7.91-null.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file output.c Patch #30 (ltrace-0.7.91-cet.patch): + echo 'Patch #30 (ltrace-0.7.91-cet.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 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): + echo 'Patch #31 (ltrace-0.7.91-aarch64-headers.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file sysdeps/linux-gnu/aarch64/regs.c patching file sysdeps/linux-gnu/aarch64/trace.c Patch #32 (ltrace-rh1225568.patch): + echo 'Patch #32 (ltrace-rh1225568.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file testsuite/ltrace.minor/trace-irelative.exp Patch #33 (ltrace-0.7.91-testsuite-system_call_params.patch): + echo 'Patch #33 (ltrace-0.7.91-testsuite-system_call_params.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 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): + echo 'Patch #34 (ltrace-0.7.91-XDG_CONFIG_DIRS.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file options.c patching file options.h patching file sysdeps/linux-gnu/hooks.c patching file testsuite/ltrace.main/XDG_CONFIG_DIRS.exp Patch #35 (ltrace-0.7.91-rh1799619.patch): + echo 'Patch #35 (ltrace-0.7.91-rh1799619.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file expr.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.2UCfcx + umask 022 + cd /builddir/build/BUILD + cd ltrace-0.7.91 + autoreconf -i 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' configure.ac:55: installing 'config/autoconf/compile' + 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 ' + 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 --- ./configure.backup 2021-01-12 10:15:25.699408303 -0500 +++ ./configure 2021-01-12 10:16:10.289410161 -0500 @@ -1775,7 +1775,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /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 --- ./configure.backup 2021-01-12 10:16:10.289410161 -0500 +++ ./configure 2021-01-12 10:16:10.999410191 -0500 @@ -5522,7 +5522,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="sed -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -14533,7 +14533,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + '[' 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/autoconf/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config/autoconf/config.sub ++ basename ./config/autoconf/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config/autoconf/config.sub '/usr/lib/rpm/redhat/config.sub' -> './config/autoconf/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config/autoconf/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config/autoconf/config.guess ++ basename ./config/autoconf/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config/autoconf/config.guess '/usr/lib/rpm/redhat/config.guess' -> './config/autoconf/config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ 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 checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking for riscv64-redhat-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 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... ./configure: line 5478: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory 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 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /builddir/build/BUILD/ltrace-0.7.91/config/autoconf/missing: Unknown `--is-lightweight' option Try `/builddir/build/BUILD/ltrace-0.7.91/config/autoconf/missing --help' for more information configure: WARNING: 'missing' script is too old or missing 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 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.2UCfcx (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.2UCfcx (%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