[Python-modules-team] Bug#950138: pikepdf: please make the build reproducible
Chris Lamb
lamby at debian.org
Wed Jan 29 10:57:27 GMT 2020
Source: pikepdf
Version: 1.10.0+dfsg-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: randomness filesystem
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
Hi,
Whilst working on the Reproducible Builds effort [0] we noticed that
pikepdf could not be built reproducibly.
This was due to two reasons:
a) The documentation included tutorial/walthrough like output like so:
<PIL.JpegImagePlugin.JpegImageFile image mode=RGB size=1000x1520 at 0x7F04BAC72B90>
… where the 0x7F04BAC72B90 part is non-determinstic and thus varies
between builds.
b) The .cpp input files were compiled/linked in an order that was
determined by their layout on the filesystem which is, at least in
UNIX systems, non-deterministic.
Patch attached that addresses both these issues.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pikepdf.diff.txt
URL: <http://alioth-lists.debian.net/pipermail/python-modules-team/attachments/20200129/0b1c9fa5/attachment.txt>
More information about the Python-modules-team
mailing list