Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 128142 - dev-lang/perl-5.8.8-r1 fails during install phase
Summary: dev-lang/perl-5.8.8-r1 fails during install phase
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-30 10:46 UTC by Sandro Bonazzola (RETIRED)
Modified: 2006-04-05 04:10 UTC (History)
0 users

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


Attachments
portage log (5693-perl-5.8.8-r1.log,611.23 KB, text/plain)
2006-03-30 10:49 UTC, Sandro Bonazzola (RETIRED)
Details
libperl portage log (5692-libperl-5.8.8-r1.log,47.07 KB, text/plain)
2006-04-03 12:30 UTC, Sandro Bonazzola (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sandro Bonazzola (RETIRED) gentoo-dev 2006-03-30 10:46:59 UTC
the emerge process fails during install phase:
./perl installperl --destdir=/var/tmp/portage/perl-5.8.8-r1/image/
./perl: symbol lookup error: lib/auto/Cwd/Cwd.so: undefined symbol: Perl_Gthr_key_ptr
make[1]: *** [install.perl] Error 127
make[1]: Leaving directory `/var/tmp/portage/perl-5.8.8-r1/work/perl-5.8.8'
make: *** [install] Error 2

full log will be attached.
emerge --info:
Portage 2.1_pre7-r3 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.4-r1, 2.6.15-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.12.0_pre16
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS=" -march=athlon64 -Os -pipe -fforce-addr -ffast-math -msse2 -ftracer -m3dnow "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS=" -march=athlon64 -Os -pipe -fforce-addr -ffast-math -msse2 -ftracer -m3dnow "
DISTDIR="/home/ftp/distfiles"
FEATURES="autoconfig ccache collision-protect cvs distlocks elog metadata-transfer multilib-strict sandbox sfperms sign strict stricter test userpriv"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://mirror.ovh.net/gentoo-distfiles/ ftp://ftp.heanet.ie/pub/gentoo/ http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ ftp://ftp.unina.it/pub/linux/distributions/gentoo http://gentoo.ngi.it http://mirror.switch.ch/ftp/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ "
LANG="it_IT.utf8"
LINGUAS="it"
PKGDIR="/home/ftp/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/migration-overlay /usr/local/overlays/tinyos /usr/local/overlays/gentoo-java-experimental"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 7zip X a52 aac aalib acl acpi alsa apache2 arts asf audiofile avi berkdb bitmap-fonts bzip2 cairo canvas ccache cdb cddb cdparanoia cdr chroot cli cpudetection crypt css ctype cups curl dba dbus dga directfb dlloader dri dts dv dvd dvdr dvdread dynagraph emboss encode erandom esd exif expat extrafilters fame fastbuild ffmpeg firefox flac fltk foomaticdb force-cgi-redirect ftp gd gdbm ggi gif gimp gimpprint glibc-omitfp glut gmp gnokii gnome gnutls gphoto2 gpm graphviz gstreamer gtk gtk2 gtkhtml guile hal idn ieee1394 imagemagick imlib ipv6 isdnlog ithreads java jbig jikes jpeg jpeg2k justify kde kdeenablefinal lcms ldap libcaca linuxthreads-tls lm_sensors logitech-mouse logrotate lzo lzw lzw-tiff mad mailwrapper mbox mdb memlimit mhash mikmod mjpeg mmap mng motif mozsvg mp3 mpeg mpm-worker musicbrainz mysql ncurses nls nptl nptlonly numeric nvidia odbc offensive ogg on-the-fly-crypt openexr opengl oss pam pcre pcsc-lite pdf pdflib perl php png posix povray ppds pppd python qt quicktime rdesktop readline rtc samba scanner sdl session simplexml slang smp snmp soap sockets speex spell spl ssl subversion svg sysfs tcltk tcpd test tetex tga theora threads tidy tiff timidity tokenizer truetype truetype-fonts type1-fonts unicode usb userlocales utf8 v4l v4l2 vcd vda vorbis wmf xcomposite xine xinerama xml xml2 xmms xpm xscreensaver xsl xv xvid yv12 zeroconf zlib elibc_glibc input_devices_mouse input_devices_evdev input_devices_keyboard kernel_linux linguas_it userland_GNU video_cards_nvidia"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LC_ALL, LDFLAGS, MAKEOPTS
Comment 1 Sandro Bonazzola (RETIRED) gentoo-dev 2006-03-30 10:49:55 UTC
Created attachment 83448 [details]
portage log

full portage log.
Comment 2 Michael Cummings (RETIRED) gentoo-dev 2006-03-30 11:29:32 UTC
first stab is that it looks related to having threads enabled in perl (which as the ebuild says is at your own risk ;)

taking a stab on an amd64 now, will let you know if i see anything. that last error you posted was actually just the last in a really long series
Comment 3 Michael Cummings (RETIRED) gentoo-dev 2006-03-30 15:15:19 UTC
I've tried every variation i can think of to dup this bug. I've tried starting with perl 5.8.7 and going to 5.8.8-r1 (all with ithreads btw); i've tried 5.8.8 -> 5.8.8-r1; i've tried 5.6.1 -> 5.8.7 -> 5.8.8-r1; i just can't get this to dup at all. I believe that the Perl_Gthr_key_ptr is definitely part of the ithreads symbol train, just don't understand why it would break out on you like that. can you please do an emerge -av libperl perl and paste that? I'd like to confirm that libperl has been build w/-r1 and ithreads. thanks,

~mcummings
Comment 4 Sandro Bonazzola (RETIRED) gentoo-dev 2006-04-03 12:20:39 UTC
# emerge -av libperl perl

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] sys-devel/libperl-5.8.8-r1  USE="berkdb gdbm ithreads -debug" 0 kB
[ebuild     U ] dev-lang/perl-5.8.8-r1 [5.8.8] USE="berkdb gdbm ithreads -build -debug -doc -perlsuid" 0 kB
Comment 5 Sandro Bonazzola (RETIRED) gentoo-dev 2006-04-03 12:27:27 UTC
(In reply to comment #3)

> that. can you please do an emerge -av libperl perl and paste that? I'd like to
> confirm that libperl has been build w/-r1 and ithreads. thanks,

libperl has been built. it's perl that fails.
I'll attach the libperl portage log.
Comment 6 Sandro Bonazzola (RETIRED) gentoo-dev 2006-04-03 12:30:30 UTC
Created attachment 83834 [details]
libperl portage log

it seems that there's a depend error that is ignored. I don't know if this can help.
Comment 7 Michael Cummings (RETIRED) gentoo-dev 2006-04-03 12:52:53 UTC
(In reply to comment #5)
> libperl has been built. it's perl that fails.
> I'll attach the libperl portage log.
> 

actually, i just wanted to confirm libperl was also built with ithreads enabled :)
Comment 8 Michael Cummings (RETIRED) gentoo-dev 2006-04-03 14:43:52 UTC
I know i'm grasping, but would you mind disabling ccache for a test compile? Thanks,

~mcummings
Comment 9 Michael Cummings (RETIRED) gentoo-dev 2006-04-04 10:27:32 UTC
Have you always run this with the IT linguas? (curious)
Comment 10 Michael Cummings (RETIRED) gentoo-dev 2006-04-04 10:37:48 UTC
Sorry, should have explained my question. I noticed your errors all started up when attempting to load encoding and utf related tests/code

Can't load '../lib/auto/PerlIO/encoding/encoding.so' for module PerlIO::encoding: ../lib/auto/PerlIO/encoding/encoding.so: undefined symbol: PerlIOBuf_open at ../lib/XSLoader.pm line 70.

...followed by a failure working with LOCALEs, followed by some symbol errors that look an awful lot like problems with libperl.
Comment 11 Sandro Bonazzola (RETIRED) gentoo-dev 2006-04-04 11:24:13 UTC
(In reply to comment #9)
> Have you always run this with the IT linguas? (curious)

Yes.
Comment 12 Sandro Bonazzola (RETIRED) gentoo-dev 2006-04-04 11:30:30 UTC
(In reply to comment #8)
> I know i'm grasping, but would you mind disabling ccache for a test compile?
> Thanks,

Ok, with ccache disabled perl install fine. Maybe it could be a better thing rebuild libperl also.
Comment 13 Michael Cummings (RETIRED) gentoo-dev 2006-04-05 04:10:24 UTC
(In reply to comment #12)
 Ok, with ccache disabled perl install fine. Maybe it could be a better thing
> rebuild libperl also.
> 

Excellent! Sure beats the tangent I was prepared to go on to see if it was locale related :) Rebuild libperl would be wise, but if you can spare the cycles, i'd emerge -av libperl perl (since perl links against libperl, if there is anything screwy hidden in libperl it may still have affected the perl build), but that's just me being paranoid and making sure you know about it in case anything comes up later :) Going ahead and marking this fixed, but feel free to post (or even reopen) if you need to.