Bug#862553: vim-command-t: please make the build reproducible
Chris Lamb
lamby at debian.org
Sun May 14 14:42:17 UTC 2017
Source: vim-command-t
Version: 4.0-4
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 vim-command-t could not be built reproducibly. This is because
it loops over the filesystem in a non-deterministic order.
(Thanks to Daniel Shahaf <danielsh at apache.org> for investigating
this.)
Patch attached.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/debian/rules 2017-05-14 16:26:45.018081064 +0200
--- b/debian/rules 2017-05-14 16:37:34.625155186 +0200
@@ -24,7 +24,7 @@
dh_install
cp debian/command-t.yaml.in debian/vim-command-t/usr/share/vim/registry/command-t.yaml
cd debian/vim-command-t/usr/lib/vim-command-t && \
- find -type f | sed 's,^\./, - ,' >> ../../share/vim/registry/command-t.yaml
+ find -type f | LC_ALL=C sort | sed 's,^\./, - ,' >> ../../share/vim/registry/command-t.yaml
get-orig-source: VERSION := $(shell dpkg-parsechangelog -S Version | perl -pe 's/(.*)-/$1/')
get-orig-source:
More information about the Reproducible-bugs
mailing list