codrsquad / codrsquad/portable-python

build fails on macos 13 (x86_86)

Offen
#49 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Vorherrschende Sprache
Python
Sterne
86
Forks
13
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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!

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne mit dem verlinkten GitHub Actions-Lauf und reproduziere den Befehl portable-python build 3.11.8 -mxz,openssl,gdbm auf macOS 13 x86_64. Vergleiche die fehlschlagenden Ergebnisse für _dbm, _curses_panel und _curses mit dem erfolgreichen macOS 14 arm-Build. Als erledigt gilt die Aufgabe, wenn der gemeldete Build mit den angeforderten verfügbaren Modulen abgeschlossen wird.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
macos, python
Bereich
build-system, operating-systems
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.