Source: vim-command-t
Version: 4.0-4
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: fileordering
X-Debbugs-Cc: reproducible-b...@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 <danie...@apache.org> for investigating
this.)

Patch attached.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
--- 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:

Reply via email to