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).
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52673a9947296d222cf148a6780791cd22c75db4 commit 52673a9947296d222cf148a6780791cd22c75db4 Author: Steffen Winter <steffen.winter@proton.me> AuthorDate: 2024-05-23 17:39:26 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-06-01 02:15:33 +0000 dev-util/git-delta: add 0.17.0 Closes: https://bugs.gentoo.org/921551 Signed-off-by: Steffen Winter <steffen.winter@proton.me> Closes: https://github.com/gentoo/gentoo/pull/36792 Signed-off-by: Sam James <sam@gentoo.org> dev-util/git-delta/Manifest | 153 ++++++++++++++++++ dev-util/git-delta/git-delta-0.17.0.ebuild | 246 +++++++++++++++++++++++++++++ 2 files changed, 399 insertions(+)