package: cdbs severity: wishlist User: email@example.com Usertags: toolchain X-Debbugs-CC: firstname.lastname@example.org
Hi, it would be great if cdbs could support reproducible builds soon, see https://wiki.debian.org/ReproducibleBuilds for the long version and https://wiki.debian.org/ReproducibleBuilds#Custom_build_environment for 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 from ssh://git.debian.org/git/reproducible/debhelper.git 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 building packages: 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. That's it. 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! :-) cheers, Holger
Description: This is a digitally signed message part.
_______________________________________________ Reproducible-builds mailing list Reproducibleemail@example.com http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds