pip3 install pygit2 fails on ppc64le and s390x platform
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
- 30/100
Hướng nghiên cứu
Tái hiện pip3.12 install pygit2 trên SLES15SP6 cho ppc64le và s390x, bắt đầu với output build đã được báo cáo, trong đó gcc được gọi. Công việc hoàn tất khi quá trình cài đặt thành công trên các nền tảng đó mà không gặp lỗi build đã được báo cáo.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
OS: sles15sp6
install python3.12 on the system
pip3.12 install pygit2 hits issue below:
# pip3.12 install pygit2
copying pygit2/decl/callbacks.h -> build/lib.linux-ppc64le-cpython-312/pygit2/decl
copying pygit2/decl/checkout.h -> build/lib.linux-ppc64le-cpython-312/pygit2/decl
copying pygit2/decl/clone.h -> build/lib.linux-ppc64le-cpython-312/pygit2/decl
copying pygit2/decl/commit.h -> build/lib.linux-ppc64le-cpython-312/pygit2/decl
copying pygit2/decl/common.h -> build/lib.linux-ppc64le-cpython-312/pygit2/decl
copying pygit2/decl/config.h -> build/lib.linux-ppc64le-cpython-312/pygit2/decl
copying pygit2/decl/describe.h -> build/lib.linux-ppc64le-cpython-312/pygit2/decl
copying pygit2/decl/diff.h -> build/lib.linux-ppc64le-cpython-312/pygit2/decl
copying pygit2/decl/errors.h -> build/lib.linux-ppc64le-cpython-312/pygit2/decl
copying pygit2/decl/graph.h -> build/lib.linux-ppc64le-cpython-312/pygit2/decl
copying pygit2/decl/index.h -> build/lib.linux-ppc64le-cpython-312/pygit2/decl
copying pygit2/decl/indexer.h -> build/lib.linux-ppc64le-cpython-312/pygit2/decl
copying pygit2/decl/merge.h -> build/lib.linux-ppc64le-cpython-312/pygit2/decl
copying pygit2/decl/net.h -> build/lib.linux-ppc64le-cpython-312/pygit2/decl
copying pygit2/decl/oid.h -> build/lib.linux-ppc64le-cpython-312/pygit2/decl
copying pygit2/decl/pack.h -> build/lib.linux-ppc64le-cpython-312/pygit2/decl
copying pygit2/decl/proxy.h -> build/lib.linux-ppc64le-cpython-312/pygit2/decl
copying pygit2/decl/refspec.h -> build/lib.linux-ppc64le-cpython-312/pygit2/decl
copying pygit2/decl/remote.h -> build/lib.linux-ppc64le-cpython-312/pygit2/decl
copying pygit2/decl/repository.h -> build/lib.linux-ppc64le-cpython-312/pygit2/decl
copying pygit2/decl/revert.h -> build/lib.linux-ppc64le-cpython-312/pygit2/decl
copying pygit2/decl/stash.h -> build/lib.linux-ppc64le-cpython-312/pygit2/decl
copying pygit2/decl/strarray.h -> build/lib.linux-ppc64le-cpython-312/pygit2/decl
copying pygit2/decl/submodule.h -> build/lib.linux-ppc64le-cpython-312/pygit2/decl
copying pygit2/decl/transport.h -> build/lib.linux-ppc64le-cpython-312/pygit2/decl
copying pygit2/decl/types.h -> build/lib.linux-ppc64le-cpython-312/pygit2/decl
running build_ext
generating cffi module 'build/temp.linux-ppc64le-cpython-312/pygit2._libgit2.c'
creating build/temp.linux-ppc64le-cpython-312
building 'pygit2._pygit2' extension
creating build/temp.linux-ppc64le-cpython-312/tmp
creating build/temp.linux-ppc64le-cpython-312/tmp/pip-install-binfj26r
creating build/temp.linux-ppc64le-cpython-312/tmp/pip-install-binfj26r/pygit2_c11b9988d87a49aaa211b635a46f7506
creating build/temp.linux-ppc64le-cpython-312/tmp/pip-install-binfj26r/pygit2_c11b9988d87a49aaa211b635a46f7506/src
gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g -DOPENSSL_LOAD_CONF -fwrapv -fno-semantic-interposition -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g -IVendor/ -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g -IVendor/ -fPIC -I/usr/local/include -I/usr/include/python3.12 -c /tmp/pip-install-binfj26r/pygit2_c11b9988d87a49aaa211b635a46f7506/src/blob.c -o build/temp.linux-ppc64le-cpython-312/tmp/pip-install-binfj26r/pygit2_c11b9988d87a49aaa211b635a46f7506/src/blob.o
error: command 'gcc' failed: No such file or directory
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pygit2
�[?25hFailed to build pygit2
ERROR: Could not build wheels for pygit2, which is required to install pyproject.toml-based projects
Expected behavior
The installation can pass without any issue
- Ngôn ngữ chính
- Python
- Star
- 1.7k
- Fork
- 408
- Merge trung bình
- 2 ngày 57 phút
- Pull request đã merge (30 ngày)
- 7
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 libgit2/pygit2
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
-
Feature Request: Support app-level temporary config overrides using libgit2's backend supprt Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
-
merge_bases not wrapped Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
Tất cả issue của libgit2/pygit2
Issue tương tự
-
bug confirmed issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
open-webui/open-webui#30750 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
OpenwaterHealth/openmotion-bloodflow-app#604 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
good first issue
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100