Bug#1133174: vim-youcompleteme: please make the build reproducible

Chris Lamb lamby at debian.org
Fri Apr 10 17:27:38 BST 2026


Source: vim-youcompleteme
Version: 0+20240827+gitb6e8c64+ds-7
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: nocheck
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed that
vim-youcompleteme could not be built reproducibly.

This is because the testsuite changes the modification time of the
/usr/share/vim-youcompleteme/python/ycm/client/ directory, so if the tests
are skipped via nocheck, then then package contents differ.

Patch attached that always sets this to SOURCE_DATE_EPOCH to avoid
this issue.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2026-04-10 12:19:39.161334414 -0400
--- b/debian/rules	2026-04-10 12:23:06.069796473 -0400
@@ -12,6 +12,7 @@
 	# No need to install tests
 	$(RM) -rv $(DEB_INSTALL_DIR)/usr/share/vim-youcompleteme/python/ycm/tests \
               $(DEB_INSTALL_DIR)/usr/share/vim-youcompleteme/python/ycm/test_utils.py
+	touch -d@$(SOURCE_DATE_EPOCH) $(DEB_INSTALL_DIR)/usr/share/vim-youcompleteme/python/ycm/client/
 
 execute_before_dh_clean:
 	py3clean $(CURDIR)/python


More information about the Reproducible-bugs mailing list