Closed autoantwort closed 1 year ago
This is a cross-build issue, isn't it. I do have a draft PR for a nettle update, but I already consider doing an update to the current version first.
Also the arm64-osx build fails with the same error, so this is not a cross build issue I guess.
Package: nettle[core]:x64-osx -> 3.7.3
Host Environment
To Reproduce
vcpkg install
Failure logs
/Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg/buildtrees/nettle/config-x64-osx-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 nettle configure 3.7.3, which was generated by GNU Autoconf 2.71. Invocation command line was $ ./../src/1f35bea1c1-b3c5d0ac7b.clean/configure --host=x86_64-apple-darwin --disable-documentation --disable-openssl --disable-shared --disable-silent-rules --verbose --disable-shared --enable-static --prefix=/Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg_installed/x64-osx/debug '--bindir=${prefix}/../tools/nettle/debug/bin' '--sbindir=${prefix}/../tools/nettle/debug/sbin' '--libdir=${prefix}/lib' '--includedir=${prefix}/../include' '--datarootdir=${prefix}/share/nettle' ## --------- ## ## Platform. ## ## --------- ## hostname = MacBook-Pro.local uname -m = arm64 uname -r = 22.3.0 uname -s = Darwin uname -v = Darwin Kernel Version 22.3.0: Mon Jan 30 20:38:37 PST 2023; root:xnu-8792.81.3~2/RELEASE_ARM64_T6000 /usr/bin/uname -p = arm /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = Mach kernel version: Darwin Kernel Version 22.3.0: Mon Jan 30 20:38:37 PST 2023; root:xnu-8792.81.3~2/RELEASE_ARM64_T6000 Kernel configured for up to 10 processors. 10 processors are physically available. 10 processors are logically available. Processor type: arm64e (ARM64E) Processors active: 0 1 2 3 4 5 6 7 8 9 Primary memory available: 32.00 gigabytes Default processor set: 500 tasks, 3670 threads, 10 processors Load average: 5.80, Mach factor: 4.39 /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /Users/leanderSchulten/Library/pnpm/ PATH: /opt/homebrew/opt/bison/bin/ PATH: /Users/leanderSchulten/git_projekte/build-vcpkg-tool-No_QT-RelWithDebInfo/ PATH: /usr/local/opt/node@14/bin/ PATH: /Users/leanderSchulten/anaconda3/bin/ PATH: /opt/homebrew/bin/ PATH: /opt/homebrew/sbin/ PATH: /usr/local/bin/ PATH: /System/Cryptexes/App/usr/bin/ PATH: /usr/bin/ PATH: /bin/ PATH: /usr/sbin/ PATH: /sbin/ PATH: /Library/TeX/texbin/ PATH: /usr/local/share/dotnet/ PATH: /opt/X11/bin/ PATH: /Library/Apple/usr/bin/ PATH: /Library/Frameworks/Mono.framework/Versions/Current/Commands/ PATH: /Applications/Wireshark.app/Contents/MacOS/ PATH: /Users/leanderSchulten/Library/pnpm/ PATH: /opt/homebrew/opt/bison/bin/ PATH: /Users/leanderSchulten/git_projekte/build-vcpkg-tool-No_QT-RelWithDebInfo/ PATH: /usr/local/opt/node@14/bin/ PATH: /Users/leanderSchulten/anaconda3/bin/ PATH: /opt/homebrew/bin/ PATH: /opt/homebrew/sbin/ PATH: /Users/leanderSchulten/.cargo/bin/ PATH: /Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg/downloads/tools/ninja/1.10.2-osx/ PATH: /opt/homebrew/bin/ ## ----------- ## ## Core tests. ## ## ----------- ## configure:2963: looking for aux files: install-sh config.guess config.sub configure:2976: trying ./../src/1f35bea1c1-b3c5d0ac7b.clean/./ configure:2987: ./../src/1f35bea1c1-b3c5d0ac7b.clean/./install-sh found ... Skipped 436 lines ... | { | // Test initializer lists | cxx11test::testinit il = { 4323, 435234.23544 }; | } | { | // Test range-based for | int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3, | 14, 19, 17, 8, 6, 20, 16, 2, 11, 1}; | for (auto &x : array) { x += 23; } | } | { | // Test lambda expressions | using cxx11test::eval; | assert (eval ([](int x) { return x*2; }, 21) == 42); | double d = 2.0; | assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0); | assert (d == 5.0); | assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0); | assert (d == 5.0); | } | { | // Test use of variadic templates | using cxx11test::sum; | auto a = sum(1); | auto b = sum(1, 2); | auto c = sum(1.0, 2.0, 3.0); | } | { | // Test constructor delegation | cxx11test::delegate d1; | cxx11test::delegate d2(); | cxx11test::delegate d3(45); | } | { | // Test override and final | cxx11test::overridden o1(55464); | } | { | // Test nullptr | char *c = nullptr; | } | { | // Test template brackets | test_template<::test_template/Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg/buildtrees/nettle/config-x64-osx-dbg-out.log
``` checking build system type... aarch64-apple-darwin22.3.0 checking host system type... x86_64-apple-darwin checking for -R flag... none Searching for libraries checking /Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg_installed/x64-osx/debug/lib... added checking /usr/local/lib... added checking /sw/local/lib... not found checking /sw/lib... not found checking /usr/gnu/lib... not found checking /opt/gnu/lib... not found checking /sw/gnu/lib... not found checking /usr/freeware/lib... not found checking /usr/pkg/lib... not found checking for x86_64-apple-darwin-gcc... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk -fPIC -g 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 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk -fPIC -g accepts -g... yes checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk -fPIC -g option to enable C11 features... none needed checking for ifunc support... no checking whether the compiler supports GNU C++... yes checking whether /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ accepts -g... yes checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ option to enable C++11 features... none needed checking if LD -Wl,--version-script works... no checking whether make sets $(MAKE)... yes checking for x86_64-apple-darwin-ranlib... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib checking for x86_64-apple-darwin-nm... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/nm checking for x86_64-apple-darwin-objdump... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump checking for x86_64-apple-darwin-ar... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar checking for a BSD-compatible install... /opt/homebrew/bin/ginstall -c checking for a race-free mkdir -p... /opt/homebrew/bin/gmkdir -p checking whether ln -s works... yes checking build system compiler touch a.out | touch conftest | true -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk -fPIC -g... no ```/Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg/buildtrees/nettle/config-x64-osx-dbg-err.log
``` configure: WARNING: unrecognized options: --disable-silent-rules configure: error: Specified CC_FOR_BUILD doesn't seem to work ```Additional context
vcpkg.json
``` { "$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json", "name": "lichtsteuerung", "version-string": "2.0.0", "dependencies": [ { "name": "zeromq", "default-features": false, "features": [ "websockets-sha1" ] } ], "vcpkg-configuration": { "overlay-ports": [ "overlay-ports" ] } } ```