Hello, 2022년 12월 31일 (토) 오후 5:36, Rene Engelhard <r...@debian.org>님이 작성:
> It even fails here locally with 1.7.2+really1.7.1-2 which I needed to do > due to > https://ci.debian.net/data/autopkgtest/testing/amd64/r/r-cran-hunspell/29793480/log.gz. > > In a clean chroot + test deps + python3 (see #1027417), I get: > > rene@frodo:~/hunspell-dict-ko-0.7.92$ make hosttest > HOST_DICT_PATH=/usr/share/hunspell/ko > make -C tests test DICT=/usr/share/hunspell/ko > make[1]: Entering directory '/home/rene/hunspell-dict-ko-0.7.92/tests' > echo | hunspell -d /usr/share/hunspell/ko | head -1 > Hunspell 1.7.1 - hunspell-dict-ko 0.7.92 (requires Hunspell 1.3.1) > https://spellcheck-ko.github.io/ > python3 checkhunspellversion.py > Testing 001-pos-dependent-inflection.test... > error - iconv: ANSI_X3.4-1968 -> UTF-8 > error - iconv: ANSI_X3.4-1968 -> UTF-8 > ..... > make[1]: *** [Makefile:9: test] Error 1 > make[1]: Leaving directory '/home/rene/hunspell-dict-ko-0.7.92/tests' > make: *** [Makefile:53: hosttest] Error 2 > > This is with LANG=C but C.UTF-8 or even ko_KR.UTF-8 have the same problem. > > Somehow I don't believe it's hunspell at fault here (especially as 1.7.1 > now also fails and it obviously passed once), but... I can't reproduce it myself. In your test, every word failed to be checked with the same error and the error message came from hunspell, when iconv() conversion on text fails. Probably your chroot environment lacked some libs necessary for iconv(). There is a successful autopkgtest log with hunspell 1.7.2+really1.7.1-2: https://ci.debian.net/data/autopkgtest/testing/amd64/h/hunspell-dict-ko/29801950/log.gz