Summary: | dev-util/cargo-c-0.9.30 - error: failed to run custom build command for libgit2-sys v0.16.2+1.7.2 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Luca Barbato <lu_zero> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kripton, leonchik1976, luke5083, moltonel, swimbunny2000 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=943391 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
dev-util:cargo-c-0.9.30:20240321-055840.log emerge-history.txt environment etc.clang.tar.xz etc.portage.tar.xz logs.tar.xz qlist-info.txt.xz temp.tar.xz |
Description
Toralf Förster
![]() Created attachment 888072 [details]
emerge-info.txt
Created attachment 888073 [details]
dev-util:cargo-c-0.9.30:20240321-055840.log
Created attachment 888074 [details]
emerge-history.txt
Created attachment 888075 [details]
environment
Created attachment 888076 [details]
etc.clang.tar.xz
Created attachment 888077 [details]
etc.portage.tar.xz
Created attachment 888078 [details]
logs.tar.xz
Created attachment 888079 [details]
qlist-info.txt.xz
Created attachment 888080 [details]
temp.tar.xz
I'm hitting this too, now that cargo-c-0.10.4 got marked stable. It seems to requires a newer libgit2 (that I can't install yet due to other packages on my system): PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 x86_64-pc-linux-gnu-pkg-config --libs --cflags libgit2 libgit2 >= 1.8.1 libgit2 < 1.9.0 OTOH, cargo-c-0.10.0 compiles fine with both libgit2-1.7.2 and rust-1.80.1 So the fix might be to: * depend on libgt2 >= 1.8.1 in cargo-c-0.10.4 * stabilize cargo-c-0.10.0 Thanks (In reply to Vincent de Phily from comment #10) > I'm hitting this too, now that cargo-c-0.10.4 got marked stable. It seems to > requires a newer libgit2 (that I can't install yet due to other packages on > my system): > > PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 > x86_64-pc-linux-gnu-pkg-config --libs --cflags libgit2 libgit2 >= 1.8.1 > libgit2 < 1.9.0 > > OTOH, cargo-c-0.10.0 compiles fine with both libgit2-1.7.2 and rust-1.80.1 > > > So the fix might be to: > * depend on libgt2 >= 1.8.1 in cargo-c-0.10.4 > * stabilize cargo-c-0.10.0 > > > Thanks Filed bug 943391, thanks. (In reply to Vincent de Phily from comment #10) > * depend on libgt2 >= 1.8.1 in cargo-c-0.10.4 It already does? The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9303554c9496cda76f3bbe96dddaa9bf53bfa8a2 commit 9303554c9496cda76f3bbe96dddaa9bf53bfa8a2 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-12-29 07:41:20 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-12-29 07:41:20 +0000 dev-util/cargo-c: pin to libgit2-1.8* Stupid crate again. Closes: https://bugs.gentoo.org/927452 Closes: https://bugs.gentoo.org/947146 Signed-off-by: Sam James <sam@gentoo.org> dev-util/cargo-c/cargo-c-0.10.4-r1.ebuild | 3 ++- dev-util/cargo-c/cargo-c-0.10.7.ebuild | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) |