emerge of dev-lang/perl-5.12.2-r2 fails with: CCCMD = i686-pc-linux-gnu-gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -fstack-protector -std=c89 -O2 -march=i686 -pipe -Wall -ansi -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat perl.c: In function 'perl_construct': perl.c:394: error: expected ')' before 'themis' perl.c:394: error: expected ')' before 'themis' perl.c: In function 'S_init_ids': perl.c:3693: warning: ignoring return value of 'write', declared with attribute warn_unused_result make: *** [perlmini.o] Error 1 Reproducible: Always Steps to Reproduce: 1. emerge dev-lang/perl Actual Results: * ERROR: dev-lang/perl-5.12.2-r2 failed: * emake failed * * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 2856: Called die * The specific snippet of code: * emake -j1 || die "emake failed" * Expected Results: installation of perl This is a new Gentoo install (11/4/2010) on a Dell Inspiron i17 laptop; perl failed then, so I added ">dev-lang/perl-5.12.2-r1" to /etc/portage/package.mask and successfully installed the prior version 5.12.2-r1. logs to follow
Also, my machine name is "themis"; the error message seems to be arising around the hostname. HOSTNAME="themis" ~ # cat /etc/hostname HOSTNAME="themis" HOSTNAME="themis" ~ #
Created attachment 253503 [details] build.log
Created attachment 253505 [details] environment
Created attachment 253507 [details] emerge-info
emerge -pqv =dev-lang/perl-5.12.2-r2 produces: [ebuild U ] dev-lang/perl-5.12.2-r2 [5.12.2-r1] USE="berkdb gdbm -build -debug -doc -ithreads"
Please add `uname -a` and config.sh from your build dir (/var/tmp/portage/dev-lang/perl-5.12.2*/work/perl-5.12.2*/config.sh) It looks like the same problem as in bug #342451.
HOSTNAME="themis" ~ # uname -a Linux HOSTNAME="themis" 2.6.34-gentoo-r12 #1 SMP Fri Nov 5 04:01:14 PDT 2010 i686 Intel(R) Core(TM) i5 CPU M 460 @ 2.53GHz GenuineIntel GNU/Linux HOSTNAME="themis" ~ #
Created attachment 253541 [details] /var/tmp/portage/dev-lang/perl-5.12.2*/work/perl-5.12.2*/config.sh per request
The error was caused by the fact that I had in my /etc/hostname: HOSTNAME="themis" I changed /etc/hostname to: themis and rebooted and successfully emerged perl.