No support for MUSL when statically compiled
Maintainer thường phản hồi trong vòng 10 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Lĩnh vực
- build-system
Hướng nghiên cứu
Bắt đầu với ngữ cảnh phân phối độc lập được liên kết trong issue và tái hiện lệnh pip install hatch bị lỗi trong một bản build MUSL được biên dịch tĩnh. Đọc make_cffi.py cùng với đường dẫn khởi tạo CFFI trong traceback; hoàn tất khi dependency zstandard có thể được build và quá trình cài đặt hoàn tất mà không gặp lỗi tải động.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- C
- Star
- 642
- Fork
- 121
- Merge trung bình
- 9 ngày 3 giờ
- Pull request đã merge (30 ngày)
- 6
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của indygreg/python-zstandard
-
`multi_decompress_to_buffer([])` terminates the process with SIGFPECó thể đã có người làm @mikamikasuki đã nhận 21 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
indygreg/python-zstandard#335 ·
Maintainer thường phản hồi trong vòng 10 ngày
-
Silent data-correctness bug: `readinto()` / `readinto1()` on `stream_reader` return `tell() == 0` after successful readsCó thể đã có người làm @CAOShurong đã nhận 14 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
indygreg/python-zstandard#295 ·
Maintainer thường phản hồi trong vòng 10 ngày
-
CFFI backend: crash when ZstdDecompressor instances share a ZstdCompressionDictCó thể đã có người làm @pylaterreur đã nhận 6 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
indygreg/python-zstandard#361 ·
Maintainer thường phản hồi trong vòng 10 ngày
-
Python 3.15 wheelsCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 55/100
indygreg/python-zstandard#354 · 3 reaction ·
Maintainer thường phản hồi trong vòng 10 ngày
-
`estimated_compression_context_size()` raises SIGFPE with `enable_ldm=TrueCó thể đã có người làm @yousefissa đã nhận 9 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 64/100
indygreg/python-zstandard#345 ·
Maintainer thường phản hồi trong vòng 10 ngày
Tất cả issue của indygreg/python-zstandard
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 93/100
webarkit/WebARKitLib#107 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
polhenarejos/pico-fido#302 ·
-
开发板墙缺少 ESP32_S31_MOSAICOĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
espressif/esp-vision#16 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
libsdl-org/SDL#16577 ·
Maintainer thường phản hồi trong vòng 1 ngày