[Reproducible-builds] Bug#786959: python3.5: please make the build reproducible

Jérémy Bobbio lunar at debian.org
Wed May 27 08:03:46 UTC 2015


Source: python3.5
Version: 3.5.0~b1-1
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.5 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.5 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: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20150527/5637ecdf/attachment.sig>


More information about the Reproducible-builds mailing list