Summary: | perl 5.8.5 fails to install | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Guillaume Castagnino <casta> |
Component: | [OLD] Development | Assignee: | Gentoo Perl team <perl> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | andreas.w.simon |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Guillaume Castagnino
2004-08-28 06:38:27 UTC
Sorry for the to fast report : after a third re-emerge of perl, it works since it took to me too 3 emerge to install it successfully 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" Ok, if I'm not alone with this problem, it can be a bug 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" 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. 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. 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. closing out, no follow up in months. |