Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43107 - Enchant 1.1.2 failed to compile
Summary: Enchant 1.1.2 failed to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-27 09:18 UTC by Fabien Fivaz
Modified: 2004-09-04 21:30 UTC (History)
0 users

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 Fabien Fivaz 2004-02-27 09:18:56 UTC
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"
Comment 1 Alastair Tse (RETIRED) gentoo-dev 2004-02-27 12:29:59 UTC
run fix_libtool_files.sh
Comment 2 foser (RETIRED) gentoo-dev 2004-02-29 10:03:14 UTC
like gcc problem, see comment #2

reopen if that didn't fix it.
Comment 3 Fabien Fivaz 2004-03-03 01:51:38 UTC
I tried fix_libtool_files.sh 3.2 (and 3.3) but it doesn't change. I still can't compile enchant...
Comment 4 Fabien Fivaz 2004-03-03 01:53:56 UTC
Oops, sorry. running fix_libtool_files.sh 3.2.3 fixed it. Thanks
Comment 5 Tom K 2004-09-04 21:30:25 UTC
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.