Closed SoftdriveFelix closed 11 months ago
For ports based on traditional make, VCPKG is incompatible with NDK r26, #33179. This is known since #31332.
Would be fixed by #31228 but this wasn't accepted. Must be fixed #33198. But I don't expect it to be stable soon.
@dg0yt is it currently fixed by https://github.com/microsoft/vcpkg/pull/33198 ? I mean that PR is basically green. I just haven't come around writing tests for its behavior.
is it currently fixed by #33198 ? I mean that PR is basically green. I just haven't come around writing tests for its behavior.
I don't know. We need to test with NDK r26.
(I'm not concerned about making https://github.com/microsoft/vcpkg/pull/33198 a drop-in replacement for vcpkg_configure_make and friends, but about giving it an extensible interface now that allows to fix use case which vcpkg_configure_make is unable to handle at the moment. Once the port is merged, it will become impossible to make certain changes, such as changing an option from default-on to default-off. Maybe the functions should start as x_vcpkg_make_...
, to signal interface instability to users writing their own ports.)
I can confirm that both #31228 and #33198 fix the issue. I tried both of them in a freshly pulled environment.
Hmmm... Actually it seems like a fresh vcpkg install of main also fixes the issue 🤔 I probably had a corrupt vcpkg environment
Operating system
Windows vcpkg commit: 4cfabe769eaceb209ea37267e8c50c43b86a4a7b
Compiler
Clang (android ndk26)
Steps to reproduce the behavior
Failure logs
config-arm64-android-dbg-err.log config-arm64-android-dbg-out.log
config-arm64-android-dbg-err.log
``` + C:/vcpkg/downloads/tools/msys2/7695e693b092e6c7/usr/bin/perl.exe C:/vcpkg/buildtrees/openssl/src/nssl-3.1.2-a1adf9ea87.clean/Configure android- enable-static-engine enable-capieng no-ssl3 no-weak-ssl-ciphers no-tests no-shared no-module no-apps --openssldir=/etc/ssl --libdir=lib --debug --prefix=/C/vcpkg/installed/arm64-android/debug Usage: Configure [no-config-arm64-android-dbg-out.log
``` Configuring OpenSSL version 3.1.2 for target android- Using os-specific seed configuration ```Additional context
When I try to run the command that failed
C:/vcpkg/downloads/tools/msys2/d7266db249278763/usr/bin/bash.exe --noprofile --norc --debug -c "V=1 ./../src/nssl-3.1.2-a1adf9ea87.clean/vcpkg/configure --host=aarch64-linux-android \"C:/vcpkg/downloads/tools/msys2/7695e693b092e6c7/usr/bin/perl.exe\" \"C:/vcpkg/buildtrees/openssl/src/nssl-3.1.2-a1adf9ea87.clean/Configure\" \"android-\" \"enable-static-engine\" \"enable-capieng\" \"no-ssl3\" \"no-weak-ssl-ciphers\" \"no-tests\" \"no-shared\" \"no-module\" \"no-apps\" \"--openssldir=/etc/ssl\" \"--libdir=lib\" \"--disable-silent-rules\" \"--verbose\" \"--disable-shared\" \"--enable-static\" \"--debug\" \"--prefix=/C/vcpkg/installed/arm64-android/debug\""
I get this error:\C:/vcpkg/buildtrees/openssl/src/nssl-3.1.2-a1adf9ea87.clean/Configure\: -c: line 1: unexpected EOF while looking for matching
"'` Not too sure if it's related or not.openssl:x64-android also fails.
I am able to install the windows variants of the library (openssl:x64-windows, openssl:x86-windows, etc).
I am able to build other arm64-android packages without issues. I currently have fmt, spdlog, boost-signals2, bzip2, catch2, glm, gtest, libguarded and nlohmann-json.
I have set
$Env:ANDROID_NDK_HOME="C:\Android\ndk\26.0.10636728"
before trying to install otherwise I would get an error.