==> Building on p ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list created directory packages/libffi ./ PKGBUILD 1,387 100% 0.00kB/s 0:00:00 1,387 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=0/2) sent 903 bytes received 76 bytes 652.67 bytes/sec total size is 1,387 speedup is 1.42 ==> Patching arch to riscv64... mux_client_request_session: session request failed: Session open refused by peer ControlSocket /home/felix/.ssh/socket-6502b4f01958588aa371385e084d76a62f56bd4b already exists, disabling multiplexing ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l felix28 on remote host... [?25l:: Synchronizing package databases... core downloading... extra downloading... community downloading... :: Starting full system upgrade... there is nothing to do [?25h==> Building in chroot for [extra] (riscv64)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [felix28]...done ==> Making package: libffi 3.4.2-4 (Sat Feb 19 00:39:31 2022) ==> Retrieving sources...  -> Downloading libffi-3.4.2.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 652 100 652 0 0 2914 0 --:--:-- --:--:-- --:--:-- 2923 0 1319k 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1319k 100 1319k 0 0 3205k 0 --:--:-- --:--:-- --:--:-- 29.9M ==> Validating source files with sha256sums... libffi-3.4.2.tar.gz ... Passed ==> Validating source files with b2sums... libffi-3.4.2.tar.gz ... Passed ==> Making package: libffi 3.4.2-4 (Sat 19 Feb 2022 12:39:56 AM CET) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (3) New Version Net Change Download Size extra/expect 5.45.4-2 0.35 MiB 0.20 MiB extra/tcl 8.6.12-3 6.30 MiB extra/dejagnu 1.6.3-2 0.59 MiB 0.17 MiB Total Download Size: 0.37 MiB Total Installed Size: 7.24 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... expect-5.45.4-2-riscv64 downloading... dejagnu-1.6.3-2-any downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing tcl... installing expect... installing dejagnu... :: Running post-transaction hooks... (1/1) Updating the info directory file... [?25h==> Retrieving sources...  -> Found libffi-3.4.2.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting libffi-3.4.2.tar.gz with bsdtar ==> Starting build()... checking build system type... riscv64-unknown-linux-gnu checking host system type... riscv64-unknown-linux-gnu checking target system type... riscv64-unknown-linux-gnu continue configure in default builddir "./riscv64-unknown-linux-gnu" ....exec /bin/sh .././configure "--srcdir=.." "--enable-builddir=riscv64-unknown-linux-gnu" "linux gnu" checking build system type... riscv64-unknown-linux-gnu checking host system type... riscv64-unknown-linux-gnu checking target system type... riscv64-unknown-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 thread-safe 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 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 whether make supports the include directive... yes (GNU style) checking dependency style of gcc... gcc3 checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking dependency style of gcc... gcc3 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-unknown-linux-gnu file names to riscv64-unknown-linux-gnu format... func_convert_file_noop checking how to convert riscv64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib 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 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... yes 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... yes 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 for readelf... readelf checking size of size_t... 8 checking for C compiler vendor... gnu checking CFLAGS for maximum warnings... -Wall checking whether to enable maintainer-specific portions of Makefiles... no checking sys/memfd.h usability... no checking sys/memfd.h presence... no checking for sys/memfd.h... no checking for memfd_create... yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking for mmap... yes checking for mkostemp... yes checking for mkstemp... 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 ANSI C header files... (cached) yes checking for memcpy... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking size of double... 8 checking size of long double... 16 checking whether byte ordering is bigendian... no checking assembler .cfi pseudo-op support... yes checking whether compiler supports pointer authentication... no checking for _ prefix in compiled symbols... no checking whether C compiler accepts -fno-lto... yes checking whether .eh_frame section should be read-only... yes checking for __attribute__((visibility("hidden")))... yes checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for shared libgcc... yes configure: versioning on shared library symbols is gnu 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 doc/Makefile config.status: creating libffi.pc config.status: creating fficonfig.h config.status: executing buildir commands config.status: create top_srcdir/Makefile guessed from local Makefile config.status: build in riscv64-unknown-linux-gnu (HOST=) config.status: executing depfiles commands config.status: executing libtool commands config.status: executing include commands config.status: executing src commands MAKE riscv64-unknown-linux-gnu : 0 * all-all make[1]: Entering directory '/build/libffi/src/libffi-3.4.2/riscv64-unknown-linux-gnu' /usr/bin/make all-recursive make[2]: Entering directory '/build/libffi/src/libffi-3.4.2/riscv64-unknown-linux-gnu' Making all in include make[3]: Entering directory '/build/libffi/src/libffi-3.4.2/riscv64-unknown-linux-gnu/include' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/build/libffi/src/libffi-3.4.2/riscv64-unknown-linux-gnu/include' Making all in testsuite make[3]: Entering directory '/build/libffi/src/libffi-3.4.2/riscv64-unknown-linux-gnu/testsuite' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/build/libffi/src/libffi-3.4.2/riscv64-unknown-linux-gnu/testsuite' Making all in man make[3]: Entering directory '/build/libffi/src/libffi-3.4.2/riscv64-unknown-linux-gnu/man' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/build/libffi/src/libffi-3.4.2/riscv64-unknown-linux-gnu/man' Making all in doc make[3]: Entering directory '/build/libffi/src/libffi-3.4.2/riscv64-unknown-linux-gnu/doc' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/build/libffi/src/libffi-3.4.2/riscv64-unknown-linux-gnu/doc' make[3]: Entering directory '/build/libffi/src/libffi-3.4.2/riscv64-unknown-linux-gnu' gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -Wall -fexceptions -DRISCV -DGENERATE_LIBFFI_MAP \ -E -x assembler-with-cpp -o libffi.map ../libffi.map.in depbase=`echo src/prep_cif.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -Wall -fexceptions -MT src/prep_cif.lo -MD -MP -MF $depbase.Tpo -c -o src/prep_cif.lo ../src/prep_cif.c &&\ mv -f $depbase.Tpo $depbase.Plo depbase=`echo src/types.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -Wall -fexceptions -MT src/types.lo -MD -MP -MF $depbase.Tpo -c -o src/types.lo ../src/types.c &&\ mv -f $depbase.Tpo $depbase.Plo depbase=`echo src/raw_api.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -Wall -fexceptions -MT src/raw_api.lo -MD -MP -MF $depbase.Tpo -c -o src/raw_api.lo ../src/raw_api.c &&\ mv -f $depbase.Tpo $depbase.Plo depbase=`echo src/java_raw_api.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -Wall -fexceptions -MT src/java_raw_api.lo -MD -MP -MF $depbase.Tpo -c -o src/java_raw_api.lo ../src/java_raw_api.c &&\ mv -f $depbase.Tpo $depbase.Plo depbase=`echo src/closures.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -Wall -fexceptions -MT src/closures.lo -MD -MP -MF $depbase.Tpo -c -o src/closures.lo ../src/closures.c &&\ mv -f $depbase.Tpo $depbase.Plo depbase=`echo src/tramp.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -Wall -fexceptions -MT src/tramp.lo -MD -MP -MF $depbase.Tpo -c -o src/tramp.lo ../src/tramp.c &&\ mv -f $depbase.Tpo $depbase.Plo depbase=`echo src/riscv/ffi.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -Wall -fexceptions -MT src/riscv/ffi.lo -MD -MP -MF $depbase.Tpo -c -o src/riscv/ffi.lo ../src/riscv/ffi.c &&\ mv -f $depbase.Tpo $depbase.Plo depbase=`echo src/riscv/sysv.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /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 -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT src/riscv/sysv.lo -MD -MP -MF $depbase.Tpo -c -o src/riscv/sysv.lo ../src/riscv/sysv.S &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -Wall -fexceptions -MT src/tramp.lo -MD -MP -MF src/.deps/tramp.Tpo -c ../src/tramp.c -fPIC -DPIC -o src/.libs/tramp.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -Wall -fexceptions -MT src/prep_cif.lo -MD -MP -MF src/.deps/prep_cif.Tpo -c ../src/prep_cif.c -fPIC -DPIC -o src/.libs/prep_cif.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -Wall -fexceptions -MT src/raw_api.lo -MD -MP -MF src/.deps/raw_api.Tpo -c ../src/raw_api.c -fPIC -DPIC -o src/.libs/raw_api.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -Wall -fexceptions -MT src/types.lo -MD -MP -MF src/.deps/types.Tpo -c ../src/types.c -fPIC -DPIC -o src/.libs/types.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -Wall -fexceptions -MT src/riscv/ffi.lo -MD -MP -MF src/riscv/.deps/ffi.Tpo -c ../src/riscv/ffi.c -fPIC -DPIC -o src/riscv/.libs/ffi.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -I. -I../include -Iinclude -I../src -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -MT src/riscv/sysv.lo -MD -MP -MF src/riscv/.deps/sysv.Tpo -c ../src/riscv/sysv.S -fPIC -DPIC -o src/riscv/.libs/sysv.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -Wall -fexceptions -MT src/java_raw_api.lo -MD -MP -MF src/.deps/java_raw_api.Tpo -c ../src/java_raw_api.c -fPIC -DPIC -o src/.libs/java_raw_api.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -Wall -fexceptions -MT src/closures.lo -MD -MP -MF src/.deps/closures.Tpo -c ../src/closures.c -fPIC -DPIC -o src/.libs/closures.o ../src/java_raw_api.c: In function ‘ffi_java_raw_call’: ../src/java_raw_api.c:317:3: warning: ‘ffi_java_raw_to_ptrarray’ is deprecated [-Wdeprecated-declarations] 317 | ffi_java_raw_to_ptrarray (cif, raw, avalue); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../src/java_raw_api.c:76:1: note: declared here 76 | ffi_java_raw_to_ptrarray (ffi_cif *cif, ffi_java_raw *raw, void **args) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../src/java_raw_api.c: In function ‘ffi_java_translate_args’: ../src/java_raw_api.c:328:3: warning: ‘ffi_java_raw_size’ is deprecated [-Wdeprecated-declarations] 328 | ffi_java_raw *raw = (ffi_java_raw*)alloca (ffi_java_raw_size (cif)); | ^~~~~~~~~~~~ ../src/java_raw_api.c:45:1: note: declared here 45 | ffi_java_raw_size (ffi_cif *cif) | ^~~~~~~~~~~~~~~~~ ../src/java_raw_api.c:331:3: warning: ‘ffi_java_ptrarray_to_raw’ is deprecated [-Wdeprecated-declarations] 331 | ffi_java_ptrarray_to_raw (cif, avalue, raw); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../src/java_raw_api.c:157:1: note: declared here 157 | ffi_java_ptrarray_to_raw (ffi_cif *cif, void **args, ffi_java_raw *raw) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../src/java_raw_api.c: In function ‘ffi_prep_java_raw_closure’: ../src/java_raw_api.c:369:3: warning: ‘ffi_prep_java_raw_closure_loc’ is deprecated [-Wdeprecated-declarations] 369 | return ffi_prep_java_raw_closure_loc (cl, cif, fun, user_data, cl); | ^~~~~~ ../src/java_raw_api.c:337:1: note: declared here 337 | ffi_prep_java_raw_closure_loc (ffi_java_raw_closure* cl, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ./libtool --tag=CC --mode=link gcc -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -Wall -fexceptions -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto -o libffi_convenience.la src/prep_cif.lo src/types.lo src/raw_api.lo src/java_raw_api.lo src/closures.lo src/tramp.lo src/riscv/ffi.lo src/riscv/sysv.lo /bin/sh ./libtool --tag=CC --mode=link gcc -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto -Wall -fexceptions -no-undefined -version-info `grep -v '^#' ../libtool-version` -Wl,--version-script,libffi.map '-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now' -Xcompiler '-flto' -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto -o libffi.la -rpath /usr/lib src/prep_cif.lo src/types.lo src/raw_api.lo src/java_raw_api.lo src/closures.lo src/tramp.lo src/riscv/ffi.lo src/riscv/sysv.lo libtool: link: ar cru .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/.libs/tramp.o src/riscv/.libs/ffi.o src/riscv/.libs/sysv.o /usr/bin/ar: `u' modifier ignored since `D' is the default (see `U') libtool: link: ranlib .libs/libffi_convenience.a 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/.libs/tramp.o src/riscv/.libs/ffi.o src/riscv/.libs/sysv.o -march=rv64gc -mabi=lp64d -O2 -flto -Wl,--version-script -Wl,libffi.map -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -flto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -flto -Wl,-soname -Wl,libffi.so.8 -o .libs/libffi.so.8.1.0 libtool: link: ( cd ".libs" && rm -f "libffi_convenience.la" && ln -s "../libffi_convenience.la" "libffi_convenience.la" ) libtool: link: (cd ".libs" && rm -f "libffi.so.8" && ln -s "libffi.so.8.1.0" "libffi.so.8") libtool: link: (cd ".libs" && rm -f "libffi.so" && ln -s "libffi.so.8.1.0" "libffi.so") libtool: link: ( cd ".libs" && rm -f "libffi.la" && ln -s "../libffi.la" "libffi.la" ) make[3]: Leaving directory '/build/libffi/src/libffi-3.4.2/riscv64-unknown-linux-gnu' make[2]: Leaving directory '/build/libffi/src/libffi-3.4.2/riscv64-unknown-linux-gnu' make[1]: Leaving directory '/build/libffi/src/libffi-3.4.2/riscv64-unknown-linux-gnu' ==> Starting check()... make: Entering directory '/build/libffi/src/libffi-3.4.2' MAKE riscv64-unknown-linux-gnu : 0 * check make[1]: Entering directory '/build/libffi/src/libffi-3.4.2/riscv64-unknown-linux-gnu' Making check in include make[2]: Entering directory '/build/libffi/src/libffi-3.4.2/riscv64-unknown-linux-gnu/include' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/build/libffi/src/libffi-3.4.2/riscv64-unknown-linux-gnu/include' Making check in testsuite make[2]: Entering directory '/build/libffi/src/libffi-3.4.2/riscv64-unknown-linux-gnu/testsuite' /usr/bin/make check-DEJAGNU make[3]: Entering directory '/build/libffi/src/libffi-3.4.2/riscv64-unknown-linux-gnu/testsuite' Making a new site.exp file ... 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 WARNING: Couldn't find the global config file. Using ../../testsuite/lib/libffi.exp as tool init file. Test run by builduser on Sat Feb 19 00:43:10 2022 Native configuration is riscv64-unknown-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.bhaible/bhaible.exp ... Running ../../testsuite/libffi.call/call.exp ... FAIL: libffi.call/strlen.c -W -Wall -Wno-psabi -O2 execution test FAIL: libffi.call/strlen2.c -W -Wall -Wno-psabi -O2 execution test FAIL: libffi.call/strlen3.c -W -Wall -Wno-psabi -O2 execution test FAIL: libffi.call/strlen4.c -W -Wall -Wno-psabi -O2 execution test Running ../../testsuite/libffi.closures/closure.exp ... Running ../../testsuite/libffi.complex/complex.exp ... Running ../../testsuite/libffi.go/go.exp ... === libffi Summary === # of expected passes 1458 # of unexpected failures 4 # of unsupported tests 28 make[3]: *** [Makefile:455: check-DEJAGNU] Error 1 make[3]: Leaving directory '/build/libffi/src/libffi-3.4.2/riscv64-unknown-linux-gnu/testsuite' make[2]: *** [Makefile:532: check-am] Error 2 make[2]: Leaving directory '/build/libffi/src/libffi-3.4.2/riscv64-unknown-linux-gnu/testsuite' make[1]: *** [Makefile:1376: check-recursive] Error 1 make[1]: Leaving directory '/build/libffi/src/libffi-3.4.2/riscv64-unknown-linux-gnu' make: *** [Makefile:3067: check] Error 2 make: Leaving directory '/build/libffi/src/libffi-3.4.2' ==> ERROR: A failure occurred in check().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/felix28/build Shared connection to minun closed. receiving incremental file list libffi-3.4.2-4-riscv64-build.log libffi-3.4.2-4-riscv64-check.log sent 62 bytes received 4,753 bytes 3,210.00 bytes/sec total size is 22,591 speedup is 4.69