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

Bug 216147

Summary: dev-util/git should depend on dev-perl/Error
Product: Gentoo/Alt Reporter: Maarten Billemont <lhunath>
Component: Mac OSXAssignee: osx porters <osx>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: OS X   
Whiteboard:
Package list:
Runtime testing required: ---

Description Maarten Billemont 2008-04-04 07:13:47 UTC
Without dev-perl/Error present, git can throw the following error:

mbillemo@Myst t $ git-remote add netherpanel http://netherpanel.lyndir.com/NetherPanel.git
Can't locate Error.pm in @INC (@INC contains: /Gentoo/usr/lib/perl5/site_perl/5.8.8/darwin-2level /Gentoo/usr/lib/perl5/site_perl/5.8.8 /etc/perl /Gentoo/usr/lib/perl5/vendor_perl/5.8.8/darwin-2level /Gentoo/usr/lib/perl5/vendor_perl/5.8.8 /Gentoo/usr/lib/perl5/vendor_perl /Gentoo/usr/lib/perl5/site_perl /Gentoo/usr/lib/perl5/5.8.8/darwin-2level /Gentoo/usr/lib/perl5/5.8.8 /usr/local/lib/site_perl .) at /Gentoo/usr/lib/perl5/site_perl/5.8.8/Git.pm line 93.
BEGIN failed--compilation aborted at /Gentoo/usr/lib/perl5/site_perl/5.8.8/Git.pm line 93.
Compilation failed in require at /Gentoo/usr/bin/git-remote line 4.
BEGIN failed--compilation aborted at /Gentoo/usr/bin/git-remote line 4.


Reproducible: Always

Steps to Reproduce:
Comment 1 Maarten Billemont 2008-04-04 07:18:45 UTC
This error is thrown with git installed as follows:

[ebuild   R   ] dev-util/git-1.5.4.4  USE="bash-completion iconv webdav -cgi -curl -doc -emacs -gtk -mozsha1 -perl (-ppcsha1) -threads -tk" 0 kB

As you can see, no perl.  With perl enabled the Error lib is pulled in, but it still shouldn't throw the error it does without the perl flag.  Maybe the perl flag should disappear and perl should be enabled by default?
Comment 2 Maarten Billemont 2008-04-04 07:19:40 UTC
Enabling the perl flag causes:

emerge: there are no ebuilds to satisfy "dev-perl/Net-SMTP-SSL".
(dependency required by "dev-util/git-1.5.4.4" [ebuild])
Comment 3 Fabian Groffen gentoo-dev 2008-04-07 14:29:57 UTC
Are you on an updated tree?

We already dealt with a bug similar to this, and dev-perl/Net-SMTP-SSL is in the tree here...

*** This bug has been marked as a duplicate of bug 214005 ***