[Reproducible-builds] Bug#786965: python3.4: please make the build reproducible
Jérémy Bobbio
lunar at debian.org
Wed May 27 09:07:41 UTC 2015
Source: python3.4
Version: 3.4.3-6
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps
Hi!
While working on the “reproducible builds” effort [1], we have noticed
that python3.4 could not be built reproducibly.
The attached patch fixes several timestamps related issues:
* CPP gets passed `-DDATE` and `-DTIME` using the time of the latest
debian/changelog entry. This will fix variations in binaries.
* The time of the latest debian/changelog entry is given to sphinx via
`SPHINXOPTS`. This will fix variations in the documentation.
* `-n` is given to gzip when compressing devhelp to avoid a timestamp.
Unfortunately, this only makes python3.4 reproducible when
`noopt` is in `DEB_BUILD_OPTIONS`. Otherwise, objects contain random
names due to `-ffat-lto-objects`, but this ought to be fixed in GCC.
[1]: https://wiki.debian.org/ReproducibleBuilds
--
Lunar .''`.
lunar at debian.org : :Ⓐ : # apt-get install anarchism
`. `'`
`-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python3.4_3.4.3-6_reproducible.diff
Type: text/x-diff
Size: 3655 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20150527/e9c84364/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20150527/e9c84364/attachment.sig>
More information about the Reproducible-builds
mailing list