[Reproducible-builds] Bug#818067: ncurses: Please make ncurses reproducible

Niels Thykier niels at thykier.net
Sun Mar 13 09:38:26 UTC 2016


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Strip-trailing-whitespace-in-the-terminfo-manpage.patch
Type: text/x-diff
Size: 1780 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160313/f0d5ced7/attachment.patch>


More information about the Reproducible-builds mailing list