Gentoo Archives: gentoo-user

From: Michael Higgins <linux@×××××××.org>
To: gentoo-user@l.g.o
Subject: [gentoo-user] is it enchant stable on x86 -- oh, my spell checker, where did it go?
Date: Mon, 26 Jan 2009 19:59:32
Message-Id: 20090126115948.033937fd@lappy.evolone.org
1 Claws-mail
2 version 3.7.0
3 Locale: en_US.UTF-8 (charset: UTF-8)
4
5 Spell checker could not be started.
6 Couldn't initialize en dictionary:
7 (null)
8 Couldn't initialize en speller.
9
10 eix app-dicts/*en
11
12 [I] app-dicts/aspell-en
13 Available versions: 0.51.0 0.51.1 6.0.0
14 Installed versions: 6.0.0(08:11:33 AM 04/15/2008)
15 Homepage: http://aspell.net
16 Description: English (US, British, Canadian) language dictionary for aspell
17
18 ???
19
20 Did someone change an ebuild, or profile or something, without an announcement somewhere?
21
22 <grumble>
23 I get the feeling, more and more, that there isn't a rudder, or even common sense. If someone makes changes that, simply put, break systems, shouldn't they make an effort to advertise it beforehand? With a suggested fix?
24 </grumble>
25
26 http://bugs.gentoo.org/show_bug.cgi?id=250115
27
28 http://bugs.gentoo.org/show_bug.cgi?id=250573
29
30 And even http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=1801
31
32 So, maybe I'm not the only one who found a problem.
33
34 eix app-dicts/*en
35 [I] app-dicts/aspell-en
36 Available versions: 0.51.0 0.51.1 6.0.0
37 Installed versions: 6.0.0(08:11:33 AM 04/15/2008)
38 Homepage: http://aspell.net
39 Description: English (US, British, Canadian) language dictionary for aspell
40
41 equery depends app-dicts/aspell-en
42 [ Searching for packages depending on app-dicts/aspell-en... ]
43 app-text/aspell-0.60.5 (!linguas_vi & !linguas_uk & !linguas_sv & !linguas_sr & !linguas_sl & !linguas_sk & !linguas_ru & !linguas_ro & !linguas_pt & !linguas_pl & !linguas_no & !linguas_nl & !linguas_it & !linguas_is & !linguas_hr & !linguas_he & !linguas_gl & !linguas_ga & !linguas_fr & !linguas_fo & !linguas_fi & !linguas_et & !linguas_es & !linguas_eo & !linguas_en & !linguas_el & !linguas_de & !linguas_da & !linguas_cy & !linguas_cs & !linguas_ca & !linguas_br & !linguas_bg & !linguas_be & !linguas_af? app-dicts/aspell-en)
44 (linguas_en? app-dicts/aspell-en)
45 app-text/enchant-1.4.2 (aspell? virtual/aspell-dict)
46
47 [I] app-text/enchant
48 Available versions: 1.2.5 1.3.0 1.4.2 {aspell hunspell zemberek}
49 Installed versions: 1.4.2(07:07:10 PM 01/25/2009)(hunspell -aspell -zemberek)
50 Homepage: http://www.abisource.com/enchant/
51 Description: Spellchecker wrapping library
52
53 So, what is a user supposed to do in this case? It appears that the profile, or something, is defaulted to something other than what it did before (aspell --> hunspell maybe?), but this change maybe wasn't propogated to the user who needs to do something, I suppose. At least, not this user... where did the change originate? This was updated yesterday, so I assume this really is the culprit.
54
55 Anyway, I put it to the list, should this be something we are told about before we have to go searching for the solution to yet another ebuild-related problem? Is there a dev-announce list I should be subscribing to? Why wouldn't those announcements go here, for example? (Ah, the dead horse isn't moving.)
56
57 If so, where is/was it? Anyway, it would seem the solution is to change my enchant use flags, or build a different set of dictionaries. Shouldn't there be a post-install check, or something?
58
59 alculating dependencies... done!
60 [ebuild R ] app-text/enchant-1.4.2 USE="hunspell -aspell -zemberek" 0 kB
61
62 Total: 1 package (1 reinstall), Size of downloads: 0 kB
63
64 Would you like to merge these packages? [Yes/No] n
65
66 Quitting.
67
68 lappy ~ # grep enchant /var/lib/portage/world
69
70 Geez! I was about to pollute world. Hello, WTF????
71
72 app-office/abiword-2.6.4 (spell? >=app-text/enchant-1.2)
73 app-text/gtkspell-2.0.14 (>=app-text/enchant-1.1.6)
74 mail-client/claws-mail-3.7.0 (spell? >=app-text/enchant-1.0.0)
75
76 So, is abiword spellcheck broken too? Yep.
77
78 I just rebuild 'enchant', there were no messages that my system would be broken.
79
80 [ebuild R ] app-office/abiword-2.6.4 USE="gnome spell -debug -xml" 0 kB
81
82 So, "spell" enabled. Why not working?
83
84 Anyway, I don't know the best route to proceed. It seems like 'aspell' is just orphaned on my system, since it isn't used. I didn't make that choice to orphan it, or break the spellchecking.
85
86 Checking again, nowhere is 'aspell' or 'hunspell' specified in my use flags.
87
88 Thoughts, anyone?
89
90 Google search causes many hits, no doubt the solution is either to remove 'aspell' and emerge hunspell en dicts, or add 'aspell' use, but since this is a dependency enabled by default somewhere, why doesn't it try to, or prompt to, install a proper dictionary if the default changed by devs?
91
92 diff enchant-1.4.2.ebuild /usr/portage/app-text/enchant/enchant-1.4.2.ebuild
93 1c1
94 < # Copyright 1999-2008 Gentoo Foundation
95 ---
96 > # Copyright 1999-2009 Gentoo Foundation
97 3c3
98 < # $Header: /var/cvsroot/gentoo-x86/app-text/enchant/enchant-1.4.2.ebuild,v 1.2 2008/07/20 06:04:56 serkan Exp $
99 ---
100 > # $Header: /var/cvsroot/gentoo-x86/app-text/enchant/enchant-1.4.2.ebuild,v 1.5 2009/01/23 22:37:39 maekke Exp $
101 14c14
102 < KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
103 ---
104 > KEYWORDS="~alpha amd64 hppa ~ia64 ~ppc ~ppc64 sparc x86 ~x86-fbsd"
105 ^^^
106
107 Hmm. I think I found the problem, the cause, the culprit:
108
109 http://bugs.gentoo.org/show_bug.cgi?id=255691
110
111 Well, maybe I'll be the only one to have a problem after all. Indeed, emerging the 'myspell' dictionary (for 'hunspell', apparently) fixes the problems. I'll send this anyway, in case it helps someone else save time. :(
112
113 --
114 |\ /| | | ~ ~
115 | \/ | |---| `|` ?
116 | |ichael | |iggins \^ /
117 michael.higgins[at]evolone[dot]org