asdf-community / asdf-community/asdf-python

Build fails on MacOS 12 Monterey Public Beta 4 on M1

Aperta
#108 3 commenti 14 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Shell
Stelle
729
Fork
65
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Inizia riproducendo `asdf install python latest` su macOS 12 usando un M1 e Python 3.9.6, quindi esamina l’albero di lavoro di python-build segnalato e il log di build. Traccia il fallimento del linker arm64 relativo ai simboli `_libintl_*` mancanti; il lavoro è completato quando l’installazione termina correttamente nell’ambiente specificato.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
python, shell
Ambito
build-system, operating-systems, tooling
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.