Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 62031 - perl 5.8.5 fails to install
Summary: perl 5.8.5 fails to install
Status: RESOLVED FIXED
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:
Depends on:
Blocks:
 
Reported: 2004-08-28 06:38 UTC by Guillaume Castagnino
Modified: 2005-04-30 06:09 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Guillaume Castagnino 2004-08-28 06:38:27 UTC
New ebuild for perl 5.8.5 fails while installing :
--------------
ebuild /usr/portage/dev-lang/perl/perl-5.8.5.ebuild install
        Everything is up to date. Type 'make test' to run test suite.
if [ -n "" ]; \
then \
        cd utils; make compile; \
        cd ../x2p; make compile; \
        cd ../pod; make compile; \
else :; \
fi
./perl installperl --destdir=/var/tmp/portage/perl-5.8.5/image/  
./perl: symbol lookup error: lib/auto/Cwd/Cwd.so: undefined symbol: Perl_form
make[1]: *** [install.perl] Error 127
make[1]: Leaving directory `/var/tmp/portage/perl-5.8.5/work/perl-5.8.5'
make: *** [install] Error 2

!!! ERROR: dev-lang/perl-5.8.5 failed.
!!! Function src_install, Line 245, Exitcode 2
!!! Unable to make install

----------------

Here is my emerge info :
Portage 2.0.50-r10 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r0, 2.6.8.1-mm2)
=================================================================
System uname: 2.6.8.1-mm2 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.5.3
distcc 2.17 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -Os -mcpu=pentium4 -msse -msse2 -mmmx -mfpmath=sse,387 -fomit-frame-pointer -ffast-math -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -Os -mcpu=pentium4 -msse -msse2 -mmmx -mfpmath=sse,387 -fomit-frame-pointer -ffast-math -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox userpriv usersandbox"
GENTOO_MIRRORS="ftp://mir.zyrianes.net/gentoo/ http://gentoo.mirror.sdv.fr http://ftp.gentoo.skynet.be/pub/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acpi acpi4linux alsa apache2 artswrappersuid avi berkdb bitmap-fonts cdr crypt cups dba dga directfb distribution dnd dvd encode faad fbcon ffmpeg flac foomaticdb freetype fs gd gdbm gif gimp gimpprint gphoto2 gpm gtk gtk2 imagemagick imap imlib imlib2 java jpeg kde libcaca libg++ libwww linguas_fr mad matroska md5sum mikmod mmx monkey motif mozsvg mpeg mysql nas ncurses nls nptl nvidia oggvorbis opengl oss pam pdflib perl png postgres print python qt quicktime readline samba sasl scanner sdl slang speex spell sse ssl tcltk tcpd tetex theora tiff truetype type1 unicode usb video_cards_nvidia wxwindows x86 xml2 xmms xv xvid zlib"

Reproducible: Always
Steps to Reproduce:
Comment 1 Guillaume Castagnino 2004-08-28 12:46:19 UTC
Sorry for the to fast report : after a third re-emerge of perl, it works
Comment 2 Gavrila 2004-08-29 09:35:35 UTC
since it took to me  too 3 emerge to install it successfully
Comment 3 Gavrila 2004-08-29 09:35:35 UTC
since it took to me  too 3 emerge to install it successfullyù(same error reported here), i guess it's a kind of bug and it should be fixed. Please reopen the bug.


Emerge info: Portage 2.0.50-r10 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r0, 2.6.8-nitro5)
=================================================================
System uname: 2.6.8-nitro5 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -Os -fomit-frame-pointer -falign-functions=64 -falign-jumps=16 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -Os -fomit-frame-pointer -falign-functions=64 -falign-jumps=16 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X accessibility acpi acpi4linux aim alsa apm arts avi berkdb bonobo cdr clamav crypt cups directfb divx4linux dvd dvdr encode esd evo exiscan-acl faad fam fbcon flac foomaticdb freetype ftp gb gdbm gif gnome gnomedb gphoto2 gpm gstreamer gtk gtk2 gtkhtml icq imagemagick imap imlib jabber java jpeg kde libg++ libwww mad maildir mbox mikmod mldonkeypango mmap mmx monkey motif mozilla moznoirc mozsvg mpeg mpeg4 msn ncurses network nls nvidia oggvorbis opengl operanom2 oscar oss pam pdflib perl png python qt quicktime readline sasl sdl shared sharedmem slang slpspeex spell sse ssl svg svga tcltk tcpd tetex tiff transcode truetype unicode x86 xml2 xmms xv xvid yahoo zlib"
Comment 4 Guillaume Castagnino 2004-08-29 09:39:47 UTC
Ok, if I'm not alone with this problem, it can be a bug
Comment 5 Andreas Simon 2004-08-30 01:50:15 UTC
Perl failed for me with the same error.
libperl-5.8.5 emerged without problems.

And no, I tried it only once, am not emerging it again and again until it works somehow magically ;-)


# emerge --info
Portage 2.0.50-r10 (2.6, gcc-3.4.1, glibc-2.3.4.20040808-r0, 2.6.8-ck5)
=================================================================
System uname: 2.6.8-ck5 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.5.3
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -ftracer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -ftracer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache fixpackages sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/opt/portage /opt/portage-kde"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="3dnow X aalib acl alsa apm arts artswrappersuid avi berkdb cdr crypt cups dga divx4linux dvb dvd encode faad flac foomaticdb gdbm gif gnome gpm gstreamer gtk gtk2 imap imlib ipv6 jpeg kde lcms libg++ libwww mad maildir mikmod mmx mng motif mozilla mozsvg mpeg mule ncurses nls nptl offensive oggvorbis opengl oss pam pcre pdflib pic png python qt quicktime readline sasl sdl slang spell sse ssl svg tcpd tetex theora threads tiff truetype unicode usb x86 xml2 xmms xv xvid zlib"
Comment 6 Andreas Simon 2004-08-30 06:37:31 UTC
After deleting /usr/lib/perl5/5.8.4/i686-linux-thread-multi/auto/Cwd/Cwd.so from my old perl-5.8.4 installation, the emerge of perl-5.8.5 went without problems. But it could be just a coincidence as others have reported that the ebuild emerged sucessfully for them after some retries.
Comment 7 Eric Sammer (RETIRED) gentoo-dev 2005-01-16 19:45:37 UTC
In most cases, when you get sporadic results between multiple emerges of a package such as perl, it can be attributed to inaccurate or excessive CFLAGS. I noticed that two of you have fairly aggressive CFLAGS. I think to rule this out, you'll want to "dumb down" your CFLAGS a bit to the basics. I would suggest dropping any '-f' options other than possibly unroll-loops. Usually -pipe is safe as well. Regarding '-O' try 2 or below. I have read a bit on '-Os' and it seems safe, but I don't have first hand experience with it.

With something such as perl, you usually want to reduce any excessive optimization to avoid problems down the road. Please try reducing your CFLAGS (and confirm in the gcc info and man pages that the remaining options are sane on your hardware) and recompiling gcc, binutils, glibc, and perl. You can do this in a chroot as to not blow away your system's perl if you are dead set on these CFLAGS.
Comment 8 Michael Cummings (RETIRED) gentoo-dev 2005-01-26 07:21:52 UTC
And for note, emerge perl with perl threading enabled (not the same as posix threading) means you are guaranteed to have problems with some applications.
Comment 9 Michael Cummings (RETIRED) gentoo-dev 2005-04-30 06:09:00 UTC
closing out, no follow up in months.