Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 739634 - app-eselect/eselect-repository: missing rdepend of dev-vcs/git
Summary: app-eselect/eselect-repository: missing rdepend of dev-vcs/git
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michał Górny
Depends on:
Reported: 2020-08-30 15:52 UTC by tonemgub
Modified: 2021-08-26 14:52 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description tonemgub 2020-08-30 15:52:39 UTC
Yes it installs, but you won't be able to --sync anything from the overlays without dev-vcs/git installed. This has bitten me several times during fresh installs, so it should probably be an rdepend.

Reproducible: Always
Comment 1 Ionen Wolkens gentoo-dev 2020-08-30 16:06:50 UTC
The purpose of this package is to help edit /etc/portage/repos.conf, it doesn't sync anything. The one that does sync'ing, supports various type of sync methods, and depend on things is portage itself.

It's similar to setting up for sync'ing main ::gentoo with git and then finding yourself missing git to do that. bug #726334 does suggest adding a USE=git among other things that would add this dependency though.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-08-30 21:25:50 UTC
I have mixed feelings about this.

Yes, the vast majority of repositories use git.  However, there could be users who use eselect-profile just for that one mercurial or rsync repository.
Comment 3 tonemgub 2020-09-01 18:08:07 UTC
Perhaps a note after installation, similar to installing dracut? That way the user can be reminded to install git on their own if they would like it to support that.

That way no extra dependency is needed either.
Comment 4 Dylan 2021-08-26 14:52:12 UTC
In addition, dev-vcs/git needs to be emerged with USE=nls, otherwise the sync stage fails with:
fatal: bad object 0000000000000000000000000000000000000000
fatal: remote did not send all necessary objects