libpython depends on libstdcxx >=15 but links no C++ runtime
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 65/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- python
- Lĩnh vực
- backend, build-system
Hướng nghiên cứu
Read the libpython output's build requirements and compare them with the python output's ignore_run_exports_from setting; the issue says the 3.11 through 3.14 branches contain the same line. Check the package recipe and build metadata to confirm libpython's runtime dependencies on Linux and macOS. Done when libpython carries the C++ compiler run-export and environments capped below libstdcxx 15 can solve the stated package cases.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Since the split in #894, every libpython build depends on libstdcxx >=15 on Linux (and libcxx on macOS), but the library links no C++ runtime:
$ objdump -p lib/libpython3.15.so.1.0 | grep NEEDED # libpython-3.15.0-hdc7f604_100_cp315, linux-64
NEEDED libm.so.6 libpthread.so.0 libdl.so.2 libutil.so.1 libgcc_s.so.1 libc.so.6 ld-linux-x86-64.so.2
$ otool -L lib/libpython3.15.dylib # osx-arm64
@rpath/libpython3.15.dylib, /usr/lib/libSystem.B.dylib
The requirement is a run-export of {{ compiler('cxx') }} in the libpython output's build requirements. The python output already drops the same run-export with ignore_run_exports_from.
This blocks environments that cap libstdc++. PythonCall.jl (Julia embedding Python, via CondaPkg) caps libstdcxx at the version Julia bundles, which is below 15 on Julia 1.10 and 1.12. Under libstdcxx <15:
python+libpython: unsolvablepython=3.14.8orpython=3.13.16: unsolvable, since they pin libpython exactly- plain
python: resolves to an older build from before the split (3.14.6)
From 3.15 on, python no longer depends on libpython, so embedders like PythonCall have to request libpython explicitly, which makes this harder to avoid.
Fixes: #949 (main) and #950 (3.14). The 3.11, 3.12 and 3.13 branches have the same line.
- Ngôn ngữ chính
- Shell
- Star
- 47
- Fork
- 114
- Merge trung bình
- 7 ngày 6 giờ
- Pull request đã merge (30 ngày)
- 14
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 conda-forge/python-feedstock
-
libedit for older pythons?Đang mởquestion
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
conda-forge/python-feedstock#948 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 42/100
conda-forge/python-feedstock#945 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
conda-forge/python-feedstock#929 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
conda-forge/python-feedstock#903 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
conda-forge/python-feedstock#880 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của conda-forge/python-feedstock
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
interledger/rhyza#352 ·
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 68/100
beehive-lab/TornadoVM#1248 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Dev
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
ankidroid/Anki-Android#22555 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
difficulty: easy domain: devops effort: 1-4h enhancement good first issue smart-contracts Stellar Wave
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Kaycee276/Chesster#469 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add .gitignoreCó thể đã có người làm @ajeanmahoney đã nhận hôm nay. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100