Your message dated Mon, 08 Aug 2022 12:18:45 +0000
with message-id <[email protected]>
and subject line Bug#1016731: fixed in dictionaries-common 1.28.16
has caused the Debian Bug report #1016731,
regarding dictionaries-common: Badly generated 
/var/cache/dictionaries-common/emacsen-ispell-dicts.el for Hebrew
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.)


-- 
1016731: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1016731
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dictionaries-common
Version: 1.28.15
Severity: normal

Dear Maintainer,

With hunspell-he installed, starting emacs I get the following error message :

Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)...
Error while loading 50dictionaries-common: Invalid read syntax: "] in a list"

Without that package, no problem.
The origin seems to be in the file 
/var/cache/dictionaries-common/emacsen-ispell-dicts.el , that contains the 
following lines :

(add-to-list 'debian-hunspell-only-dictionary-alist
  '("hebrew"
     
"[a-zA-Z\327\231\327\225\327\224\327\220\327\242\327\227\327\233\327\247\327\251\327\241\327\226\327\223\327\222\327\221\327\250\327\240\327\236\327\230\327\246\327\252\327\244\327\235\327\243\327\232\327\245\327\237\327\234]"
     
"[^a-zA-Z\327\231\327\225\327\224\327\220\327\242\327\227\327\233\327\247\327\251\327\241\327\226\327\223\327\222\327\221\327\250\327\240\327\236\327\230\327\246\327\252\327\244\327\235\327\243\327\232\327\245\327\237\327\234]"
     "[אבגדהוזחטיכלמנסעפצקרשתםןךףץ'"]"
     nil
     ("-d" "he_IL")
     nil
     utf-8))

You will notice the unescaped " in the fifth line, followed indeed by the  
character ] ...
Since the file is generated by perl (if I understand correctly, it is generated 
by /usr/share/perl5/Debian/DictionariesCommon.pm), this is where I stopped 
digging.  

Can that perl script be repaired so as to escape double quotes when appropriate 
?

Cheers,
Itaï.


-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (600, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.18.0-2-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages dictionaries-common depends on:
ii  debconf [debconf-2.0]  1.5.79
ii  emacsen-common         3.0.4
ii  libtext-iconv-perl     1.7-7+b2

dictionaries-common recommends no packages.

Versions of packages dictionaries-common suggests:
ii  hunspell  1.7.0-4
pn  wordlist  <none>

-- debconf information:
  dictionaries-common/debconf_database_corruption:
  dictionaries-common/default-ispell:
* dictionaries-common/default-wordlist:
  dictionaries-common/invalid_debconf_value:
  dictionaries-common/old_wordlist_link: true
  dictionaries-common/ispell-autobuildhash-message:
  dictionaries-common/selecting_ispell_wordlist_default:

--- End Message ---
--- Begin Message ---
Source: dictionaries-common
Source-Version: 1.28.16
Done: Agustin Martin Domingo <[email protected]>

We believe that the bug you reported is fixed in the latest version of
dictionaries-common, 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.
Agustin Martin Domingo <[email protected]> (supplier of updated 
dictionaries-common 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: SHA256

Format: 1.8
Date: Mon, 08 Aug 2022 13:32:34 +0200
Source: dictionaries-common
Architecture: source
Version: 1.28.16
Distribution: unstable
Urgency: medium
Maintainer: Agustin Martin Domingo <[email protected]>
Changed-By: Agustin Martin Domingo <[email protected]>
Closes: 1016731
Changes:
 dictionaries-common (1.28.16) unstable; urgency=medium
 .
   * scripts/perl5/Debian/DictionariesCommon.pm.in::build_emacsen_support:
     Escape double quotes in otherchars unless already escaped
     (Closes: #1016731).
Checksums-Sha1:
 f4b782eb092ed5e94a49d5ad46803c903d9fe116 1898 dictionaries-common_1.28.16.dsc
 4142e8bc13e4a1c1241f4e9375e8566218cc1146 286224 
dictionaries-common_1.28.16.tar.xz
 924682498db2441c184255ae9458b83fab745113 6839 
dictionaries-common_1.28.16_amd64.buildinfo
Checksums-Sha256:
 0fc6974392fff426199fcb322a383019ad52c9d38a00b5e206578d692b61dcdb 1898 
dictionaries-common_1.28.16.dsc
 3bb7ccc62e8504a50df69d68a16e0bb280edc0a6cbf5c935f30d54f313c731f0 286224 
dictionaries-common_1.28.16.tar.xz
 cb17b0bcf973b84bb2763c750b92276d542d6d81053bce6e9226f27a9b8678e3 6839 
dictionaries-common_1.28.16_amd64.buildinfo
Files:
 9f4e38f63c96b5d5c2ab250a75712697 1898 text optional 
dictionaries-common_1.28.16.dsc
 617be27597fca7edc3aeb59412f28e44 286224 text optional 
dictionaries-common_1.28.16.tar.xz
 db90765bb6e547fe791bf259caef816a 6839 text optional 
dictionaries-common_1.28.16_amd64.buildinfo

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

iQIzBAEBCAAdFiEEEehey7p+gYd346SEFJrCLeiggvwFAmLw+cYACgkQFJrCLeig
gvy7PA/9FRVq6OJTDrmWcIMyMdpWaIvginnBccjnhz6dUzr/fDXZTR+82ebR9011
vsZeHVXgXttaNMUYlwRRCgn04SE9Z8fLR7XPmahttr1EPgj2FZzwrMUnOtY3qEL1
TtI3LFuG2E9XA221EbhHX2GvldBJC56QGdGM5zyujqjzF5/36YU5GqM7efqhlmpQ
xaJR/C4cHdbEUzXy+0NLrWF2sX8PYlCd5AzwGFvcDrstJtvvWmfzA0X+k9ugKAQa
DimCZK47K3DczkHkEF8FWIRp/P+h1a/3jntnStk/schWrF302NeL2oyq9uYLsSGA
jOjYoJw+nCzy4AmUzEZR37IlwvlR4FsLmXVL4Fwc++VWCegYVH93nbbB7QH60k69
4PzzognRErMUmSPRnsA3HfGeBaeT1MWqljUslpmhAU6PjFl+nrxsN0Uo4v43ZMLR
9R2wGn75quEV2zTbuat+J9XEK+PDYJsVeoXWKWT+1/36zVjSsE1RoAG0oZRhZoFV
c+thRi2htbBy839/ZyCfg9U565yjeR1xHmkko5ylmiTg8wrYWPqj8SxBLykL8/TQ
Hg2e1OYIhciwQ6hzeRi6klCRCTt0rI162Rb2nSIQ2J5MykMNKQNiovPbmzvgEmtI
4JvvmNXNXwQ3PVwS6bz4wo0tkcW1Uru+VfiqZVozWFMfsYThcXw=
=9csd
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to