Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 233550 - git-svn is installed when 'subversion' USE isn't enabled
Summary: git-svn is installed when 'subversion' USE isn't enabled
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Fernando J. Pereda (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-01 04:52 UTC by James D. Taylor
Modified: 2008-08-24 02:07 UTC (History)
1 user (show)

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 James D. Taylor 2008-08-01 04:52:21 UTC
git-svn depends on Term/ReadKey.pm when prompted for password, so it fails when run because the ebuild only installs Term/ReadKey.pm when 'subversion' is in USE.  

Reproducible: Always

Steps to Reproduce:
1.USE="-subversion" emerge dev-util/git
2.cd /tmp
3.git-svn clone https://django-hotclub.googlecode.com/svn/trunk pinax

Actual Results:  
Using existing [svn-remote "svn"]
Authentication realm: <https://django-hotclub.googlecode.com:443> Google Code Subversion Repository
Password for 'yottahz': Can't locate Term/ReadKey.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/bin/git-svn line 3021.
Comment 1 Wormo (RETIRED) gentoo-dev 2008-08-01 05:43:07 UTC
Actually, it is -perl flag that breaks git-svn utility in this manner; there is a post-install message regarding this issue in the ebuild. This issue was brought up in bug 204581, and the message was added as the preferred alternative to removing git-svn when USE flags were turned off.

Comment 2 James D. Taylor 2008-08-01 05:54:25 UTC
(In reply to comment #1)

'perl' is in my USE:

# emerge git -pv

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] dev-util/git-1.5.6.4  USE="bash-completion curl gtk iconv perl threads tk vim-syntax webdav -cgi -cvs -doc -emacs -mozsha1 (-ppcsha1) -subversion -xinetd" 0 kB

The ebuild only requires dependency of Term/ReadKey.pm when 'subversion' is in USE.  Whether git-svn should be installed if 'subversion' USE is not enabled is pretty obvious.

Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2008-08-01 09:38:53 UTC
From my point of view it's pretty obvious that this should be controlled by the subversion and not the perl use flag.
Comment 4 James D. Taylor 2008-08-01 13:50:35 UTC
Sorry, I didn't state that correctly.  I have "-subversion" in my USE, yet git-svn is being installed... and is, obviously, broken.  (see my USE flags above)
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-08-24 02:07:08 UTC
fixed in 1.6.0