asdf-community / asdf-community/asdf-python

3.7.8 & 3.8.8 sucess but install fail 3.6.8

Offen
#160 2 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Shell
Sterne
729
Forks
65
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

`(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$

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python
Bereich
tooling
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
20/100

Neue Issues direkt in Ihr Postfach

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