[MacPorts] #34723: p5*: it is likely the distributable perl modules do not work with perl5 +threads

MacPorts noreply at macports.org
Sat Jun 2 09:22:03 PDT 2012


#34723: p5*: it is likely the distributable perl modules do not work with perl5
+threads
----------------------------------+-----------------------------------------
 Reporter:  pixilla@…             |       Owner:  macports-tickets@…                   
     Type:  defect                |      Status:  new                                  
 Priority:  Normal                |   Milestone:                                       
Component:  ports                 |     Version:  2.1.1                                
 Keywords:                        |        Port:  perl5.12                             
----------------------------------+-----------------------------------------
 Perl compiled with +threads uses a different module dir:
 {{{
 $ find /opt/local/lib/perl5/vendor_perl/5.12.4/darwin-* -type d -maxdepth
 0
 /opt/local/lib/perl5/vendor_perl/5.12.4/darwin-multi-2level
 /opt/local/lib/perl5/vendor_perl/5.12.4/darwin-thread-multi-2level
 }}}

 Should all perl5 modules not be distributable?

 Example: p5.12-xml-parser
 {{{
 $ port -q installed perl5.12 and active
   perl5.12 @5.12.4_0+shared+threads+universal (active)
 $ sudo port -n upgrade --force p5.12-xml-parser
 $ port -q contents p5.12-xml-parser | head -n1
   /opt/local/lib/perl5/vendor_perl/5.12.3/darwin-multi-
 2level/XML/Parser.pm
 $ port -q contents p5.12-xml-parser | head -n1
   /opt/local/lib/perl5/vendor_perl/5.12.4/darwin-thread-multi-
 2level/XML/Parser.pm
 $ sudo port -ns upgrade --force p5.12-xml-parser
 }}}

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


More information about the macports-tickets mailing list