Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 17242 - ERROR: app-editors/gedit-2.2.0.1 failed
Summary: ERROR: app-editors/gedit-2.2.0.1 failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-10 13:27 UTC by Ben Ricker
Modified: 2003-03-31 15:16 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 Ben Ricker 2003-03-10 13:27:24 UTC
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
Comment 1 foser (RETIRED) gentoo-dev 2003-03-10 14:30:00 UTC
looks more like a gcc(-config) problem then gedit
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2003-03-10 15:51:19 UTC
please paste
#emerge info
Comment 3 Ben Ricker 2003-03-10 16:36:56 UTC
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"
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2003-03-10 16:42:20 UTC
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)
Comment 5 Martin Holzer (RETIRED) gentoo-dev 2003-03-11 07:21:53 UTC
it's not a gedit problem, it's a gcc problem
please run
'/usr/portage/sys-devel/gcc/files/fix_libtool_files.sh'
Comment 6 Martin Holzer (RETIRED) gentoo-dev 2003-03-11 11:02:13 UTC
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
Comment 7 Ben Ricker 2003-03-11 11:56:12 UTC
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!
Comment 8 Martin Holzer (RETIRED) gentoo-dev 2003-03-11 13:39:32 UTC
btw update your portage version ;)

closing this
Comment 9 Paul Kronenwetter 2003-03-31 15:16:35 UTC
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?!