When I upgrade enchant from 1.0.0 to 1.1.2 I get an error complaining about an version of gcc that is not in the system anymore. It could be linked with a previous bug I had with gcc. See bug 40694. Reproducible: Always Steps to Reproduce: 1. emerge -u enchant (or emerge -u world) 2. 3. Actual Results: I got the following error : /bin/sh ../../libtool --mode=link gcc -march=pentium4 -O3 -pipe -fomit-frame-po inter -o libenchant_aspell.la -rpath /usr/lib/enchant -version-info 2:2:1 -no- undefined aspell_provider.lo -Wl,--export-dynamic -lgmodule-2.0 -ldl -lglib-2.0 -L/usr/lib -laspell ../../src/libenchant.la grep: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/libstdc++.la: No such file or dir ectory sed: can't read /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/libstdc++.la: No such f ile or directory libtool: link: `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/libstdc++.la' is not a valid libtool archive make[2]: *** [libenchant_aspell.la] Erreur 1 make[2]: Leaving directory `/var/tmp/portage/enchant-1.1.2/work/enchant-1.1.2/sr c/aspell' make[1]: *** [all-recursive] Erreur 1 make[1]: Leaving directory `/var/tmp/portage/enchant-1.1.2/work/enchant-1.1.2/sr c' make: *** [all-recursive] Erreur 1 !!! ERROR: app-text/enchant-1.1.2 failed. !!! Function gnome2_src_compile, Line 39, Exitcode 2 !!! compile failure Expected Results: Compile ! Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.22-gentoo-r2) ================================================================= System uname: 2.4.22-gentoo-r2 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.4.3.13 Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" 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.2/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=pentium4 -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/ http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ http://gentoo.mirror.sdv.fr http://gentoo.linux.no/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X apm arts avi berkdb bonobo cdr crypt cups dvd encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 guile imlib java jpeg kde ldap libg++ libwww mad mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl slang spell sse ssl svga tcltk tcpd tetex truetype x86 xml2 xmms xv zlib"
run fix_libtool_files.sh
like gcc problem, see comment #2 reopen if that didn't fix it.
I tried fix_libtool_files.sh 3.2 (and 3.3) but it doesn't change. I still can't compile enchant...
Oops, sorry. running fix_libtool_files.sh 3.2.3 fixed it. Thanks
I recently tried to emerge abiword which depends on enchant. The enchant build decided to build the "Aspell" "Ispell" and "Hspell" backends at the beginning of the emerge. However the emerge died immediately on compiling aspell_XXX.c (I dont have the exact filename, sorry). Not remembering ever emerging aspell, I did so (which also requires emerging an aspell dictionary with whatever language immediately after). Then enchant compiled. It would seem maybe enchant should depend on aspell being emerged.