Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 342451 - dev-lang/perl-5.12.2-r1 failed
Summary: dev-lang/perl-5.12.2-r1 failed
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
: 342453 342457 342459 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-10-24 11:54 UTC by bagas
Modified: 2010-11-02 08:11 UTC (History)
1 user (show)

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


Attachments
1 (build.log,165.60 KB, patch)
2010-10-24 13:00 UTC, bagas
Details | Diff
perl-5.12*/config.sh (config.sh,30.43 KB, text/plain)
2010-10-27 09:31 UTC, bagas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bagas 2010-10-24 11:54:50 UTC
Good afternoon. A problem occurred while updating the world on perl package

Processing auxiliary/SentenceBreakProperty.txt
Processing NamedSequences.txt
Processing NameAliases.txt
Finishing processing Unicode properties
Compiling Perl properties
Creating Perl synonyms
Writing tables
Making pod file
Making test script
Updating 'mktables.lst'
`sh  cflags "optimize='-march=prescott -O2 -pipe -fomit-frame-pointer'" perlmain.o` -fpic perlmain.c
          CCCMD =  gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -fstack-protector  -std=c89 -march=prescott -O2 -pipe -fomit-frame-pointer -Wall -ansi -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat 
`sh  cflags "optimize='-march=prescott -O2 -pipe -fomit-frame-pointer'" op.o` -fpic op.c
          CCCMD =  gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -fstack-protector  -std=c89 -march=prescott -O2 -pipe -fomit-frame-pointer -Wall -ansi -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat 
`sh  cflags "optimize='-march=prescott -O2 -pipe -fomit-frame-pointer'" perl.o` -fpic perl.c
          CCCMD =  gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -fstack-protector  -std=c89 -march=prescott -O2 -pipe -fomit-frame-pointer -Wall -ansi -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat 
perl.c: In function 'S_init_ids':
perl.c:3693: warning: ignoring return value of 'write', declared with attribute warn_unused_result
LD_LIBRARY_PATH=/var/tmp/portage/dev-lang/perl-5.12.2-r1/work/perl-5.12.2  ./miniperl -Ilib make_ext.pl DynaLoader.o MAKE=make LIBPERL_A=libperl.so.5.12.2 LINKTYPE=static 
        Making DynaLoader (all)

Running Makefile.PL in ext/DynaLoader
../../miniperl Makefile.PL INSTALLDIRS=perl INSTALLMAN1DIR=none INSTALLMAN3DIR=none PERL_CORE=1 LIBPERL_A=libperl.so.5.12.2 LINKTYPE=static
Writing Makefile for DynaLoader
make[1]: Entering directory `/var/tmp/portage/dev-lang/perl-5.12.2-r1/work/perl-5.12.2/ext/DynaLoader'
make[1]: Leaving directory `/var/tmp/portage/dev-lang/perl-5.12.2-r1/work/perl-5.12.2/ext/DynaLoader'
Making all in ext/DynaLoader
 make all PERL_CORE=1 LIBPERL_A=libperl.so.5.12.2 LINKTYPE=static
make[1]: Entering directory `/var/tmp/portage/dev-lang/perl-5.12.2-r1/work/perl-5.12.2/ext/DynaLoader'
../../miniperl "-I../../lib" "-I../../lib" DynaLoader_pm.PL DynaLoader.pm
cp DynaLoader.pm ../../lib/DynaLoader.pm
AutoSplitting ../../lib/DynaLoader.pm (../../lib/auto/DynaLoader)
rm -f DynaLoader.xs
cp dl_dlopen.xs DynaLoader.xs
../../miniperl "-I../../lib" "-I../../lib" ../../lib/ExtUtils/xsubpp -noprototypes -typemap ../../lib/ExtUtils/typemap DynaLoader.xs > DynaLoader.xsc && mv DynaLoader.xsc DynaLoader.c
gcc -c   -fno-strict-aliasing -pipe -fstack-protector -march=prescott -O2 -pipe -fomit-frame-pointer   -DVERSION=\"1.10\" -DXS_VERSION=\"1.10\" -fpic "-I../.."  -DLIBC="" DynaLoader.c
rm -rf ../../DynaLoader.o
cp DynaLoader.o ../../DynaLoader.o
make[1]: Leaving directory `/var/tmp/portage/dev-lang/perl-5.12.2-r1/work/perl-5.12.2/ext/DynaLoader'
rm -f libperl.so.5.12.2
gcc -o libperl.so.5.12.2 -L/usr/local/lib -fstack-protector -Wl,-O1 -Wl,--as-needed op.o perl.o  malloc.o gv.o toke.o perly.o pad.o regcomp.o dump.o util.o mg.o reentr.o mro.o hv.o av.o run.o pp_hot.o sv.o pp.o scope.o pp_ctl.o pp_sys.o doop.o doio.o regexec.o utf8.o taint.o deb.o universal.o globals.o perlio.o perlapi.o numeric.o mathoms.o locale.o pp_pack.o pp_sort.o   DynaLoader.o -lnsl -ldl -lm -lcrypt -lutil -lc -lbsd 
/usr/lib/gcc/i686-pc-linux-gnu/4.4.5/../../../crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'
collect2: ld returned 1 exit status
make: *** [libperl.so.5.12.2] Error 1
 * ERROR: dev-lang/perl-5.12.2-r1 failed:
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line  54:  Called src_compile
 *   environment, line 2846:  Called die
 * The specific snippet of code:
 *       emake -j1 || die "emake failed"
 * 
 * If you need support, post the output of 'emerge --info =dev-lang/perl-5.12.2-r1',
 * the complete build log and the output of 'emerge -pqv =dev-lang/perl-5.12.2-r1'.
 * The complete build log is located at '/var/tmp/portage/dev-lang/perl-5.12.2-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/perl-5.12.2-r1/temp/environment'.
 * S: '/var/tmp/portage/dev-lang/perl-5.12.2-r1/work/perl-5.12.2'

>>> Failed to emerge dev-lang/perl-5.12.2-r1, Log file:

>>>  '/var/tmp/portage/dev-lang/perl-5.12.2-r1/temp/build.log'

 * Messages for package dev-lang/perl-5.12.2-r1:

 * ERROR: dev-lang/perl-5.12.2-r1 failed:
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line  54:  Called src_compile
 *   environment, line 2846:  Called die
 * The specific snippet of code:
 *       emake -j1 || die "emake failed"
 * 
 * If you need support, post the output of 'emerge --info =dev-lang/perl-5.12.2-r1',
 * the complete build log and the output of 'emerge -pqv =dev-lang/perl-5.12.2-r1'.
 * The complete build log is located at '/var/tmp/portage/dev-lang/perl-5.12.2-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/perl-5.12.2-r1/temp/environment'.
 * S: '/var/tmp/portage/dev-lang/perl-5.12.2-r1/work/perl-5.12.2'
job ~ # w


did
perl-cleaner --all.
FEATURES="-ccache" emerge -1av perl

stacks option
MAKEOPTS="-j3"
all still, the error does not go away

full log
http://paste.pocoo.org/show/279532/

emerge --info
http://paste.pocoo.org/show/279272/

[ebuild N ] dev-lang/perl-5.12.2-r1 USE="berkdb gdbm -build -debug -doc -ithreads" 0 kB

Reproducible: Always
Comment 1 Christian Ruppert (idl0r) gentoo-dev 2010-10-24 12:25:09 UTC
*** Bug 342453 has been marked as a duplicate of this bug. ***
Comment 2 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-10-24 12:34:41 UTC
*** Bug 342457 has been marked as a duplicate of this bug. ***
Comment 3 Pacho Ramos gentoo-dev 2010-10-24 12:35:12 UTC
*** Bug 342459 has been marked as a duplicate of this bug. ***
Comment 4 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-10-24 12:36:15 UTC
Please don't use pastebins. Post the logs or error output in the comment or attach to this bug.
Comment 5 bagas 2010-10-24 13:00:15 UTC
Created attachment 251799 [details, diff]
1

1
Comment 6 bagas 2010-10-24 13:01:00 UTC
log attached
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2010-10-24 22:56:27 UTC
You forgot to post your `emerge --info' in a comment.
Comment 8 bagas 2010-10-25 03:39:20 UTC
job ~ # emerge --info
Portage 2.1.8.3 (default/linux/x86/10.0, gcc-4.4.5, glibc-2.12.1-r1, 2.6.34-gentoo-r12 i686)
=================================================================
System uname: Linux-2.6.34-gentoo-r12-i686-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-1.12.13
Timestamp of tree: Sat, 23 Oct 2010 13:30:20 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.7.9-r2, 1.9.6-r2, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA AdobeFlash-10.1 Nero-EULA-US AdobeFlash-10 skype-eula dlj-1.1"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles"
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru en"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X a52 aac aalib accessibility acl alsa amr apache2 audiofile bash-completion berkdb bzip2 cdr cli cracklib crypt cups cxx dbus djvu dri dvd dxr3 esd flac fortran gdbm gif glib gpm gtk hal iconv jpeg kde kdehiddenvisibility kdevelop lua lzo mmx mng modules mp3 mtrr mudflap ncurses nls nptl nptlonly ogg opengl openmp oss pae pam pcre pdf perl php png pnp pppd python qt3 qt4 readline samba session slang ss sse sse2 ssl sysfs tcpd tiff unicode usb vcd vidix vorbis x86 xine xorg xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" LIRC_DEVICES="asusdh" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 9 Miroslav Rovis 2010-10-25 14:45:14 UTC
What I do know, is that same dev-lang/perl-5.12.2-r1 failed to ugrade my previous perl installation (v5.8.8).
But the symptoms are not the same as above, first glance.
I have sought help here:
http://forums.gentoo.org/viewtopic-p-6465680.html
My system is completely upgraded now, except the few programs, and some I rely upon (mplayer) that are dependent on the new perl. So I guess I should post the relevant logs.

myBox # emerge --info
Portage 2.1.8.3 (default/linux/amd64/10.0/desktop/kde, gcc-4.3.4, glibc-2.11.2-r0, 2.6.34-gentoo-r12-101025_0200 x86_64)
=================================================================
System uname: Linux-2.6.34-gentoo-r12-101025_0200-x86_64-AMD_Athlon-tm-_64_Processor_3000+-with-gentoo-1.12.13
Timestamp of tree: Mon, 25 Oct 2010 00:15:03 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.1.2, 4.3.4, 4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://mirror.espri.arizona.edu/gentoo/ http://open-systems.ufl.edu/mirrors/gentoo http://prometheus.cs.wmich.edu/gentoo http://mirror.usu.edu/mirrors/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ http://mirror.bih.net.ba/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo "
LANG="en_GB.UTF-8"
LC_ALL="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_GB"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/vdr-testing /var/lib/layman/vdr-devel /var/lib/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gpm gtk hal iconv ipv6 jpeg kde lcms ldap libnotify mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3support qt4 readline sdl session spell sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis x264 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
myBox #

I can post perl-info output, if that helps, esp. for the final error it reports in bottom:
myBox # perl-info 

 perl-info version 0.15 - brought to you by the Gentoo perl-herd-maintainer ;-)
                          Distributed under the terms of the GPL-2

 * Systeminfo:
   Arch   : amd64
   Perl   : dev-lang/perl-5.8.8-r8 USE="berkdb -debug -doc gdbm -ithreads -perlsuid -build -elibc_FreeBSD"
   libperl: sys-devel/libperl-5.10.1 USE=""

 * Perl configuration:
   Off_t='UNKNOWN';
   alignbytes='8';
   archname='x86_64-linux';
   bincompat5005='UNKNOWN';
   byteorder='12345678';
   cc='x86_64-pc-linux-gnu-gcc';
   cccdlflags='-fPIC';
   ccdlflags='-rdynamic';
   ccflags='-fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm';
   ccversion='';
   cppflags='-fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/include/gdbm';
   d_dlsymun='undef';
   d_longdbl='define';
   d_longlong='define';
   dlext='so';
   dlsrc='dl_dlopen.xs';
   doublesize='8';
   gccosandver='UNKNOWN';
   gccversion='4.3.4';
   gnulibc_version='2.11';
   intsize='4';
   ivsize='8';
   ivtype='long';
   ld='x86_64-pc-linux-gnu-gcc -O2 -pipe';
   lddlflags='-shared -L/usr/local/lib64';
   ldflags=' -L/usr/local/lib64';
   libc='/lib/libc-2.11.so';
   libperl='libperl.a';
   libpth='/usr/local/lib64 /lib64 /usr/lib64';
   libs='-lpthread -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc';
   longdblsize='16';
   longlongsize='8';
   longsize='8';
   lseeksize='8';
   nvsize='8';
   nvtype='double';
   optimize='-O2 -pipe';
   osname='linux';
   osvers='2.6.30-gentoo-r5-091019_2300';
   perllibs='-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc';
   prototype='define';
   ptrsize='8';
   so='so';
   uname='uname';
   use5005threads='undef';
   use64bitall='define';
   use64bitint='define';
   useithreads='undef';
   uselargefiles='define';
   uselongdouble='undef';
   usemultiplicity='undef';
   usemymalloc='n';
   useperlio='define';
   useposix='true';
   useshrplib='false';
   usesocks='undef';
   usethreads='undef';

 * INC:
   /etc/perl
   /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux
   /usr/lib64/perl5/vendor_perl/5.8.8
   /usr/lib64/perl5/vendor_perl
   /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux
   /usr/lib64/perl5/site_perl/5.8.8
   /usr/lib64/perl5/site_perl
   /usr/lib64/perl5/5.8.8/x86_64-linux
   /usr/lib64/perl5/5.8.8
   /usr/local/lib/site_perl
   .

 * Installed packages from category dev-perl:
   AnyEvent-5.2.5.1 USE=""
   Array-RefElem-1.00 USE=""
   Authen-SASL-2.12 USE="-kerberos"
   Cairo-1.06.0 USE="-test"
   Class-MethodMaker-2.15 USE=""
   Crypt-PasswdMD5-1.3 USE=""
   Crypt-SSLeay-0.57 USE=""
   Curses-1.28 USE="unicode"
   Curses-UI-0.96.07 USE=""
   DBD-mysql-4.01.3 USE=""
   DBI-1.609 USE=""
   Data-DumpXML-1.06 USE=""
   DateManip-5.56 USE="-test"
   DelimMatch-1.06 USE=""
   Digest-HMAC-1.01-r1 USE=""
   Digest-SHA1-2.12 USE=""
   Error-0.17.016 USE="-test"
   Event-1.09 USE=""
   Event-ExecFlow-0.64 USE=""
   Event-RPC-0.90 USE=""
   GStreamer-0.09 USE=""
   GStreamer-Interfaces-0.04 USE=""
   HTML-Parser-3.64 USE="-test"
   HTML-Tagset-3.20 USE=""
   HTML-Tree-3.23 USE=""
   IO-Socket-SSL-1.33 USE="-idn"
   Locale-gettext-1.05-r1 USE=""
   Net-Daemon-0.43 USE=""
   Net-SMTP-SSL-1.01 USE=""
   Net-SSLeay-1.36 USE=""
   PlRPC-0.2020-r1 USE=""
   PortageXS-0.02.09 USE="-minimal"
   Shell-EnvImporter-1.07 USE=""
   TermReadKey-2.30 USE=""
   Test-Pod-1.42 USE=""
   Tk-JPEG-Lite-2.01403 USE=""
   URI-1.38 USE=""
   XML-LibXML-1.70 USE=""
   XML-NamespaceSupport-1.11 USE=""
   XML-Parser-2.36-r1 USE=""
   XML-SAX-0.16 USE=""
   XML-Simple-2.18 USE=""
   YAML-Tiny-1.41 USE=""
   extutils-depends-0.302 USE=""
   extutils-pkgconfig-1.07 USE=""
   glib-perl-1.200 USE=""
   gtk2-ex-formfactory-0.65-r1 USE=""
   gtk2-fu-0.10 USE=""
   gtk2-perl-1.202 USE=""
   libintl-perl-1.16 USE=""
   libwww-perl-5.836 USE="ssl"
   perl-tk-804.029 USE=""

 * Installed packages from category perl-core:
   Archive-Tar-1.54 USE=""
   Compress-Raw-Bzip2-2.024 USE=""
   Compress-Raw-Zlib-2.024 USE=""
   Digest-MD5-2.39 USE=""
   ExtUtils-CBuilder-0.27.03 USE=""
   ExtUtils-ParseXS-2.22.05 USE=""
   File-Spec-3.31 USE=""
   IO-Compress-2.024 USE=""
   IO-Zlib-1.10 USE=""
   MIME-Base64-3.08 USE=""
   Module-Build-0.36.07 USE=""
   Package-Constants-0.02 USE=""
   Pod-Escapes-1.04 USE=""
   Pod-Simple-3.14 USE=""
   Scalar-List-Utils-1.23 USE=""
   Storable-2.20 USE=""
   Sys-Syslog-0.27 USE=""
   Term-ANSIColor-3.00 USE="-test"
   Test-Harness-3.17 USE=""
   Test-Simple-0.94 USE=""
   digest-base-1.16 USE=""
   libnet-1.22 USE="-sasl"

 * Installed packages from category perl-gcpan:
   none

 * eclasses:
   perl-app: 1.11
   perl-module: 1.126
Cannot open file /usr/portage/eclass/perl-post.eclass at /usr/lib64/perl5/vendor_perl/5.8.8/PortageXS/Core.pm line 193.

myBox #

Pls. note that I explained quite in detail the exact hassle this perl upgrade is giving me, on Gentoo forum, again:
http://forums.gentoo.org/viewtopic-p-6465680.html#6464312


Comment 10 Torsten Veller (RETIRED) gentoo-dev 2010-10-25 19:52:54 UTC
@bagas:

Configure is wrong very early: 

| Which of these apply, if any? [job]  
| hint to use instead? [job]  
| Operating system name? [job]

I don't know why yet.
Comment 11 Torsten Veller (RETIRED) gentoo-dev 2010-10-25 19:57:26 UTC
@miro:

I don't see how your problem is related to the problem discussed in this bugreport (beside it's about perl). File a separate bug, please.

/bin/sh: line 2: /usr/local/bin/ln: Permission denied 
LD_LIBRARY_PATH=/var/tmp/portage/dev-lang/perl-5.12.2-r1/work/perl-5.12.2:/usr/lib64/fglrx:/usr/lib32/fglrx  ./miniperl -Ilib autodoc.pl 
/usr/local/bin/ln perl5122delta.pod pod/perldelta.pod 
make: /usr/local/bin/ln: Command not found 

What is /usr/local/bin/ln ? Don't you have many problems with a b0rked ln in PATH?
Comment 12 Miroslav Rovis 2010-10-26 04:09:19 UTC
(In reply to comment #11)
> I don't see how your problem is related to the problem discussed in this
> bugreport (beside it's about perl). File a separate bug, please.
I see. Sorry. 
> /bin/sh: line 2: /usr/local/bin/ln: Permission denied 
> LD_LIBRARY_PATH=/var/tmp/portage/dev-lang/perl-5.12.2-r1/work/perl-5.12.2:/usr/lib64/fglrx:/usr/lib32/fglrx
>  ./miniperl -Ilib autodoc.pl 
> /usr/local/bin/ln perl5122delta.pod pod/perldelta.pod 
> make: /usr/local/bin/ln: Command not found 
> 
> What is /usr/local/bin/ln ? Don't you have many problems with a b0rked ln in
> PATH?
That is totally unrelated.
myBox /usr/local/bin # cat ls
---------------------------------------------------------------------------
myBox /usr/local/bin # 
That's all the file.
myBox /usr/local/bin # ls -l ln
-rw-r--r-- 1 root root 76 Oct 28  2005 ln
myBox /usr/local/bin # 
I just use it in my scripts as separator line.
And that is not my normal PATH and no program has any problems like these, and I don't know how perl got that environment out for itself... My system is not broken generally (but I'll have to look into a possible intrusion being made from somewhere somehow...)
myBox /usr/local/bin # echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.3.4:/usr/qt/3/bin
myBox /usr/local/bin # 
Sorry for the inconvenience. I had to answer your question here though.
Do I still post a different bug? Thanks.
Comment 13 Torsten Veller (RETIRED) gentoo-dev 2010-10-26 06:41:58 UTC
(In reply to comment #12)
> (In reply to comment #11)
> > /bin/sh: line 2: /usr/local/bin/ln: Permission denied 
> > LD_LIBRARY_PATH=/var/tmp/portage/dev-lang/perl-5.12.2-r1/work/perl-5.12.2:/usr/lib64/fglrx:/usr/lib32/fglrx
> >  ./miniperl -Ilib autodoc.pl 
> > /usr/local/bin/ln perl5122delta.pod pod/perldelta.pod 
> > make: /usr/local/bin/ln: Command not found 
> > 
> > What is /usr/local/bin/ln ? Don't you have many problems with a b0rked ln in
> > PATH?
> That is totally unrelated.

Not at all. I can confirm the failure with crucial ln, ls files.

> Do I still post a different bug?

No, just rename the conflicting files and try again.
Yes, if you want to have a problem solved unrelated to the original problem.
Comment 14 Miroslav Rovis 2010-10-26 12:36:18 UTC
(In reply to comment #13)
> (In reply to comment #12)
> > (In reply to comment #11)
> > > /bin/sh: line 2: /usr/local/bin/ln: Permission denied 
> > > LD_LIBRARY_PATH=/var/tmp/portage/dev-lang/perl-5.12.2-r1/work/perl-5.12.2:/usr/lib64/fglrx:/usr/lib32/fglrx
> > >  ./miniperl -Ilib autodoc.pl 
> > > /usr/local/bin/ln perl5122delta.pod pod/perldelta.pod 
> > > make: /usr/local/bin/ln: Command not found 
> > > 
> > > What is /usr/local/bin/ln ? Don't you have many problems with a b0rked ln in
> > > PATH?
> > That is totally unrelated.
> 
> Not at all. I can confirm the failure with crucial ln, ls files.
'ls' was a typo for 'ln'.
Anyway, that file will be made from a line of '#' from now on, and not from a line of '-' which was stupid.
> > Do I still post a different bug?
> 
> No, just rename the conflicting files and try again.
I moved temporarily the entire /usr/local/bin elsewhere, out PATH and just created a temporary empty /usr/local/bin
> Yes, if you want to have a problem solved unrelated to the original problem.
The empty /usr/local/bin (without the stupid ln file I guess) made perl-5.12.1-r1 recompile completely cleanly.
There is no new bug to be posted.
Thanks for you patience, Torsten, and sorry again for the inconvenience (if only I was born learned :-) )
Note that we who understand a little less promptly would do worse without you who get it on the fly. Besides, I'm in my later middle age. Cheers, and God bless, as many of us the older generation still like to say!
Comment 15 bagas 2010-10-26 16:52:09 UTC
I did not understand what you has been written.
how do I cure the problem?
Comment 16 Miroslav Rovis 2010-10-26 23:25:38 UTC
"perl-5.12.1-r1 recompile completely cleanly." I wrote above.
No more problems.
perl-5.12.1-r1 installed fine.
Thank you. Your diagnosed correctly and perl is there updated as it should be.

Comment 17 bagas 2010-10-27 03:57:50 UTC
(In reply to comment #16)
> "perl-5.12.1-r1 recompile completely cleanly." I wrote above.
> No more problems.
> perl-5.12.1-r1 installed fine.
> Thank you. Your diagnosed correctly and perl is there updated as it should be.
> 


Creating Perl synonyms
Writing tables
Making pod file
Making test script
Updating 'mktables.lst'
`sh  cflags "optimize='-march=prescott -O2 -pipe -fomit-frame-pointer'" perlmain.o` -fpic perlmain.c
          CCCMD =  gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -fstack-protector  -std=c89 -march=prescott -O2 -pipe -fomit-frame-pointer -Wall -ansi -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat 
`sh  cflags "optimize='-march=prescott -O2 -pipe -fomit-frame-pointer'" op.o` -fpic op.c
          CCCMD =  gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -fstack-protector  -std=c89 -march=prescott -O2 -pipe -fomit-frame-pointer -Wall -ansi -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat 
`sh  cflags "optimize='-march=prescott -O2 -pipe -fomit-frame-pointer'" perl.o` -fpic perl.c
          CCCMD =  gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -fstack-protector  -std=c89 -march=prescott -O2 -pipe -fomit-frame-pointer -Wall -ansi -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat 
perl.c: In function 'S_init_ids':
perl.c:3693: warning: ignoring return value of 'write', declared with attribute warn_unused_result
LD_LIBRARY_PATH=/var/tmp/portage/dev-lang/perl-5.12.2-r1/work/perl-5.12.2  ./miniperl -Ilib make_ext.pl DynaLoader.o MAKE=make LIBPERL_A=libperl.so.5.12.2 LINKTYPE=static 
        Making DynaLoader (all)

Running Makefile.PL in ext/DynaLoader
../../miniperl Makefile.PL INSTALLDIRS=perl INSTALLMAN1DIR=none INSTALLMAN3DIR=none PERL_CORE=1 LIBPERL_A=libperl.so.5.12.2 LINKTYPE=static
Writing Makefile for DynaLoader
make[1]: Entering directory `/var/tmp/portage/dev-lang/perl-5.12.2-r1/work/perl-5.12.2/ext/DynaLoader'
make[1]: Leaving directory `/var/tmp/portage/dev-lang/perl-5.12.2-r1/work/perl-5.12.2/ext/DynaLoader'
Making all in ext/DynaLoader
 make all PERL_CORE=1 LIBPERL_A=libperl.so.5.12.2 LINKTYPE=static
make[1]: Entering directory `/var/tmp/portage/dev-lang/perl-5.12.2-r1/work/perl-5.12.2/ext/DynaLoader'
../../miniperl "-I../../lib" "-I../../lib" DynaLoader_pm.PL DynaLoader.pm
cp DynaLoader.pm ../../lib/DynaLoader.pm
AutoSplitting ../../lib/DynaLoader.pm (../../lib/auto/DynaLoader)
rm -f DynaLoader.xs
cp dl_dlopen.xs DynaLoader.xs
../../miniperl "-I../../lib" "-I../../lib" ../../lib/ExtUtils/xsubpp -noprototypes -typemap ../../lib/ExtUtils/typemap DynaLoader.xs > DynaLoader.xsc && mv DynaLoader.xsc DynaLoader.c
gcc -c   -fno-strict-aliasing -pipe -fstack-protector -march=prescott -O2 -pipe -fomit-frame-pointer   -DVERSION=\"1.10\" -DXS_VERSION=\"1.10\" -fpic "-I../.."  -DLIBC="" DynaLoader.c
rm -rf ../../DynaLoader.o
cp DynaLoader.o ../../DynaLoader.o
make[1]: Leaving directory `/var/tmp/portage/dev-lang/perl-5.12.2-r1/work/perl-5.12.2/ext/DynaLoader'
rm -f libperl.so.5.12.2
gcc -o libperl.so.5.12.2 -L/usr/local/lib -fstack-protector -Wl,-O1 -Wl,--as-needed op.o perl.o  malloc.o gv.o toke.o perly.o pad.o regcomp.o dump.o util.o mg.o reentr.o mro.o hv.o av.o run.o pp_hot.o sv.o pp.o scope.o pp_ctl.o pp_sys.o doop.o doio.o regexec.o utf8.o taint.o deb.o universal.o globals.o perlio.o perlapi.o numeric.o mathoms.o locale.o pp_pack.o pp_sort.o   DynaLoader.o -lnsl -ldl -lm -lcrypt -lutil -lc -lbsd 
/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/../../../crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'
collect2: ld returned 1 exit status
make: *** [libperl.so.5.12.2] Error 1
 * ERROR: dev-lang/perl-5.12.2-r1 failed:
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line  54:  Called src_compile
 *   environment, line 2846:  Called die
 * The specific snippet of code:
 *       emake -j1 || die "emake failed"
 * 
 * If you need support, post the output of 'emerge --info =dev-lang/perl-5.12.2-r1',
 * the complete build log and the output of 'emerge -pqv =dev-lang/perl-5.12.2-r1'.
 * The complete build log is located at '/var/tmp/portage/dev-lang/perl-5.12.2-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/perl-5.12.2-r1/temp/environment'.
 * S: '/var/tmp/portage/dev-lang/perl-5.12.2-r1/work/perl-5.12.2'



I was making on a purely re-compile, has not helped.
Already switched to gcc-4.4.4-r1, no sense, oshibka.ne gone.

emerge --sync
emerge perl


I care about


cp lib/Pod/Text/Overstrike.pm ../../lib/Pod/Text/Overstrike.pm
cp lib/Pod/Man.pm ../../lib/Pod/Man.pm
make[1]: Leaving directory `/var/tmp/portage/dev-lang/perl-5.12.2-r1/work/perl-5.12.2/cpan/podlators'
LD_LIBRARY_PATH=/var/tmp/portage/dev-lang/perl-5.12.2-r1/work/perl-5.12.2  ./miniperl -Ilib -Icpan/Cwd -Icpan/Cwd/lib lib/unicore/mktables -C lib/unicore -P pod -maketest -makelist -p

lib/unicore/mktables: Failed to open 'mktables.lst' (this is expected to be
    missing the first time); turning on -globlist option instead: No such
    file or directory; at lib/unicore/mktables line 13766
Comment 18 Miroslav Rovis 2010-10-27 04:23:26 UTC
Bagas, I am sorry, I can't help you. I thought I had the same bug as you did, but Torsten explained how my issue was completely different.
But if you try and find how my input in the package.mask enabled me to live with the previous working installation of perl, until Torsten got my issue pinpointed and sorted, you could probably do the same.
Pls. find it on:
http://forums.gentoo.org/viewtopic-p-6466577.html
I would like to help more, but I suffer ugly headaches that make it difficult for me to do so...
It's because of that headache that I mistook your reply for Torsten's above.
package.mask on Gentoo forums page above.
And then there must be a next version of perl coming some time...
Unless they sort your bug for you...
Good luck!
Comment 19 Torsten Veller (RETIRED) gentoo-dev 2010-10-27 05:35:08 UTC
(In reply to comment #15)
> I did not understand what you has been written.
> how do I cure the problem?

I don't know yet.
Please add `uname -a` and config.sh from your build dir
(/var/tmp/portage/dev-lang/perl-5.12*/work/perl-5.12*/config.sh)
Comment 20 bagas 2010-10-27 09:31:29 UTC
Created attachment 252173 [details]
perl-5.12*/config.sh

perl-5.12*/config.sh
Comment 21 bagas 2010-10-27 09:32:02 UTC
job ~ # uname -a
Linux job 2.6.34-gentoo-r12 #2 SMP PREEMPT Sat Oct 23 17:22:23 Local time zone must be set-- i686 Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz GenuineIntel GNU/Linux
job ~ # 
Comment 22 bagas 2010-10-27 09:32:52 UTC
job ~ # gcc-config -l
 [1] i686-pc-linux-gnu-4.4.4 *
job ~ # 

I switched to the stable version gcc
Comment 23 Torsten Veller (RETIRED) gentoo-dev 2010-10-27 11:17:10 UTC
(In reply to comment #21)
> job ~ # uname -a
> Linux job 2.6.34-gentoo-r12 #2 SMP PREEMPT Sat Oct 23 17:22:23 Local time zone
> must be set-- i686 Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz GenuineIntel
> GNU/Linux
> job ~ # 

See "Local time zone must be set".
Set your local timezone ( http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=7#doc_chap1 ) and rebuild your kernel.


Further I don't understand why -Dcc="$(tc-getCC) results in -Dcc=gcc.