Open SchaichAlonso opened 3 weeks ago
This isn't a problem with the libffi
port, but instead with vcpkg_configure_make.
Setting the MAKE
environment to gmake
, as proposed in config-x64-openbsd-dbg-err.log
, before invoking vcpkg, workarounds the issue.
Package: libffi:x64-openbsd@3.4.6
Host Environment
To Reproduce
vcpkg install libffi
Failure logs
/root/vcpkg/buildtrees/libffi/config-x64-openbsd-dbg-err.log
``` config.status: error: in `/root/vcpkg/buildtrees/libffi/x64-openbsd-dbg': config.status: error: Something went wrong bootstrapping makefile fragments for automatic dependency tracking. If GNU make was not used, consider re-running the configure script with MAKE="gmake" (or whatever is necessary). You can also try re-running configure with the '--disable-dependency-tracking' option to at least be able to build the package (albeit without support for automatic dependency tracking). See `config.log' for more details ```/root/vcpkg/buildtrees/libffi/config-x64-openbsd-dbg-out.log
``` checking build system type... x86_64-unknown-openbsd7.5 checking host system type... x86_64-unknown-openbsd7.5 checking target system type... x86_64-unknown-openbsd7.5 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/local/bin/gmkdir -p checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for gcc... /usr/bin/clang 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 /usr/bin/clang accepts -g... yes checking for /usr/bin/clang option to enable C11 features... none needed checking whether /usr/bin/clang understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of /usr/bin/clang... gcc3 checking whether the compiler supports GNU C++... yes checking whether /usr/bin/clang++ accepts -g... yes checking for /usr/bin/clang++ option to enable C++11 features... none needed checking dependency style of /usr/bin/clang++... gcc3 checking dependency style of clang... gcc3 checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking how to print strings... print -r checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by /usr/bin/clang... /usr/bin/ld.lld checking if the linker (/usr/bin/ld.lld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm checking the name lister (/usr/bin/nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 393216 checking how to convert x86_64-unknown-openbsd7.5 file names to x86_64-unknown-openbsd7.5 format... func_convert_file_noop checking how to convert x86_64-unknown-openbsd7.5 file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld.lld option to reload object files... -r checking for file... file checking for objdump... /usr/bin/llvm-objdump checking how to recognize dependent libraries... match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$ checking for dlltool... CMAKE_DLLTOOL-NOTFOUND checking how to associate runtime and link libraries... print -r -- checking for archiver @FILE support... @ checking for strip... /usr/bin/strip checking for ranlib... /usr/bin/ranlib checking command to parse /usr/bin/nm output from /usr/bin/clang object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mt... mt checking if mt 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 /usr/bin/clang supports -fno-rtti -fno-exceptions... yes checking for /usr/bin/clang option to produce PIC... -fPIC -DPIC checking if /usr/bin/clang PIC flag -fPIC -DPIC works... yes checking if /usr/bin/clang static flag -static works... yes checking if /usr/bin/clang supports -c -o file.o... yes checking if /usr/bin/clang supports -c -o file.o... (cached) yes checking whether the /usr/bin/clang linker (/usr/bin/ld.lld) supports shared libraries... yes checking dynamic linker characteristics... openbsd7.5 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... no checking whether to build static libraries... yes checking how to run the C++ preprocessor... /usr/bin/clang++ -E checking for ld used by /usr/bin/clang++... /usr/bin/ld.lld checking if the linker (/usr/bin/ld.lld) is GNU ld... yes checking whether the /usr/bin/clang++ linker (/usr/bin/ld.lld) supports shared libraries... yes checking for /usr/bin/clang++ option to produce PIC... -fPIC -DPIC checking if /usr/bin/clang++ PIC flag -fPIC -DPIC works... yes checking if /usr/bin/clang++ static flag -static works... yes checking if /usr/bin/clang++ supports -c -o file.o... yes checking if /usr/bin/clang++ supports -c -o file.o... (cached) yes checking whether the /usr/bin/clang++ linker (/usr/bin/ld.lld) supports shared libraries... yes checking dynamic linker characteristics... openbsd7.5 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... clang 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... no checking for egrep... (cached) /usr/bin/grep -E checking for memcpy... yes checking for alloca.h... no 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 assembler supports pc related relocs... yes checking whether compiler supports pointer authentication... no checking for _ prefix in compiled symbols... no checking toolchain supports unwind section type... yes checking whether C compiler accepts -fno-lto... yes checking whether .eh_frame section should be read-only... yes checking for __attribute__((visibility("hidden")))... yes configure: versioning on shared library symbols is no 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 ```/root/vcpkg/buildtrees/libffi/config-x64-openbsd-dbg-config.log
``` This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by libffi configure 3.4.6, which was generated by GNU Autoconf 2.71. Invocation command line was $ ./../src/libffi-3-5867c437e9.clean/configure --enable-portable-binary --disable-docs --disable-multi-os-directory CCAS=clang --disable-silent-rules --verbose --disable-shared --enable-static --prefix=/root/vcpkg/installed/x64-openbsd/debug '--bindir=${prefix}/../tools/libffi/debug/bin' '--sbindir=${prefix}/../tools/libffi/debug/sbin' '--libdir=${prefix}/lib' '--includedir=${prefix}/../include' '--datarootdir=${prefix}/share/libffi' ## --------- ## ## Platform. ## ## --------- ## hostname = vultr.guest uname -m = amd64 uname -r = 7.5 uname -s = OpenBSD uname -v = GENERIC.MP#82 /usr/bin/uname -p = amd64 /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = OpenBSD.amd64 /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /sbin/ PATH: /usr/sbin/ PATH: /bin/ PATH: /usr/bin/ PATH: /usr/X11R6/bin/ PATH: /usr/local/sbin/ PATH: /usr/local/bin/ PATH: /usr/local/bin/ PATH: /usr/bin/ PATH: /usr/local/bin/ PATH: /root/vcpkg/downloads/tools/pkg-config/openbsd/ ## ----------- ## ## Core tests. ## ## ----------- ## configure:3015: looking for aux files: ltmain.sh compile missing install-sh config.guess config.sub configure:3028: trying ./../src/libffi-3-5867c437e9.clean/ configure:3057: ./../src/libffi-3-5867c437e9.clean/ltmain.sh found configure:3057: ./../src/libffi-3-5867c437e9.clean/compile found configure:3057: ./../src/libffi-3-5867c437e9.clean/missing found configure:3039: ./../src/libffi-3-5867c437e9.clean/install-sh found configure:3057: ./../src/libffi-3-5867c437e9.clean/config.guess found configure:3057: ./../src/libffi-3-5867c437e9.clean/config.sub found configure:3178: checking build system type configure:3193: result: x86_64-unknown-openbsd7.5 configure:3213: checking host system type configure:3227: result: x86_64-unknown-openbsd7.5 configure:3247: checking target system type configure:3261: result: x86_64-unknown-openbsd7.5 configure:3359: checking for gsed configure:3395: result: sed configure:3424: checking for a BSD-compatible install configure:3497: result: /usr/bin/install -c configure:3508: checking whether build environment is sane configure:3563: result: yes configure:3718: checking for a race-free mkdir -p configure:3762: result: /usr/local/bin/gmkdir -p configure:3769: checking for gawk configure:3804: result: no configure:3769: checking for mawk configure:3804: result: no configure:3769: checking for nawk configure:3804: result: no configure:3769: checking for awk configure:3790: found /usr/bin/awk configure:3801: result: awk configure:3812: checking whether make sets $(MAKE) configure:3835: result: yes configure:3865: checking whether make supports nested variables configure:3883: result: yes configure:4092: checking for gcc configure:4124: result: /usr/bin/clang configure:4477: checking for C compiler version configure:4486: /usr/bin/clang --version >&5 OpenBSD clang version 16.0.6 Target: amd64-unknown-openbsd7.5 Thread model: posix InstalledDir: /usr/bin configure:4497: $? = 0 configure:4486: /usr/bin/clang -v >&5 OpenBSD clang version 16.0.6 Target: amd64-unknown-openbsd7.5 Thread model: posix InstalledDir: /usr/bin configure:4497: $? = 0 configure:4486: /usr/bin/clang -V >&5 clang: error: argument to '-V' is missing (expected 1 value) clang: error: no input files configure:4497: $? = 1 configure:4486: /usr/bin/clang -qversion >&5 clang: error: unknown argument '-qversion'; did you mean '--version'? clang: error: no input files configure:4497: $? = 1 configure:4486: /usr/bin/clang -version >&5 clang: error: unknown argument '-version'; did you mean '--version'? clang: error: no input files configure:4497: $? = 1 configure:4517: checking whether the C compiler works configure:4539: /usr/bin/clang -fPIC -g -L/root/vcpkg/installed/x64-openbsd/debug/lib conftest.c >&5 configure:4543: $? = 0 configure:4593: result: yes configure:4596: checking for C compiler default output file name configure:4598: result: a.out configure:4604: checking for suffix of executables configure:4611: /usr/bin/clang -o conftest -fPIC -g -L/root/vcpkg/installed/x64-openbsd/debug/lib conftest.c >&5 configure:4615: $? = 0 configure:4638: result: configure:4660: checking whether we are cross compiling configure:4668: /usr/bin/clang -o conftest -fPIC -g -L/root/vcpkg/installed/x64-openbsd/debug/lib conftest.c >&5 configure:4672: $? = 0 configure:4679: ./conftest configure:4683: $? = 0 configure:4698: result: no configure:4703: checking for suffix of object files configure:4726: /usr/bin/clang -c -fPIC -g conftest.c >&5 configure:4730: $? = 0 configure:4752: result: o configure:4756: checking whether the compiler supports GNU C configure:4776: /usr/bin/clang -c -fPIC -g conftest.c >&5 configure:4776: $? = 0 configure:4786: result: yes configure:4797: checking whether /usr/bin/clang accepts -g configure:4818: /usr/bin/clang -c -g conftest.c >&5 configure:4818: $? = 0 configure:4862: result: yes configure:4882: checking for /usr/bin/clang option to enable C11 features configure:4897: /usr/bin/clang -c -fPIC -g conftest.c >&5 conftest.c:25:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static char *e (p, i) ^ 1 warning generated. configure:4897: $? = 0 configure:4915: result: none needed configure:5031: checking whether /usr/bin/clang understands -c and -o together configure:5054: /usr/bin/clang -c conftest.c -o conftest2.o configure:5057: $? = 0 configure:5054: /usr/bin/clang -c conftest.c -o conftest2.o configure:5057: $? = 0 configure:5069: result: yes configure:5089: checking whether make supports the include directive configure:5104: make -f confmf.GNU && cat confinc.out this is the am__doit target configure:5107: $? = 0 configure:5126: result: yes (GNU style) configure:5152: checking dependency style of /usr/bin/clang configure:5264: result: gcc3 configure:5407: checking for C++ compiler version configure:5416: /usr/bin/clang++ --version >&5 OpenBSD clang version 16.0.6 Target: amd64-unknown-openbsd7.5 Thread model: posix InstalledDir: /usr/bin configure:5427: $? = 0 configure:5416: /usr/bin/clang++ -v >&5 OpenBSD clang version 16.0.6 Target: amd64-unknown-openbsd7.5 Thread model: posix InstalledDir: /usr/bin configure:5427: $? = 0 configure:5416: /usr/bin/clang++ -V >&5 clang++: error: argument to '-V' is missing (expected 1 value) clang++: error: no input files configure:5427: $? = 1 configure:5416: /usr/bin/clang++ -qversion >&5 clang++: error: unknown argument '-qversion'; did you mean '--version'? clang++: error: no input files configure:5427: $? = 1 configure:5431: checking whether the compiler supports GNU C++ configure:5451: /usr/bin/clang++ -c -fPIC -g conftest.cpp >&5 configure:5451: $? = 0 configure:5461: result: yes configure:5472: checking whether /usr/bin/clang++ accepts -g configure:5493: /usr/bin/clang++ -c -g conftest.cpp >&5 configure:5493: $? = 0 configure:5537: result: yes configure:5557: checking for /usr/bin/clang++ option to enable C++11 features configure:5572: /usr/bin/clang++ -c -fPIC -g conftest.cpp >&5 conftest.cpp:177:25: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] cxx11test::delegate d2(); ^~ conftest.cpp:177:25: note: remove parentheses to declare a variable cxx11test::delegate d2(); ^~ 1 warning generated. configure:5572: $? = 0 configure:5590: result: none needed configure:5656: checking dependency style of /usr/bin/clang++ configure:5768: result: gcc3 configure:5798: checking dependency style of clang configure:5908: result: gcc3 configure:5924: checking for grep that handles long lines and -e configure:5988: result: /usr/bin/grep configure:5993: checking for egrep configure:6061: result: /usr/bin/grep -E configure:6113: checking how to print strings configure:6142: result: print -r configure:6161: checking for a sed that does not truncate output configure:6231: result: /usr/bin/sed configure:6249: checking for fgrep configure:6317: result: /usr/bin/grep -F configure:6353: checking for ld used by /usr/bin/clang configure:6421: result: /usr/bin/ld.lld configure:6428: checking if the linker (/usr/bin/ld.lld) is GNU ld configure:6444: result: yes configure:6456: checking for BSD- or MS-compatible name lister (nm) configure:6511: result: /usr/bin/nm configure:6651: checking the name lister (/usr/bin/nm) interface configure:6659: /usr/bin/clang -c -fPIC -g conftest.c >&5 configure:6662: /usr/bin/nm "conftest.o" configure:6665: output 00000000 F conftest.c 00000000 B some_variable configure:6672: result: BSD nm configure:6675: checking whether ln -s works configure:6679: result: yes configure:6687: checking the maximum length of command line arguments configure:6819: result: 393216 configure:6867: checking how to convert x86_64-unknown-openbsd7.5 file names to x86_64-unknown-openbsd7.5 format configure:6908: result: func_convert_file_noop configure:6915: checking how to convert x86_64-unknown-openbsd7.5 file names to toolchain format configure:6936: result: func_convert_file_noop configure:6943: checking for /usr/bin/ld.lld option to reload object files configure:6951: result: -r configure:7030: checking for file configure:7051: found /usr/bin/file configure:7062: result: file configure:7138: checking for objdump configure:7170: result: /usr/bin/llvm-objdump configure:7202: checking how to recognize dependent libraries configure:7403: result: match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$ configure:7493: checking for dlltool configure:7525: result: CMAKE_DLLTOOL-NOTFOUND configure:7558: checking how to associate runtime and link libraries configure:7586: result: print -r -- configure:7737: checking for archiver @FILE support configure:7755: /usr/bin/clang -c -fPIC -g conftest.c >&5 configure:7755: $? = 0 configure:7759: /usr/bin/ar cr libconftest.a @conftest.lst >&5 configure:7762: $? = 0 configure:7767: /usr/bin/ar cr libconftest.a @conftest.lst >&5 /usr/bin/ar: error: conftest.o: No such file or directory configure:7770: $? = 1 configure:7782: result: @ configure:7845: checking for strip configure:7877: result: /usr/bin/strip configure:7954: checking for ranlib configure:7986: result: /usr/bin/ranlib configure:8088: checking command to parse /usr/bin/nm output from /usr/bin/clang object configure:8242: /usr/bin/clang -c -fPIC -g conftest.c >&5 configure:8245: $? = 0 configure:8249: /usr/bin/nm conftest.o \| /usr/bin/sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /usr/bin/sed '/ __gnu_lto/d' \> conftest.nm configure:8252: $? = 0 configure:8318: /usr/bin/clang -o conftest -fPIC -g -L/root/vcpkg/installed/x64-openbsd/debug/lib conftest.c conftstm.o >&5 configure:8321: $? = 0 configure:8359: result: ok configure:8406: checking for sysroot configure:8437: result: no configure:8444: checking for a working dd configure:8488: result: /bin/dd configure:8492: checking how to truncate binary pipes configure:8508: result: /bin/dd bs=4096 count=1 configure:8845: checking for mt configure:8866: found /bin/mt configure:8877: result: mt configure:8900: checking if mt is a manifest tool configure:8907: mt '-?' mt: unknown option -- ? usage: mt [-f device] command [count] configure:8915: result: no configure:9640: checking for stdio.h configure:9640: /usr/bin/clang -c -fPIC -g conftest.c >&5 configure:9640: $? = 0 configure:9640: result: yes configure:9640: checking for stdlib.h configure:9640: /usr/bin/clang -c -fPIC -g conftest.c >&5 configure:9640: $? = 0 configure:9640: result: yes configure:9640: checking for string.h configure:9640: /usr/bin/clang -c -fPIC -g conftest.c >&5 configure:9640: $? = 0 configure:9640: result: yes configure:9640: checking for inttypes.h configure:9640: /usr/bin/clang -c -fPIC -g conftest.c >&5 configure:9640: $? = 0 configure:9640: result: yes configure:9640: checking for stdint.h configure:9640: /usr/bin/clang -c -fPIC -g conftest.c >&5 configure:9640: $? = 0 configure:9640: result: yes configure:9640: checking for strings.h configure:9640: /usr/bin/clang -c -fPIC -g conftest.c >&5 configure:9640: $? = 0 configure:9640: result: yes configure:9640: checking for sys/stat.h configure:9640: /usr/bin/clang -c -fPIC -g conftest.c >&5 configure:9640: $? = 0 configure:9640: result: yes configure:9640: checking for sys/types.h configure:9640: /usr/bin/clang -c -fPIC -g conftest.c >&5 configure:9640: $? = 0 configure:9640: result: yes configure:9640: checking for unistd.h configure:9640: /usr/bin/clang -c -fPIC -g conftest.c >&5 configure:9640: $? = 0 configure:9640: result: yes configure:9665: checking for dlfcn.h configure:9665: /usr/bin/clang -c -fPIC -g conftest.c >&5 configure:9665: $? = 0 configure:9665: result: yes configure:9935: checking for objdir configure:9951: result: .libs configure:10215: checking if /usr/bin/clang supports -fno-rtti -fno-exceptions configure:10234: /usr/bin/clang -c -fPIC -g -fno-rtti -fno-exceptions conftest.c >&5 configure:10238: $? = 0 configure:10251: result: yes configure:10609: checking for /usr/bin/clang option to produce PIC configure:10617: result: -fPIC -DPIC configure:10625: checking if /usr/bin/clang PIC flag -fPIC -DPIC works configure:10644: /usr/bin/clang -c -fPIC -g -fPIC -DPIC -DPIC conftest.c >&5 configure:10648: $? = 0 configure:10661: result: yes configure:10690: checking if /usr/bin/clang static flag -static works configure:10719: result: yes configure:10734: checking if /usr/bin/clang supports -c -o file.o configure:10756: /usr/bin/clang -c -fPIC -g -o out/conftest2.o conftest.c >&5 configure:10760: $? = 0 configure:10782: result: yes configure:10790: checking if /usr/bin/clang supports -c -o file.o configure:10838: result: yes configure:10871: checking whether the /usr/bin/clang linker (/usr/bin/ld.lld) supports shared libraries configure:12139: result: yes configure:12380: checking dynamic linker characteristics configure:13204: result: openbsd7.5 ld.so configure:13326: checking how to hardcode library paths into programs configure:13351: result: immediate configure:13903: checking whether stripping libraries is possible configure:13912: result: yes configure:13954: checking if libtool supports shared libraries configure:13956: result: yes configure:13959: checking whether to build shared libraries configure:13984: result: no configure:13987: checking whether to build static libraries configure:13991: result: yes configure:14014: checking how to run the C++ preprocessor configure:14036: /usr/bin/clang++ -E conftest.cpp configure:14036: $? = 0 configure:14051: /usr/bin/clang++ -E conftest.cpp conftest.cpp:23:10: fatal error: 'ac_nonexistent.h' file not found #include