Open ClementToni opened 2 months ago
Duplicate of https://github.com/microsoft/vcpkg/issues/30136, please try the solution from PR https://github.com/microsoft/vcpkg/pull/31621.
Hi,
I tried the solution (cloning the repository, checking out the appropriate branch, and compiling), and then I ran./vcpkg install python3
again. Unfortunately, this did not fix the error.
Issue is still going on for OSX. Here's a reference to another of this: #39950
Issue is still going on for OSX. Here's a reference to another of this: #39950
No, this is a different issue.
I am still unable to run ./vcpkg install python3:arm64-osx
Do you have any suggestions on what I should do?
I am also having the same issue still.
This is a quick update on my issue.
I found that in the config-arm64-osx-dbg-config.log
, the uname -m
command was returning x86_64
instead of arm64
. However, I still haven’t been able to fix this bug.
The config-arm64-osx-dbg-config.log
file:
`This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake.
It was created by python configure 3.11, which was generated by GNU Autoconf 2.72. Invocation command line was
$ ./../src/v3.11.8-31d17ab840.clean/configure --host=aarch64-apple-darwin --with-openssl=/Users/clement_t/Epitech/celte/celte_vm/build/vcpkg_installed/arm64-osx --without-ensurepip --with-suffix= --with-system-expat --without-readline --disable-test-modules 'LIBS=-liconv -lintl' --disable-silent-rules --verbose --disable-shared --enable-static --with-pydebug vcpkg_rpath=/Users/clement_t/Epitech/celte/celte_vm/build/vcpkg_installed/arm64-osx/debug/lib --prefix=/Users/clement_t/Epitech/celte/celte_vm/build/vcpkg_installed/arm64-osx/debug '--bindir=${prefix}/../tools/python3/debug/bin' '--sbindir=${prefix}/../tools/python3/debug/sbin' '--libdir=${prefix}/lib' '--includedir=${prefix}/../include' '--datarootdir=${prefix}/share/python3'
hostname = Clements-MacBook-Pro-2.local uname -m = x86_64 uname -r = 24.0.0 uname -s = Darwin uname -v = Darwin Kernel Version 24.0.0: Tue Sep 24 23:39:07 PDT 2024; root:xnu-11215.1.12~1/RELEASE_ARM64_T6000
/usr/bin/uname -p = i386 /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 24.0.0: Tue Sep 24 23:39:07 PDT 2024; root:xnu-11215.1.12~1/RELEASE_ARM64_T6000 Kernel configured for up to 10 processors. 10 processors are physically available. 10 processors are logically available. Processor type: i486 (Intel 80486) Processors active: 0 1 2 3 4 5 6 7 8 9 Primary memory available: 32.00 gigabytes Default processor set: 938 tasks, 5228 threads, 10 processors Load average: 38.38, Mach factor: 0.25 /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown ` config-arm64-osx-dbg-config.log
I found that in the
config-arm64-osx-dbg-config.log
, theuname -m
command was returningx86_64
instead ofarm64
.
Does the whole process already run in the wrong environment? config.log
reports this PATH
:
PATH: /usr/local/sbin/
PATH: /Users/clement_t/projet/email/google-cloud-sdk/bin/
PATH: /Users/clement_t/miniconda3/bin/
PATH: /Users/clement_t/development/flutter/bin/
PATH: /Users/clement_t/bin/
PATH: /usr/local/bin/
PATH: /opt/local/bin/
PATH: /opt/local/sbin/
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: /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin/
PATH: /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin/
PATH: /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin/
PATH: /opt/X11/bin/
PATH: /Library/Apple/usr/bin/
PATH: /Applications/VMware Fusion.app/Contents/Public/
PATH: /usr/local/go/bin/
PATH: /Library/Frameworks/Mono.framework/Versions/Current/Commands/
PATH: /Users/clement_t/.local/bin/
PATH: /Users/clement_t/.dotnet/tools/
PATH: /Users/clement_t/Library/Android/sdk/tools/
PATH: /Users/clement_t/Library/Android/sdk/platform-tools/
PATH: /Users/clement_t/.local/bin/
PATH: /Users/clement_t/Epitech/celte/celte_vm/build/vcpkg_installed/arm64-osx/tools/gettext/bin/
PATH: /Users/clement_t/vcpkg/downloads/tools/ninja/1.10.2-osx/
Brew uses /usr/local
for x64, /opt/homebrew
for arm64.
So that PATH
could be a problem. I don't know which part is contributed by the port, and which is from the environment.
You were right! The issue was in my environment: export PATH="/usr/local/bin:$PATH" So, CMake or another package was using the x86 version instead of the ARM version.
Package: python3:arm64-osx@3.11.8#4
Host Environment
To Reproduce
vcpkg install python3
Failure logs