dev-util/git-22.214.171.124 does not need dev-perl/Error for git add -i, git-126.96.36.199 does. Emerging dev-perl/Error fixes the problem and git resumes normal operation. Starting git-188.8.131.52 via git-add -i results in an error that Error.pm is not included in @INC.
Steps to Reproduce:
1. do a git add -i
currently RDEPEND for git-184.108.40.206 has
perl? ( dev-perl/Error dev-perl/Net-SMTP-SSL )
Is this a known new requirement, or are we building in the wrong way when USE=-perl?
Nothing alt-specific here, re-assigning.
I should add to this that the error occured as i had USE=-perl for git (on OSX NET-SMTP-SSL isn't yet unmasked).
Thanks, I see in the 1.5.4.x series, dev-perl/Error is no longer optional.
@Martin: thanks, Robin's fix will show up after tomorrow's sync in the Prefix tree.
No problem and thanks for fixing.
Please reopen the bug.
Indeed your ebuild for 220.127.116.11 is now pulling many perl dependencies for those who has USE="-perl" and do not want the perl git helper scripts.
See attache ebuild patch.
Created attachment 146742 [details, diff]
sylvain: Git has the following parts as Perl presently:
Eg, Perl is no longer optional, and this includes the dev-perl/Error module. If you want to get rid of the Perl stuff for the first 3-4 scripts above, go and submit C versions to upstream.
(P.S. Please CC yourself on a bug if you leave a comment on it and expect a response).
>Eg, Perl is no longer optional
Yes it is. Those commands are not requiered to work with git (I am a git user). They are additional sweet on the side.
>go and submit C versions to upstream
If perl dependency is brut forced, certainly not. It would be sort of black mail. If perl dependency stays optional and if I realise I really need this sweet, I may, if I have time (I'm already trying to work on the GPL nvidia driver on my free time).
Gentoo with its use flags has the power to let the user choose (like gnome and mono). Don't blow that away, please.
sylvain: please see bug 214168, which is more suitable for this discussion now.
The resolution choosen is not possible on Os X as least... as (I stated this before) USE=perl spawns a require to NET-SMTP-SSL ... and therefore prevents git-add -i and the like from being built. I do not see a senseable solution to this with giving both sides what they want (the git-non-perl fraction a non-perl dependant git and the perl-wanting fraction a git that builds... ) other then waiting for NET-SMTP-SSL ...
correction on my previous post, NET-SMTP-SSL is not even in prefix yet...
(In reply to comment #13)
> correction on my previous post, NET-SMTP-SSL is not even in prefix yet...
please file a bug for that, before this vanishes in piles of other things to do..
Filed Bug #214681 as enhancement request for that problem.
*** Bug 216147 has been marked as a duplicate of this bug. ***