[Build-common-hackers] Bug#764478: please support reproducible builds
holger at layer-acht.org
Wed Oct 8 13:51:59 UTC 2014
User: reproducible-builds at lists.alioth.debian.org
X-Debbugs-CC: reproducible-builds at lists.alioth.debian.org
it would be great if cdbs could support reproducible builds soon, see
https://wiki.debian.org/ReproducibleBuilds for the long version and
specific instructions how to setup such an environment as long as not all
parts are in side.
So to support reproducible builds right now, you need to use debhelper from
the reproducible apt repository (as explained in the above URLs) or build it
This will get you two new dh_ commands: dh_fixmtimes and dh_genbuildinfo.
The dh-strip-nondeterminism binary package is in available in Debian main
already and can be installed from there.
Now to the needed modification for the dh_ sequence, which cdbs shall do when
1. run dh_strip_nondeterminism before dh_compress.
2. run dh_fixmtimes after dh_md5sums, right before dh_builddeb.
3. run dh_genbuildinfo at the end of the dh_ sequence, so after dh_builddeb.
AIUI this could even be added right now and only be used if available. Thus,
_some_ packages will become *magically* reproducible one day "for free"! :-)
Sadly I don't know the cdbs codebase at all, else I might have looked into it
to provide a patch. I'd be glad to *try* patches though! :-)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 828 bytes
Desc: This is a digitally signed message part.
More information about the Build-common-hackers