When I try to emerge xfree-4.3.0-r4, installation fails with an install error. (I have NOT installed kernel 2.6.0) Reproducible: Always Steps to Reproduce: 1.emerge -U world 2. 3. Actual Results: make[4]: Entering directory `/var/tmp/portage/xfree-4.3.0-r4/work/xc/lib/GL/GL' install -c -m 0644 libGL.a /var/tmp/portage/xfree-4.3.0-r4/image//usr/X11R6/lib ranlib /var/tmp/portage/xfree-4.3.0-r4/image//usr/X11R6/lib/libGL.a rm -f libGL.so.1.2~ + cd . + gcc -o ./libGL.so.1.2~ -shared -Wl,-Bsymbolic -Wl,-soname,libGL.so.1 ../../../lib/GL/glx/clientattrib.o ../../../lib/GL/glx/compsize.o ../../../lib/GL/glx/dispatch.o ../../../lib/GL/glx/eval.o ../../../lib/GL/glx/g_render.o ../../../lib/GL/glx/g_single.o ../../../lib/GL/glx/g_vendpriv.o ../../../lib/GL/glx/glapi.o ../../../lib/GL/glx/glapi_x86.o ../../../lib/GL/glx/glthread.o ../../../lib/GL/glx/glxcmds.o ../../../lib/GL/glx/glxext.o ../../../lib/GL/glx/indirect_init.o ../../../lib/GL/glx/pixel.o ../../../lib/GL/glx/pixelstore.o ../../../lib/GL/glx/render2.o ../../../lib/GL/glx/renderpix.o ../../../lib/GL/glx/single2.o ../../../lib/GL/glx/singlepix.o ../../../lib/GL/glx/vertarr.o ../../../lib/GL/glx/xfont.o ../../../lib/GL/dri/XF86dri.o ../../../lib/GL/dri/dri_glx.o -lpthread -L../../../exports/lib -lXext -lX11 -lm -ldl -lc ../../../lib/GL/glx/compsize.o: file not recognized: File format not recognized collect2: ld returned 1 exit status + rm -f libGL.so.1 + ln -s libGL.so.1.2 libGL.so.1 + rm -f ../../../exports/lib/libGL.so.1 + cd ../../../exports/lib + ln -s ../../lib/GL/GL/libGL.so.1 . rm -f libGL.so.1.2 mv -f libGL.so.1.2~ libGL.so.1.2 mv: cannot stat `libGL.so.1.2~': No such file or directory make[4]: *** [libGL.so.1.2] Error 1 make[4]: Leaving directory `/var/tmp/portage/xfree-4.3.0-r4/work/xc/lib/GL/GL' make[3]: *** [install] Error 2 make[3]: Leaving directory `/var/tmp/portage/xfree-4.3.0-r4/work/xc/lib/GL' make[2]: *** [install] Error 2 make[2]: Leaving directory `/var/tmp/portage/xfree-4.3.0-r4/work/xc/lib' make[1]: *** [install] Error 2 make[1]: Leaving directory `/var/tmp/portage/xfree-4.3.0-r4/work/xc' make: *** [install] Error 2 !!! ERROR: x11-base/xfree-4.3.0-r4 failed. !!! Function src_install, Line 614, Exitcode 2 !!! (no error message) Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.22-gentoo-r5) ================================================================= System uname: 2.4.22-gentoo-r5 i686 AMD Athlon(TM) XP 2400+ Gentoo Base System version 1.4.3.13 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.58 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://212.219.247.15/sites/www.ibiblio.org/gentoo/ rsync://gentoo.seren.com/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X alsa apm arts avi berkdb crypt cups encode foomaticdb gdbm gif gpm gtk gtk2 imlib java jpeg kde libg++ libwww mad mikmod mmx motif mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell sse ssl svga tcltk tcpd tetex truetype x86 xml2 xmms xv zlib"
A couple of questions: 1) which filesystem? 2) how are you doing on disk space? Also, try turning off ccache in FEATURES for successive emerges so you don't hit the same failure in cache. You could try running ldconfig also.
In an email from Mauro: "I've run ldconfig, erased the ccache with ccache -C and tried again, and it worked "Now, (and only now :) I remember that at first try my computer turned off itself because of overheating. The ccache cache might have become corrupted!"