[MacPorts] #28304: p5-svn-simple fails on 10.6, build_arch i386

MacPorts noreply at macports.org
Tue Feb 8 06:22:18 PST 2011


#28304: p5-svn-simple fails on 10.6, build_arch i386
--------------------------------------+-------------------------------------
 Reporter:  andrebragareis@…          |       Owner:  dluke@…           
     Type:  defect                    |      Status:  assigned          
 Priority:  Normal                    |   Milestone:                    
Component:  ports                     |     Version:  1.9.2             
 Keywords:                            |        Port:  p5-svn-simple     
--------------------------------------+-------------------------------------

Comment(by andrebragareis@…):

 First two look good:
 {{{
 $ file /opt/local/lib/libsvn_swig_perl-1.0.0.0.dylib
 /opt/local/lib/libsvn_swig_perl-1.0.0.0.dylib: Mach-O dynamically linked
 shared library i386

 $ file /opt/local/lib/perl5/vendor_perl/5.8.9/darwin-
 2level/auto/SVN/_Core/_Core.bundle
 /opt/local/lib/perl5/vendor_perl/5.8.9/darwin-
 2level/auto/SVN/_Core/_Core.bundle: Mach-O bundle i386
 }}}

 But I think you nailed it here:
 {{{
 $ /opt/local/bin/perl -e 'use SVN::Core; print
 "$SVN::Core::VER_MAJOR.$SVN::Core::VER_MINOR.$SVN::Core::VER_MICRO"'
 Can't load '/opt/local/lib/perl5/vendor_perl/5.8.9/darwin-
 2level/auto/SVN/_Core/_Core.bundle' for module SVN::_Core:
 dlopen(/opt/local/lib/perl5/vendor_perl/5.8.9/darwin-
 2level/auto/SVN/_Core/_Core.bundle, 1): no suitable image found.  Did
 find:
         /opt/local/lib/perl5/vendor_perl/5.8.9/darwin-
 2level/auto/SVN/_Core/_Core.bundle: mach-o, but wrong architecture at
 /opt/local/lib/perl5/5.8.9/darwin-2level/DynaLoader.pm line 230.
  at /opt/local/lib/perl5/vendor_perl/5.8.9/darwin-2level/SVN/Base.pm line
 59
 BEGIN failed--compilation aborted at
 /opt/local/lib/perl5/vendor_perl/5.8.9/darwin-2level/SVN/Core.pm line 5.
 Compilation failed in require at -e line 1.
 BEGIN failed--compilation aborted at -e line 1.
 }}}

 It's the MacPorts perl arch:
 {{{
 $ file /opt/local/bin/perl
 /opt/local/bin/perl: Mach-O 64-bit executable x86_64
 }}}

 More in a minute.

 So I'm guessing it's perl5/perl5.8 which is ignoring build_arch i386.

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


More information about the macports-tickets mailing list