[Reproducible-builds] Bug#804729: pbuilder: please make the build reproducible
Reiner Herrmann
reiner at reiner-h.de
Tue Nov 10 22:42:02 UTC 2015
Source: pbuilder
Version: 0.219
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org
Hi!
While working on the "reproducible builds" effort [1], we have noticed
that pbuilder could not be built reproducibly.
The PDF documentation is varying in the /ID field (but not the Creation/Modification
time fields). After some debugging I found out that dblatex (which generates
the tex file that is used to build the pdf), is building the documentation
in a random directory.
Since our pdflatex honours SOURCE_DATE_EPOCH, the Creation/Modification times
did not differ. But the absolute source file path (which is random) is also
part of the /ID calculation.
The attached patch fixes the unreproducibility by telling dblatex to build in
a deterministic path.
Regards,
Reiner
[1]: https://wiki.debian.org/ReproducibleBuilds
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pbuilder.patch
Type: text/x-diff
Size: 401 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20151110/9cd4ea23/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20151110/9cd4ea23/attachment.sig>
More information about the Reproducible-builds
mailing list