Hi,

Based on what you wrote, I surmise that shared library import warning logs are irrelevant for users, and those warnings can also be filtered out from system logs when debugging real problems.

So it leads me to conclude that this package is not sufficiently useful to users to justify having this lesser-functionality duplicate in AUR.

If the reported warnings have relevant detrimental effects, I suggest that you file an Arch bug ticket. Also, repo's enchant could solve this issue by making a split package of it, and putting each spell checking engine related .so library in separate subpackages, which in turn should each depend on their respective engine library, with the main enchant package optdepending on these engine-specific split 'enchant-*' packages.


On 11 November 2023 17:57:05 GMT+01:00, Behnam Momeni <s.b.momeni@gmail.com> wrote:

Greetings MarsSeed and Marcell,


The enchant-pure is more "pure" than extra repo's version because it is built by disabling all backends, but the aspell and hunspell which allow all languages to be enabled/disabled selectively. If we install those other backends, they will be detected and used at runtime with no issue too (as demonstrated by the enchant-hspell AUR package).

However, the extra repo's version is built by enabling all backend engines. Therefore, even when those backends are not installed, the built enchant contains those (missing) dependencies binding.

This problem can be seen by running "gedit" as an example enchant client, after installing the extra repo's version of enchant package, and watching its warnings in the console (open gedit with the enchant-pure version and no such warning will be printed):


(gedit:6143): libenchant-WARNING **: 20:05:16.243: Error loading plugin: libvoikko.so.1: cannot open shared object file: No such file or directory

(gedit:6143): libenchant-WARNING **: 20:05:16.243: Error loading plugin: libnuspell.so.5: cannot open shared object file: No such file or directory

(gedit:6143): libenchant-WARNING **: 20:05:16.243: Error loading plugin: libhspell.so.0: cannot open shared object file: No such file or directory

(gedit:6143): libenchant-WARNING **: 20:05:16.259: Error loading plugin: libvoikko.so.1: cannot open shared object file: No such file or directory

(gedit:6143): libenchant-WARNING **: 20:05:16.260: Error loading plugin: libnuspell.so.5: cannot open shared object file: No such file or directory

(gedit:6143): libenchant-WARNING **: 20:05:16.261: Error loading plugin: libhspell.so.0: cannot open shared object file: No such file or directory

On 11/11/23 12:30, Marcell Meszaros wrote:
Actually this has not one, but two more mandatory spell checker library depends compared to repo's enchant. So it is even more "impure", to coin this package's weird choice of qualifier suffix.

On 11 November 2023 09:49:08 GMT+01:00, notify@aur.archlinux.org wrote:
MarsSeed [1] filed a deletion request for enchant-pure [2]:

Unneeded duplicate of extra/enchant, with misleading name.

This is less "pure" than extra repo's package, because it has one more
mandatory depends than the latter.

The repo package defines its dependency on all spell checking engines
as optional.

[1] https://aur.archlinux.org/account/MarsSeed/
[2] https://aur.archlinux.org/pkgbase/enchant-pure/
-- 
Best Regards,
Behnam Momeni