asdf-community / asdf-python

Python plugin for the asdf version manager
https://github.com/asdf-vm/asdf
MIT License
651 stars 56 forks source link

Build fails on MacOS 12 Monterey Public Beta 4 on M1 #108

Open noahgaertner opened 3 years ago

noahgaertner commented 3 years ago

Log:

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.

viniciusd commented 2 years ago

Did you figure it out? I am having the same problem, I've been trying for a day already without much progress

jjordano commented 1 year ago

Hi, this same issue ... any progress or ideas ?

viniciusd commented 1 year ago

Hi, this same issue ... any progress or ideas ?

Nothing from my side :/ I haven't tried to debug it yet; I will try to give it some love.

I have never debugged an asdf plugin, but I assume it is as good as debugging a random shell script (i.e., terrible).