Source: sbuild Version: 0.65.0-1 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: randomness
Hi! While working on Debian's “reproducible builds” effort [1], we have noticed that sbuild doesn't build reproducibly. The config dumped into sbuild.conf and the manpage contain items in a random order. The attached patch fixes this. Once applied, sbuild can be built reproducibly in our current experimental framework. Regards, Reiner [1]: https://wiki.debian.org/ReproducibleBuilds
diff --git a/tools/sbuild-dumpconfig b/tools/sbuild-dumpconfig index 598ffa0..327368e 100755 --- a/tools/sbuild-dumpconfig +++ b/tools/sbuild-dumpconfig @@ -32,6 +32,8 @@ use Sbuild::Sysconfig; use Text::Wrap; use Data::Dumper; +$Data::Dumper::Sortkeys = 1; + die "Usage: $0 sbuild|buildd config|man" if @ARGV != 2; my $program = $ARGV[0];
signature.asc
Description: OpenPGP digital signature