#13401: git-core with +svn produces a git-svn that uses the wrong perl binary ----------------------------------+----------------------------------------- Reporter: tim.stoop@gmail.com | Owner: macports-dev@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: git-svn git-core perl ----------------------------------+----------------------------------------- Changes (by jmpp@macports.org): * milestone: MacPorts base bugs => Port Bugs Old description:
After building git-core with +svn, I tried to start git-svn and get the following message:
asterisk:~ tim$ git-svn Can't locate SVN/Core.pm in @INC (@INC contains: /opt/local/lib/perl5/site_perl/5.8.8 /System/Library/Perl/5.8.6/darwin- thread-multi-2level /System/Library/Perl/5.8.6 /Library/Perl/5.8.6 /darwin-thread-multi-2level /Library/Perl/5.8.6 /Library/Perl /Network/Library/Perl/5.8.6/darwin-thread-multi-2level /Network/Library/Perl/5.8.6 /Network/Library/Perl /System/Library/Perl/Extras/5.8.6/darwin-thread-multi-2level /System/Library/Perl/Extras/5.8.6 /Library/Perl/5.8.1 .) at /opt/local/bin/git-svn line 24. asterisk:~ tim$
I can solve this by editing the hashbang of /opt/local/bin/git-svn and changing it to: #! /opt/local/bin/perl
Should be a patch?
New description: After building git-core with +svn, I tried to start git-svn and get the following message: {{{ asterisk:~ tim$ git-svn Can't locate SVN/Core.pm in @INC (@INC contains: /opt/local/lib/perl5/site_perl/5.8.8 /System/Library/Perl/5.8.6/darwin- thread-multi-2level /System/Library/Perl/5.8.6 /Library/Perl/5.8.6/darwin- thread-multi-2level /Library/Perl/5.8.6 /Library/Perl /Network/Library/Perl/5.8.6/darwin-thread-multi-2level /Network/Library/Perl/5.8.6 /Network/Library/Perl /System/Library/Perl/Extras/5.8.6/darwin-thread-multi-2level /System/Library/Perl/Extras/5.8.6 /Library/Perl/5.8.1 .) at /opt/local/bin /git-svn line 24. asterisk:~ tim$ }}} I can solve this by editing the hashbang of /opt/local/bin/git-svn and changing it to: #! /opt/local/bin/perl Should be a patch? Comment: Please read WikiFormatting for proper markup of terminal output (also this is a port bug, not a MacPorts one, so I'm adapting the milestone accordingly). -jmpp -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13401#comment:1> MacPorts </projects/macports> Ports system for Mac OS