[Pkg-rust-maintainers] Bug#1121803: rust-fslock: please make the build reproducible

Chris Lamb lamby at debian.org
Tue Dec 2 22:33:53 GMT 2025


Source: rust-fslock
Version: 0.2.1-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-fslock could not be built reproducibly.

This is because the tests leave a bunch of testfiles/*.lock files around
that end up in the binary package.

Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2025-12-02 11:22:34.297649971 -0800
--- b/debian/rules	2025-12-02 11:26:43.870359758 -0800
@@ -4,4 +4,4 @@
 
 override_dh_auto_test:
 	dh_auto_test -- test --all
-	rm -f Cargo.lock
+	rm -f Cargo.lock testfiles/*.lock


More information about the Pkg-rust-maintainers mailing list