Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libffi3.1.spec'], chrootPath='/var/lib/mock/f37-build-639642-71321/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libffi3.1.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=1663891200 Wrote: /builddir/build/SRPMS/libffi3.1-3.1-34.0.riscv64.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libffi3.1.spec'], chrootPath='/var/lib/mock/f37-build-639642-71321/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libffi3.1.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=1663891200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.oSLTrs + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libffi-3.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libffi-3.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd libffi-3.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (libffi-3.1-fix-include-path.patch):' Patch #0 (libffi-3.1-fix-include-path.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .fixpath --fuzz=0 patching file libffi.pc.in Patch #1 (libffi-3.1-fix-exec-stack.patch): + echo 'Patch #1 (libffi-3.1-fix-exec-stack.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .execstack --fuzz=0 patching file src/x86/win32.S Patch #2 (libffi-aarch64-rhbz1174037.patch): + echo 'Patch #2 (libffi-aarch64-rhbz1174037.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .aarch64 --fuzz=0 patching file src/aarch64/ffi.c Patch #3 (libffi-3.1-aarch64-fix-exec-stack.patch): + echo 'Patch #3 (libffi-3.1-aarch64-fix-exec-stack.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .aarch64execstack --fuzz=0 patching file src/aarch64/sysv.S Hunk #1 succeeded at 331 (offset -65 lines). Patch #4 (libffi-3.1-libffi_tmpdir.patch): + echo 'Patch #4 (libffi-3.1-libffi_tmpdir.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .libffitmpdir --fuzz=0 patching file src/closures.c + echo 'Patch #10 (libffi-3.1-riscv.patch):' Patch #10 (libffi-3.1-riscv.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .riscv64 --fuzz=0 patching file Makefile.am patching file configure.ac patching file include/ffi_common.h patching file src/riscv/ffi.c patching file src/riscv/ffitarget.h patching file src/riscv/sysv.S + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.UqtqjE + 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/libffi-3.1/.package_note-libffi3.1-3.1-34.0.riscv64.fc37.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 libffi3.1 3.1-34.0.riscv64.fc37 riscv64 + cd libffi-3.1 + autoreconf -fiv autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: aclocal --force -I m4 autoreconf: running: /usr/bin/autoconf --force configure.ac:8: warning: The macro `AC_CANONICAL_SYSTEM' is obsolete. configure.ac:8: You should run autoupdate. ./lib/autoconf/general.m4:2081: AC_CANONICAL_SYSTEM is expanded from... configure.ac:8: the top level configure.ac:41: warning: The macro `AC_PROG_LIBTOOL' is obsolete. configure.ac:41: You should run autoupdate. m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from... configure.ac:41: the top level configure.ac:68: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:68: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... acinclude.m4:3: AC_FUNC_MMAP_BLACKLIST is expanded from... configure.ac:68: the top level configure.ac:341: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:341: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:341: the top level configure.ac:368: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:368: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... m4/asmcfi.m4:1: GCC_AS_CFI_PSEUDO_OP is expanded from... configure.ac:368: the top level configure.ac:371: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:371: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... configure.ac:371: the top level configure.ac:387: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:387: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... configure.ac:387: the top level configure.ac:415: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:415: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... configure.ac:415: the top level configure.ac:428: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:428: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... configure.ac:428: the top level autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:31: installing './compile' configure.ac:19: installing './missing' Makefile.am: installing './depcomp' autoreconf: Leaving directory '.' + 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/libffi-3.1/.package_note-libffi3.1-3.1-34.0.riscv64.fc37.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 --- ./configure.backup 2022-09-23 16:14:28.342068482 -0400 +++ ./configure 2022-09-23 16:14:36.592063449 -0400 @@ -1883,7 +1883,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 2022-09-23 16:14:36.592063449 -0400 +++ ./configure 2022-09-23 16:14:36.772063339 -0400 @@ -8281,7 +8281,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'" @@ -21337,7 +21337,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.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './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"~' ./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 --disable-multi-os-directory --disable-static --includedir=/usr/include/libffi3.1 checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking target system type... riscv64-redhat-linux-gnu continue configure in default builddir "./riscv64-redhat-linux-gnu" ....exec /bin/sh .././configure "--srcdir=.." "--enable-builddir=riscv64-redhat-linux-gnu" "linux gnu" checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking target system type... riscv64-redhat-linux-gnu checking for gsed... sed checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes 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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking dependency style of g++... none checking dependency style of gcc... none 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-file... no checking for file... file 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 command to parse /usr/bin/nm -B output from gcc object... .././configure: line 8287: -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 for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.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... no checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking size of size_t... 8 checking for C compiler vendor... gnu checking whether C compiler accepts -fstrict-aliasing... yes checking whether C compiler accepts -ffast-math... yes checking for gcc architecture flag... checking for gcc architecture flag... unknown checking whether C compiler accepts -O3 -fomit-frame-pointer -fstrict-aliasing -ffast-math... yes checking CFLAGS for maximum warnings... -Wall checking whether to enable maintainer-specific portions of Makefiles... no checking for sys/mman.h... yes checking for mmap... yes checking for sys/mman.h... (cached) yes checking for mmap... (cached) yes checking whether read-only mmap of a plain file works... yes checking whether mmap from /dev/zero works... yes checking for MAP_ANON(YMOUS)... yes checking whether mmap with MAP_ANON(YMOUS) works... yes checking for egrep... (cached) /usr/bin/grep -E checking for memcpy... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking size of double... 0 checking size of long double... 0 checking whether byte ordering is bigendian... no checking assembler .cfi pseudo-op support... yes checking for _ prefix in compiled symbols... no checking whether .eh_frame section should be read-only... yes checking for __attribute__((visibility("hidden")))... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating include/Makefile config.status: creating include/ffi.h config.status: creating Makefile config.status: creating testsuite/Makefile config.status: creating man/Makefile config.status: creating libffi.pc config.status: creating fficonfig.h config.status: linking ../src/riscv/ffitarget.h to include/ffitarget.h config.status: executing buildir commands config.status: create top_srcdir/Makefile guessed from local Makefile config.status: build in riscv64-redhat-linux-gnu (HOST=) config.status: executing depfiles commands config.status: executing libtool commands config.status: executing include commands config.status: executing src commands + /usr/bin/make -O -j4 V=1 VERBOSE=1 MAKE riscv64-unknown-linux-gnu : 0 * all-all /usr/bin/make 'AR_FLAGS=' 'CC_FOR_BUILD=' 'CFLAGS=-O3 -fomit-frame-pointer -fstrict-aliasing -ffast-math -Wall -fexceptions' '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' 'CFLAGS_FOR_BUILD=' 'CFLAGS_FOR_TARGET=' 'INSTALL=/usr/bin/install -c' 'INSTALL_DATA=/usr/bin/install -c -m 644' 'INSTALL_PROGRAM=/usr/bin/install -c' 'INSTALL_SCRIPT=/usr/bin/install -c' 'JC1FLAGS=' '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/libffi-3.1/.package_note-libffi3.1-3.1-34.0.riscv64.fc37.riscv64.ld' 'LIBCFLAGS=' 'LIBCFLAGS_FOR_TARGET=' 'MAKE=/usr/bin/make' 'MAKEINFO=/bin/sh '/builddir/build/BUILD/libffi-3.1/missing' makeinfo ' 'PICFLAG=' 'PICFLAG_FOR_TARGET=' 'RUNTESTFLAGS=' 'SHELL=/bin/sh' 'exec_prefix=/usr' 'infodir=/usr/share/info' 'libdir=/usr/lib64' 'mandir=/usr/share/man' 'prefix=/usr' 'AR=ar' 'AS=as' 'CC=gcc' 'CXX=g++' 'LD=/usr/bin/ld' 'NM=/usr/bin/nm -B' 'RANLIB=ranlib' 'DESTDIR=' all-recursive Making all in include make[3]: Nothing to be done for 'all'. Making all in testsuite make[3]: Nothing to be done for 'all'. Making all in man make[3]: Nothing to be done for 'all'. make[3]: Entering directory '/builddir/build/BUILD/libffi-3.1/riscv64-redhat-linux-gnu' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -O3 -fomit-frame-pointer -fstrict-aliasing -ffast-math -Wall -fexceptions -c -o src/types.lo ../src/types.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -O3 -fomit-frame-pointer -fstrict-aliasing -ffast-math -Wall -fexceptions -c ../src/types.c -fPIC -DPIC -o src/.libs/types.o make[3]: Leaving directory '/builddir/build/BUILD/libffi-3.1/riscv64-redhat-linux-gnu' make[3]: Entering directory '/builddir/build/BUILD/libffi-3.1/riscv64-redhat-linux-gnu' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -O3 -fomit-frame-pointer -fstrict-aliasing -ffast-math -Wall -fexceptions -c -o src/prep_cif.lo ../src/prep_cif.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -O3 -fomit-frame-pointer -fstrict-aliasing -ffast-math -Wall -fexceptions -c ../src/prep_cif.c -fPIC -DPIC -o src/.libs/prep_cif.o make[3]: Leaving directory '/builddir/build/BUILD/libffi-3.1/riscv64-redhat-linux-gnu' make[3]: Entering directory '/builddir/build/BUILD/libffi-3.1/riscv64-redhat-linux-gnu' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -O3 -fomit-frame-pointer -fstrict-aliasing -ffast-math -Wall -fexceptions -c -o src/raw_api.lo ../src/raw_api.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -O3 -fomit-frame-pointer -fstrict-aliasing -ffast-math -Wall -fexceptions -c ../src/raw_api.c -fPIC -DPIC -o src/.libs/raw_api.o make[3]: Leaving directory '/builddir/build/BUILD/libffi-3.1/riscv64-redhat-linux-gnu' make[3]: Entering directory '/builddir/build/BUILD/libffi-3.1/riscv64-redhat-linux-gnu' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -O3 -fomit-frame-pointer -fstrict-aliasing -ffast-math -Wall -fexceptions -c -o src/java_raw_api.lo ../src/java_raw_api.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -O3 -fomit-frame-pointer -fstrict-aliasing -ffast-math -Wall -fexceptions -c ../src/java_raw_api.c -fPIC -DPIC -o src/.libs/java_raw_api.o make[3]: Leaving directory '/builddir/build/BUILD/libffi-3.1/riscv64-redhat-linux-gnu' make[3]: Entering directory '/builddir/build/BUILD/libffi-3.1/riscv64-redhat-linux-gnu' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -I. -I../include -Iinclude -I../src -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 -c -o src/riscv/sysv.lo ../src/riscv/sysv.S libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -I. -I../include -Iinclude -I../src -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 -c ../src/riscv/sysv.S -fPIC -DPIC -o src/riscv/.libs/sysv.o make[3]: Leaving directory '/builddir/build/BUILD/libffi-3.1/riscv64-redhat-linux-gnu' make[3]: Entering directory '/builddir/build/BUILD/libffi-3.1/riscv64-redhat-linux-gnu' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -O3 -fomit-frame-pointer -fstrict-aliasing -ffast-math -Wall -fexceptions -c -o src/riscv/ffi.lo ../src/riscv/ffi.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -O3 -fomit-frame-pointer -fstrict-aliasing -ffast-math -Wall -fexceptions -c ../src/riscv/ffi.c -fPIC -DPIC -o src/riscv/.libs/ffi.o make[3]: Leaving directory '/builddir/build/BUILD/libffi-3.1/riscv64-redhat-linux-gnu' make[3]: Entering directory '/builddir/build/BUILD/libffi-3.1/riscv64-redhat-linux-gnu' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -O3 -fomit-frame-pointer -fstrict-aliasing -ffast-math -Wall -fexceptions -c -o src/closures.lo ../src/closures.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -O3 -fomit-frame-pointer -fstrict-aliasing -ffast-math -Wall -fexceptions -c ../src/closures.c -fPIC -DPIC -o src/.libs/closures.o make[3]: Leaving directory '/builddir/build/BUILD/libffi-3.1/riscv64-redhat-linux-gnu' make[3]: Entering directory '/builddir/build/BUILD/libffi-3.1/riscv64-redhat-linux-gnu' /bin/sh ./libtool --tag=CC --mode=link gcc -O3 -fomit-frame-pointer -fstrict-aliasing -ffast-math -Wall -fexceptions -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/libffi-3.1/.package_note-libffi3.1-3.1-34.0.riscv64.fc37.riscv64.ld -o libffi_convenience.la src/prep_cif.lo src/types.lo src/raw_api.lo src/java_raw_api.lo src/closures.lo src/riscv/sysv.lo src/riscv/ffi.lo libtool: link: ar cr .libs/libffi_convenience.a src/.libs/prep_cif.o src/.libs/types.o src/.libs/raw_api.o src/.libs/java_raw_api.o src/.libs/closures.o src/riscv/.libs/sysv.o src/riscv/.libs/ffi.o libtool: link: ranlib .libs/libffi_convenience.a libtool: link: ( cd ".libs" && rm -f "libffi_convenience.la" && ln -s "../libffi_convenience.la" "libffi_convenience.la" ) make[3]: Leaving directory '/builddir/build/BUILD/libffi-3.1/riscv64-redhat-linux-gnu' make[3]: Entering directory '/builddir/build/BUILD/libffi-3.1/riscv64-redhat-linux-gnu' /bin/sh ./libtool --tag=CC --mode=link gcc -O3 -fomit-frame-pointer -fstrict-aliasing -ffast-math -Wall -fexceptions -no-undefined -version-info `grep -v '^#' ../libtool-version` '-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/libffi-3.1/.package_note-libffi3.1-3.1-34.0.riscv64.fc37.riscv64.ld' -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/libffi-3.1/.package_note-libffi3.1-3.1-34.0.riscv64.fc37.riscv64.ld -o libffi.la -rpath /usr/lib64 src/prep_cif.lo src/types.lo src/raw_api.lo src/java_raw_api.lo src/closures.lo src/riscv/sysv.lo src/riscv/ffi.lo libtool: link: gcc -shared -fPIC -DPIC src/.libs/prep_cif.o src/.libs/types.o src/.libs/raw_api.o src/.libs/java_raw_api.o src/.libs/closures.o src/riscv/.libs/sysv.o src/riscv/.libs/ffi.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O3 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT -Wl,/builddir/build/BUILD/libffi-3.1/.package_note-libffi3.1-3.1-34.0.riscv64.fc37.riscv64.ld -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT -Wl,/builddir/build/BUILD/libffi-3.1/.package_note-libffi3.1-3.1-34.0.riscv64.fc37.riscv64.ld -Wl,-soname -Wl,libffi.so.6 -o .libs/libffi.so.6.0.2 libtool: link: (cd ".libs" && rm -f "libffi.so.6" && ln -s "libffi.so.6.0.2" "libffi.so.6") libtool: link: (cd ".libs" && rm -f "libffi.so" && ln -s "libffi.so.6.0.2" "libffi.so") libtool: link: ( cd ".libs" && rm -f "libffi.la" && ln -s "../libffi.la" "libffi.la" ) make[3]: Leaving directory '/builddir/build/BUILD/libffi-3.1/riscv64-redhat-linux-gnu' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.btwcsQ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libffi3.1-3.1-34.0.riscv64.fc37.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libffi3.1-3.1-34.0.riscv64.fc37.riscv64 ++ dirname /builddir/build/BUILDROOT/libffi3.1-3.1-34.0.riscv64.fc37.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libffi3.1-3.1-34.0.riscv64.fc37.riscv64 + 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/libffi-3.1/.package_note-libffi3.1-3.1-34.0.riscv64.fc37.riscv64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd libffi-3.1 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/libffi3.1-3.1-34.0.riscv64.fc37.riscv64 'INSTALL=/usr/bin/install -p' MAKE riscv64-unknown-linux-gnu : 0 * install make[1]: Entering directory '/builddir/build/BUILD/libffi-3.1/riscv64-redhat-linux-gnu' Making install in include make[2]: Entering directory '/builddir/build/BUILD/libffi-3.1/riscv64-redhat-linux-gnu/include' make[3]: Entering directory '/builddir/build/BUILD/libffi-3.1/riscv64-redhat-linux-gnu/include' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libffi3.1-3.1-34.0.riscv64.fc37.riscv64/usr/lib64/libffi-3.1/include' /usr/bin/install -c -m 644 ffi.h ffitarget.h '/builddir/build/BUILDROOT/libffi3.1-3.1-34.0.riscv64.fc37.riscv64/usr/lib64/libffi-3.1/include' make[3]: Leaving directory '/builddir/build/BUILD/libffi-3.1/riscv64-redhat-linux-gnu/include' make[2]: Leaving directory '/builddir/build/BUILD/libffi-3.1/riscv64-redhat-linux-gnu/include' Making install in testsuite make[2]: Entering directory '/builddir/build/BUILD/libffi-3.1/riscv64-redhat-linux-gnu/testsuite' make[3]: Entering directory '/builddir/build/BUILD/libffi-3.1/riscv64-redhat-linux-gnu/testsuite' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/libffi-3.1/riscv64-redhat-linux-gnu/testsuite' make[2]: Leaving directory '/builddir/build/BUILD/libffi-3.1/riscv64-redhat-linux-gnu/testsuite' Making install in man make[2]: Entering directory '/builddir/build/BUILD/libffi-3.1/riscv64-redhat-linux-gnu/man' make[3]: Entering directory '/builddir/build/BUILD/libffi-3.1/riscv64-redhat-linux-gnu/man' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libffi3.1-3.1-34.0.riscv64.fc37.riscv64/usr/share/man/man3' /usr/bin/install -c -m 644 ../../man/ffi.3 ../../man/ffi_call.3 ../../man/ffi_prep_cif.3 ../../man/ffi_prep_cif_var.3 '/builddir/build/BUILDROOT/libffi3.1-3.1-34.0.riscv64.fc37.riscv64/usr/share/man/man3' make[3]: Leaving directory '/builddir/build/BUILD/libffi-3.1/riscv64-redhat-linux-gnu/man' make[2]: Leaving directory '/builddir/build/BUILD/libffi-3.1/riscv64-redhat-linux-gnu/man' make[2]: Entering directory '/builddir/build/BUILD/libffi-3.1/riscv64-redhat-linux-gnu' make[3]: Entering directory '/builddir/build/BUILD/libffi-3.1/riscv64-redhat-linux-gnu' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libffi3.1-3.1-34.0.riscv64.fc37.riscv64/usr/lib64' /bin/sh ./libtool --mode=install /usr/bin/install -c libffi.la '/builddir/build/BUILDROOT/libffi3.1-3.1-34.0.riscv64.fc37.riscv64/usr/lib64' libtool: install: /usr/bin/install -c .libs/libffi.so.6.0.2 /builddir/build/BUILDROOT/libffi3.1-3.1-34.0.riscv64.fc37.riscv64/usr/lib64/libffi.so.6.0.2 libtool: install: (cd /builddir/build/BUILDROOT/libffi3.1-3.1-34.0.riscv64.fc37.riscv64/usr/lib64 && { ln -s -f libffi.so.6.0.2 libffi.so.6 || { rm -f libffi.so.6 && ln -s libffi.so.6.0.2 libffi.so.6; }; }) libtool: install: (cd /builddir/build/BUILDROOT/libffi3.1-3.1-34.0.riscv64.fc37.riscv64/usr/lib64 && { ln -s -f libffi.so.6.0.2 libffi.so || { rm -f libffi.so && ln -s libffi.so.6.0.2 libffi.so; }; }) libtool: install: /usr/bin/install -c .libs/libffi.lai /builddir/build/BUILDROOT/libffi3.1-3.1-34.0.riscv64.fc37.riscv64/usr/lib64/libffi.la libtool: warning: remember to run 'libtool --finish /usr/lib64' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libffi3.1-3.1-34.0.riscv64.fc37.riscv64/usr/share/info' /usr/bin/install -c -m 644 ../doc/libffi.info '/builddir/build/BUILDROOT/libffi3.1-3.1-34.0.riscv64.fc37.riscv64/usr/share/info' install-info --info-dir='/builddir/build/BUILDROOT/libffi3.1-3.1-34.0.riscv64.fc37.riscv64/usr/share/info' '/builddir/build/BUILDROOT/libffi3.1-3.1-34.0.riscv64.fc37.riscv64/usr/share/info/libffi.info' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libffi3.1-3.1-34.0.riscv64.fc37.riscv64/usr/lib64/pkgconfig' /usr/bin/install -c -m 644 libffi.pc '/builddir/build/BUILDROOT/libffi3.1-3.1-34.0.riscv64.fc37.riscv64/usr/lib64/pkgconfig' make[3]: Leaving directory '/builddir/build/BUILD/libffi-3.1/riscv64-redhat-linux-gnu' make[2]: Leaving directory '/builddir/build/BUILD/libffi-3.1/riscv64-redhat-linux-gnu' make[1]: Leaving directory '/builddir/build/BUILD/libffi-3.1/riscv64-redhat-linux-gnu' + find /builddir/build/BUILDROOT/libffi3.1-3.1-34.0.riscv64.fc37.riscv64 -name '*.la' -exec rm -f '{}' ';' + rm -f /builddir/build/BUILDROOT/libffi3.1-3.1-34.0.riscv64.fc37.riscv64/usr/share/info/dir + rm -rf /builddir/build/BUILDROOT/libffi3.1-3.1-34.0.riscv64.fc37.riscv64/usr/lib64/libffi-3.1/include/ffi.h /builddir/build/BUILDROOT/libffi3.1-3.1-34.0.riscv64.fc37.riscv64/usr/lib64/libffi-3.1/include/ffitarget.h + rm -rf /builddir/build/BUILDROOT/libffi3.1-3.1-34.0.riscv64.fc37.riscv64/usr/lib64/libffi.so + find /builddir/build/BUILDROOT/libffi3.1-3.1-34.0.riscv64.fc37.riscv64/usr/share/man -name 'ffi*' -exec rm -f '{}' ';' + find /builddir/build/BUILDROOT/libffi3.1-3.1-34.0.riscv64.fc37.riscv64/usr/share/info -name 'libffi.info*' -exec rm -f '{}' ';' + rm -rf /builddir/build/BUILDROOT/libffi3.1-3.1-34.0.riscv64.fc37.riscv64/usr/lib64/pkgconfig/libffi.pc + mkdir -p /builddir/build/BUILDROOT/libffi3.1-3.1-34.0.riscv64.fc37.riscv64//usr/share/doc/libffi-3.1 + cp /builddir/build/BUILD/libffi-3.1/README /builddir/build/BUILDROOT/libffi3.1-3.1-34.0.riscv64.fc37.riscv64//usr/share/doc/libffi-3.1/README + mkdir -p /builddir/build/BUILDROOT/libffi3.1-3.1-34.0.riscv64.fc37.riscv64//usr/share/licenses/libffi-3.1 + cp /builddir/build/BUILD/libffi-3.1/LICENSE /builddir/build/BUILDROOT/libffi3.1-3.1-34.0.riscv64.fc37.riscv64//usr/share/licenses/libffi-3.1/LICENSE + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 3.1-34.0.riscv64.fc37 --unique-debug-suffix -3.1-34.0.riscv64.fc37.riscv64 --unique-debug-src-base libffi3.1-3.1-34.0.riscv64.fc37.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/libffi-3.1 extracting debug info from /builddir/build/BUILDROOT/libffi3.1-3.1-34.0.riscv64.fc37.riscv64/usr/lib64/libffi.so.6.0.2 original debug info size: 32kB, size after compression: 36kB /usr/bin/sepdebugcrcfix: Updated 0 CRC32s, 1 CRC32s did match. 12 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.mtE0P2 + 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/libffi-3.1/.package_note-libffi3.1-3.1-34.0.riscv64.fc37.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 libffi3.1 3.1-34.0.riscv64.fc37 riscv64 + cd libffi-3.1 + /usr/bin/make -O -j4 V=1 VERBOSE=1 check MAKE riscv64-unknown-linux-gnu : 0 * check Making check in include make[2]: Nothing to be done for 'check'. Making check in testsuite /usr/bin/make check-DEJAGNU make[3]: Entering directory '/builddir/build/BUILD/libffi-3.1/riscv64-redhat-linux-gnu/testsuite' Making a new site.exp file ... make[3]: Leaving directory '/builddir/build/BUILD/libffi-3.1/riscv64-redhat-linux-gnu/testsuite' make[3]: Entering directory '/builddir/build/BUILD/libffi-3.1/riscv64-redhat-linux-gnu/testsuite' srcdir='../../testsuite'; export srcdir; \ EXPECT=expect; export EXPECT; \ if /bin/sh -c "runtest --version" > /dev/null 2>&1; then \ exit_status=0; l='libffi'; for tool in $l; do \ if runtest --tool $tool --srcdir $srcdir ; \ then :; else exit_status=1; fi; \ done; \ else echo "WARNING: could not find 'runtest'" 1>&2; :;\ fi; \ exit $exit_status Test run by mockbuild on Fri Sep 23 16:15:15 2022 Native configuration is riscv64-redhat-linux-gnu === libffi tests === Schedule of variations: unix Running target unix Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target. Using /usr/share/dejagnu/config/unix.exp as generic interface file for target. Using ../../testsuite/config/default.exp as tool-and-target-specific interface file. Running ../../testsuite/libffi.call/call.exp ... FAIL: libffi.call/cls_longdouble.c -W -Wall -O0 output pattern test FAIL: libffi.call/cls_longdouble.c -W -Wall -O2 output pattern test FAIL: libffi.call/cls_longdouble.c -W -Wall -O3 output pattern test FAIL: libffi.call/cls_longdouble.c -W -Wall -Os output pattern test FAIL: libffi.call/cls_longdouble.c -W -Wall -O2 -fomit-frame-pointer output pattern test FAIL: libffi.call/cls_longdouble_va.c -W -Wall -O0 output pattern test FAIL: libffi.call/cls_longdouble_va.c -W -Wall -O2 output pattern test FAIL: libffi.call/cls_longdouble_va.c -W -Wall -O3 output pattern test FAIL: libffi.call/cls_longdouble_va.c -W -Wall -Os output pattern test FAIL: libffi.call/cls_longdouble_va.c -W -Wall -O2 -fomit-frame-pointer output pattern test FAIL: libffi.call/float.c -W -Wall -O0 execution test FAIL: libffi.call/float.c -W -Wall -O2 execution test FAIL: libffi.call/float.c -W -Wall -O3 execution test FAIL: libffi.call/float.c -W -Wall -Os execution test FAIL: libffi.call/float.c -W -Wall -O2 -fomit-frame-pointer execution test FAIL: libffi.call/float2.c -W -Wall -O0 execution test FAIL: libffi.call/float2.c -W -Wall -O2 execution test FAIL: libffi.call/float2.c -W -Wall -O3 execution test FAIL: libffi.call/float2.c -W -Wall -Os execution test FAIL: libffi.call/float2.c -W -Wall -O2 -fomit-frame-pointer execution test FAIL: libffi.call/float3.c -W -Wall -O2 execution test FAIL: libffi.call/float3.c -W -Wall -O3 execution test FAIL: libffi.call/float3.c -W -Wall -Os execution test FAIL: libffi.call/float3.c -W -Wall -O2 -fomit-frame-pointer execution test FAIL: libffi.call/huge_struct.c -W -Wall -O0 output pattern test FAIL: libffi.call/huge_struct.c -W -Wall -O2 output pattern test FAIL: libffi.call/huge_struct.c -W -Wall -O3 output pattern test FAIL: libffi.call/huge_struct.c -W -Wall -Os output pattern test FAIL: libffi.call/huge_struct.c -W -Wall -O2 -fomit-frame-pointer output pattern test FAIL: libffi.call/nested_struct5.c -W -Wall -O0 execution test FAIL: libffi.call/nested_struct5.c -W -Wall -O2 execution test FAIL: libffi.call/nested_struct5.c -W -Wall -O3 execution test FAIL: libffi.call/nested_struct5.c -W -Wall -Os execution test FAIL: libffi.call/nested_struct5.c -W -Wall -O2 -fomit-frame-pointer execution test FAIL: libffi.call/return_ldl.c -W -Wall -O0 execution test FAIL: libffi.call/return_ldl.c -W -Wall -O2 execution test FAIL: libffi.call/return_ldl.c -W -Wall -O3 execution test FAIL: libffi.call/return_ldl.c -W -Wall -Os execution test FAIL: libffi.call/return_ldl.c -W -Wall -O2 -fomit-frame-pointer execution test === libffi Summary === # of expected passes 1826 # of unexpected failures 39 make[3]: Leaving directory '/builddir/build/BUILD/libffi-3.1/riscv64-redhat-linux-gnu/testsuite' Processing files: libffi3.1-3.1-34.0.riscv64.fc37.riscv64 WARNING: Couldn't find the global config file. make[3]: *** [Makefile:412: check-DEJAGNU] Error 1 make[2]: *** [Makefile:488: check-am] Error 2 make[1]: *** [Makefile:1661: check-recursive] Error 1 make: *** [Makefile:3215: check] Error 2 + true + RPM_EC=0 ++ jobs -p + exit 0 Provides: libffi.so.6()(64bit) libffi3.1 = 3.1-34.0.riscv64.fc37 libffi3.1(riscv-64) = 3.1-34.0.riscv64.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: libffi3.1-debugsource-3.1-34.0.riscv64.fc37.riscv64 Provides: libffi3.1-debugsource = 3.1-34.0.riscv64.fc37 libffi3.1-debugsource(riscv-64) = 3.1-34.0.riscv64.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libffi3.1-debuginfo-3.1-34.0.riscv64.fc37.riscv64 Provides: debuginfo(build-id) = 10778f87a483cbf3c8f57df20b261c87f7c90a97 libffi.so.6.0.2-3.1-34.0.riscv64.fc37.riscv64.debug()(64bit) libffi3.1-debuginfo = 3.1-34.0.riscv64.fc37 libffi3.1-debuginfo(riscv-64) = 3.1-34.0.riscv64.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libffi3.1-debugsource(riscv-64) = 3.1-34.0.riscv64.fc37 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libffi3.1-3.1-34.0.riscv64.fc37.riscv64 Wrote: /builddir/build/RPMS/libffi3.1-debugsource-3.1-34.0.riscv64.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/libffi3.1-debuginfo-3.1-34.0.riscv64.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/libffi3.1-3.1-34.0.riscv64.fc37.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.kqjukl + umask 022 + cd /builddir/build/BUILD + cd libffi-3.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/libffi3.1-3.1-34.0.riscv64.fc37.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.k5JBwF + umask 022 + cd /builddir/build/BUILD + rm -rf libffi-3.1 libffi-3.1.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0