Bug#1122225: rust-xdg: please make the build reproducible

Chris Lamb lamby at debian.org
Mon Dec 8 23:15:21 GMT 2025


Source: rust-xdg
Version: 2.5.2-3
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
rust-xdg could not be built reproducibly.

This is because the testsuite does not 100% clean up after itself, so
that if the tests are skipped (ie. via "nocheck") then the package
will not contain those files.

Patch attached that removes these files after running the tests.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2025-12-08 15:11:12.567034664 -0800
--- b/debian/rules	2025-12-08 15:13:35.122299617 -0800
@@ -4,3 +4,5 @@
 
 override_dh_auto_test:
 	dh_auto_test -- test --all
+	rm -rfv test_files/runtime-good
+	rm -rfv test_files/user/cache/myapp


More information about the Reproducible-bugs mailing list