asdf-community / asdf-community/asdf-python

Build fails on MacOS 12 Monterey Public Beta 4 on M1

Offen
#108 3 Kommentare 14 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Shell
Sterne
729
Forks
65
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Log:
```zsh
asdf install python latest
Downloading python-build...
Cloning into '/Users/noahgaertner/.asdf/plugins/python/pyenv'...
remote: Enumerating objects: 20109, done.
remote: Counting objects: 100% (1021/1021), done.
remote: Compressing objects: 100% (456/456), done.
remote: Total 20109 (delta 627), reused 774 (delta 488), pack-reused 19088
Receiving objects: 100% (20109/20109), 4.10 MiB | 7.76 MiB/s, done.
Resolving deltas: 100% (13561/13561), done.
python-build 3.9.6 /Users/noahgaertner/.asdf/installs/python/3.9.6
python-build: use openssl@1.1 from homebrew
python-build: use readline from homebrew
Downloading Python-3.9.6.tar.xz...
-> https://www.python.org/ftp/python/3.9.6/Python-3.9.6.tar.xz
Installing Python-3.9.6...
python-build: use readline from homebrew
python-build: use zlib from xcode sdk

BUILD FAILED (OS X 12.0 using python-build 2.0.4)

Inspect or clean up the working tree at /var/folders/md/517bs4l90sq29c1hjt_z50q00000gn/T/python-build.20210801210558.68834
Results logged to /var/folders/md/517bs4l90sq29c1hjt_z50q00000gn/T/python-build.20210801210558.68834.log

Last 10 log lines:
"_libintl_textdomain", referenced from:
_PyIntl_textdomain in libpython3.9.a(_localemodule.o)
_PyIntl_textdomain in libpython3.9.a(_localemodule.o)
ld: symbol(s) not found for architecture arm64
ld: symbol(s) not found for architecture arm64
clang: clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Programs/_testembed] Error 1
make: *** Waiting for unfinished jobs....
make: *** [python.exe] Error 1
```
I saw the issues with big sur about versions before 3.9.2, but this should be unrelated because this is version 3.9.6, so I'm not entirely sure what's wrong.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Reproduziere zunächst `asdf install python latest` auf macOS 12 mit einem M1 und Python 3.9.6 und untersuche anschließend den gemeldeten python-build-Arbeitsbaum und das Build-Log. Verfolge den arm64-Linkerfehler im Zusammenhang mit den fehlenden `_libintl_*`-Symbolen; als abgeschlossen gilt die Aufgabe, wenn die Installation in der angegebenen Umgebung erfolgreich abgeschlossen wird.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python, shell
Bereich
build-system, operating-systems, tooling
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.