[MacPorts] #32171: perl5.8, perl5.10, perl5.12, perl5.14: startperl is wrong

MacPorts noreply at macports.org
Mon Nov 21 03:19:51 PST 2011


#32171: perl5.8, perl5.10, perl5.12, perl5.14: startperl is wrong
-------------------------------------+--------------------------------------
 Reporter:  ryandesign@…             |       Owner:  ricci@…                              
     Type:  defect                   |      Status:  new                                  
 Priority:  Normal                   |   Milestone:                                       
Component:  ports                    |     Version:  2.0.3                                
 Keywords:                           |        Port:  perl5.8, perl5.10, perl5.12, perl5.14
-------------------------------------+--------------------------------------
 In e.g. /opt/local/lib/perl5/5.8.9/darwin-2level/Config_heavy.pl appears
 this line:

 {{{
 startperl='#!/opt/local/bin/perl'
 }}}

 This needs to be changed to the correct path to this version of perl.

 Ports like help2man ask perl's config for the value of startperl, and use
 this when writing their shebang lines. Since startperl points to
 /opt/local/bin/perl, which won't exist unless the user has also installed
 the perl5 port, this can lead to errors like:

 {{{
 /opt/local/bin/help2man: /opt/local/bin/perl: bad interpreter: No such
 file or directory
 }}}

 as [http://build.macports.org/builders/buildports-snowleopard-
 x86_64/builds/3196/steps/compile/logs/stdio reported on the buildbot].

 Once startperl is fixed in the perl ports and their revisions have been
 increased, the revision of help2man will need to be increased also to
 force a rebuild. I imagine many other perl ports will be in a similar
 situation as help2man, but I don't know a good way to identify them all.

-- 
Ticket URL: <https://trac.macports.org/ticket/32171>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list