[MacPorts] #22039: perl5.8 version 5.8.9 snow leopard build failure

MacPorts noreply at macports.org
Tue Oct 13 06:00:17 PDT 2009


#22039: perl5.8 version 5.8.9 snow leopard build failure
-------------------------------+--------------------------------------------
 Reporter:  timur@…            |       Owner:  macports-tickets@…                   
     Type:  defect             |      Status:  new                                  
 Priority:  Normal             |   Milestone:                                       
Component:  ports              |     Version:  1.8.1                                
 Keywords:                     |        Port:                                       
-------------------------------+--------------------------------------------
 Hi,
 I tried to install perl5.8 on my MacBook Pro running OS X 10.6.1 (with
 Xcode 3.2 and X11 correctly installed as it says on the macports webpage).
 The build fails and this is what i get:


 {{{
 sudo port -d install perl5.8

 DEBUG: Found port in
 file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/perl5.8
 DEBUG: Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/perl5.8
 DEBUG: OS Platform: darwin
 DEBUG: OS Version: 10.0.0
 DEBUG: Mac OS X Version: 10.6
 DEBUG: System Arch: i386
 DEBUG: setting option os.universal_supported to yes
 DEBUG: org.macports.load registered provides 'load', a pre-existing
 procedure. Target override will not be provided
 DEBUG: org.macports.unload registered provides 'unload', a pre-existing
 procedure. Target override will not be provided
 DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-
 existing procedure. Target override will not be provided
 DEBUG: 'universal_variant no' specified, so not adding the default
 universal variant
 DEBUG: Requested variant darwin is not provided by port perl5.8.
 DEBUG: Requested variant i386 is not provided by port perl5.8.
 DEBUG: Requested variant macosx is not provided by port perl5.8.
 --->  Computing dependencies for perl5.8
 DEBUG: Executing org.macports.main (perl5.8)
 DEBUG: Skipping completed org.macports.fetch (perl5.8)
 DEBUG: Skipping completed org.macports.checksum (perl5.8)
 DEBUG: setting option extract.cmd to /usr/bin/bzip2
 DEBUG: Skipping completed org.macports.extract (perl5.8)
 DEBUG: Skipping completed org.macports.patch (perl5.8)
 DEBUG: Skipping completed org.macports.configure (perl5.8)
 --->  Building perl5.8
 DEBUG: Executing org.macports.build (perl5.8)
 DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.6'
 DEBUG: Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_perl5.8/work/perl-5.8.9"
 && /usr/bin/make -j2 all'
 /usr/bin/gcc-4.2 -L/opt/local/lib -L/usr/local/lib -force_flat_namespace
 -o miniperl \
             `echo  gv.o toke.o perly.o op.o pad.o regcomp.o dump.o util.o
 mg.o reentr.o hv.o av.o perl.o run.o pp_hot.o sv.o pp.o scope.o pp_ctl.o
 pp_sys.o doop.o doio.o regexec.o utf8.o taint.o deb.o universal.o
 xsutils.o globals.o perlio.o perlapi.o numeric.o mathoms.o locale.o
 pp_pack.o pp_sort.o  | sed 's/ op.o / /'` \
             miniperlmain.o opmini.o -ldl -lm -lutil -lc
 ld: in /usr/local/lib/libstdc++.6.dylib, file is not of required
 architecture
 collect2: ld returned 1 exit status
 make: *** [miniperl] Error 1
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_perl5.8/work/perl-5.8.9"
 && /usr/bin/make -j2 all " returned error 2
 Command output: /usr/bin/gcc-4.2 -L/opt/local/lib -L/usr/local/lib
 -force_flat_namespace -o miniperl \
             `echo  gv.o toke.o perly.o op.o pad.o regcomp.o dump.o util.o
 mg.o reentr.o hv.o av.o perl.o run.o pp_hot.o sv.o pp.o scope.o pp_ctl.o
 pp_sys.o doop.o doio.o regexec.o utf8.o taint.o deb.o universal.o
 xsutils.o globals.o perlio.o perlapi.o numeric.o mathoms.o locale.o
 pp_pack.o pp_sort.o  | sed 's/ op.o / /'` \
             miniperlmain.o opmini.o -ldl -lm -lutil -lc
 ld: in /usr/local/lib/libstdc++.6.dylib, file is not of required
 architecture
 collect2: ld returned 1 exit status
 make: *** [miniperl] Error 1

 DEBUG: Backtrace: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_perl5.8/work/perl-5.8.9"
 && /usr/bin/make -j2 all " returned error 2
 Command output: /usr/bin/gcc-4.2 -L/opt/local/lib -L/usr/local/lib
 -force_flat_namespace -o miniperl \
             `echo  gv.o toke.o perly.o op.o pad.o regcomp.o dump.o util.o
 mg.o reentr.o hv.o av.o perl.o run.o pp_hot.o sv.o pp.o scope.o pp_ctl.o
 pp_sys.o doop.o doio.o regexec.o utf8.o taint.o deb.o universal.o
 xsutils.o globals.o perlio.o perlapi.o numeric.o mathoms.o locale.o
 pp_pack.o pp_sort.o  | sed 's/ op.o / /'` \
             miniperlmain.o opmini.o -ldl -lm -lutil -lc
 ld: in /usr/local/lib/libstdc++.6.dylib, file is not of required
 architecture
 collect2: ld returned 1 exit status
 make: *** [miniperl] Error 1

     while executing
 "command_exec build"
     (procedure "portbuild::build_main" line 9)
     invoked from within
 "$procedure $targetname"
 Warning: the following items did not execute (for perl5.8):
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 Error: Status 1 encountered during processing.
 }}}

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


More information about the macports-tickets mailing list