[MacPorts] #30032: perl @5.8.9 build failure on Lion - toke.c fails to compile

MacPorts noreply at macports.org
Thu Jul 21 10:43:04 PDT 2011


#30032: perl @5.8.9 build failure on Lion - toke.c fails to compile
--------------------------------+-------------------------------------------
 Reporter:  jpr5@…              |       Owner:  ricci@…           
     Type:  defect              |      Status:  new               
 Priority:  Normal              |   Milestone:                    
Component:  ports               |     Version:  1.9.2             
 Keywords:  lion                |        Port:  perl5.8           
--------------------------------+-------------------------------------------

Comment(by avtargill@…):

 I can't build perl5.8 either.  I have OS X 10.7, Xcode 4.1 and MacPorts
 2.0.0 rc1 installed.  MacPorts installed using this dmg:
 http://distfiles.macports.org/MacPorts/testing/MacPorts-2.0.0-rc1-10.7-Lion.dmg

 $ uname -a
 Darwin charles.local 11.0.0 Darwin Kernel Version 11.0.0: Sat Jun 18
 12:56:35 PDT 2011; root:xnu-1699.22.73~1/RELEASE_X86_64 x86_64

 Entire build log attached but here's a snippet:

 {{{
 :info:build make: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_perl5.8/perl5.8/work/perl-5.8.9'
 :info:build `sh  cflags "optimize='-O3'" toke.o`  toke.c
 :info:build `sh  cflags "optimize='-O3'" perly.o`  perly.c
 :info:build       CCCMD =  /Developer/usr/bin/llvm-gcc-4.2 -DPERL_CORE -c
 -pipe -O2 -arch x86_64 -fno-common -DPERL_DARWIN -I/opt/local/include -no-
 cpp-precomp -fno-strict-aliasing -I/opt/local/include  -std=c89 -O3  -Wall
 -ansi -pedantic -W -Wextra -Wdeclaration-after-statement -Wendif-labels
 -Wc++-compat -DPERL_GCC_PEDANTIC
 :info:build       CCCMD =  /Developer/usr/bin/llvm-gcc-4.2 -DPERL_CORE -c
 -pipe -O2 -arch x86_64 -fno-common -DPERL_DARWIN -I/opt/local/include -no-
 cpp-precomp -fno-strict-aliasing -I/opt/local/include  -std=c89 -O3  -Wall
 -ansi -pedantic -W -Wextra -Wdeclaration-after-statement -Wendif-labels
 -Wc++-compat -DPERL_GCC_PEDANTIC
 :info:build toke.c:1997:1: warning: use of C99 long long integer constant
 :info:build toke.c: In function 'Perl_yylex':
 :info:build toke.c:5516: error: lvalue required as unary '&' operand
 :info:build toke.c:5516: error: lvalue required as unary '&' operand
 :info:build toke.c: In function 'S_pending_ident':
 :info:build toke.c:5755: error: lvalue required as unary '&' operand
 :info:build toke.c:5755: error: lvalue required as unary '&' operand
 :info:build toke.c: In function 'S_scan_heredoc':
 :info:build toke.c:9785: error: invalid operands to binary + (have 'char
 *' and 'char *')
 :info:build toke.c:9785: error: lvalue required as unary '&' operand
 :info:build toke.c:9785: error: lvalue required as unary '&' operand
 :info:build toke.c: In function 'S_scan_formline':
 :info:build toke.c:10814: error: invalid operands to binary + (have 'char
 *' and 'char *')
 :info:build toke.c:10814: error: lvalue required as unary '&' operand
 :info:build toke.c:10814: error: lvalue required as unary '&' operand
 :info:build make: *** [toke.o] Error 1
 :info:build make: *** Waiting for unfinished jobs....
 :info:build make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_perl5.8/perl5.8/work/perl-5.8.9'
 :info:build shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_perl5.8/perl5.8/work/perl-5.8.9"
 && /usr/bin/make -j2 -w all " returned error 2
 }}}

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


More information about the macports-tickets mailing list