Your message dated Wed, 14 Sep 2016 19:06:07 +0000
with message-id <[email protected]>
and subject line Bug#818067: fixed in ncurses 6.0+20160910-1
has caused the Debian Bug report #818067,
regarding ncurses: Please make ncurses 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.)
--
818067: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=818067
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: ncurses
Severity: wishlist
Tags: patch
Hi,
While working on the “reproducible builds” effort [1], we have noticed
that ncurses could not be built reproducibly.
We have found that MKterminfo.sh included a trailing space in one
build test but not in the other. It is not quite clear to me what
triggers this behaviour, but there is a note claiming it to be the
locale difference (one build is in C and the other in a French UTF-8
locale).
The attached patch makes MKterminfo.sh strip trailing spaces from the
CAP file, which removes a source of non-determinism. Once applied,
ncurses can be built reproducibly in our current experimental
framework.
[1]: https://wiki.debian.org/ReproducibleBuilds
Thanks,
~Niels
>From 94dcd2cd7202f3671ca574bba9b798de5d701887 Mon Sep 17 00:00:00 2001
From: Niels Thykier <[email protected]>
Date: Sun, 13 Mar 2016 09:29:25 +0000
Subject: [PATCH] Strip trailing whitespace in the terminfo manpage
Signed-off-by: Niels Thykier <[email protected]>
---
.../04-strip-trailing-whitespace-in-terminfo.diff | 21 +++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 22 insertions(+)
create mode 100644 debian/patches/04-strip-trailing-whitespace-in-terminfo.diff
diff --git a/debian/patches/04-strip-trailing-whitespace-in-terminfo.diff b/debian/patches/04-strip-trailing-whitespace-in-terminfo.diff
new file mode 100644
index 0000000..5faefba
--- /dev/null
+++ b/debian/patches/04-strip-trailing-whitespace-in-terminfo.diff
@@ -0,0 +1,21 @@
+Author: Niels Thykier <[email protected]>
+Description: Strip leading whitespace in the terminfo manpage
+ In the reproducible build tests, the trailing space is
+ included in one build but not in the other.
+ .
+ It is not quite obvious to me what triggers this (difference in
+ locale being expected reason), but we can simply strip the space and
+ it works.
+
+diff --git a/man/MKterminfo.sh b/man/MKterminfo.sh
+index 3a99609..4577b0e 100755
+--- a/man/MKterminfo.sh
++++ b/man/MKterminfo.sh
+@@ -69,6 +69,7 @@ trap "rm -f $sorted $temp $unsorted; exit 99" 1 2 5 15
+
+ sed -n <$caps "\
+ /%%-STOP-HERE-%%/q
++s/\s*$//
+ /^#%/s/#%//p
+ /^#/d
+ s/[ ][ ]*/ /g
diff --git a/debian/patches/series b/debian/patches/series
index 45a079a..ddf868d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
01-debian-no-ada-doc.diff
02-debian-backspace.diff
03-debian-ncursesconfig-omit-L.diff
+04-strip-trailing-whitespace-in-terminfo.diff
--
2.7.0
--- End Message ---
--- Begin Message ---
Source: ncurses
Source-Version: 6.0+20160910-1
We believe that the bug you reported is fixed in the latest version of
ncurses, 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.
Sven Joachim <[email protected]> (supplier of updated ncurses 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, 14 Sep 2016 20:09:34 +0200
Source: ncurses
Binary: libtinfo5 libtinfo5-udeb libncurses5 libtinfo-dev libtinfo5-dbg
libncurses5-dev libncurses5-dbg libncursesw5 libncursesw5-dev libncursesw5-dbg
lib64ncurses5 lib64ncurses5-dev lib32ncurses5 lib32ncurses5-dev lib32ncursesw5
lib32ncursesw5-dev lib64tinfo5 lib32tinfo5 lib32tinfo-dev ncurses-bin
ncurses-base ncurses-term ncurses-examples ncurses-doc
Architecture: source
Version: 6.0+20160910-1
Distribution: unstable
Urgency: low
Maintainer: Craig Small <[email protected]>
Changed-By: Sven Joachim <[email protected]>
Description:
lib32ncurses5 - shared libraries for terminal handling (32-bit)
lib32ncurses5-dev - developer's libraries for ncurses (32-bit)
lib32ncursesw5 - shared libraries for terminal handling (wide character
support) (
lib32ncursesw5-dev - developer's libraries for ncursesw (32-bit)
lib32tinfo-dev - developer's library for the low-level terminfo library
(32-bit)
lib32tinfo5 - shared low-level terminfo library for terminal handling (32-bit)
lib64ncurses5 - shared libraries for terminal handling (64-bit)
lib64ncurses5-dev - developer's libraries for ncurses (64-bit)
lib64tinfo5 - shared low-level terminfo library for terminal handling (64-bit)
libncurses5 - shared libraries for terminal handling
libncurses5-dbg - debugging/profiling libraries for ncurses
libncurses5-dev - developer's libraries for ncurses
libncursesw5 - shared libraries for terminal handling (wide character support)
libncursesw5-dbg - debugging/profiling libraries for ncursesw
libncursesw5-dev - developer's libraries for ncursesw
libtinfo-dev - developer's library for the low-level terminfo library
libtinfo5 - shared low-level terminfo library for terminal handling
libtinfo5-dbg - debugging/profiling library for the low-level terminfo library
libtinfo5-udeb - shared low-level terminfo library for terminal handling -
udeb (udeb)
ncurses-base - basic terminal type definitions
ncurses-bin - terminal-related programs and man pages
ncurses-doc - developer's guide and documentation for ncurses
ncurses-examples - test programs and examples for ncurses
ncurses-term - additional terminal type definitions
Closes: 818067
Changes:
ncurses (6.0+20160910-1) unstable; urgency=low
.
* New upstream patchlevel.
- Trim trailing blanks from include/Caps*, to work around a problem
in sed (Closes: #818067).
* Invoke configure via relative paths to prevent the build path from
showing up in binaries.
* Enable parallel builds.
Checksums-Sha1:
625d6a66ea22b624e3ecc4246d2f95f337888372 3748 ncurses_6.0+20160910-1.dsc
51f25ab5cde592ebe82b122ec40c53d4ba5ec88b 3178246
ncurses_6.0+20160910.orig.tar.gz
43f54fc765ccdff1ced7f4a1a6a0e5d40c0bc934 52644
ncurses_6.0+20160910-1.debian.tar.xz
Checksums-Sha256:
8dcac2c54f47b1f1034408e6f24a5d0b661ca0244913925b2c6bbe0fd311e0df 3748
ncurses_6.0+20160910-1.dsc
c965297dfd4941da8ff677780c49fe161d6a9177eef3d2b8c2e54aae510b2be3 3178246
ncurses_6.0+20160910.orig.tar.gz
4b88a0f47c1c28e68f6c077b4a9c1ae96a4ad19e777faca3008ca6426906dc7a 52644
ncurses_6.0+20160910-1.debian.tar.xz
Files:
b52241aaab2378b6f7cb0aa768c231b9 3748 libs required ncurses_6.0+20160910-1.dsc
69c391833610de5621986468e697e470 3178246 libs required
ncurses_6.0+20160910.orig.tar.gz
da57f0f1c51ad1d5a5b46b638b349c06 52644 libs required
ncurses_6.0+20160910-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQItBAEBCgAXBQJX2ZMbEBxzdmVuam9hY0BnbXguZGUACgkQOxBucY1rMaxg+w/+
KDU3GER3n89z6ZRtR6RzqpC0vjgNXiy9266nt38lHMc0XJjs/krtUcLiiui/WTX6
NVTRmtq7zBbpAwfCgHrEvaPzPhuQ3NhGll88Bxo28B05c1Glu5y9H8ZrFFHggS3c
ctaEmHBAkPWNrSdSG6k22uKokRqX8lF7xyR7Q8DOKbepfAM8pvbvYw25frYMeFGb
Ja+8dCMN0acp10mMH4DGQSF5/O0s4DGPcI1u5519pw3PshK+T7EbGhFvYRi/rpa7
7JBSHQIwk1FcjJBAhhMVOkJaf4lNfURgCCk1YELCAKB15RkVwClL95l6UMybGHXt
ND+3WkUicDkuAb1ugY6qCKKshsQtiCCpTD4HNyDxF+2AeO0yNXImbBdWzo7omlrw
0aMdJcyKyxzDeeC1fDJBCZbiMAyhZtJnD+NcclRoNtlJzuZek4Wn6ieG4cscqca2
WOAwlQI9GiFy09VvOdBvwm/ravNNHpd5Y1zZbyJ4OAVMGjIi4JhblrIe9dd0wqZG
qUD53OZ+XjSKuOhVhpzKiLffpDE9JuOjh1Wi3Ol7BVhfJJSxz69DWWnOSZmpnA4p
isHJ7CXl1CPOaji2LX4iJXbRG/EefocafWc97A+eUE36VRzuE1tAwB+Y8k/bieeO
RV/IG+YFpOcwINNdeeU1Fi6yyOYINbq7ASXkcn6VhCc=
=TPo8
-----END PGP SIGNATURE-----
--- End Message ---