Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 250115 - mail-client/claws-mail with USE=spell needs app-text/enchant to be built w/ USE=aspell
Summary: mail-client/claws-mail with USE=spell needs app-text/enchant to be built w/ U...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 250573
  Show dependency tree
 
Reported: 2008-12-07 06:05 UTC by Ryan Hill (RETIRED)
Modified: 2009-01-28 10:48 UTC (History)
5 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 Ryan Hill (RETIRED) gentoo-dev 2008-12-07 06:05:56 UTC
If enchant hasn't been built with USE=aspell, opening a compose/reply window gives this error:

Spell checker could not be started.
Couldn't initialize en_CA dictionary:
(null)
Couldn't initialize en_CA speller.

The options to choose the default dictionary in preferences are also greyed out.
Comment 1 Christian Faulhammer (RETIRED) gentoo-dev 2008-12-07 23:49:59 UTC
Thanks for that information, fixed in tree for all revisions of 3.6.1 (not with EAPI=2 as I plan to stabilise -r1).
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2008-12-11 00:05:21 UTC
Editing stable ebuilds for non trivial changes is unsupported, and we have a broken ebuild now. Adding the report as depend.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2008-12-11 00:07:08 UTC
That is because only ~arch enchant has IUSE "aspell", stable enchant IUSE is "".
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-12-11 01:25:50 UTC
built_with_use --missing true

I got that implemented for a specific reason.
Comment 5 Christian Faulhammer (RETIRED) gentoo-dev 2008-12-21 01:54:03 UTC
Fixed along with 250573.  Diego, your solution was right
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2008-12-21 10:35:21 UTC
2008.0/desktop profile has USE spell enabled by default, but enchant's default USE flag is for hunspell which makes the build die by default to the check..
valid or not.

If claws-mail really needs aspell, why is the USE flag called spell? To annoy users?
Comment 7 Christian Faulhammer (RETIRED) gentoo-dev 2008-12-22 13:09:01 UTC
(In reply to comment #6)
> 2008.0/desktop profile has USE spell enabled by default, but enchant's default
> USE flag is for hunspell which makes the build die by default to the check..
> valid or not.

 Yes, but users request spell-checking abilities not using the aspell program.
 
> If claws-mail really needs aspell, why is the USE flag called spell? To annoy
> users?

 No, to give them what they requested.

But the more I think about it, I suspect a configuration failure on dirtyepic's system.

Ryan.  Do you have en_CA dictionaries installed for hunspell?  If not, please do so and try again. app-dicts/myspell-en should be suited for you.
Comment 8 Christian Faulhammer (RETIRED) gentoo-dev 2008-12-22 13:33:15 UTC
(In reply to comment #7)
> Ryan.  Do you have en_CA dictionaries installed for hunspell?  If not, please
> do so and try again. app-dicts/myspell-en should be suited for you.

 This exactly was the problem, so the USE flag check is not needed at all, if enchant is correctly configured.  Sorry for the whole confusion, but I relied on dirtyepic too much without enough checking on my own.
 Samuli, if you had discussed the issue with me or any other maintainer we maybe would have found the correct solution earlier.
 Closing this as INVALID.
Comment 9 Ryan Hill (RETIRED) gentoo-dev 2008-12-22 19:39:25 UTC
ah hell, sorry about that.  i didn't make the connection between hunspell and myspell.

drac, USE flags control functionality, not what library is used.  spell is appropriate.
Comment 10 Samuli Suominen (RETIRED) gentoo-dev 2008-12-22 20:22:35 UTC
(In reply to comment #9)
> drac, USE flags control functionality, not what library is used.  spell is
> appropriate.
(In reply to comment #8)
>  This exactly was the problem, so the USE flag check is not needed at all, if
> enchant is correctly configured.  Sorry for the whole confusion, but I relied
> on dirtyepic too much without enough checking on my own.

It's fine now if the "useless" built_with_check is gone to call it "spell".
It was the check that made me trust Opfer's judgement that aspell is required.
Thus I wanted it changed to "aspell" so user(s) can just set "aspell" in
make.conf's USE and be done with it instead of package.use / profile hassle.
But that's all obsolete now.

>  Samuli, if you had discussed the issue with me or any other maintainer we
> maybe would have found the correct solution earlier.
>  Closing this as INVALID.

True to that.
Comment 11 Peter Volkov (RETIRED) gentoo-dev 2009-01-28 10:48:17 UTC
*** Bug 256564 has been marked as a duplicate of this bug. ***