Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30946 - emerge gaim fails if aspell is not installed
Summary: emerge gaim fails if aspell is not installed
Status: RESOLVED DUPLICATE of bug 41019
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gaim Bugs Crew
URL:
Whiteboard:
Keywords:
: 31716 33570 34057 49903 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-10-11 21:24 UTC by Paul Winkler
Modified: 2005-07-17 13:06 UTC (History)
6 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 Paul Winkler 2003-10-11 21:24:23 UTC
while trying to emerge gaim, it fails complaining that /usr/lib/libpspell.la
cannot be found.  emerge -s pspell tells me there no such package, so i have to
do some googling to guess what provides it.  I eventually realized i had to
emerge aspell and then had to emerge aspell-en.  Now gaim emerges successfully.

Reproducible: Didn't try
Steps to Reproduce:
1. ensure that aspell is not installed (maybe ispell too, don't know)
2. emerge net-aim/gaim-0.70-r2
Actual Results:  
compilation fails complaining that /usr/lib/libpspell.la cannot be found.
since 

Expected Results:  
emerge aspell automatically, and maybe force you to install a dictionary before
allowing emerge of gaim.

Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gaming-r3)
=================================================================
System uname: 2.4.20-gaming-r3 i686 Pentium III (Coppermine)
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="oss avi crypt foomaticdb kde libg++ mad mikmod nls pdflib spell svga gdbm
berkdb slang gpm tcpd pam perl esd qt motif x86 alsa apm -arts cdr cups curl dga
emacs emacs-w3 encode gif gnome gtk guile imlib jack java jpeg laddca libwww
matrox mbox memlimit mmx mozilla mpeg ncurses oggvorbis opengl ppds png python
quicktime readline scanner sdl sse ssl tk truetype usb wxwindows X xml xml2 xmms
xv zeo zlib"
Comment 1 John Zheng 2003-10-20 20:51:55 UTC
I ran into the exact same issue with gaim-0.70-r2.  The ebuild for gaim has:

     spell? ( >=app-text/gtkspell-2.0.2 )

Perhaps it should have aspell included as well?  gtkspell does get auto merged,
but apparently it doesn't have aspell as a dependancy either.
Comment 2 SpanKY gentoo-dev 2003-10-21 19:42:21 UTC
*** Bug 31716 has been marked as a duplicate of this bug. ***
Comment 3 SpanKY gentoo-dev 2003-10-21 19:43:26 UTC
you probably had aspell on your system at some point and then unmerged it
later ... that means if you emerged stuff while having aspell on your system,
they would have linked against them and thus caused this error ...

grep for 'libpspell' in /usr/lib/*.la and re-emerge any packages that own
the .la files found
Comment 4 Brandon Low (RETIRED) gentoo-dev 2003-10-21 20:58:48 UTC
can someone check for me what happens if you do "emerge -D gaim" instead?
Comment 5 Don Seiler (RETIRED) gentoo-dev 2003-11-12 11:55:15 UTC
I removed aspell and aspell-en and gaim re-installed fine with USE=spell.  Granted it won't highlight misspelled words but it doesn't overtly complain about it either.

emerge -D gaim doesn't care about aspell either.  Just will re-emerge gaim.  Similar case when I emerge -D gtkspell.
Comment 6 Don Seiler (RETIRED) gentoo-dev 2003-11-15 15:10:37 UTC
*** Bug 33570 has been marked as a duplicate of this bug. ***
Comment 7 Steven Wagner 2003-11-17 00:51:22 UTC
SpanKY: I just ran into the same problem on a fresh system...so aspell doesn't need to have been emerged before.
Comment 8 Don Seiler (RETIRED) gentoo-dev 2003-11-18 06:57:04 UTC
lostlogic do you think having gaim RDEPEND on aspell if USE=spell is a valid option?  Although you are right gtkspell should be pulling it in.  I'm going to take a look at the gtkspell ebuild.
Comment 9 Don Seiler (RETIRED) gentoo-dev 2003-11-18 07:01:47 UTC
Just looked and gtkspell-2.0.4-r1 does NOT depend on virtual/aspell-dict.  The previous versions do.  gtkspell-2.0.4-r1 moved to using enchant for the dictionary.  I'm going to see exactly what gaim needs to do the spell checking.
Comment 10 Don Seiler (RETIRED) gentoo-dev 2003-11-18 07:06:25 UTC
yeah gaim just uses gtkspell, shouldn't be tied to aspell at all.
Comment 11 Don Seiler (RETIRED) gentoo-dev 2003-11-18 07:13:30 UTC
Hmm that fresh install news is troubling.  Can someone provide the EXACT text of the error?  This doesn't happen for me.
Comment 12 Don Seiler (RETIRED) gentoo-dev 2003-11-18 08:11:24 UTC
OK I removed aspell, aspell-en, enchant and gtkspell.  Emerging gaim (not -D) will bring in all 4.  Found out that enchant depends on virtual/aspell-dict now.  gtkspell-2.0.4-r1 is in ~x86.

Steven what versions of these pieces of software do you have installed?
Comment 13 Steven Wagner 2003-11-19 22:13:09 UTC
I did the install of friends machine over the weekend.  The whole system was 'emerge sync' and all packages were emerged to most recent stable version.  Gaim quit with the compile error. Got the hint to emerge aspell and then it worked.
Comment 14 Don Seiler (RETIRED) gentoo-dev 2003-11-20 20:15:16 UTC
Steven was enchant installed on those systems?  gaim => gtkspell => enchant => aspell-en => aspell is how the dependencies should be working.  Can you verify which one(s) were missing?

Were these systems in stable or unstable?
Comment 15 Steven Wagner 2003-11-21 02:31:54 UTC
Steven was enchant installed on those systems?  gaim => gtkspell => enchant => aspell-en => aspell is how the dependencies should be working.  Can you verify which one(s) were missing?

The system was in stable. I don't know if enchant was installed on the system, but I can tell you that I tried nearly all the ebuilds available for gaim and they were all failing, which I suppose would point to an external dependency.  

I went ahead and emerge'd gaim on a server I have that is emerge sync'd to the current stable.  Gaim emerged fine...
 
Comment 16 Don Seiler (RETIRED) gentoo-dev 2003-11-21 07:38:22 UTC
Well lostlogic and I both agree that adding aspell directly to gaim DEPENDS is NOT the right way to do it.  It definitely sounds like the dependency chain is breaking outside of gaim's control.

I'd like to see someone recreate this and identify what pieces of the puzzle are missing.
Comment 17 SpanKY gentoo-dev 2003-11-21 13:28:01 UTC
*** Bug 34057 has been marked as a duplicate of this bug. ***
Comment 18 Steve Barnhart 2004-02-01 14:11:36 UTC
Had same problem, worked for me after emerging aspell.
Comment 19 Don Seiler (RETIRED) gentoo-dev 2004-02-02 18:13:15 UTC
Does this list any aspell items:

emerge -pe gtkspell | grep aspell
Comment 20 Don Seiler (RETIRED) gentoo-dev 2004-02-03 06:54:36 UTC
Also Steve B: are you in stable (x86) or untested (~x86)?

I have yet to be able to duplicate this.
Comment 21 Don Seiler (RETIRED) gentoo-dev 2004-02-06 12:11:16 UTC
I suspect that the problem might lie in the what is installed with the LiveCD.  Can you guys that had this problem tell me what stages you installed from, and what versions of the following software were on that stage:  aspell, enchant, gtkspell, and gaim.  Also if you were in ARCH or ~ARCH (x86 or ~x86).
Comment 22 Don Seiler (RETIRED) gentoo-dev 2004-02-23 10:12:44 UTC
After almost helping a user on IRC (he got disconned), I'm 90% certain that this problem has to do with the setup on the stage tarballs or Live CDs and x86 vs ~x86.

What I need is someone doing a new install to test with x86 and ~x86.
Comment 23 Don Seiler (RETIRED) gentoo-dev 2004-04-09 07:26:23 UTC
I've been doing some studying of gtkspell for future work I'll be doing, and I'm 100% AGAINST adding aspell as a dep of gaim, especially since future versions of gtkspell won't need aspell directly.  gaim should only need gtkspell.  If aspell is missing then I think that this is a bug for gtkspell, not gaim.

CCing the gnome team who manages gtkspell to see what they think.
Comment 24 foser (RETIRED) gentoo-dev 2004-04-09 09:18:07 UTC
we agree, aspell should not be a dep of gaim. gtkspell is not directly depending on aspell anymore and even if it was : it is a gtkspell dep, not gaim.

I think this might be a dupe of http://bugs.gentoo.org/show_bug.cgi?id=41019 , which i cannot explain from just looking at the deps. So i asked the portage devs to investigate, but nothing so far.
Comment 25 Don Seiler (RETIRED) gentoo-dev 2004-04-27 11:26:35 UTC
I'm going to go ahead and mark this as dupe since the symptoms are eerily similar.

*** This bug has been marked as a duplicate of 41019 ***
Comment 26 Alastair Tse (RETIRED) gentoo-dev 2004-05-04 00:38:34 UTC
*** Bug 49903 has been marked as a duplicate of this bug. ***