Bug#1079312: receptor: please make the build reproducible

Chris Lamb lamby at debian.org
Thu Aug 22 13:24:44 BST 2024


Source: receptor
Version: 1.4.8-1
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
receptor could not be built reproducibly.

This was because the testsuite was generating a non-determistic .pem
key file that was being shipped in the binary package.

A patch is attached that will delete all .pem 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	2024-08-22 12:54:35.515939984 +0100
--- b/debian/rules	2024-08-22 13:23:11.461135466 +0100
@@ -80,4 +80,5 @@
 	mkdir -p tests/artifacts-output
 	ln -sfr _build/bin/receptor tests/artifacts-output/receptor
 	dh_auto_test --buildsystem=pybuild --sourcedirectory=receptorctl -- --name=receptorctl --before-test="cp -r {dir}/tests/mesh-definitions {build_dir}/tests/"
+	find -type f -name "*.pem" -delete
 


More information about the Reproducible-bugs mailing list