[MacPorts] #21104: perl 5.8.9 build failure -- config.sh line 90 syntax error near unexpected token

MacPorts noreply at macports.org
Fri Sep 4 20:59:00 PDT 2009


#21104: perl 5.8.9 build failure -- config.sh line 90 syntax error near unexpected
token
------------------------------------------------------------------+---------
 Reporter:  Mike.Linda@…                                          |       Owner:  macports-tickets@…                   
     Type:  defect                                                |      Status:  new                                  
 Priority:  Normal                                                |   Milestone:                                       
Component:  ports                                                 |     Version:  1.8.0                                
 Keywords:  config.sh line 90 syntax error near unexpected token  |        Port:  perl 5.8.9                           
------------------------------------------------------------------+---------
 Hello MacPorts gurus,

 This is on a 15.4" MacBookPro, 2.4 GHz Intel Core 2 Duo, Mac OS X 10.5.8,
 MacPorts 1.8.0, XCode 3.1.3.

 I was installing rdiff-backup, latest version 1.2.8.  MacPorts was
 installing all the dependencies.  After it installed about 18 of them, it
 got to perl-5.8.9 where the error occurred:

 {{{
   [::: trim :::]

 --->  Fetching perl5.8
 --->  Attempting to fetch perl-5.8.9.tar.bz2 from http://www.cpan.org/src/
 --->  Verifying checksum(s) for perl5.8
 --->  Extracting perl5.8
 --->  Applying patches to perl5.8
 --->  Configuring perl5.8
 --->  Building perl5.8
 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: ./config.sh: line 90: syntax error near unexpected token
 `('
 ./config.sh: line 90: `d_Gconvert='sprintf((b),"%.*g",(n),(x))''
           CCCMD =  /usr/bin/gcc-4.0 -DPERL_CORE -c -fno-common
 -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing
 -pipe -I/usr/local/include -I/opt/local/include  -std=c89 -O3 -Wall -ansi
 -W -Wextra -Wdeclaration-after-statement -Wendif-labels
 ./config.sh: line 90: syntax error near unexpected token `('
 ./config.sh: line 90: `d_Gconvert='sprintf((b),"%.*g",(n),(x))''
 opmini.c: In function 'Perl_fold_constants':
 opmini.c:2119: warning: argument 'o' might be clobbered by 'longjmp' or
 'vfork'
 /usr/bin/gcc-4.0 -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
 ./miniperl -w -Ilib -MExporter -e '<?>' || /usr/bin/make minitest
 ./miniperl -Ilib configpm
 written lib/Config.pod
 updated lib/Config.pm
 updated lib/Config_heavy.pl
 ./miniperl -Ilib lib/lib_pm.PL
 Extracting lib.pm (with variable substitutions)
 ./miniperl minimod.pl > lib/ExtUtils/Miniperl.pm
 cd lib/unicore &&   ../../miniperl -I../../lib mktables -w
 cd x2p;  /usr/bin/make s2p
 ../miniperl -I../lib s2p.PL
 Extracting s2p (with variable substitutions)
 Linking s2p to psed.

         Making x2p stuff
 You haven't done a "make depend" yet!
 make[1]: *** [hash.o] Error 1
 make: *** [translators] Error 2
 make: *** Waiting for unfinished jobs....
 touch uni.data

 Error: The following dependencies failed to build: py25-xattr
 py25-setuptools python25 tk Xft2 xrender xorg-libX11 autoconf help2man p5
 -locale-gettext perl5 perl5.8 m4 automake libtool xorg-bigreqsproto xorg-
 inputproto xorg-kbproto xorg-libXau xorg-libXdmcp xorg-util-macros xorg-
 xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans xorg-
 renderproto tcl xorg-libXScrnSaver xorg-libXext xorg-scrnsaverproto
 subversion apr apr-util cyrus-sasl2 neon serf
 Error: Status 1 encountered during processing.
 }}}

 Just prior to installing rdiff-backup, I installed md5sha1sum
 successfully.  So at this point only the following ports are present:

 {{{
 The following ports are currently installed:
   bzip2 @1.0.5_2+darwin (active)
   db46 @4.6.21_5 (active)
   expat @2.0.1_0 (active)
   fontconfig @2.7.2_0+macosx (active)
   freetype @2.3.9_0+macosx (active)
   gdbm @1.8.3_1 (active)
   gettext @0.17_4 (active)
   gperf @3.0.4_0 (active)
   libiconv @1.13_0 (active)
   librsync @0.9.7_1 (active)
   md5sha1sum @0.9.5_0 (active)
   ncurses @5.7_0 (active)
   ncursesw @5.7_0 (active)
   openssl @0.9.8k_0+darwin (active)
   pkgconfig @0.23_1 (active)
   readline @6.0.000_1+darwin (active)
   sqlite3 @3.6.17_0 (active)
   xorg-xproto @7.0.15_0 (active)
   zlib @1.2.3_2 (active)
 }}}

 I've googled around and searched MacPorts for hints of this same problem,
 but no luck.  Yet it seems weird that nobody else would have run into
 this.  So I suspect that my installation is somehow broken.  Still, there
 is nothing custom on this Mac -- everything was installed using defaults.

 Any help or insight will be much appreciated!

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


More information about the macports-tickets mailing list