Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 96794 - aspell-0.60 with aspel-lang-0.51 causes crashes/problems
Summary: aspell-0.60 with aspel-lang-0.51 causes crashes/problems
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 All
: High normal (vote)
Assignee: Spell checking utilities and dictionaries -- related bugs (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 126109
  Show dependency tree
 
Reported: 2005-06-22 10:27 UTC by Daniel Gryniewicz (RETIRED)
Modified: 2006-12-01 08:05 UTC (History)
1 user (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 Daniel Gryniewicz (RETIRED) gentoo-dev 2005-06-22 10:27:24 UTC
A while ago, all my spell checking stopped working, whether by command line
(aspell or enchant) or in gnome apps (evo, gaim, etc.).  In addition, gedit
started crashing when I attempted spell checking.  I finally traced the error
down to having aspell-0.60 on my system, but aspell-en-0.51.  The result is a
highly broken aspell.  It seems likely that dependencies should enforce the
upgrade of the aspell-lang packages when aspell is updated to 0.60

Reproducible: Always
Steps to Reproduce:
1. Add app-text/aspell ~x86 to /etc/portage/package.keywords
2. Update aspell
3. Run gedit -> crash, run aspell -> no dictionary
Comment 1 Alastair Tse (RETIRED) gentoo-dev 2005-06-27 03:08:32 UTC
i can confirm this .. not quite sure how to fix it tho because it means adding versions to virtuals.

the reason for the breakage if you mix dictionaries is because 0.60 removed the strip-accents option 
which alot of the dictionaries used (well, at least english ones.)

there is already an einfo at the end of the aspell ebuild saying that you should re-emerge all aspell-
LANG dictionaries.

for the record, this is the error you get:

acnt2@huggins /usr/portage/app-dicts/aspell-en $ aspell -c ChangeLog
Error: /usr/lib/aspell-0.60/en_GB.multi:2: The key "strip-accents" is unknown.
Comment 2 gad.kadosh 2006-01-13 15:12:32 UTC
That means when I use aspell-0.6* I can't use aspell-en-0.5* ?
Comment 3 gad.kadosh 2006-01-14 09:02:32 UTC
it would be good if aspell-0.6 blocked aspell-en-0.5 for example. or the opposite...
Comment 4 Kevin F. Quinn (RETIRED) gentoo-dev 2006-11-30 12:22:00 UTC
OK; I've set aspell to block on aspell-en-0.5; now in CVS.
I checked most of the other languages, and it seems it's only English that causes the problem.
Comment 5 Jeff 2006-12-01 07:26:18 UTC
(In reply to comment #4)
> OK; I've set aspell to block on aspell-en-0.5; now in CVS.
> I checked most of the other languages, and it seems it's only English that
> causes the problem.
> 

So - I've got this:

=app-dicts/aspell-en-0.5* (is blocking app-text/aspell-0.60.4-r1)

I can't upgrade GNOME 2.16 because of it.

What to do?

Please advise!

Thanks!
Comment 6 Kevin F. Quinn (RETIRED) gentoo-dev 2006-12-01 08:05:40 UTC
(In reply to comment #5)
> So - I've got this:
> 
> =app-dicts/aspell-en-0.5* (is blocking app-text/aspell-0.60.4-r1)
> 
> I can't upgrade GNOME 2.16 because of it.
> 
> What to do?

All you need to do is unmerge the blocking package ('emerge --unmerge app-dicts/aspell-en'), then everything will merge fine.  This is the same as you would have to do for any block.

If you unmask =app-text/aspell-0.60.4-r2 (add that to /etc/portage/package.unmask; it's currently testing), it'll emerge app-dicts/aspell-en-6 for you automatically, otherwise you may have to emerge again app-dicts/aspell-en manually.

Make sure you are accepting aspell-en from ~arch - (as you've already done for app-text/aspell itself - add it to /etc/portage/package.keywords).