Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 73201 - missing symbols in enchant libraries
Summary: missing symbols in enchant libraries
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-03 01:15 UTC by Ernst Sjöstrand
Modified: 2004-12-11 19:39 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 Ernst Sjöstrand 2004-12-03 01:15:26 UTC
I noticed that spellchecking didn't work in Gaim so I tried this:

gaim -d | grep spell
plugins: probing /usr/lib/gaim/spellchk.so
plugins: probing /usr/lib/gaim/spellchk.la
g_log: Module error: /usr/lib/enchant/libenchant_ispell.so: undefined symbol: _ZNSs4_Rep20_S_empty_rep_storageE
g_log: Module error: /usr/lib/enchant/libenchant_myspell.so: undefined symbol: _ZNSs4_Rep20_S_empty_rep_storageE
gtkspell: Failed to setup GtkSpell: enchant error for language: sv_SE.utf8

Remerging enchant didn't help.


Reproducible: Always
Steps to Reproduce:
Comment 1 Ernst Sjöstrand 2004-12-03 01:23:20 UTC
Steps to reproduce:
You have to actually open a converstion window before you see the errors.

Googling tells me this could be gcc 3.4 related?
Comment 2 foser (RETIRED) gentoo-dev 2004-12-04 00:14:39 UTC
do you have ispell installed ?

do you have aspell or ispell dicts installed for your locale ?

where is your 'emerge info' like one should always provive in a bugreport & the form tells you to ?

'remerging enchant didn't help' -> no surprise there, it's not windows.
Comment 3 Ernst Sjöstrand 2004-12-06 22:25:29 UTC
'remerging enchant didn't help' -> no surprise there, it's not windows.

Ok, so tell me what revdep-rebuild is for?
I just downgraded from glib 2.5 to 2.4, and guess what? libwnck and gail both had missing symbols, and remerging them did help.

Do you have ispell installed ?

esearch -I spell
[ Results for search key : spell ]
[ Applications found : 7 ]

*  app-dicts/aspell-en
      Latest version available: 6.0.0
      Latest version installed: 0.51.1
      Size of downloaded files: 178 kB
      Homepage:    http://aspell.net
      Description: English (US, British, Canadian) language dictionary for aspel l
      License:     as-is public-domain

*  app-dicts/aspell-sv
      Latest version available: 0.51.0
      Latest version installed: 0.51.0
      Size of downloaded files: 91 kB
      Homepage:    http://aspell.net
      Description: Swedish language dictionary for aspell
      License:     GPL-2

*  app-dicts/ispell-sv
      Latest version available: 1.3.8
      Latest version installed: 1.3.8
      Size of downloaded files: 114 kB
      Homepage:    http://sv.speling.org
      Description: The Swedish dictionary for ispell
      License:     LGPL-2.1

*  app-text/aspell
      Latest version available: 0.60
      Latest version installed: 0.50.5-r4
      Size of downloaded files: 1,584 kB
      Homepage:    http://aspell.net/
      Description: A spell checker replacement for ispell
      License:     LGPL-2

*  app-text/gnome-spell
      Latest version available: 1.0.5-r2
      Latest version installed: 1.0.5-r2
      Size of downloaded files: 211 kB
      Homepage:    http://www.gnome.org/
      Description: Gnome spellchecking component
      License:     GPL-2

*  app-text/gtkspell
      Latest version available: 2.0.4-r1
      Latest version installed: 2.0.4-r1
      Size of downloaded files: 192 kB
      Homepage:    http://gtkspell.sourceforge.net/
      Description: Spell checking widget for GTK2
      License:     GPL-2

*  app-text/ispell
      Latest version available: 3.2.06-r6
      Latest version installed: 3.2.06-r6
      Size of downloaded files: 575 kB
      Homepage:    http://fmg-www.cs.ucla.edu/geoff/ispell.html
      Description: fast screen-oriented spelling checker
      License:     as-is

Do you have aspell or ispell dicts installed for your locale ?

I'd say that wouldn't create a linker error?

Yeah, the info got lost. Thought I'd submitted that on a second commit.

emerge info
Portage 2.0.51-r8 (gcc34-x86-2004.2, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r8 i686)
=================================================================
System uname: 2.6.9-gentoo-r8 i686 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.6
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Sep  2 2004, 18:07:59)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.5, 1.9.3, 1.8.5-r2, 1.6.3, 1.7.9, 1.4_p6
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -pipe -march=k8 -fomit-frame-pointer -ftracer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -pipe -march=k8 -fomit-frame-pointer -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox"
GENTOO_MIRRORS="http://ftp.du.se/pub/os/gentoo http://ds.thn.htu.se/linux/gentoo http://mirror.pudas.net/gentoo http://trumpetti.atm.tut.fi/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/private_overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex X aac acpi alsa apache2 apm avi berkdb bitmap-fonts bonobo bootspla bzlib caps cddb cdr crypt cups curl dnd doc dvd encode esd evo f77 faac fbcon ffmpeg foomaticdb fortran gcj gdbm gif gimp gimpprint glade glut gmail gmp gnome gnomedb gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal howl icq imap imlib imlib2 jabber java jit jpeg kde libg++ libwww mad mikmod mime mmap mmx mmx2 mng mono mozilla mpeg mpeg4 msn mysql ncurses nls nptl nptlonly nvidia objc offensive oggvorbis openal opengl oscar pam pdflib perl plotutils png postgres pthreads python qt quicktime readline samba scanner sdk sdl slang spell ssl stencil-buffer svg tcltk tcpd tetex theora threads tiff truetype type1 uml unicode usb x86 xml2 xv zlib"
Comment 4 foser (RETIRED) gentoo-dev 2004-12-07 02:34:21 UTC
"Ok, so tell me what revdep-rebuild is for?
I just downgraded from glib 2.5 to 2.4, and guess what? libwnck and gail both had missing symbols, and remerging them did help."

That you don't understand what you're doing doesn't mean it is the same thing. glib is only backwards compatible, not forward. As such revdep-rebuild is mostly used by ppl who downgrade or where upstream devs fail to have a safe libtool versioning scheme, in theory it shouldn't be needed.

Afaic this bugreport can be closed, becuase you obviously have a tendency to 'experiment' with base libs, that really makes it a system i can't say a sane thing about.
Comment 5 Ernst Sjöstrand 2004-12-07 09:30:13 UTC
Sorry for opening the bug early (before I'm done debugging), so others would find it if they had the same problem.

Sorry for trying to get involved in Gentoo and testing and developing new ebuilds.

Sorry for not providing emerge info in the first run.

But is it a fscking bug, and it's fixed in enchant 1.1.5, just tested this.
It's there with enchant 1.1.3 compiled with CFLAGS="", and it works with enchant 1.1.5 with my normal cflags.

Now, when people opened a request for abiword 2.2 you got really annoyed with them so now that you know that enchant 1.1.5 is out maybe I shouldn't open a request for that. It's a pretty clean ebuild, renaming works great.

"As such revdep-rebuild is mostly used by ppl who downgrade"
So, maybe something had been downgraded without me really thinking about it? Why not try remerging it? Don't be so aggressive.
Comment 6 foser (RETIRED) gentoo-dev 2004-12-07 13:32:54 UTC
I'm sorry for your seemingly dishonest sorry's, it doesn't help one bit.

As a matter of fact i am aware of 1.1.5's existance for almost a week now. As I was aware of abiwords state all along when someone for the 3rd time commented on it, it's better to get spam than pointless bugmail like that : spam I can filter.

Define your bug ? the undefined symbols are of no influence on enchants functioning. That 1.1.5 works has probably more todo with the recompile vs aspell than anything else. I bet the ispell backend at least is still not working with your 1.1.5 enchant.

What does the downgrade have todo with agressiveness ? I think you reflect your feelings about me wanting to close this bug on me as a person. I want to close it because your sys is obviously not clean & as such I don't want to waste time looking into something which may not even be because of Gentoo ebuilds, I hope you can respect that decision.
Comment 7 Ernst Sjöstrand 2004-12-08 01:52:15 UTC
>That 1.1.5 works has probably more todo with the recompile vs aspell than anything else.

No, I tried switching back and forth between 1.1.5 and 1.1.3 many times, it's allways there with 1.1.3 and not with 1.1.5:
>>It's there with enchant 1.1.3 compiled with CFLAGS="", and it works with enchant 1.1.5 with my normal cflags.
Comment 8 Joe McCann (RETIRED) gentoo-dev 2004-12-11 19:39:08 UTC
Since this was on an unclean system and I have added the latest version of enchant, this can be closed.