FS#68499 - [enchant] Warnings about optional dependencies.

Attached to Project: Arch Linux
Opened by Dinko Ninev (dinko) - Monday, 02 November 2020, 08:06 GMT
Last edited by Eli Schwartz (eschwartz) - Monday, 02 November 2020, 12:13 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

When enchant is installed without it optional dependencies it produces warnings to STDERR like this:

** (process:6307): WARNING **: 09:55:25.206: Error loading plugin: libvoikko.so.1: cannot open shared object file: No such file or directory
** (process:6523): WARNING **: 09:55:25.209: Error loading plugin: libhspell.so.0: cannot open shared object file: No such file or directory

This brakes Emacs flyspell spell check for example. Removing /usr/lib/enchant-2/enchant_voikko.so and Removing /usr/lib/enchant-2/enchant_hspell.so fixes the problem.

Maybe this files should be in separate packages enchant-voikko and enchant-hspell. This is how it's done in Fedora for example.


Steps to reproduce:

Install enchant without libvoikko and hspell installed, run enchant-lsmod-2.
This task depends upon

Closed by  Eli Schwartz (eschwartz)
Monday, 02 November 2020, 12:13 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Warnings are not errors. If emacs Flyspell doesn't work upon seeing enchant *warnings*, Flyspell should be fixed.

Feel free to discuss with enchant upstream, whether it is appropriate to log warnings to stderr.

Loading...