codrsquad / codrsquad/portable-python

build fails on macos 13 (x86_86)

Open
#49 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
86
Forks
13
PR merge metrics
No merged PRs in 30d

Description

Hi,

I am trying to build python 3.11.8 on MacOS 13 (x86_64), but I get the following error. I am using Github Actions and the provided actions runner.

https://github.com/valet-sh/runtime/actions/runs/9681001747/job/26710545316

I use the following command for the build. I do not use a configuration file.

portable-python build 3.11.8 -mxz,openssl,gdbm
ERROR Build failed: 
-- 3 problematic
_dbm*_failed.so
_curses_panel*_failed.so panel:5.4.0 ncurses:5.4.0
_curses*_failed.so ncurses:5.4.0
INFO Compiling cpython failed (ran for 11 minutes 25 seconds)
INFO Overall compilation failed (ran for 14 minutes 31 seconds)
        prefix  build/ppp-marker/3.11.8
          _bz2  _bz2*.so bz2:1.0.8
       _ctypes  1.1.0 _ctypes*.so ffi:32.0.0
       _curses  *absent* None
          _dbm  *absent* None
      _decimal  1.70 _decimal*.so
         _gdbm  1.23.0 _gdbm*.so
         _lzma  _lzma*.so
      _sqlite3  3.39.5 _sqlite3*.so sqlite3:349.1.0
          _ssl  OpenSSL 3.0.13 30 Jan 2024 _ssl*.so
      _tkinter  *absent* None
         _uuid  _uuid*.so
           pip  24.0 lib/python3.11/site-packages/pip
       pyexpat  2.5.0 pyexpat*.so
      readline  readline*.so edit:3.0.0 ncurses:5.4.0
    setuptools  *absent* build/ppp-marker/3.11.8/lib/python3.11/distutils/core.py
          zlib  1.2.12 zlib*.so z:1.2.12
  libpython*.a  31 MB lib/python3.11/config-3.11-darwin/libpython3.11.a lib/libpython3.11.a
 libpython*.so  -not used-
  install size  100 MB

Does anyone have any ideas on how I can solve the errors? The same build process works perfectly on MacOS 14 (arm).

Thanks!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked GitHub Actions run and reproduce the portable-python build 3.11.8 -mxz,openssl,gdbm command on macOS 13 x86_64. Compare the failing _dbm, _curses_panel, and _curses results with the successful macOS 14 arm build. Done means the reported build completes with the requested modules available.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, python
Domain
build-system, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.