Bug#1016487: rust-rustls: please make the build reproducible

Chris Lamb lamby at debian.org
Mon Aug 1 17:53:22 BST 2022


Source: rust-rustls
Version: 0.20.6-6
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

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

This is because, whilst the package does attempt to clean up the
offending sslkeylogfile.txt file, this file is actually generated
under the rustls/ directory.

Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2022-08-01 09:43:13.283451411 -0700
--- b/debian/rules	2022-08-01 09:46:54.628158679 -0700
@@ -10,7 +10,7 @@
 
 # cleanup after test
 execute_after_dh_auto_test:
-	rm -rf sslkeylogfile.txt
+	rm -rf rustls/sslkeylogfile.txt
 
 # mangle system-shared code to use system-shared test-ca and fuzz data
 execute_after_dh_auto_install:


More information about the Reproducible-bugs mailing list