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.
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.
I took the USE=perl part, thanks guys. - ferdy
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.
Fine, will include it in the next bump. - ferdy