asdf-community / asdf-community/asdf-python

3.7.8 & 3.8.8 sucess but install fail 3.6.8

Aperta
#160 2 commenti 1 reazione 0 assegnatari Vedi su GitHub
Lingua principale
Shell
Stelle
729
Fork
65
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

`(base) BKdeMacBook-Pro:~ bk$ asdf install python 3.6.8
python-build --patch 3.6.8 /Users/bk/.asdf/installs/python/3.6.8
with patch file from: https://github.com/python/cpython/commit/8ea6353.patch?full_index=1
python-build: use openssl@1.1 from homebrew
python-build: use readline from homebrew
Downloading Python-3.6.8.tar.xz...
-> https://www.python.org/ftp/python/3.6.8/Python-3.6.8.tar.xz
Installing Python-3.6.8...
patching file Misc/NEWS.d/next/macOS/2020-06-24-13-51-57.bpo-41100.mcHdc5.rst
patching file configure
Hunk #1 succeeded at 3375 (offset -51 lines).
patching file configure.ac
Hunk #1 succeeded at 495 (offset -15 lines).
python-build: use readline from homebrew
python-build: use zlib from xcode sdk

BUILD FAILED (OS X 12.5.1 using python-build 2.3.17-9-g528d10e9)

Inspect or clean up the working tree at /var/folders/td/chkt1d7s7px_t7x3nk0v3c3w0000gn/T/python-build.20230511012026.31179
Results logged to /var/folders/td/chkt1d7s7px_t7x3nk0v3c3w0000gn/T/python-build.20230511012026.31179.log

Last 10 log lines:
checking for --with-cxx-main=... no
checking for clang++... no
configure:

By default, distutils will build C++ extension modules with "clang++".
If this is not intended, then set CXX on the configure command line.

checking for the platform triplet based on compiler characteristics... darwin
configure: error: internal configure error for the platform triplet, please file a bug report
make: *** No targets specified and no makefile found. Stop.
(base) BKdeMacBook-Pro:~ bk$ asdf list python
3.10.8
3.11.3
3.7.8
3.8.8
3.9.8
(base) BKdeMacBook-Pro:~ bk$ asdf info
OS:
Darwin BKdeMacBook-Pro.local 21.6.0 Darwin Kernel Version 21.6.0: Wed Aug 10 14:25:27 PDT 2022; root:xnu-8020.141.5~2/RELEASE_X86_64 x86_64

SHELL:
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin21)
Copyright (C) 2007 Free Software Foundation, Inc.

ASDF VERSION:
v0.10.2

ASDF ENVIRONMENT VARIABLES:
ASDF_DIR=/usr/local/opt/asdf/libexec

ASDF INSTALLED PLUGINS:
python https://github.com/danhper/asdf-python.git master 8505457

(base) BKdeMacBook-Pro:~ bk$
(base) BKdeMacBook-Pro:~ bk$

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Start by reproducing the asdf install python 3.6.8 failure on the reported macOS 12.5.1 setup and inspect the python-build log, especially the clang++ and platform-triplet configure error. Compare it with the successful 3.7.8–3.11.3 installs; done means Python 3.6.8 installs successfully through asdf.

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

Valutazione

Stack tecnologico
python
Ambito
tooling
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
20/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.