Some backgroud: I am using the cutting-edge stuff (i.e., ACCEPT_KEYWORDS="~x86"). I get the following traceback from emerge when updating gnome with emerge: gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/linc-1.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/X11R6/include -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -I/usr/include/libgnomeprintui-2.2 -I/usr/include/libgnomeprint-2.2 -I/usr/include/eel-2 -I/usr/include/gail-1.0 -DGNOME_ICONDIR=\"/usr/share/pixmaps\" -DGEDIT_GLADEDIR=\"/usr/share/gedit-2/glade/\" -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -march=pentium3 -O3 -pipe -fomit-frame-pointer -c gedit-spell-checker-dialog-marshal.c -fPIC -DPIC -o gedit-spell-checker-dialog-marshal.lo /bin/sh ../../libtool --mode=link gcc -march=pentium3 -O3 -pipe -fomit-frame-pointer -o libspell.la -rpath /usr/lib/gedit-2/plugins -module -avoid-version spell.lo gedit-spell-checker.lo gedit-spell-checker-dialog.lo gedit-spell-language-dialog.lo gedit-automatic-spell-checker.lo gedit-spell-checker-dialog-marshal.lo preload.lo -lpspell -lpopt mkdir .libs grep: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/libstdc++.la: No such file or directory sed: can't read /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/libstdc++.la: No such file or directory libtool: link: `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/libstdc++.la' is not a valid libtool archive make[3]: *** [libspell.la] Error 1 make[3]: Leaving directory `/var/tmp/portage/gedit-2.2.0.1/work/gedit-2.2.0.1/plugins/spell' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/gedit-2.2.0.1/work/gedit-2.2.0.1/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gedit-2.2.0.1/work/gedit-2.2.0.1' make: *** [all-recursive-am] Error 2 !!! ERROR: app-editors/gedit-2.2.0.1 failed. !!! Function gnome2_src_compile, Line 41, Exitcode 2 !!! compile failure
looks more like a gcc(-config) problem then gedit
please paste #emerge info
Per your request: ================================================================= System uname: 2.4.18-redhat-4custom i686 Pentium III (Coppermine) GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ http://distro.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 oss 3dnow apm avi crypt cups encode gif gpm jpeg libg++ libwww mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml gdbm berkdb slang readline arts bonobo svga java guile sdl tcpd pam ssl perl python esd imlib oggvorbis motif opengl mozilla X gtk -kde -qt gnome -alsa" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer" CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
please include the header eg. Portage 2.0.47-r8 (default-1.0, gcc-2.95.3, glibc-2.2.5-r2,2.2.5-r7)
it's not a gedit problem, it's a gcc problem please run '/usr/portage/sys-devel/gcc/files/fix_libtool_files.sh'
from azarah: Right, I fixed it so that the ebuild will run it properly the first time. Do: # cp /usr/portage/sys-devel/gcc/files/awk/fixlafiles.awk /lib/rcscripts/awk # /usr/portage/sys-devel/gcc/files/fix_libtool_files.sh 3.2.1
The header, per request of Martin Holzer: Portage 2.0.46-r12 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r2) ================================================================= I did the steps in Comment #6 and the problem is fixed. Thanks!
btw update your portage version ;) closing this
PS: This was very handy *again*. gedit failed to compile due to similar errors but with 3.2.1 instead of 3.2. The same *manual* solution fixed the problem. Wasn't this fixed in the ebuild?!