Your message dated Tue, 27 Oct 2026 15:49:46 +0000
with message-id <[email protected]>
and subject line Bug#1077268: fixed in hunspell 1.7.6-1
has caused the Debian Bug report #1077268,
regarding hunspell LIBDIR, USEROOODIR and OOO are either obsolete or wrong
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1077268: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1077268
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: hunspell
Version: 1.7.2+really1.7.2-10+b2
Severity: normal
X-Debbugs-Cc: [email protected]

Dear Maintainer,

`hunspell -D' shows either MacOS, obsolete or incorrect paths:

---%>---
$ hunspell -D
SEARCH PATH:
.::/usr/share/hunspell:/usr/share/myspell:/usr/share/myspell/dicts:/Library/Spelling:/home/jiri/.openoffice.org/3/user/wordbook:/home/jiri/.openoffice.org2/user/wordbook:/home/jiri/.openoffice.org2.0/user/wordbook:/home/jiri/Library/Spelling:/opt/openoffice.org/basis3.0/share/dict/ooo:/usr/lib/openoffice.org/basis3.0/share/dict/ooo:/opt/openoffice.org2.4/share/dict/ooo:/usr/lib/openoffice.org2.4/share/dict/ooo:/opt/openoffice.org2.3/share/dict/ooo:/usr/lib/openoffice.org2.3/share/dict/ooo:/opt/openoffice.org2.2/share/dict/ooo:/usr/lib/openoffice.org2.2/share/dict/ooo:/opt/openoffice.org2.1/share/dict/ooo:/usr/lib/openoffice.org2.1/share/dict/ooo:/opt/openoffice.org2.0/share/dict/ooo:/usr/lib/openoffice.org2.0/share/dict/ooo
AVAILABLE DICTIONARIES (path is not mandatory for -d option):
/usr/share/hunspell/en_US
/usr/share/hunspell/cs_CZ
/usr/share/hunspell/cs
/usr/share/hunspell/it_IT
/usr/share/hunspell/it_CH
/usr/share/myspell/dicts/cs
/usr/share/myspell/dicts/cs_CZ
LOADED DICTIONARY:
/usr/share/hunspell/en_US.aff
/usr/share/hunspell/en_US.dic
---%<---

For example, hunspell in OpenBSD ports patches that in the following way:

---%>---
Index: src/tools/hunspell.cxx
--- src/tools/hunspell.cxx.orig
+++ src/tools/hunspell.cxx
@@ -116,28 +116,14 @@
 #include "../parsers/odfparser.hxx"

 #define LIBDIR                \
-  "/usr/share/hunspell:"      \
-  "/usr/share/myspell:"       \
-  "/usr/share/myspell/dicts:" \
-  "/Library/Spelling"
+  "${PREFIX}/share/hunspell:" \
+  "${LOCALBASE}/share/myspell:" \
+  "${LOCALBASE}/share/myspell/dicts:" \
+  "${LOCALBASE}/share/mozilla-dicts"
 #define USEROOODIR {                  \
-  ".openoffice.org/3/user/wordbook", \
-  ".openoffice.org2/user/wordbook",  \
-  ".openoffice.org2.0/user/wordbook",\
-  "Library/Spelling" }
+  ".config/libreoffice/4/user/wordbook" }
 #define OOODIR                                       \
-  "/opt/openoffice.org/basis3.0/share/dict/ooo:"     \
-  "/usr/lib/openoffice.org/basis3.0/share/dict/ooo:" \
-  "/opt/openoffice.org2.4/share/dict/ooo:"           \
-  "/usr/lib/openoffice.org2.4/share/dict/ooo:"       \
-  "/opt/openoffice.org2.3/share/dict/ooo:"           \
-  "/usr/lib/openoffice.org2.3/share/dict/ooo:"       \
-  "/opt/openoffice.org2.2/share/dict/ooo:"           \
-  "/usr/lib/openoffice.org2.2/share/dict/ooo:"       \
-  "/opt/openoffice.org2.1/share/dict/ooo:"           \
-  "/usr/lib/openoffice.org2.1/share/dict/ooo:"       \
-  "/opt/openoffice.org2.0/share/dict/ooo:"           \
-  "/usr/lib/openoffice.org2.0/share/dict/ooo"
+  "${LOCALBASE}/lib/libreoffice/share/wordbook"
 #define HOME getenv("HOME")
 #define DICBASENAME ".hunspell_"
 #define LOGFILE "/tmp/hunspell.log"
---%<---

Cf.
https://raw.githubusercontent.com/openbsd/ports/master/textproc/hunspell/patches/patch-
src_tools_hunspell_cxx .

---%>---
$ hunspell -D 2>&1 | awk 'function cmd(path) { system(sprintf("ls -ld \"%s\"",
path)) } /SEARCH PATH:/ { getline; split($0, paths, ":"); for (i in paths)
paths[i] ? cmd(paths[i]) : true }'
drwx--x---+ 80 jiri jiri 8192 Jul 27 17:07 .
drwxr-xr-x. 2 root root 170 Jul  9 12:46 /usr/share/hunspell
drwxr-xr-x. 3 root root 19 Jan  5  2024 /usr/share/myspell
drwxr-xr-x. 2 root root 68 Jan  5  2024 /usr/share/myspell/dicts
ls: cannot access '/Library/Spelling': No such file or directory
ls: cannot access '/home/jiri/.openoffice.org/3/user/wordbook': No such file or
directory
ls: cannot access '/home/jiri/.openoffice.org2/user/wordbook': No such file or
directory
ls: cannot access '/home/jiri/.openoffice.org2.0/user/wordbook': No such file
or directory
ls: cannot access '/home/jiri/Library/Spelling': No such file or directory
ls: cannot access '/opt/openoffice.org/basis3.0/share/dict/ooo': No such file
or directory
ls: cannot access '/usr/lib/openoffice.org/basis3.0/share/dict/ooo': No such
file or directory
ls: cannot access '/opt/openoffice.org2.4/share/dict/ooo': No such file or
directory
ls: cannot access '/usr/lib/openoffice.org2.4/share/dict/ooo': No such file or
directory
ls: cannot access '/opt/openoffice.org2.3/share/dict/ooo': No such file or
directory
ls: cannot access '/usr/lib/openoffice.org2.3/share/dict/ooo': No such file or
directory
ls: cannot access '/opt/openoffice.org2.2/share/dict/ooo': No such file or
directory
ls: cannot access '/usr/lib/openoffice.org2.2/share/dict/ooo': No such file or
directory
ls: cannot access '/opt/openoffice.org2.1/share/dict/ooo': No such file or
directory
ls: cannot access '/usr/lib/openoffice.org2.1/share/dict/ooo': No such file or
directory
ls: cannot access '/opt/openoffice.org2.0/share/dict/ooo': No such file or
directory
ls: cannot access '/usr/lib/openoffice.org2.0/share/dict/ooo': No such file or
directory

$ ls -l ~/.config/libreoffice/4/user/wordbook
total 4
-rw-r--r--. 1 jiri jiri 3917 Jul 20 22:04 standard.dic
---%<---

* What led up to the situation?

I was checking how hunspell might work with LO dictionaries.

* What exactly did you do (or not do) that was effective (or ineffective)?

Next, I checked if `hunspell' is able to read my LO dict, but it wasn't.

* What was the outcome of this action?

hunspell returns "bad (rejected) work - with '&', that is, with suggestion -
for a work
which is correct and present in my dictionary; an example:

---%>---
$ hunspell -d cs_CZ <<< "autobusáků"
Hunspell 1.7.2
& autobusáků 1 0: autobusů
---%<---

* What outcome did you expect instead?

I expected the previous command would return '*' as the word is present it my
LO user dict:

---%>---
$ grep -n 'autobusáků' ~/.config/libreoffice/4/user/wordbook/standard.dic
114:autobusáků
---%<---

The workaround is to use `-p
~/.config/libreoffice/4/user/wordbook/standard.dic', but I would
expect `hunspell' would use such a path automatically - see OpenBSD hunspell
diff.

---%>---
hunspell -d cs_CZ -p ~/.config/libreoffice/4/user/wordbook/standard.dic <<<
"autobusáků"
error - iconv: ISO8859-2 -> UTF-8
Hunspell 1.7.2
*
---%<---


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.9.9-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: SELinux: enabled - Mode: Permissive - Policy name: default

Versions of packages hunspell depends on:
ii  hunspell-en-us [hunspell-dictionary]  1:2020.12.07-2
ii  hunspell-it [hunspell-dictionary]     1:24.8.0~rc1-1
ii  libc6                                 2.39-6
ii  libgcc-s1                             14.1.0-5
ii  libhunspell-1.7-0                     1.7.2+really1.7.2-10+b2
ii  libncursesw6                          6.5-2
ii  libreadline8t64                       8.2-4
ii  libstdc++6                            14.1.0-5
ii  libtinfo6                             6.5-2
ii  myspell-cs [myspell-dictionary]       20040229-8

hunspell recommends no packages.

Versions of packages hunspell suggests:
ii  unzip  6.0-28

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: hunspell
Source-Version: 1.7.6-1
Done: Rene Engelhard <[email protected]>

We believe that the bug you reported is fixed in the latest version of
hunspell, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Rene Engelhard <[email protected]> (supplier of updated hunspell package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 27 Oct 2026 15:16:02 +0100
Source: hunspell
Architecture: source
Version: 1.7.6-1
Distribution: experimental
Urgency: medium
Maintainer: Debian LibreOffice Maintainers <[email protected]>
Changed-By: Rene Engelhard <[email protected]>
Closes: 1077268
Changes:
 hunspell (1.7.6-1) experimental; urgency=medium
 .
   * New upstream version 1.7.6
     - does not search (obsolete) OpenOffice.org etc dirs anymore
       (closes: 1077268)
Checksums-Sha1:
 9ffb0a83ae04365ed0ffe36e4e5c1736a4232742 2321 hunspell_1.7.6-1.dsc
 ce9b791419d9d4357423233d1beb7b4647618d92 595358 hunspell_1.7.6.orig.tar.gz
 08bdf9c344c64636e117ba998d57fd863a0f4036 23888 hunspell_1.7.6-1.debian.tar.xz
 41a7120abbb6ff17215e1bc2facf8753d1e17ef2 5979 hunspell_1.7.6-1_source.buildinfo
Checksums-Sha256:
 a03a517e15bc6f3f746a199d5f3561d70892b5ba834c37d0eb5480d7ccc14f4c 2321 
hunspell_1.7.6-1.dsc
 4fa9c52a5337fb0a3e03f3212b6372d0159eac3d1a3e6e938e8897ff3d9c3d0c 595358 
hunspell_1.7.6.orig.tar.gz
 5c9d454075fcfdedb5ed2849a54f859d6d554d2a4208a797dc9f97b940ddd5f3 23888 
hunspell_1.7.6-1.debian.tar.xz
 4120647b32186b432b5ae7fc11591ea14591152aa894eff219f820f5491f99ae 5979 
hunspell_1.7.6-1_source.buildinfo
Files:
 c316134ed42d970b30942155a2a52c25 2321 text optional hunspell_1.7.6-1.dsc
 39f34b36096422e6d6c454a9fd698034 595358 text optional 
hunspell_1.7.6.orig.tar.gz
 218659217f5f0601ddccbe022167efc8 23888 text optional 
hunspell_1.7.6-1.debian.tar.xz
 ddc26d03a491b29607ebf36d85838054 5979 text optional 
hunspell_1.7.6-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJEBAEBCgAuFiEE4S3qRnUGcM+pYIAdCqBFcdA+PnAFAmrgwlYQHHJlbmVAZGVi
aWFuLm9yZwAKCRAKoEVx0D4+cOwDEADPC2RKzaP39n9MRyl/fUs50da5kl2KKxIt
xRKnCVpCVAsQLByEVfwX3Z/j2RNCKoY5NDHPcgL9WJmWWnBmblci3Ij9W10mbqdG
0tFHreKWq/LsH9+H7x3u8uUDHAPxJ8DKiGyA68T3X4VXFVhTbKQq+SiCSnXqhWQg
78I4SlOYdgeWTUpmXOIXZ3GLSQVRlU7/VbdciahY9bN2bXPDb4j5/0jqaYdGCc1o
jZL9FRRXBFIC560OoBTy6cFf2bFp2pkuqua/c8HDHHqE1FFQvOUSjrkqo2Jc2mTH
gERXhWOfGWnQ1DjhP0rg+CLw9vG+/qzenXn3Vywa/+VxrO5nEWdOKS/9sGf9WlAf
FnzgiYk792BzPUFrRKat0vTUckVc1OfwgeV6dOE3NKBrUV11z/3UxJAGDorXiIME
6RtmxhA5Y/21uOxhtzHwjh9JypWaAyweJqTGS4M4niHy4QF0yqDKeDY8o4TDqq0i
kc7pFW8mXLnpIy9P1/keCFgzgE/5WuIHP27vpUGXJ5pY/c+fAAr86F+mf76yyCO8
JA1YJnrvfhzNiN7ot0iypeDOph9gHoY22JDuJjU3SQsEaupN5J5t2Pc3Zr8tIIuk
g+5dBZOPh/s7Wm5uri5psnBZOSFBNZ/z9qzWlSXopCTWlrE8Dz63z2648LKsYupy
6l0XjhJY7g==
=b3nM
-----END PGP SIGNATURE-----

Attachment: pgpUnbBLDlkfZ.pgp
Description: PGP signature


--- End Message ---

Reply via email to