Your message dated Tue, 31 Dec 2024 00:04:41 +0000
with message-id <[email protected]>
and subject line Bug#1090981: fixed in dictionaries-common 1.30.3
has caused the Debian Bug report #1090981,
regarding dictionaries-common: Randomness in emacsen-ispell-dicts.el (now due 
to enchant)
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.)


-- 
1090981: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1090981
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dictionaries-common
Version: 1.30.2
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: randomness
X-Debbugs-Cc: [email protected]

Hello maintainers of dictionaries-common,

While working on the “reproducible builds” effort [1], I have noticed
that the content of the file '/var/cache/dictionaries-common/emacsen-ispell-dicts.el' is changing randomly again.

Previously in #1000674 I reported something similar, but since then a new section has been added: debian-enchant-equivs-alist.

In the section 'debian-enchant-equivs-alist', the value for the 'ro_RO' key can toggle between 'ro_RO' and 'romanian'. Because Perl does not have a reproducible order in a foreach statement (unless the keyword sort is used), it will be rather random which value for the key 'ro_RO' will be set last. With the environment variable PERL_HASH_SEED [2] I've been able to generate a reproducible test case. Note that the value for 'ro_RO.UTF-8' is always 'romanian'.

My steps to reproduce:
* I've used the recent GNOME live image from https://get.debian.org/images/weekly-live-builds/amd64/iso-hybrid/
* Run either of the following commands:
** PERL_HASH_SEED=1 update-dictcommon-aspell
** PERL_HASH_SEED=2 update-dictcommon-aspell
* Look at the content of the file '/var/cache/dictionaries-common/emacsen-ispell-dicts.el'

A possible patch is really small, here is the inline patch:

In line 656 of scripts/perl5/Debian/DictionariesCommon.pm.in, change
foreach my $k (keys %$dictionaries) {
to
foreach my $k (sort keys %$dictionaries) {

With kind regards,
Roland Clobus

[1]: https://wiki.debian.org/ReproducibleBuilds
[2]: https://reproducible-builds.org/docs/stable-outputs/

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: dictionaries-common
Source-Version: 1.30.3
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: SHA512

Format: 1.8
Date: Tue, 31 Dec 2024 00:09:36 +0100
Source: dictionaries-common
Architecture: source
Version: 1.30.3
Distribution: unstable
Urgency: medium
Maintainer: Agustin Martin Domingo <[email protected]>
Changed-By: Agustin Martin Domingo <[email protected]>
Closes: 1090981
Changes:
 dictionaries-common (1.30.3) unstable; urgency=medium
 .
   * Make emacsen-ispell-dicts.el contents predictable. Thanks Roland
     Clobus (Closes: #1090981).
Checksums-Sha1:
 84601d32df25e3dd0081df49dfe91b3d8cc5a359 1892 dictionaries-common_1.30.3.dsc
 0f364ba6c983f648f3cc5f5d87badad323e5aaa4 290580 
dictionaries-common_1.30.3.tar.xz
 9f5d919a74355c7f41e02b0e8a4f15ea49b66c8b 6828 
dictionaries-common_1.30.3_amd64.buildinfo
Checksums-Sha256:
 810137a5ad1f3460380a43c30fe7424708832be3f3706d5045dfa6c89961ac21 1892 
dictionaries-common_1.30.3.dsc
 ebc443eae6ca3f11a3afcd2ab25c996d2e9d4cdbb6f00f961484261991fdc5b7 290580 
dictionaries-common_1.30.3.tar.xz
 7bae41595d021f50432bba6b85889bf25eaa7ded888f4e00a9c9268c65005f9c 6828 
dictionaries-common_1.30.3_amd64.buildinfo
Files:
 fc4f8d6e9e2cc000583bbc2c3f43382f 1892 text optional 
dictionaries-common_1.30.3.dsc
 8c8473373d1815eb9991bd03c285d4e9 290580 text optional 
dictionaries-common_1.30.3.tar.xz
 32d3b6c4cc09fe62ece08ba145062629 6828 text optional 
dictionaries-common_1.30.3_amd64.buildinfo

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

iQIzBAEBCgAdFiEEEehey7p+gYd346SEFJrCLeiggvwFAmdzLkgACgkQFJrCLeig
gvywFBAAqT9405h0qQtEX5wEBjgS/DyDOTJu+y/LC82YOdOUeEoH2snIRDq/A8ca
YzTEzumfFWAdM/x/qJp0DmvDxAKaqTxciJiv9jorpfAibfo77xXcPrJ6CAKk0YLy
TQfunrHF5ZsyWwgae/WFwHG6nS7lzda1MX5DmaQAW4TRDFYh6Ov1YzWXGEf5t7pN
FitibpbtPiGzJw6Bf3wHskszY5jbul+e2nuTL6htHrfRxvN0wfpmSQSAO5DUw1y9
swKYQvL0aw7JG+LY7UpTGELoLKEIszyMrtHEyEP3LPTmTFzve1hBOM1LFW38alSp
0s/D3hpYFzFZvjQ7Zke8ExnPgXDeVMFmXV+I1Pp4hoj+5E5xce1wTPdLJvnLF+BB
x268J4TVyAyFjYYfEPmyo3rDDf7y7MTOkkTu5MWUAuMr+f8jO/42JpMummiwvxhh
zzrwNizHXzqn/pzzzlNwBDW1gzHw4b0NmoE6LvFwjSPf/kWZ4A4pfJY5GD72G81e
RxitG0g+lTBq8tc0E1J6oEEOFCOweD3CBopUEfxdHIF18udpPt4xaFelQThVEqo1
MF7zzyjpikc/JZvt4KjGpoq64iT52N2r9dzrXUlQ7M5FmQBS9xURS7RVN+Ot0hFX
uXts8b8RbAS13i0yrWop3wv1L5QRywvO4TpJEAaJ32YyYNdPzEE=
=qYso
-----END PGP SIGNATURE-----

Attachment: pgpHuRmWV3s1u.pgp
Description: PGP signature


--- End Message ---

Reply via email to