Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 64726 - app-editors/gedit-2.8.0 compile error
Summary: app-editors/gedit-2.8.0 compile error
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-20 01:49 UTC by scaba
Modified: 2004-11-27 11:13 UTC (History)
2 users (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 scaba 2004-09-20 01:49:41 UTC
First of, I don't know if this is a valid bug since all of Gnome 2.8 is masked. But I figured I report it and let the more knowledgable decide :)

Gedit-2.8.0 fails compilation with the below posted error. All other masked Gnome 2.8 packages compile without issues.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -DORBIT2=1 -pthread -DXTHREADS
-D_REENTRANT -DXUSE_MTSAFE_API -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/bonobo-activation-2.0
-I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include
-I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/freetype2/config
-I/usr/include/libxml2 -I/usr/include/libglade-2.0 -I/usr/include/eel-2
-I/usr/include/gail-1.0 -I/usr/include/gtksourceview-1.0
-I/usr/include/libgnomeprint-2.2 -I/usr/include/libgnomeprintui-2.2 -Wall
-Wmissing-prototypes -DGNOME_ICONDIR=\"/usr/share/pixmaps\"
-DGEDIT_GLADEDIR=\"/usr/share/gedit-2/glade/\" -march=pentium4 -O2 -pipe -MT
gedit-spell-checker-dialog-marshal.lo -MD -MP -MF
.deps/gedit-spell-checker-dialog-marshal.Tpo -c
gedit-spell-checker-dialog-marshal.c  -fPIC -DPIC -o
.libs/gedit-spell-checker-dialog-marshal.o
Found cached translation database
Merging translations into spell.gedit-plugin.
/bin/sh ../../libtool --mode=link gcc  -march=pentium4 -O2 -pipe   -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 -laspell -lpopt
grep: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la: No such file or
directory
/bin/sed: can't read /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la: No
such file or directory
libtool: link: `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la' is not a
valid libtool archive
make[4]: *** [libspell.la] Error 1
make[4]: Leaving directory
`/var/tmp/portage/gedit-2.8.0/work/gedit-2.8.0/plugins/spell'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/var/tmp/portage/gedit-2.8.0/work/gedit-2.8.0/plugins/spell'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gedit-2.8.0/work/gedit-2.8.0/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gedit-2.8.0/work/gedit-2.8.0'
make: *** [all] Error 2

!!! ERROR: app-editors/gedit-2.8.0 failed.
!!! Function gnome2_src_compile, Line 40, Exitcode 2
!!! compile failure
!!! If you need support, post the topmost build error, NOT this status message.


Portage 2.0.51_rc1 (gcc34-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20040808-r0,
2.6.9-rc2-mm1 i686)
=================================================================
System uname: 2.6.9-rc2-mm1 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.60GHz
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O2 -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/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://sunsite.cnlab-switch.ch/mirror/gentoo/
ftp://ftp.solnet.ch/mirror/Gentoo/ http://gentoo.oregonstate.edu"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-gnome-current
/usr/local/bmg-main"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acpi alsa avi berkdb bitmap-fonts cdr crypt cups dvd encode esd flac
foomaticdb gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml imlib java jpeg libg++
libwww mad mikmod mmx motif mpeg ncurses nls nptl oggvorbis opengl pam pdflib
perl png python quicktime readline sdl slang spell sse ssl svga tcpd truetype
x86 xml2 xprint xv zlib"
Comment 1 foser (RETIRED) gentoo-dev 2004-09-20 10:44:00 UTC
this is probably some gcc porting issue .. now i think of it theres also #51360
Comment 2 scaba 2004-09-21 03:38:44 UTC
During compilation /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/ needs to be accessed, but there's no such directory. I created a symlink from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.4.2/ to .../3.3.4 and now it compiles nicely.
Comment 3 Mark Loeser (RETIRED) gentoo-dev 2004-09-27 19:15:45 UTC
fix_libtool_files.sh should have been run when GCC finished emerging I believe.  Doing: `fix_libtool_files.sh 3.3.4' should fix the problem, and then you can remove the symlink.
Comment 4 scaba 2004-09-29 07:00:03 UTC
Worked fine. Gedit compiled nicely w/out symlink this time. Thanks.
Comment 5 Joe McCann (RETIRED) gentoo-dev 2004-10-01 01:04:52 UTC
Sounds good, closing
Comment 6 Christophe 2004-11-27 11:13:26 UTC
I know this is a x68 bug report but same error occur for amd64 now that gedit-2.8 went stable. Upgraded gcc to 3.4.3 on Nov 22. 

Running "fix_libtool_files.sh 3.4.2" fix it for me. Just to say fix_libtool_files.sh is apparently not run automaticaly after emerge of gcc.


Emerge message:
/bin/sh ../../libtool --mode=link gcc  -march=k8 -O2 -pipe   -o libspell.la -rpath //usr/lib/gedit-2/plugins -mo dule -avoid-version  spell.lo gedit-spell-checker.lo gedit-spell-checker-dialog.lo gedit-spell-language-dialog.l o gedit-automatic-spell-checker.lo gedit-spell-checker-dialog-marshal.lo -laspell -lpopt
grep: /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.2/libstdc++.la: No such file or directory
/bin/sed: can't read /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.2/libstdc++.la: No such file or directory
libtool: link: `/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.2/libstdc++.la' is not a valid libtool archive
make[4]: *** [libspell.la] Error 1