Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 921551 - dev-util/git-delta: system libgit2 not being used
Summary: dev-util/git-delta: system libgit2 not being used
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sam James
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-01-07 09:18 UTC by Takuya Wakazono
Modified: 2024-06-23 12:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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).
Comment 1 Larry the Git Cow gentoo-dev 2024-06-01 02:16:07 UTC
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(+)