Bug 276424

Summary: misc/mc When editing any text file using mcedit, a warning appears: No word lists can be found for the language "en"
Product: Ports & Packages Reporter: Vladyslav V. Prodan <admin>
Component: Individual Port(s)Assignee: Alexey Dokuchaev <danfe>
Status: Closed FIXED    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (danfe)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Vladyslav V. Prodan 2024-01-18 14:44:30 UTC
When editing any text file using mcedit, a warning appears:
No word lists can be found for the language "en"

By default, mc generates a config /root/.config/mc/ini with this option: spell_language=en.

The situation is corrected by installing an additional package:
pkg install en-aspell

# pkg info | grep mc
mc-4.8.30_1                    Midnight Commander, a free Norton Commander clone
# pkg info | grep spell
aspell-0.60.8.1,1              Spelling checker with better suggestion logic than ispell
en-aspell-2020.12.07.0         Aspell English dictionaries
Comment 1 commit-hook freebsd_committer freebsd_triage 2024-01-31 09:38:04 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b729969ca735c302869d175990629bd21b860d27

commit b729969ca735c302869d175990629bd21b860d27
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2024-01-31 09:36:54 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2024-01-31 09:36:54 +0000

    misc/mc: update Midnight Commander to version 4.8.31

    - Added support for LZO(P) compressed files (via external program)
    - Support for native FISH server and protocol had been dropped;
      VFS renamed to generic ``shell''
    - Add missing run-time dependency on English dictionary, otherwise
      on every launch, the editor would greet the user with ``No word
      lists can be found for the language "en"'' error message
    - Disable Aspell support by default again as it turned out to be
      not just a build dependency
    - Do not pass $(E2P_CFLAGS) to ``src/vfs/local/Makefile.in'' now
      that the build issue had been fixed upstream
    - Install manpages under ${PREFIX}/share/man, per new world order

    PR:             276424 (editor nagging)
    Reported by:    portscout (new version)

 misc/mc/Makefile  | 11 +++++------
 misc/mc/distinfo  |  6 +++---
 misc/mc/pkg-plist | 50 +++++++++++++++++++++++++-------------------------
 3 files changed, 33 insertions(+), 34 deletions(-)
Comment 2 Alexey Dokuchaev freebsd_committer freebsd_triage 2024-01-31 09:40:18 UTC
Should be fixed now together with the new version update, thanks for telling!