asdf-community / asdf-community/asdf-python

Error to install some version of python

Offen
#184 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Shell
Sterne
730
Forks
65
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### Provide environment information

```bash
I am working with MacOs with M2 like a microprocessor and OS X 14.4.1
```

### To Reproduce

asdf install python 3.8.0

### Describe the Bug

python-build 3.8.0 /Users/antonio.sobrino/.asdf/installs/python/3.8.0
python-build: use openssl from homebrew
python-build: use readline from homebrew
Downloading Python-3.8.0.tar.xz...
-> https://www.python.org/ftp/python/3.8.0/Python-3.8.0.tar.xz
Installing Python-3.8.0...
python-build: use readline from homebrew
python-build: use ncurses from homebrew
python-build: use zlib from xcode sdk

BUILD FAILED (OS X 14.4.1 using python-build 2.4.0-2-ge1f07da7)

Inspect or clean up the working tree at /var/folders/05/5yqctn7d6lg2dwnf85d6sd_m0000gs/T/python-build.20240419152236.12916
Results logged to /var/folders/05/5yqctn7d6lg2dwnf85d6sd_m0000gs/T/python-build.20240419152236.12916.log

Last 10 log lines:
checking size of _Bool... 1
checking size of off_t... 8
checking whether to enable large file support... no
checking size of time_t... 8
checking for pthread_t... yes
checking size of pthread_t... 8
checking size of pthread_key_t... 8
checking whether pthread_key_t is compatible with int... no
configure: error: Unexpected output of 'arch' on OSX
make: *** No targets specified and no makefile found. Stop.

### Expected Behaviour

Install python version

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Reproduziere den Fehler mit `asdf install python 3.8.0` auf macOS 14.4.1 mit einem M2-Prozessor und untersuche anschließend die protokollierte Build-Ausgabe im temporären python-build-Verzeichnis. Beginne mit der Zeile `configure: error: Unexpected output of 'arch' on OSX`; die Aufgabe ist abgeschlossen, wenn Python 3.8.0 erfolgreich über das asdf-python-Plugin installiert wird.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python, shell
Bereich
tooling
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 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.