asdf-python icon indicating copy to clipboard operation
asdf-python copied to clipboard

Build fails on MacOS 12 Monterey Public Beta 4 on M1

Open noahgaertner opened this issue 4 years ago • 3 comments

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 [email protected] 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.

noahgaertner avatar Aug 02 '21 01:08 noahgaertner

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

viniciusd avatar Aug 22 '22 16:08 viniciusd

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

jjordano avatar Sep 08 '22 07:09 jjordano

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).

viniciusd avatar Sep 14 '22 02:09 viniciusd