Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 921551

Summary: dev-util/git-delta: system libgit2 not being used
Product: Gentoo Linux Reporter: Takuya Wakazono <pastalian46>
Component: Current packagesAssignee: Sam James <sam>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Takuya Wakazono 2024-01-07 09:18:49 UTC
This package has DEPEND="dev-libs/libgit2:=" but it's actually not used.

libgit2-sys crate is only compatible with a specific range of libgit2 and will build its own version if no compatible version is available.
https://github.com/rust-lang/git2-rs/blob/libgit2-sys-0.14.2%2B1.5.1/libgit2-sys/build.rs#L20-L22

I haven't looked into it deeply, but presumably other packages have similar problems (like sys-apps/bat).