mc editor (F4 or mcedit directly) throws an error: 'No word lists can be found for the language "en".' [ebuild R ] app-misc/mc-4.8.26-r2::gentoo USE="X edit gpm nls slang spell unicode xdg -samba -sftp -test" 0 KiB This came after 'emerge --depclean' removed app-dicts/aspell-en. After manually installing this package the problem was gone. Shouldn't the package be installed as a dependency?
Is this a new issue? Or does it happen with older mc(edit) versions as well?
It happened with mc-4.8.26-r1, I don't know about older versions. I realized the issue happened after updating to app-text/aspell-0.60.8-r1. Older version (0.60.8) pulled app-dicts/aspell-en as a dependency and there was no issue with mc.
*I don't know about more older versions.
Happens here as well. The error looks reasonable. What behaviour change you'd like? No warning at all or warn once during a session?
I don't know. I thought aspell-en is mandatory needed for mc with USE "spell" but I see it actually isn't, but you have to edit ini config manually and change "spell_language" since default value is "en" anyway. So just adding aspell-en as a dependency may be a bad idea. Maybe adding a warning in ebuild (log) would be better.
Should be a matter of adding a few lines to https://gitweb.gentoo.org/repo/gentoo.git/tree/app-misc/mc/mc-4.8.26-r2.ebuild#n117 Do you want to write a patch?
Created attachment 706065 [details, diff] ebuild patch Maybe something like this (sorry, english is not my native language)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50a75543c991ba5dcdee0791f5e6452f49de643e commit 50a75543c991ba5dcdee0791f5e6452f49de643e Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2021-05-05 08:32:26 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2021-05-05 08:33:00 +0000 app-misc/mc: add an elog entry on aspell configuration Fix-by: aporilel@yandex.ru Closes: https://bugs.gentoo.org/788151 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> app-misc/mc/mc-4.8.26-r2.ebuild | 7 +++++++ app-misc/mc/mc-9999.ebuild | 6 ++++++ 2 files changed, 13 insertions(+)
Pushed with minor quoting change. Thank you!