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

Bug 204581

Summary: dev-util/git: git-svn should not be installed with USE=-perl
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Fernando J. Pereda (RETIRED) <ferdy>
Status: RESOLVED WONTFIX    
Severity: normal CC: leon+gentoo, robbat2
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2008-01-06 14:17:02 UTC
Can't locate Error.pm in @INC (@INC contains: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.8 /etc/perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.8 /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/site_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/5.8.8 /usr/local/lib/site_perl .) at /usr/lib64/perl5/site_perl/5.8.8/Git.pm line 93.
BEGIN failed--compilation aborted at /usr/lib64/perl5/site_perl/5.8.8/Git.pm line 93.
Compilation failed in require at /usr/bin/git-svn line 45.
BEGIN failed--compilation aborted at /usr/bin/git-svn line 45.

When enabling perl USE flag on dev-util/git it works, so it should probably be installed _only_ when the perl USE flag is enabled.
Comment 1 Leonid Evdokimov 2008-02-01 10:37:31 UTC
One more note: git-svnimport depends on libwww-perl

$ git-svnimport 
Can't locate LWP/UserAgent.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /etc/perl /usr/lib/perl5/vendor_perl/5.8.8/i686-linux /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/site_perl /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/local/lib/site_perl .) at /usr/bin/git-svnimport line 228.
BEGIN failed--compilation aborted at /usr/bin/git-svnimport line 228.

I have dev-util/git-1.5.3.7-r1 built with USE="+bash-completion -cgi +curl +doc -emacs +gtk +iconv -mozsha1 +perl -ppcsha1 -tk -webdav"
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-02-01 10:47:55 UTC
gentoo@darkk.net.ru: do not use git-svnimport. Upstream has said it is obsolete, replaced by git-svn directly.

For the general side of this, we don't want to this, because we then get questions about where a given tool is. Maybe it will be revisited when the metadata.xml USE-flag specific discussion and GLEP is completed.

In the meantime, I updated the stuff printed at the end of the emerge.