Opened 15 years ago

Closed 15 years ago

#23542 closed defect (duplicate)

Failure while building Perl 5.8

Reported by: madamboevarix@… Owned by: ghosthound
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: perl5.8

Description (last modified by mf2k (Frank Schima))

 sudo port install -d qt4-mac
--->  Computing dependencies for qt4-mac
--->  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: `sh  cflags "optimize='-O3'" toke.o`  toke.c
`sh  cflags "optimize='-O3'" op.o`  op.c
	  CCCMD =  /usr/bin/gcc-4.2 -DPERL_CORE -c -O2 -arch x86_64 -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 -pedantic -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat -DPERL_GCC_PEDANTIC 
	  CCCMD =  /usr/bin/gcc-4.2 -DPERL_CORE -c -O2 -arch x86_64 -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 -pedantic -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat -DPERL_GCC_PEDANTIC 
toke.c:1997:1: warning: use of C99 long long integer constant
toke.c: In function 'Perl_yylex':
toke.c:5516: error: lvalue required as unary '&' operand
toke.c:5516: error: lvalue required as unary '&' operand
op.c:2722:1: warning: use of C99 long long integer constant
op.c:2722:1: warning: use of C99 long long integer constant
toke.c: In function 'S_pending_ident':
toke.c:5755: error: lvalue required as unary '&' operand
toke.c:5755: error: lvalue required as unary '&' operand
toke.c: In function 'S_scan_heredoc':
toke.c:9785: error: invalid operands to binary + (have 'char *' and 'char *')
toke.c:9785: error: lvalue required as unary '&' operand
toke.c:9785: error: lvalue required as unary '&' operand
toke.c: In function 'S_scan_formline':
toke.c:10814: error: invalid operands to binary + (have 'char *' and 'char *')
toke.c:10814: error: lvalue required as unary '&' operand
toke.c:10814: error: lvalue required as unary '&' operand
make: *** [toke.o] Error 1
make: *** Waiting for unfinished jobs....
op.c: In function 'Perl_fold_constants':
op.c:2119: warning: argument 'o' might be clobbered by 'longjmp' or 'vfork'

Error: The following dependencies failed to build: dbus autoconf help2man p5-locale-gettext perl5 perl5.8 m4 automake libtool pkgconfig jpeg libmng lcms tiff zlib libpng openssl sqlite3 readline
Error: Status 1 encountered during processing.

Attachments (1)

PortLog.rtf (35.5 KB) - added by madamboevarix@… 15 years ago.
Complete log

Download all attachments as: .zip

Change History (4)

Changed 15 years ago by madamboevarix@…

Attachment: PortLog.rtf added

Complete log

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Description: modified (diff)
Owner: changed from macports-tickets@… to ricci@…
Port: perl5.8 added

comment:2 Changed 15 years ago by ghosthound

Status: newassigned

Please make sure your ports are up to date (sudo port selfupdate) and also remove the -j2 arg. to make.

comment:3 Changed 15 years ago by ghosthound

Resolution: duplicate
Status: assignedclosed

Appears to be a duplicate of #20027

Note: See TracTickets for help on using tickets.