Bug#880804: debci: please make the build reproducible
Chris Lamb
lamby at debian.org
Sat Nov 4 20:57:55 UTC 2017
Source: debci
Version: 1.7.1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: fileordering
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed
that debci could not be built reproducibly.
This is because the documentation generation depends on (non-
determinstic) filesystem ordering.
Patch attached.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/Makefile 2017-11-04 20:39:49.834381915 +0000
--- b/Makefile 2017-11-04 20:43:51.787362179 +0000
@@ -59,7 +59,7 @@
doc: public/doc/index.html public/doc/architecture.svg
-public/doc/index.html public/doc/jq/jquery.js: README.md docs/*.md $(shell find lib -name '*.rb')
+public/doc/index.html public/doc/jq/jquery.js: README.md $(sort $(wildcard docs/*.md)) $(shell find lib -name '*.rb' | LC_ALL=C sort)
$(RM) public/doc/js/jquery.js
yardoc --markup markdown --output-dir public/doc --main README.md lib - $^
ln -sf ../../jquery.js public/doc/js/jquery.js
More information about the Reproducible-bugs
mailing list