Bug 2066621
| Summary: | perl-Gtk2-Spell-1.05-5.fc37 FTBFS: enchant error for language: en at t/0.GtkSpell.t line 36. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Petr Pisar <ppisar> |
| Component: | enchant | Assignee: | Parag Nemade <pnemade> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | lkundrak, perl-devel, ppisar, uwog |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | https://koschei.fedoraproject.org/package/perl-Gtk2-Spell | ||
| Whiteboard: | |||
| Fixed In Version: | enchant-1.6.0-30.fc36 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-04-14 09:11:18 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 2045102 | ||
|
Description
Petr Pisar
2022-03-22 08:01:47 UTC
perl-Gtk2-Spell does not hardcore any path to dictionaries. All it does is using gtkspell:
$ xvfb-run -d perl -Iblib/{lib,arch} t/0.GtkSpell.t
[...]
openat(AT_FDCWD, "/home/test/.config/enchant", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 10
newfstatat(10, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0
openat(AT_FDCWD, "/home/test/.enchant", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib64/charset.alias", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib64/enchant", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 10
newfstatat(10, "", {st_mode=S_IFDIR|0755, st_size=4096, ...}, AT_EMPTY_PATH) = 0
newfstatat(AT_FDCWD, "/usr/lib64/enchant/libenchant_myspell.so", {st_mode=S_IFREG|0755, st_size=28472, ...}, 0) = 0
openat(AT_FDCWD, "/usr/lib64/enchant/libenchant_myspell.so", O_RDONLY|O_CLOEXEC) = 11
newfstatat(11, "", {st_mode=S_IFREG|0755, st_size=28472, ...}, AT_EMPTY_PATH) = 0
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 11
newfstatat(11, "", {st_mode=S_IFREG|0644, st_size=33453, ...}, AT_EMPTY_PATH) = 0
openat(AT_FDCWD, "/lib64/libhunspell-1.7.so.0", O_RDONLY|O_CLOEXEC) = 11
newfstatat(11, "", {st_mode=S_IFREG|0755, st_size=562944, ...}, AT_EMPTY_PATH) = 0
openat(AT_FDCWD, "/lib64/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = 11
newfstatat(11, "", {st_mode=S_IFREG|0755, st_size=2360104, ...}, AT_EMPTY_PATH) = 0
openat(AT_FDCWD, "/lib64/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 11
newfstatat(11, "", {st_mode=S_IFREG|0755, st_size=128520, ...}, AT_EMPTY_PATH) = 0
openat(AT_FDCWD, "/lib64/libtinfo.so.6", O_RDONLY|O_CLOEXEC) = 11
newfstatat(11, "", {st_mode=S_IFREG|0755, st_size=191680, ...}, AT_EMPTY_PATH) = 0
openat(AT_FDCWD, "/usr/share/enchant/enchant.ordering", O_RDONLY) = 10
newfstatat(10, "", {st_mode=S_IFREG|0644, st_size=167, ...}, AT_EMPTY_PATH) = 0
openat(AT_FDCWD, "/home/test/.enchant/enchant.ordering", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/test/.config/enchant/enchant.ordering", O_RDONLY) = -1 ENOENT (No such file or directory)
access("/home/test/.config/enchant/myspell/en.dic", F_OK) = -1 ENOENT (No such file or directory)
access("/home/test/.enchant/myspell/en.dic", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/local/share/myspell/dicts/en.dic", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/share/myspell/dicts/en.dic", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/share/enchant/myspell/en.dic", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/share/myspell/en.dic", F_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/test/.config/enchant/myspell", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/test/.enchant/myspell", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/local/share/myspell/dicts", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/myspell/dicts", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/enchant/myspell", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/myspell", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 10
newfstatat(10, "", {st_mode=S_IFDIR|0755, st_size=4096, ...}, AT_EMPTY_PATH) = 0
access("/home/test/.config/enchant/myspell/en.dic", F_OK) = -1 ENOENT (No such file or directory)
access("/home/test/.enchant/myspell/en.dic", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/local/share/myspell/dicts/en.dic", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/share/myspell/dicts/en.dic", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/share/enchant/myspell/en.dic", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/share/myspell/en.dic", F_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/test/.config/enchant/myspell", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/test/.enchant/myspell", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/local/share/myspell/dicts", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/myspell/dicts", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/enchant/myspell", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/myspell", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 10
newfstatat(10, "", {st_mode=S_IFDIR|0755, st_size=4096, ...}, AT_EMPTY_PATH) = 0
enchant error for language: en at t/0.GtkSpell.t line 36.
# Looks like your test exited with 255 just after 2.
The locale is LANG=en_US.UTF-8, /usr/share/myspell is an empty directory and /usr/share/hunspell directory contains en_US.dic and en_US.aff files.
# rpm -qa |grep spell | sort gtkspell-devel-2.0.16-25.fc36.x86_64 gtkspell-2.0.16-25.fc36.x86_64 hunspell-en-US-0.20140811.1-22.fc36.noarch hunspell-filesystem-1.7.0-19.fc37.x86_64 hunspell-1.7.0-19.fc37.x86_64 # rpm -qa |grep enchant |sort enchant-1.6.0-29.fc36.x86_64 python3-enchant-3.2.2-2.fc36.noarch It looks like a bug in enchant: $ enchant -l Couldn't create a dictionary for en_US.UTF-8 $ enchant-lsmod myspell (Myspell Provider) See? Enchant does not support hunspell, hence it does not search /usr/share/hunspell. |