codrsquad / codrsquad/portable-python

build fails on macos 13 (x86_86)

未关闭
#49 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
Python
星标
86
派生
13
PR 合并指标
30 天内没有已合并 PR

描述

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!

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从链接的 GitHub Actions 运行开始,并在 macOS 13 x86_64 上重现 portable-python build 3.11.8 -mxz,openssl,gdbm 命令。将 _dbm_curses_panel_curses 的失败结果与成功的 macOS 14 arm 构建进行比较。当报告的构建在所请求的模块可用的情况下完成时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
macos, python
领域
build-system, operating-systems
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。