Closed bsrz closed 2 years ago
$ asdf install python latest python-build 3.10.3 /Users/bsarrazin/.asdf/installs/python/3.10.3 python-build: use openssl@1.1 from homebrew python-build: use readline from homebrew Downloading Python-3.10.3.tar.xz... -> https://www.python.org/ftp/python/3.10.3/Python-3.10.3.tar.xz Installing Python-3.10.3... python-build: use readline from homebrew python-build: use zlib from xcode sdk BUILD FAILED (OS X 12.3 using python-build 2.2.5-4-g986fe1a7) Inspect or clean up the working tree at /var/folders/hw/ztttbq812xg8s4kjvgtcqgxh0000gn/T/python-build.20220322141247.67492 Results logged to /var/folders/hw/ztttbq812xg8s4kjvgtcqgxh0000gn/T/python-build.20220322141247.67492.log Last 10 log lines: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden -I./Include/internal -DUNIVERSAL=1 -I/private/var/folders/hw/ztttbq812xg8s4kjvgtcqgxh0000gn/T/python-build.20220322141247.67492/Python-3.10.3/Modules/_decimal/libmpdec -I./Include -I. -I/opt/homebrew/opt/readline/include -I/opt/homebrew/include -I/private/var/folders/hw/ztttbq812xg8s4kjvgtcqgxh0000gn/T/python-build.20220322141247.67492/Python-3.10.3/Include -I/private/var/folders/hw/ztttbq812xg8s4kjvgtcqgxh0000gn/T/python-build.20220322141247.67492/Python-3.10.3 -c /private/var/folders/hw/ztttbq812xg8s4kjvgtcqgxh0000gn/T/python-build.20220322141247.67492/Python-3.10.3/Modules/_decimal/libmpdec/mpdecimal.c -o build/temp.macosx-12.3-arm64-3.10/private/var/folders/hw/ztttbq812xg8s4kjvgtcqgxh0000gn/T/python-build.20220322141247.67492/Python-3.10.3/Modules/_decimal/libmpdec/mpdecimal.o clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden -I./Include/internal -DUNIVERSAL=1 -I/private/var/folders/hw/ztttbq812xg8s4kjvgtcqgxh0000gn/T/python-build.20220322141247.67492/Python-3.10.3/Modules/_decimal/libmpdec -I./Include -I. -I/opt/homebrew/opt/readline/include -I/opt/homebrew/include -I/private/var/folders/hw/ztttbq812xg8s4kjvgtcqgxh0000gn/T/python-build.20220322141247.67492/Python-3.10.3/Include -I/private/var/folders/hw/ztttbq812xg8s4kjvgtcqgxh0000gn/T/python-build.20220322141247.67492/Python-3.10.3 -c /private/var/folders/hw/ztttbq812xg8s4kjvgtcqgxh0000gn/T/python-build.20220322141247.67492/Python-3.10.3/Modules/_decimal/libmpdec/numbertheory.c -o build/temp.macosx-12.3-arm64-3.10/private/var/folders/hw/ztttbq812xg8s4kjvgtcqgxh0000gn/T/python-build.20220322141247.67492/Python-3.10.3/Modules/_decimal/libmpdec/numbertheory.o clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden -I./Include/internal -DUNIVERSAL=1 -I/private/var/folders/hw/ztttbq812xg8s4kjvgtcqgxh0000gn/T/python-build.20220322141247.67492/Python-3.10.3/Modules/_decimal/libmpdec -I./Include -I. -I/opt/homebrew/opt/readline/include -I/opt/homebrew/include -I/private/var/folders/hw/ztttbq812xg8s4kjvgtcqgxh0000gn/T/python-build.20220322141247.67492/Python-3.10.3/Include -I/private/var/folders/hw/ztttbq812xg8s4kjvgtcqgxh0000gn/T/python-build.20220322141247.67492/Python-3.10.3 -c /private/var/folders/hw/ztttbq812xg8s4kjvgtcqgxh0000gn/T/python-build.20220322141247.67492/Python-3.10.3/Modules/_decimal/libmpdec/sixstep.c -o build/temp.macosx-12.3-arm64-3.10/private/var/folders/hw/ztttbq812xg8s4kjvgtcqgxh0000gn/T/python-build.20220322141247.67492/Python-3.10.3/Modules/_decimal/libmpdec/sixstep.o clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden -I./Include/internal -DUNIVERSAL=1 -I/private/var/folders/hw/ztttbq812xg8s4kjvgtcqgxh0000gn/T/python-build.20220322141247.67492/Python-3.10.3/Modules/_decimal/libmpdec -I./Include -I. -I/opt/homebrew/opt/readline/include -I/opt/homebrew/include -I/private/var/folders/hw/ztttbq812xg8s4kjvgtcqgxh0000gn/T/python-build.20220322141247.67492/Python-3.10.3/Include -I/private/var/folders/hw/ztttbq812xg8s4kjvgtcqgxh0000gn/T/python-build.20220322141247.67492/Python-3.10.3 -c /private/var/folders/hw/ztttbq812xg8s4kjvgtcqgxh0000gn/T/python-build.20220322141247.67492/Python-3.10.3/Modules/_decimal/libmpdec/transpose.c -o build/temp.macosx-12.3-arm64-3.10/private/var/folders/hw/ztttbq812xg8s4kjvgtcqgxh0000gn/T/python-build.20220322141247.67492/Python-3.10.3/Modules/_decimal/libmpdec/transpose.o clang -bundle -undefined dynamic_lookup -L/opt/homebrew/opt/readline/lib -L/opt/homebrew/opt/readline/lib -L/Users/bsarrazin/.asdf/installs/python/3.10.3/lib -L/opt/homebrew/lib -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib -L/opt/homebrew/opt/readline/lib -L/opt/homebrew/opt/readline/lib -L/Users/bsarrazin/.asdf/installs/python/3.10.3/lib -L/opt/homebrew/lib -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib -L/opt/homebrew/opt/readline/lib -L/opt/homebrew/opt/readline/lib -L/Users/bsarrazin/.asdf/installs/python/3.10.3/lib -L/opt/homebrew/lib -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/readline/include -I/Users/bsarrazin/.asdf/installs/python/3.10.3/include -I/opt/homebrew/include build/temp.macosx-12.3-arm64-3.10/private/var/folders/hw/ztttbq812xg8s4kjvgtcqgxh0000gn/T/python-build.20220322141247.67492/Python-3.10.3/Modules/_decimal/_decimal.o build/temp.macosx-12.3-arm64-3.10/private/var/folders/hw/ztttbq812xg8s4kjvgtcqgxh0000gn/T/python-build.20220322141247.67492/Python-3.10.3/Modules/_decimal/libmpdec/basearith.o build/temp.macosx-12.3-arm64-3.10/private/var/folders/hw/ztttbq812xg8s4kjvgtcqgxh0000gn/T/python-build.20220322141247.67492/Python-3.10.3/Modules/_decimal/libmpdec/constants.o build/temp.macosx-12.3-arm64-3.10/private/var/folders/hw/ztttbq812xg8s4kjvgtcqgxh0000gn/T/python-build.20220322141247.67492/Python-3.10.3/Modules/_decimal/libmpdec/context.o build/temp.macosx-12.3-arm64-3.10/private/var/folders/hw/ztttbq812xg8s4kjvgtcqgxh0000gn/T/python-build.20220322141247.67492/Python-3.10.3/Modules/_decimal/libmpdec/convolute.o build/temp.macosx-12.3-arm64-3.10/private/var/folders/hw/ztttbq812xg8s4kjvgtcqgxh0000gn/T/python-build.20220322141247.67492/Python-3.10.3/Modules/_decimal/libmpdec/crt.o build/temp.macosx-12.3-arm64-3.10/private/var/folders/hw/ztttbq812xg8s4kjvgtcqgxh0000gn/T/python-build.20220322141247.67492/Python-3.10.3/Modules/_decimal/libmpdec/difradix2.o build/temp.macosx-12.3-arm64-3.10/private/var/folders/hw/ztttbq812xg8s4kjvgtcqgxh0000gn/T/python-build.20220322141247.67492/Python-3.10.3/Modules/_decimal/libmpdec/fnt.o build/temp.macosx-12.3-arm64-3.10/private/var/folders/hw/ztttbq812xg8s4kjvgtcqgxh0000gn/T/python-build.20220322141247.67492/Python-3.10.3/Modules/_decimal/libmpdec/fourstep.o build/temp.macosx-12.3-arm64-3.10/private/var/folders/hw/ztttbq812xg8s4kjvgtcqgxh0000gn/T/python-build.20220322141247.67492/Python-3.10.3/Modules/_decimal/libmpdec/io.o build/temp.macosx-12.3-arm64-3.10/private/var/folders/hw/ztttbq812xg8s4kjvgtcqgxh0000gn/T/python-build.20220322141247.67492/Python-3.10.3/Modules/_decimal/libmpdec/mpalloc.o build/temp.macosx-12.3-arm64-3.10/private/var/folders/hw/ztttbq812xg8s4kjvgtcqgxh0000gn/T/python-build.20220322141247.67492/Python-3.10.3/Modules/_decimal/libmpdec/mpdecimal.o build/temp.macosx-12.3-arm64-3.10/private/var/folders/hw/ztttbq812xg8s4kjvgtcqgxh0000gn/T/python-build.20220322141247.67492/Python-3.10.3/Modules/_decimal/libmpdec/numbertheory.o build/temp.macosx-12.3-arm64-3.10/private/var/folders/hw/ztttbq812xg8s4kjvgtcqgxh0000gn/T/python-build.20220322141247.67492/Python-3.10.3/Modules/_decimal/libmpdec/sixstep.o build/temp.macosx-12.3-arm64-3.10/private/var/folders/hw/ztttbq812xg8s4kjvgtcqgxh0000gn/T/python-build.20220322141247.67492/Python-3.10.3/Modules/_decimal/libmpdec/transpose.o -L/opt/homebrew/opt/readline/lib -L/opt/homebrew/lib -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib -lm -o build/lib.macosx-12.3-arm64-3.10/_decimal.cpython-310-darwin.so ld: warning: directory not found for option '-L/Users/bsarrazin/.asdf/installs/python/3.10.3/lib' ld: warning: directory not found for option '-L/Users/bsarrazin/.asdf/installs/python/3.10.3/lib' ld: warning: directory not found for option '-L/Users/bsarrazin/.asdf/installs/python/3.10.3/lib' /bin/sh: line 1: 77380 Killed: 9 CC='clang' LDSHARED='clang -bundle -undefined dynamic_lookup -L/opt/homebrew/opt/readline/lib -L/opt/homebrew/opt/readline/lib -L/Users/bsarrazin/.asdf/installs/python/3.10.3/lib -L/opt/homebrew/lib -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib -L/opt/homebrew/opt/readline/lib -L/opt/homebrew/opt/readline/lib -L/Users/bsarrazin/.asdf/installs/python/3.10.3/lib -L/opt/homebrew/lib -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib ' OPT='-DNDEBUG -g -fwrapv -O3 -Wall' _TCLTK_INCLUDES='' _TCLTK_LIBS='' ./python.exe -E ./setup.py $quiet build make: *** [sharedmods] Error 137
MacOS: 12.3 Processor: M1 Max
Followed the instructions about system requirements
See workaround/fix in https://github.com/pyenv/pyenv/issues/2289
MacOS: 12.3 Processor: M1 Max
Followed the instructions about system requirements