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

MacPorts noreply at macports.org
Mon Jul 4 20:02:56 PDT 2011


#30032: perl @5.8.9 build failure on Lion - toke.c fails to compile
------------------------------------+---------------------------------------
 Reporter:  jpr5@…                  |       Owner:  macports-tickets@…                   
     Type:  defect                  |      Status:  new                                  
 Priority:  Normal                  |   Milestone:                                       
Component:  ports                   |     Version:  1.9.2                                
 Keywords:  perl 5.8.9 lion toke.c  |        Port:  perl5.8                              
------------------------------------+---------------------------------------
 Perl 5.8.9 fails to build on OSX 10.7 Build 11A511 (Gold Master).

 Specifically, it chokes on building `toke.c`.  Off the cuff, it doesn't
 appear to be a Portfile issue.

 Build log snippet:

 {{{
 :info:build `sh  cflags "optimize='-O3'" toke.o`  toke.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/usr/local/include -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
 }}}

 os: `Darwin rapture.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`

 gcc: `i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc.
 build 5658) (LLVM build 2335.15.00)`

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


More information about the macports-tickets mailing list