No support for MUSL when statically compiled
维护者通常 4 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 领域
- build-system
调研方向
从 issue 中链接的独立分发上下文开始,并在静态编译的 MUSL 构建中重现失败的 pip install hatch 命令。结合 traceback 中的 CFFI 初始化路径阅读 make_cffi.py;当 zstandard 依赖项能够构建完成,且安装过程在没有动态加载错误的情况下完成时,即视为完成。
由索引模型根据 Issue 内容生成。
描述
This affects the standalone distributions https://github.com/indygreg/python-build-standalone
#10 152.8 Collecting zstandard<1 (from hatch)
#10 152.8 Downloading zstandard-0.22.0.tar.gz (660 kB)
#10 152.8 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 660.7/660.7 kB 23.1 MB/s eta 0:00:00
#10 152.9 Installing build dependencies: started
#10 162.2 Installing build dependencies: finished with status 'done'
#10 162.2 Getting requirements to build wheel: started
#10 162.3 Getting requirements to build wheel: finished with status 'error'
#10 162.3 error: subprocess-exited-with-error
#10 162.3
#10 162.3 × Getting requirements to build wheel did not run successfully.
#10 162.3 │ exit code: 1
#10 162.3 ╰─> [27 lines of output]
#10 162.3 <string>:37: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
#10 162.3 <string>:38: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
#10 162.3 Traceback (most recent call last):
#10 162.3 File "/python/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
#10 162.3 main()
#10 162.3 File "/python/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
#10 162.3 json_out['return_val'] = hook(**hook_input['kwargs'])
#10 162.3 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#10 162.3 File "/python/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
#10 162.3 return hook(config_settings)
#10 162.3 ^^^^^^^^^^^^^^^^^^^^^
#10 162.3 File "/tmp/pip-build-env-dgf3jcqn/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 355, in get_requires_for_build_wheel
#10 162.3 return self._get_build_requires(config_settings, requirements=['wheel'])
#10 162.3 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#10 162.3 File "/tmp/pip-build-env-dgf3jcqn/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 325, in _get_build_requires
#10 162.3 self.run_setup()
#10 162.3 File "/tmp/pip-build-env-dgf3jcqn/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 507, in run_setup
#10 162.3 super(_BuildMetaLegacyBackend, self).run_setup(setup_script=setup_script)
#10 162.3 File "/tmp/pip-build-env-dgf3jcqn/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 341, in run_setup
#10 162.3 exec(code, locals())
#10 162.3 File "<string>", line 106, in <module>
#10 162.3 File "/tmp/pip-install-bgq5xkbu/zstandard_5e86081b75824feb9ec94c6ef4e53eb3/make_cffi.py", line 161, in <module>
#10 162.3 ffi = cffi.FFI()
#10 162.3 ^^^^^^^^^^
#10 162.3 File "/tmp/pip-build-env-dgf3jcqn/overlay/lib/python3.12/site-packages/cffi/api.py", line 48, in __init__
#10 162.3 import _cffi_backend as backend
#10 162.3 ImportError: Dynamic loading not supported
#10 162.3 [end of output]
#10 162.3
#10 162.3 note: This error originates from a subprocess, and is likely not a problem with pip.
#10 162.3 error: subprocess-exited-with-error
#10 162.3
#10 162.3 × Getting requirements to build wheel did not run successfully.
#10 162.3 │ exit code: 1
#10 162.3 ╰─> See above for output.
#10 162.3
#10 162.3 note: This error originates from a subprocess, and is likely not a problem with pip.
#10 ERROR: process "/bin/sh -c /python/bin/python -m pip install hatch" did not complete successfully: exit code: 1
- 主要语言
- C
- 星标
- 642
- 派生
- 118
- 平均合并
- 8 天 2 小时
- 30 天内合并 PR
- 7
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
indygreg/python-zstandard 的其他 Issue
-
`multi_decompress_to_buffer([])` terminates the process with SIGFPE可能已有人在做 @mikamikasuki 于 13 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
indygreg/python-zstandard#335 ·
维护者通常 4 天内回复
-
Silent data-correctness bug: `readinto()` / `readinto1()` on `stream_reader` return `tell() == 0` after successful reads可能已有人在做 @CAOShurong 于 6 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 76/100
indygreg/python-zstandard#295 ·
维护者通常 4 天内回复
-
Python 3.15 wheels可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 55/100
indygreg/python-zstandard#354 · 1 个 reaction ·
维护者通常 4 天内回复
-
`estimated_compression_context_size()` raises SIGFPE with `enable_ldm=True可能已有人在做 @yousefissa 于 1 天前认领。 未关闭
难度 3/5 1-2 天 新手友好度 64/100
indygreg/python-zstandard#345 ·
维护者通常 4 天内回复
-
难度 2/5 1-3 小时 新手友好度 55/100
indygreg/python-zstandard#334 ·
维护者通常 4 天内回复
查看 indygreg/python-zstandard 的全部 Issue
相似的 Issue
-
[BUG] Small issues on iMXRT found by Claude可能已有人在做 @Sarthak-Pandey 今天认领。 未关闭Arch: arm Area: Networking OS: Linux Type: Bug
难度 2/5 1-3 小时 新手友好度 66/100
维护者通常 1 天内回复
-
area: docs eco: cpp good first issue help wanted lane: free-agent roadmap size: XS type: docs
难度 2/5 1-3 小时 新手友好度 70/100
arminazimi/evergreen#475 ·
维护者通常 1 天内回复
-
[Issue]: hipsparselt.h C API as shipped now requires C23 -- ONLY because of missing include or guard未关闭
难度 2/5 1-3 小时 新手友好度 62/100
ROCm/rocm-libraries#13736 ·
维护者通常 2 天内回复
-
libc
难度 2/5 1-3 小时 新手友好度 78/100
llvm/llvm-project#232380 · 1 条评论 ·
维护者通常 1 天内回复
-
level/task module/auth/enrollment platform/linux reporter/qa type/bug
难度 2/5 1-3 小时 新手友好度 66/100
维护者通常 1 天内回复