No support for MUSL when statically compiled
メンテナーはふだん 4 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 領域
- build-system
調査の方向性
Issue にリンクされているスタンドアロン配布のコンテキストから始め、静的にコンパイルされた MUSL ビルドで失敗する pip install hatch コマンドを再現してください。make_cffi.py を traceback にある CFFI の初期化パスと併せて読みます。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時間
- マージ済み PR(30日)
- 7
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
indygreg/python-zstandard のほかの issue
-
`multi_decompress_to_buffer([])` terminates the process with SIGFPE対応中かも @mikamikasuki が 14 日前に担当しました。 オープン
難易度 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 が 7 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
indygreg/python-zstandard#295 ·
メンテナーはふだん 4 日以内に返信
-
Python 3.15 wheels対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 55/100
indygreg/python-zstandard#354 · リアクション 1 件 ·
メンテナーはふだん 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
-
VIEW_TYPE set for computer players対応中かも @Loobinex が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 2 日以内に返信
-
bug
難易度 2/5 1時間未満 初心者へのやさしさ 78/100
brunodev85/winlator-app#90 ·
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
grayscale-lang/grayscale#3133 ·
メンテナーはふだん 1 日以内に返信