Source: docbook-dsssl Version: 1.79-7 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: randomness X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org
Hi, While working on the "reproducible builds" effort [1], we have noticed that docbook-dsssl could not be built reproducibly. The attached patch removes randomness from the build system by ensuring that the changelog is concatenated in a locale-independent order. Once applied, docbook-dsssl can be built reproducibly in our reproducible toolchain. [1]: https://wiki.debian.org/ReproducibleBuilds Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
diff --git a/debian/rules b/debian/rules index 086fb09..7d3382a 100755 --- a/debian/rules +++ b/debian/rules @@ -18,7 +18,7 @@ build/docbook-dsssl:: ChangeLog.combined # The upstream sources have one ChangeLog file for each directory. For # the Debian package, we build a combined one. -ChangeLog.combined: $(shell find -name ChangeLog | sort) +ChangeLog.combined: $(shell find -name ChangeLog | LC_ALL=C sort) ( \ for file in $+; do \ echo "$$file" | sed 's,^./,,'; \