[Bug 1089434] New: enchant-2 voikko backend installed but not hunspell backend despite en.GB language settings
http://bugzilla.opensuse.org/show_bug.cgi?id=1089434 Bug ID: 1089434 Summary: enchant-2 voikko backend installed but not hunspell backend despite en.GB language settings Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Major Priority: P5 - None Component: GNOME Assignee: bnc-team-gnome@forge.provo.novell.com Reporter: badshah400@gmail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- This must have happened fairly recently, but I noticed only after finding every English word marked in red when composing emails. Apparently, enchant-2 does not automatically install the hunspell backend despite one's locale setting being set to en.GB. The voikko backend is installed, however, thus automatically treating all spell-checking inputs as Finnish (and marking them obviously). Manually installing enchant-2-backend-hunspell did the trick, since the correct myspell dicts were already installed. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1089434 http://bugzilla.opensuse.org/show_bug.cgi?id=1089434#c1 Luciano Santos <luc14n0@linuxmail.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CONFIRMED CC| |luc14n0@linuxmail.org, | |os.gnome.maintainers@gmail. | |com Found By|--- |Community User --- Comment #1 from Luciano Santos <luc14n0@linuxmail.org> --- I could confirm it so I digged my zypper history: 2017-09-17 18:45:13|install|libhunspell-1_6-0|1.6.1-1.2 2017-10-21 20:10:37|install|libhunspell-1_6-0|1.6.1-1.3 2017-11-09 19:47:48|install|libhunspell-1_6-0|1.6.2-1.1 2018-01-16 22:55:47|install|libhunspell-1_6-0|1.6.2-1.2 2018-03-16 20:01:39|install|libvoikko1|4.1.1-2.1 2018-03-16 20:11:47|install|libenchant-2-2|2.2.3-59.2 2018-03-16 20:11:48|install|enchant-2-backend-voikko|2.2.3-59.2 2018-03-18 19:19:16|install|enchant-2-backend-voikko|2.2.3-59.4 2018-03-18 19:19:20|install|libenchant-2-2|2.2.3-59.4 2018-05-12 19:41:02|install|enchant-2-backend-voikko|2.2.3-59.5 2018-05-12 19:41:06|install|libenchant-2-2|2.2.3-59.5 2018-05-22 19:20:15|install|libvoikko1|4.1.1-3.1 2018-05-26 19:42:20|install|enchant-2-backend-hunspell|2.2.3-59.5 Useful info: * libenchant-2-2 has a Requires tag for the virtual package enchant-2-backend provided by _enchant-2-backend-voikko_ and _enchant-2-backend-hunspell_. * enchant-2-backend-voikko has a Supplements tag and will be installed if libenchant2-2 and libvoikko are installed. * enchant-2-backend-hunspell has a Supplements tag and will be installed if libenchant2-2 and libhunspell are installed. We can see that the Supplements tags are not working because: 1) enchant-2-backend-hunspell is not being installed and; 2) the enchant-2-backend-voikko Supplements tag has a typo that prevents it to work. When some package uses a `Requires: $virtual_package_name` and more than one package provides $virtual_package_name the dependency solver will check the system, if a package which provides $virtual_package_name is not found one will be installed. I'm thinking since Supplements tags are weak dependencies it's being suppressed by the Requires one. The Requires tag behavior when facing multiple $virtual_package_name's seems to be to only make sure at least one package which provides $virtual_package_name is installed, if it's not one will be installed rather than _every_ package which provides it. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1089434 http://bugzilla.opensuse.org/show_bug.cgi?id=1089434#c2 Moritz Duge <duge@pre-sense.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |duge@pre-sense.de --- Comment #2 from Moritz Duge <duge@pre-sense.de> --- Analogous bug for openSUSE-15.2: https://bugzilla.opensuse.org/show_bug.cgi?id=1174896 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1089434 http://bugzilla.opensuse.org/show_bug.cgi?id=1089434#c3 Emiliano Langella <emiliano.langella@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |emiliano.langella@suse.com --- Comment #3 from Emiliano Langella <emiliano.langella@suse.com> --- openSUSE Leap 15.3 is also affected by this bug. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1089434 Yifan Jiang <yfjiang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gnome-bugs@suse.de, | |yfjiang@suse.com Assignee|gnome-bugs@suse.de |qkzhu@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1089434 http://bugzilla.opensuse.org/show_bug.cgi?id=1089434#c6 --- Comment #6 from QK ZHU <qkzhu@suse.com> --- Hmm, I checked this on a fresh installed TW 20211107 with: en_GB.UTF-8. enchant-2-backend-hunspell was installed automatically. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1089434 http://bugzilla.opensuse.org/show_bug.cgi?id=1089434#c7 QK ZHU <qkzhu@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |badshah400@gmail.com Flags| |needinfo?(badshah400@gmail. | |com) --- Comment #7 from QK ZHU <qkzhu@suse.com> --- The weak reference (Supplements) was dropped once by Atri: - https://build.opensuse.org/request/show/613057 (though the bug reference number in the changelog is wrong) However, this request was immediately reverted by Dominique��� - https://build.opensuse.org/package/rdiff/openSUSE:Factory/enchant?linkrev=base&rev=32 Hi Dominique and Atri, what do you think about this bug? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1089434 QK ZHU <qkzhu@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dleuenberger@suse.com Flags| |needinfo?(dleuenberger@suse | |.com) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1089434 http://bugzilla.opensuse.org/show_bug.cgi?id=1089434#c9 Atri Bhattacharya <badshah400@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(badshah400@gmail. | |com) | --- Comment #9 from Atri Bhattacharya <badshah400@gmail.com> --- I can't reproduce this on a fresh Leap 15.3 system (docker). Here is how it goes: ``` 29812fbb2fc5:/ # zypper in libenchant-2-2 Loading repository data... Reading installed packages... Resolving package dependencies... The following 5 NEW packages are going to be installed: enchant-2-backend-hunspell enchant-data libenchant-2-2 libgmodule-2_0-0 libhunspell-1_6-0 5 new packages to install. Overall download size: 299.0 KiB. Already cached: 0 B. After the operation, additional 569.4 KiB will be used. Continue? [y/n/v/...? shows all options] (y): n ``` The supplements work fine here. Some info about how to reproduce the issue would be useful. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1089434 http://bugzilla.opensuse.org/show_bug.cgi?id=1089434#c10 Atri Bhattacharya <badshah400@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |qkzhu@suse.com Flags| |needinfo?(qkzhu@suse.com) --- Comment #10 from Atri Bhattacharya <badshah400@gmail.com> --- @qkzhu Would you please pick up a related fix from here: <https://build.opensuse.org/project/show/home:badshah400:branches:OBS_Maintained:enchant> for SLE and Leap:15.X? Thanks. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1089434 http://bugzilla.opensuse.org/show_bug.cgi?id=1089434#c11 QK ZHU <qkzhu@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(qkzhu@suse.com) | --- Comment #11 from QK ZHU <qkzhu@suse.com> --- (In reply to Atri Bhattacharya from comment #10)
@qkzhu Would you please pick up a related fix from here:
<https://build.opensuse.org/project/show/home:badshah400:branches: OBS_Maintained:enchant>
for SLE and Leap:15.X?
Thanks.
Thanks Atri, SLE and Leap 15.4 will inherit from GNOME:STABLE:41/enchant which already contains the fix in GNOME:Factory. I submitted your fix to 15.3 and 15.2: - https://build.suse.de/request/show/262059 -- You are receiving this mail because: You are on the CC list for the bug.
participants (2)
-
bugzilla_noreply@novell.com
-
bugzilla_noreply@suse.com