Opened 14 years ago

Closed 13 years ago

#23825 closed defect (worksforme)

perl5.8 build failure

Reported by: erica.alston@… Owned by: ghosthound
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: perl5.8

Description

When using MacPorts to install ImageMagick, there is an error. The error appears to relate to perl scripts. I have updated the Xcode (version 3.1.3) and I'm running OS X 10.5.8.

--->  Building perl5.8
DEBUG: Executing org.macports.build (perl5.8)
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macp
orts_sources_rsync.macports.org_release_ports_lang_perl5.8/work/perl-5.8.9" && /
 usr/bin/make -j2 all'
/usr/bin/gcc-4.0 -L/opt/local/lib -L/usr/local/lib -force_flat_namespace -o mini
perl \
            `echo  gv.o toke.o perly.o op.o pad.o regcomp.o dump.o util.o mg.o r
eentr.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 warning: in gv.o, file is not of required architecture
ld warning: in toke.o, file is not of required architecture
ld warning: in perly.o, file is not of required architecture
ld warning: in pad.o, file is not of required architecture
ld warning: in regcomp.o, file is not of required architecture
ld warning: in dump.o, file is not of required architecture
ld warning: in util.o, file is not of required architecture
ld warning: in mg.o, file is not of required architecture
ld warning: in reentr.o, file is not of required architecture
ld warning: in hv.o, file is not of required architecture
ld warning: in av.o, file is not of required architecture
ld warning: in perl.o, file is not of required architecture
ld warning: in run.o, file is not of required architecture
ld warning: in pp_hot.o, file is not of required architecture
ld warning: in sv.o, file is not of required architecture
ld warning: in pp.o, file is not of required architecture
ld warning: in scope.o, file is not of required architecture
ld warning: in pp_ctl.o, file is not of required architecture
ld warning: in pp_sys.o, file is not of required architecture
ld warning: in doop.o, file is not of required architecture
ld warning: in doio.o, file is not of required architecture
ld warning: in regexec.o, file is not of required architecture
ld warning: in utf8.o, file is not of required architecture
ld warning: in taint.o, file is not of required architecture
ld warning: in deb.o, file is not of required architecture
ld warning: in universal.o, file is not of required architecture
ld warning: in xsutils.o, file is not of required architecture
ld warning: in globals.o, file is not of required architecture
ld warning: in perlio.o, file is not of required architecture
ld warning: in perlapi.o, file is not of required architecture
ld warning: in numeric.o, file is not of required architecture
ld warning: in mathoms.o, file is not of required architecture
ld warning: in locale.o, file is not of required architecture
ld warning: in pp_pack.o, file is not of required architecture
ld warning: in pp_sort.o, file is not of required architecture
ld warning: in miniperlmain.o, file is not of required architecture
ld warning: in opmini.o, file is not of required architecture
Undefined symbols:
"_main", referenced from:
      start in crt1.10.5.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [miniperl] Error 1
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/ma
cports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_la
ng_perl5.8/work/perl-5.8.9" && /usr/bin/make -j2 all " returned error 2
DEBUG: Backtrace: shell command " cd "/opt/local/var/macports/build/_opt_local_v
ar_macports_sources_rsync.macports.org_release_ports_lang_perl5.8/work/perl-5.8.
9" && /usr/bin/make -j2 all " returned error 2
    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.activat
e org.macports.build org.macports.destroot org.macports.install
Error: The following dependencies failed to build: xorg-libXt autoconf help2man 
p5-locale-gettext perl5 perl5.8 m4 automake libtool xorg-libsm xorg-libice
Error: Status 1 encountered during processing.

Change History (3)

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to ricci@…
Port: perl5.8 added
Summary: target orgmacports.build returned: shell command - Error installing ImageMagickperl5.8 build failure

comment:2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

Please clean perl5.8 and try again with the debug switch:

sudo port clean perl5.8
sudo port -d install perl5.8 build.jobs=1 2>&1 | tee ~/Desktop/perl5.8.txt
bzip2 ~/Desktop/perl5.8.txt

Assuming it fails again, please attach the file perl5.8.txt.bz2 from your desktop to this ticket so we can see everything that's happening.

comment:3 Changed 13 years ago by jmroot (Joshua Root)

Resolution: worksforme
Status: newclosed

Can't reproduce; could have been fixed by r64203.

Note: See TracTickets for help on using tickets.