Source: sbuild
Version: 0.65.0-1
Severity: wishlist
Tags: patch
Usertags: randomness


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.



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];

Attachment: signature.asc
Description: OpenPGP digital signature

Reproducible-builds mailing list

Reply via email to