Source: dh-kpatches Version: 0.99.36+nmu1 Severity: wishlist Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: toolchain X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org
Hi, While working on the "reproducible builds" effort [1], we have noticed that dh-kpatches is generating packages that are not reproducible. The attached patch removes timestamps generated by dh-kpatches. Once applied, packages that use it can be built reproducibly in our current experimental framework. [1]: https://wiki.debian.org/ReproducibleBuilds Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
diff --git a/dh-kpatches.nw b/dh-kpatches.nw index 55d740d..5a27536 100644 --- a/dh-kpatches.nw +++ b/dh-kpatches.nw @@ -963,14 +963,14 @@ doit ("mkdir", "-p", "$tmp$srcdir") unless -d "$tmp$srcdir"; $op->{'installed-diff-file'} = "$srcdir/" . basename($op->{'diff-file'}); doit ("cp", $op->{'diff-file'}, "$tmp$op->{'installed-diff-file'}"); -doit ("gzip", "-9fq", "$tmp$op->{'installed-diff-file'}"); +doit ("gzip", "-9fqn", "$tmp$op->{'installed-diff-file'}"); $op->{'installed-diff-file'} = "$op->{'installed-diff-file'}.gz" if -r "$tmp$op->{'installed-diff-file'}.gz"; if (defined $op->{'debian-diff-file'}) { $op->{'installed-debian-diff-file'} = "$srcdir/" . basename($op->{'debian-diff-file'}); doit ("cp", $op->{'debian-diff-file'}, "$tmp$op->{'installed-debian-diff-file'}"); - doit ("gzip", "-9fq", "$tmp$op->{'installed-debian-diff-file'}"); + doit ("gzip", "-9fqn", "$tmp$op->{'installed-debian-diff-file'}"); $op->{'installed-debian-diff-file'} = "$op->{'installed-debian-diff-file'}.gz" if -r "$tmp$op->{'installed-debian-diff-file'}.gz"; } else {
_______________________________________________ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds