Your message dated Wed, 12 Jul 2017 17:33:58 +0000
with message-id <[email protected]>
and subject line Bug#825643: fixed in dash 0.5.8-2.5
has caused the Debian Bug report #825643,
regarding dash: please make the build reproducible
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.)
--
825643: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=825643
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: dash
Version: 0.5.8-2.2
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: locale
X-Debbugs-Cc: [email protected]
Hi!
While working on the "reproducible builds" effort [1], we have noticed
that dash could not be built reproducibly.
The script src/mkbuiltins is used to generate a C file (builtins.c).
The order of elements in the struct builtincmd is varying because they
are not sorted locale-independently.
The attached patch fixes this by setting LC_ALL instead of LC_COLLATE to C.
Regards,
Reiner
[1]: https://wiki.debian.org/ReproducibleBuilds
diff --git a/src/mkbuiltins b/src/mkbuiltins
index f562ae2..bf57aa5 100644
--- a/src/mkbuiltins
+++ b/src/mkbuiltins
@@ -78,7 +78,7 @@ awk '{ for (i = 2 ; i <= NF ; i++) {
if ($i ~ /^-/)
line = $(++i) "\t" line
print line
- }}' $temp | LC_COLLATE=C sort -k 1,1 | tee $temp2 | awk '{
+ }}' $temp | LC_ALL=C sort -k 1,1 | tee $temp2 | awk '{
opt = ""
if (NF > 2) {
opt = substr($2, 2)
@@ -97,7 +97,7 @@ cat <<\!
*/
!
-sed 's/ -[a-z]*//' $temp2 | nl -b a -v 0 | LC_COLLATE=C sort -u -k 3,3 |
+sed 's/ -[a-z]*//' $temp2 | nl -b a -v 0 | LC_ALL=C sort -u -k 3,3 |
tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ |
awk '{ printf "#define %s (builtincmd + %d)\n", $3, $1}'
printf '\n#define NUMBUILTINS %d\n' $(wc -l < $temp2)
signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---
Source: dash
Source-Version: 0.5.8-2.5
We believe that the bug you reported is fixed in the latest version of
dash, 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.
Ximin Luo <[email protected]> (supplier of updated dash 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: Wed, 28 Jun 2017 18:26:52 +0200
Source: dash
Binary: dash ash
Architecture: source
Version: 0.5.8-2.5
Distribution: unstable
Urgency: low
Maintainer: Gerrit Pape <[email protected]>
Changed-By: Ximin Luo <[email protected]>
Description:
ash - compatibility package for dash
dash - POSIX-compliant shell
Closes: 825643
Changes:
dash (0.5.8-2.5) unstable; urgency=low
.
* Non-maintainer upload.
.
[ Reiner Herrmann ]
* Improve build reproducibility: set LC_ALL instead of LC_COLLATE to C.
.
[ HW42 ]
* Improve build reproducibility: avoid exec call which embeds different paths
between different system shells. (Closes: #825643)
Checksums-Sha1:
5b2e12c7d081105784f616da210e128c85df3cec 1807 dash_0.5.8-2.5.dsc
0abc579d0086d56ee86bdc8961a3fce7b9e6ed41 44513 dash_0.5.8-2.5.diff.gz
9f259c54e139f2b97ee173870b46cfbc2dce5501 4648 dash_0.5.8-2.5_source.buildinfo
Checksums-Sha256:
42e77c37a5a4db1cc8274c3183d83e7173883cc611339815d92358562b74d066 1807
dash_0.5.8-2.5.dsc
53f55bbcb327b0e2dd687c44bf0610f5e304dd00733c81c101be46e0adf8ec89 44513
dash_0.5.8-2.5.diff.gz
99dc80ed08973f67f865c6480af1311ece4972ab5cb93447cbbf6ee9efbc5042 4648
dash_0.5.8-2.5_source.buildinfo
Files:
55b608318ff0cb5f372a8a0d39a68b5a 1807 shells optional dash_0.5.8-2.5.dsc
80c4d4392d71f32347fdcdd7188ad794 44513 shells optional dash_0.5.8-2.5.diff.gz
359441572a0727bb48f0931b200314aa 4648 shells optional
dash_0.5.8-2.5_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJJBAEBCgAzFiEENmdIajJtsnZtJVVGhg3vO49lC3kFAllT2ZgVHGluZmluaXR5
MEBkZWJpYW4ub3JnAAoJEIYN7zuPZQt5QhkQAI2v1AmjTflcPlnho8bW7OoSF6KH
NwO+ttaUtVAPiZhV9+ewxfc07bOvkjLClUuRAcjEIz1XQmMdLXKnSqAA5TLi3nde
bSgiVZZDGs1s6Yy4hMNKRvOIWtSjudekzrG3VUQJuf4cemnKp93UmE1eFWQES6eM
xi4TfaTVzz4gNEqcWyTvPOrhDJKfV75NUGX2fummyMhoFqvbqf5cRxSfIzTvubxK
d72Y3X3Zx+EEpjk4x0v+Bx6CtMNB/DCo+P5MlcLFz8l0O3NE+n88FfJvKzlp6bSu
cLp/POv+x7rmKluWboaFUXROerp9EP7hXgP9RnFnavb46KzeguYHSD5BqOTgveox
nxeG7Iz2DfNNXDMmlyCQiFNLPzWKKpPqHuy0OlmMbTfUZgyGkidS9blTWuDS3EVg
oAPs9H030ie54htWwE6r/96B1DEnJEBW+ykMh+SSSXQXIge0JjlY4ye8gwC5vHDl
ARqtxplAojtdr0KN4TUTwqbGPEeeOKncJ5uUZ56ZiLKMnM+DQh1QrlJ82ydh/1Sd
nUJjZE2KA9kjrQxPDnKM0KRqdKNI0js7/ce1djbh/BNDI+/EzTI0e0G5PTptTCxA
K+i/0Qqe2PKLHnqcQYUVlWm8/l9j97eFb4S/+OzU8tFdrjMCziHvYJlcJK3SA4kO
rqoc2AZtV3EQNEYi
=+LMj
-----END PGP SIGNATURE-----
--- End Message ---