Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 344501 - dev-lang/perl-5.12.2-r2 ebuild fails
Summary: dev-lang/perl-5.12.2-r2 ebuild fails
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-07 13:07 UTC by John L. Poole
Modified: 2010-11-07 18:22 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,43.76 KB, text/plain)
2010-11-07 13:09 UTC, John L. Poole
Details
environment (environment,116.11 KB, text/plain)
2010-11-07 13:10 UTC, John L. Poole
Details
emerge-info (dev-lang_perl-5.12.2-r2_emerge-info.txt,4.25 KB, text/plain)
2010-11-07 13:10 UTC, John L. Poole
Details
/var/tmp/portage/dev-lang/perl-5.12.2*/work/perl-5.12.2*/config.sh per request (config.sh,31.44 KB, text/plain)
2010-11-07 17:38 UTC, John L. Poole
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John L. Poole 2010-11-07 13:07:46 UTC
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
Comment 1 John L. Poole 2010-11-07 13:08:52 UTC
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" ~ #
Comment 2 John L. Poole 2010-11-07 13:09:51 UTC
Created attachment 253503 [details]
build.log
Comment 3 John L. Poole 2010-11-07 13:10:06 UTC
Created attachment 253505 [details]
environment
Comment 4 John L. Poole 2010-11-07 13:10:27 UTC
Created attachment 253507 [details]
emerge-info
Comment 5 John L. Poole 2010-11-07 13:11:35 UTC
  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" 
Comment 6 Torsten Veller (RETIRED) gentoo-dev 2010-11-07 14:43:03 UTC
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.
Comment 7 John L. Poole 2010-11-07 17:37:27 UTC
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" ~ #
Comment 8 John L. Poole 2010-11-07 17:38:18 UTC
Created attachment 253541 [details]
/var/tmp/portage/dev-lang/perl-5.12.2*/work/perl-5.12.2*/config.sh per request
Comment 9 John L. Poole 2010-11-07 18:22:58 UTC
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.