tribuchet: building on tribuchet1 Running phase: autotools.configure + /nix/store/yy742d23mxc7fiiz7xnc382j9p6b0kfr-bash/bin/bash /build/source/./configure --disable-nls --disable-dependency-tracking --disable-static --enable-shared --host=riscv64-unknown-linux-gnu --build=x86_64-build-linux-gnu configure: WARNING: unrecognized options: --disable-nls configure: loading site script /nix/store/10sj66j8wxngh09s98p8rxx8n4ibmg82-config.site configure: creating cache /build/build/config.cache checking build system type... x86_64-build-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... /build/build/install -c checking whether build environment is sane... yes checking for riscv64-unknown-linux-gnu-strip... llvm-strip checking for a race-free mkdir -p... mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for riscv64-unknown-linux-gnu-gcc... cc 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... yes checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether cc accepts -g... yes checking for cc option to enable C11 features... none needed checking whether cc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of cc... none checking whether the compiler supports GNU C++... yes checking whether c++ accepts -g... yes checking for c++ option to enable C++11 features... none needed checking dependency style of c++... none checking dependency style of cc... none checking for grep that handles long lines and -e... (cached) grep checking for egrep... (cached) grep -E checking how to print strings... printf checking for a sed that does not truncate output... (cached) sed checking for fgrep... (cached) grep -F checking for ld used by cc... /nix/store/rb3dgj8d0d7qvji3d83l75gr2mm9kwsz-cc-riscv64-linux/bin/ld checking if the linker (/nix/store/rb3dgj8d0d7qvji3d83l75gr2mm9kwsz-cc-riscv64-linux/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... llvm-nm checking the name lister (llvm-nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... (cached) 1572864 checking how to convert x86_64-build-linux-gnu file names to riscv64-unknown-linux-gnu format... func_convert_file_noop checking how to convert x86_64-build-linux-gnu file names to toolchain format... func_convert_file_noop checking for /nix/store/rb3dgj8d0d7qvji3d83l75gr2mm9kwsz-cc-riscv64-linux/bin/ld option to reload object files... -r checking for riscv64-unknown-linux-gnu-file... no checking for file... file configure: WARNING: using cross tools not prefixed with host triplet checking for riscv64-unknown-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... (cached) pass_all checking for riscv64-unknown-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-unknown-linux-gnu-ar... llvm-ar checking for archiver @FILE support... @ checking for riscv64-unknown-linux-gnu-strip... (cached) llvm-strip checking for riscv64-unknown-linux-gnu-ranlib... llvm-ranlib checking command to parse llvm-nm output from cc object... ok checking for sysroot... no checking for a working dd... /nix/store/5qdc4hcbllvp4gm09rgc6v6sacwd37k1-coreutils/bin/dd checking how to truncate binary pipes... /nix/store/5qdc4hcbllvp4gm09rgc6v6sacwd37k1-coreutils/bin/dd bs=4096 count=1 checking for riscv64-unknown-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 cc supports -fno-rtti -fno-exceptions... yes checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/nix/store/rb3dgj8d0d7qvji3d83l75gr2mm9kwsz-cc-riscv64-linux/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... (cached) 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... c++ -E checking for ld used by c++... /nix/store/rb3dgj8d0d7qvji3d83l75gr2mm9kwsz-cc-riscv64-linux/bin/ld checking if the linker (/nix/store/rb3dgj8d0d7qvji3d83l75gr2mm9kwsz-cc-riscv64-linux/bin/ld) is GNU ld... yes checking whether the c++ linker (/nix/store/rb3dgj8d0d7qvji3d83l75gr2mm9kwsz-cc-riscv64-linux/bin/ld) supports shared libraries... yes grep: warning: stray \ before - checking for c++ option to produce PIC... -fPIC -DPIC checking if c++ PIC flag -fPIC -DPIC works... yes checking if c++ static flag -static works... yes checking if c++ supports -c -o file.o... yes checking if c++ supports -c -o file.o... (cached) yes checking whether the c++ linker (/nix/store/rb3dgj8d0d7qvji3d83l75gr2mm9kwsz-cc-riscv64-linux/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 riscv64-unknown-linux-gnu-readelf... no checking for riscv64-unknown-linux-gnu-greadelf... no checking for readelf... readelf checking size of size_t... (cached) 8 checking for C compiler vendor... clang ******************************************************** * WARNING: Don't know the best CFLAGS for this system * * Use ./configure CFLAGS=... to specify your own flags * * (otherwise, a default of CFLAGS=-O3 will be used) * ******************************************************** checking whether the C compiler accepts -O3... yes checking CFLAGS for most reasonable warnings... -Wall checking whether to enable maintainer-specific portions of Makefiles... no checking for sys/memfd.h... no checking for memfd_create... yes checking for memcpy... yes checking for alloca.h... yes checking size of double... (cached) 8 checking size of long double... (cached) 16 checking for __int128_t... yes checking whether byte ordering is bigendian... (cached) no checking assembler .cfi pseudo-op support... yes checking whether compiler supports pointer authentication... no checking for _ prefix in compiled symbols... no checking whether the C compiler accepts -fno-lto... yes checking whether .eh_frame section should be read-only... yes checking for __attribute__((visibility("hidden")))... yes clang: error: unsupported option '-print-multi-os-directory' checking for shared libgcc... yes configure: versioning on shared library symbols is gnu configure: updating cache /build/build/config.cache 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: skipping top_srcdir/Makefile - not created config.status: executing depfiles commands config.status: executing libtool commands config.status: executing include commands config.status: executing src commands configure: WARNING: unrecognized options: --disable-nls Running phase: autotools.build + make -j4 /nix/store/c5ap5mwhv7n1nvy3ggyrixjjl1i9d1fs-gnumake/bin/make all-recursive make[1]: Entering directory '/build/build' Making all in include make[2]: Entering directory '/build/build/include' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/build/build/include' Making all in testsuite make[2]: Entering directory '/build/build/testsuite' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/build/build/testsuite' Making all in man make[2]: Entering directory '/build/build/man' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/build/build/man' Making all in doc make[2]: Entering directory '/build/build/doc' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/build/build/doc' make[2]: Entering directory '/build/build' cc -DHAVE_CONFIG_H -I. -I/build/source/. -I. -I/build/source/./include -Iinclude -I/build/source/./src -Wall -O3 -fexceptions -DRISCV -DGENERATE_LIBFFI_MAP \ -E -x assembler-with-cpp -o libffi.map /build/source/./libffi.map.in /nix/store/yy742d23mxc7fiiz7xnc382j9p6b0kfr-bash/bin/bash ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I/build/source/. -I. -I/build/source/./include -Iinclude -I/build/source/./src -Wall -O3 -fexceptions -c -o src/prep_cif.lo /build/source/./src/prep_cif.c /nix/store/yy742d23mxc7fiiz7xnc382j9p6b0kfr-bash/bin/bash ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I/build/source/. -I. -I/build/source/./include -Iinclude -I/build/source/./src -Wall -O3 -fexceptions -c -o src/types.lo /build/source/./src/types.c /nix/store/yy742d23mxc7fiiz7xnc382j9p6b0kfr-bash/bin/bash ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I/build/source/. -I. -I/build/source/./include -Iinclude -I/build/source/./src -Wall -O3 -fexceptions -c -o src/raw_api.lo /build/source/./src/raw_api.c /nix/store/yy742d23mxc7fiiz7xnc382j9p6b0kfr-bash/bin/bash ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I/build/source/. -I. -I/build/source/./include -Iinclude -I/build/source/./src -Wall -O3 -fexceptions -c -o src/java_raw_api.lo /build/source/./src/java_raw_api.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I/build/source/. -I. -I/build/source/./include -Iinclude -I/build/source/./src -Wall -O3 -fexceptions -c /build/source/./src/prep_cif.c -fPIC -DPIC -o src/.libs/prep_cif.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I/build/source/. -I. -I/build/source/./include -Iinclude -I/build/source/./src -Wall -O3 -fexceptions -c /build/source/./src/types.c -fPIC -DPIC -o src/.libs/types.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I/build/source/. -I. -I/build/source/./include -Iinclude -I/build/source/./src -Wall -O3 -fexceptions -c /build/source/./src/raw_api.c -fPIC -DPIC -o src/.libs/raw_api.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I/build/source/. -I. -I/build/source/./include -Iinclude -I/build/source/./src -Wall -O3 -fexceptions -c /build/source/./src/java_raw_api.c -fPIC -DPIC -o src/.libs/java_raw_api.o /nix/store/yy742d23mxc7fiiz7xnc382j9p6b0kfr-bash/bin/bash ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I/build/source/. -I. -I/build/source/./include -Iinclude -I/build/source/./src -Wall -O3 -fexceptions -c -o src/closures.lo /build/source/./src/closures.c /build/source/./src/java_raw_api.c:329:46: warning: 'ffi_java_raw_size' is deprecated [-Wdeprecated-declarations] 329 | ffi_java_raw *raw = (ffi_java_raw*)alloca (ffi_java_raw_size (cif)); | ^ include/ffi.h:323:56: note: 'ffi_java_raw_size' has been explicitly marked deprecated here 323 | size_t ffi_java_raw_size (ffi_cif *cif) __attribute__((deprecated)); | ^ /build/source/./src/java_raw_api.c:332:3: warning: 'ffi_java_ptrarray_to_raw' is deprecated [-Wdeprecated-declarations] 332 | ffi_java_ptrarray_to_raw (cif, avalue, raw); | ^ include/ffi.h:319:93: note: 'ffi_java_ptrarray_to_raw' has been explicitly marked deprecated here 319 | void ffi_java_ptrarray_to_raw (ffi_cif *cif, void **args, ffi_java_raw *raw) __attribute__((deprecated)); | ^ /nix/store/yy742d23mxc7fiiz7xnc382j9p6b0kfr-bash/bin/bash ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I/build/source/. -I. -I/build/source/./include -Iinclude -I/build/source/./src -Wall -O3 -fexceptions -c -o src/tramp.lo /build/source/./src/tramp.c 2 warnings generated. /nix/store/yy742d23mxc7fiiz7xnc382j9p6b0kfr-bash/bin/bash ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I/build/source/. -I. -I/build/source/./include -Iinclude -I/build/source/./src -Wall -O3 -fexceptions -c -o src/riscv/ffi.lo /build/source/./src/riscv/ffi.c /nix/store/yy742d23mxc7fiiz7xnc382j9p6b0kfr-bash/bin/bash ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I/build/source/. -I. -I/build/source/./include -Iinclude -I/build/source/./src '-I. -I/build/source/./include -Iinclude -I/build/source/./src' -c -o src/riscv/sysv.lo /build/source/./src/riscv/sysv.S libtool: compile: cc -DHAVE_CONFIG_H -I. -I/build/source/. -I. -I/build/source/./include -Iinclude -I/build/source/./src -Wall -O3 -fexceptions -c /build/source/./src/closures.c -fPIC -DPIC -o src/.libs/closures.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I/build/source/. -I. -I/build/source/./include -Iinclude -I/build/source/./src -Wall -O3 -fexceptions -c /build/source/./src/tramp.c -fPIC -DPIC -o src/.libs/tramp.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I/build/source/. -I. -I/build/source/./include -Iinclude -I/build/source/./src -Wall -O3 -fexceptions -c /build/source/./src/riscv/ffi.c -fPIC -DPIC -o src/riscv/.libs/ffi.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I/build/source/. -I. -I/build/source/./include -Iinclude -I/build/source/./src "-I. -I/build/source/./include -Iinclude -I/build/source/./src" -c /build/source/./src/riscv/sysv.S -fPIC -DPIC -o src/riscv/.libs/sysv.o /nix/store/yy742d23mxc7fiiz7xnc382j9p6b0kfr-bash/bin/bash ./libtool --tag=CC --mode=link cc -Wall -O3 -fexceptions -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 /nix/store/yy742d23mxc7fiiz7xnc382j9p6b0kfr-bash/bin/bash ./libtool --tag=CC --mode=link cc -Wall -O3 -fexceptions -no-undefined -version-info `grep -v '^#' /build/source/./libtool-version` -Wl,--version-script,libffi.map -o libffi.la -rpath /build/prefix/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: cc -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 -O3 -Wl,--version-script -Wl,libffi.map -Wl,-soname -Wl,libffi.so.8 -o .libs/libffi.so.8.5.0 libtool: link: llvm-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/.libs/tramp.o src/riscv/.libs/ffi.o src/riscv/.libs/sysv.o libtool: link: llvm-ranlib .libs/libffi_convenience.a libtool: link: (cd ".libs" && rm -f "libffi.so.8" && ln -s "libffi.so.8.5.0" "libffi.so.8") libtool: link: (cd ".libs" && rm -f "libffi.so" && ln -s "libffi.so.8.5.0" "libffi.so") libtool: link: ( cd ".libs" && rm -f "libffi_convenience.la" && ln -s "../libffi_convenience.la" "libffi_convenience.la" ) libtool: link: ( cd ".libs" && rm -f "libffi.la" && ln -s "../libffi.la" "libffi.la" ) make[2]: Leaving directory '/build/build' make[1]: Leaving directory '/build/build' Running phase: autotools.install + make install Making install in include make[1]: Entering directory '/build/build/include' make[2]: Entering directory '/build/build/include' make[2]: Nothing to be done for 'install-exec-am'. mkdir -p '/build/prefix/include' /build/build/install -c -m 644 ffi.h ffitarget.h '/build/prefix/include' make[2]: Leaving directory '/build/build/include' make[1]: Leaving directory '/build/build/include' Making install in testsuite make[1]: Entering directory '/build/build/testsuite' make[2]: Entering directory '/build/build/testsuite' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/build/build/testsuite' make[1]: Leaving directory '/build/build/testsuite' Making install in man make[1]: Entering directory '/build/build/man' make[2]: Entering directory '/build/build/man' make[2]: Nothing to be done for 'install-exec-am'. mkdir -p '/build/prefix/share/man/man3' /build/build/install -c -m 644 /build/source/./man/ffi.3 /build/source/./man/ffi_call.3 /build/source/./man/ffi_prep_cif.3 /build/source/./man/ffi_prep_cif_var.3 '/build/prefix/share/man/man3' make[2]: Leaving directory '/build/build/man' make[1]: Leaving directory '/build/build/man' Making install in doc make[1]: Entering directory '/build/build/doc' make[2]: Entering directory '/build/build/doc' make[2]: Nothing to be done for 'install-exec-am'. mkdir -p '/build/prefix/share/info' /build/build/install -c -m 644 /build/source/./doc/libffi.info '/build/prefix/share/info' make[2]: Leaving directory '/build/build/doc' make[1]: Leaving directory '/build/build/doc' make[1]: Entering directory '/build/build' make[2]: Entering directory '/build/build' mkdir -p '/build/prefix/lib' /nix/store/yy742d23mxc7fiiz7xnc382j9p6b0kfr-bash/bin/bash ./libtool --mode=install /build/build/install -c libffi.la '/build/prefix/lib' libtool: install: /build/build/install -c .libs/libffi.so.8.5.0 /build/prefix/lib/libffi.so.8.5.0 libtool: install: (cd /build/prefix/lib && { ln -s -f libffi.so.8.5.0 libffi.so.8 || { rm -f libffi.so.8 && ln -s libffi.so.8.5.0 libffi.so.8; }; }) libtool: install: (cd /build/prefix/lib && { ln -s -f libffi.so.8.5.0 libffi.so || { rm -f libffi.so && ln -s libffi.so.8.5.0 libffi.so; }; }) libtool: install: /build/build/install -c .libs/libffi.lai /build/prefix/lib/libffi.la libtool: finish: PATH="/nix/store/rb3dgj8d0d7qvji3d83l75gr2mm9kwsz-cc-riscv64-linux/bin:/nix/store/5qdc4hcbllvp4gm09rgc6v6sacwd37k1-coreutils/bin:/nix/store/y781m8sapv9v0ahqm09ajgf2k9vpr1ra-sed/bin:/nix/store/ckfdk2mnjfw1pa7yl0746w7j27bc1qr9-grep/bin:/nix/store/v6ssrxwpsv4mcxb92whl45h8wdp0dhv2-gawk/bin:/nix/store/hm25x10cssxkbq0qvvqd2pgwihxy35yc-diffutils/bin:/nix/store/65p3qmrya1lxsykra4mhs1cmsswslka8-findutils/bin:/nix/store/dmbmr3wmm1cm6d7vl8b5x004cs7piidd-patch/bin:/nix/store/c5ap5mwhv7n1nvy3ggyrixjjl1i9d1fs-gnumake/bin:/nix/store/yy742d23mxc7fiiz7xnc382j9p6b0kfr-bash/bin:/nix/store/ldqlqyr9c0gvwdkm5ppl62gaklw9m4bd-pkgconf/bin:/nix/store/x36fh9gds82sfzak0crn0746pmq783kk-llvm-boot/bin:/nix/store/gb55rsa5xdhwaw4jxj816mafzx7c4i7v-seed/bin:/sbin" ldconfig -n /build/prefix/lib /build/build/libtool: line 1888: ldconfig: command not found ---------------------------------------------------------------------- Libraries have been installed in: /build/prefix/lib If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the '-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the 'LD_RUN_PATH' environment variable during linking - use the '-Wl,-rpath -Wl,LIBDIR' linker flag - have your system administrator run these commands: See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- mkdir -p '/build/prefix/lib/pkgconfig' /build/build/install -c -m 644 libffi.pc '/build/prefix/lib/pkgconfig' make[2]: Leaving directory '/build/build' make[1]: Leaving directory '/build/build' + reloc-fixup /build/prefix --dest /nix/store/m9s2v382pds4xn7h129i2dhls3d61m7b-libffi-riscv64-linux --deny /nix/store/rb3dgj8d0d7qvji3d83l75gr2mm9kwsz-cc-riscv64-linux --deny /nix/store/5qdc4hcbllvp4gm09rgc6v6sacwd37k1-coreutils --deny /nix/store/y781m8sapv9v0ahqm09ajgf2k9vpr1ra-sed --deny /nix/store/ckfdk2mnjfw1pa7yl0746w7j27bc1qr9-grep --deny /nix/store/v6ssrxwpsv4mcxb92whl45h8wdp0dhv2-gawk --deny /nix/store/hm25x10cssxkbq0qvvqd2pgwihxy35yc-diffutils --deny /nix/store/65p3qmrya1lxsykra4mhs1cmsswslka8-findutils --deny /nix/store/dmbmr3wmm1cm6d7vl8b5x004cs7piidd-patch --deny /nix/store/c5ap5mwhv7n1nvy3ggyrixjjl1i9d1fs-gnumake --deny /nix/store/yy742d23mxc7fiiz7xnc382j9p6b0kfr-bash --deny /nix/store/ldqlqyr9c0gvwdkm5ppl62gaklw9m4bd-pkgconf --deny /nix/store/x36fh9gds82sfzak0crn0746pmq783kk-llvm-boot --deny /nix/store/gb55rsa5xdhwaw4jxj816mafzx7c4i7v-seed lib/libffi.so.8.5.0 RUNPATH $ORIGIN/../../xnx7r34qzd4bicizhpk2w0771dkaylkg-sysroot-riscv64-linux/lib/