Skip to content

3.12 fails to build on M1 macbook - Modules/_ssl.cpython-312-darwin.so': No such file or directory #2805

Description

@gaborbernat
❯ env CONFIGURE_OPTS='--enable-optimizations' pyenv install 3.12.0
python-build: use openssl@3 from homebrew
python-build: use readline from homebrew
Downloading Python-3.12.0.tar.xz...
-> https://www.python.org/ftp/python/3.12.0/Python-3.12.0.tar.xz
Installing Python-3.12.0...
python-build: use tcl-tk from homebrew
python-build: use readline from homebrew
python-build: use zlib from xcode sdk

BUILD FAILED (OS X 13.6 using python-build 2.3.28)

Inspect or clean up the working tree at /var/folders/v0/l8q3ghks2gs5ns2_p63tyqh40000gq/T/python-build.20231002105901.37245
Results logged to /var/folders/v0/l8q3ghks2gs5ns2_p63tyqh40000gq/T/python-build.20231002105901.37245.log

Last 10 log lines:
/opt/homebrew/opt/coreutils/libexec/gnubin/install -c -m 755 Modules/termios.cpython-312-darwin.so /Users/bgabor8/.pyenv/versions/3.12.0/lib/python3.12/lib-dynload/termios.cpython-312-darwin.so
/opt/homebrew/opt/coreutils/libexec/gnubin/install -c -m 755 Modules/_posixshmem.cpython-312-darwin.so /Users/bgabor8/.pyenv/versions/3.12.0/lib/python3.12/lib-dynload/_posixshmem.cpython-312-darwin.so
/opt/homebrew/opt/coreutils/libexec/gnubin/install -c -m 755 Modules/_multiprocessing.cpython-312-darwin.so /Users/bgabor8/.pyenv/versions/3.12.0/lib/python3.12/lib-dynload/_multiprocessing.cpython-312-darwin.so
/opt/homebrew/opt/coreutils/libexec/gnubin/install -c -m 755 Modules/_ctypes.cpython-312-darwin.so /Users/bgabor8/.pyenv/versions/3.12.0/lib/python3.12/lib-dynload/_ctypes.cpython-312-darwin.so
/opt/homebrew/opt/coreutils/libexec/gnubin/install -c -m 755 Modules/_curses.cpython-312-darwin.so /Users/bgabor8/.pyenv/versions/3.12.0/lib/python3.12/lib-dynload/_curses.cpython-312-darwin.so
/opt/homebrew/opt/coreutils/libexec/gnubin/install -c -m 755 Modules/_curses_panel.cpython-312-darwin.so /Users/bgabor8/.pyenv/versions/3.12.0/lib/python3.12/lib-dynload/_curses_panel.cpython-312-darwin.so
/opt/homebrew/opt/coreutils/libexec/gnubin/install -c -m 755 Modules/_sqlite3.cpython-312-darwin.so /Users/bgabor8/.pyenv/versions/3.12.0/lib/python3.12/lib-dynload/_sqlite3.cpython-312-darwin.so
/opt/homebrew/opt/coreutils/libexec/gnubin/install -c -m 755 Modules/_ssl.cpython-312-darwin.so /Users/bgabor8/.pyenv/versions/3.12.0/lib/python3.12/lib-dynload/_ssl.cpython-312-darwin.so
install: cannot stat 'Modules/_ssl.cpython-312-darwin.so': No such file or directory

On 3.11 M1 macbook.

UPDATE: #2805 (comment)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions