Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 152320 - dev-util/git git-svnimport requires subversion perl bindings
Summary: dev-util/git git-svnimport requires subversion perl bindings
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor
Assignee: Fernando J. Pereda (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-22 00:25 UTC by Priit Laes (IRC: plaes)
Modified: 2006-10-24 10:36 UTC (History)
1 user (show)

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


Attachments
git-1.4.3.1.ebuild.diff (git-1.4.3.1.ebuild.diff,2.13 KB, patch)
2006-10-22 00:33 UTC, Jakub Moc (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Priit Laes (IRC: plaes) 2006-10-22 00:25:34 UTC
I currently have -perl in my USE flags, so the subversion perl bindings aren't built.

Now when I invoke git-svnimport, it bails out with errors:
Can't locate SVN/Core.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 26.
BEGIN failed--compilation aborted at /usr/bin/git-svnimport line 26.

This is quite a tricky situation to handle:
 a) maybe add svn, git and other USE flags to git which check for reqs.
 b) Just warn users that if you want xxx to work you need some kind of extra stuff.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-10-22 00:33:07 UTC
Created attachment 100198 [details, diff]
git-1.4.3.1.ebuild.diff

We don't have any use flags for this, and should remain that way. Attached a trivial patch for einfo in pkg_postinst() - also replaces einfo with elog.
Comment 2 Fernando J. Pereda (RETIRED) gentoo-dev 2006-10-24 00:49:38 UTC
I took the USE=perl part, thanks guys.

- ferdy
Comment 3 Bertrand Jacquin 2006-10-24 10:33:01 UTC
git-send-email also need dev-perl/Error:

Can't locate Error.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/5.8.7 /usr/lib/perl5/vendor_perl/5.8.7/i686-linux /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/lib/perl5/site_perl/5.8.8/Git.pm line 93.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/Git.pm line 93.
Compilation failed in require at /usr/bin/git-send-email line 25.
BEGIN failed--compilation aborted at /usr/bin/git-send-email line 25.
Comment 4 Fernando J. Pereda (RETIRED) gentoo-dev 2006-10-24 10:36:24 UTC
Fine, will include it in the next bump.

- ferdy