Bug#1082702: magic-wormhole-transit-relay: please make the build reproducible

Chris Lamb lamby at debian.org
Tue Sep 24 19:35:34 BST 2024


Source: magic-wormhole-transit-relay
Version: 0.3.1-0.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
magic-wormhole-transit-relay could not be built reproducibly.

This is because the testsuite leaves around a bunch of nondeterministic
files which then get installed into the binary package:

  /usr/lib/python3/dist-packages/wormhole_transit_relay.test.test/Create/test_create/sia6i7v6/temp/created.db

A patch is attached that removes this "wormhole_transit_relay.test.test"
directory after the tests have completed.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2024-09-24 11:28:51.007696346 -0700
--- b/debian/rules	2024-09-24 11:32:31.120093198 -0700
@@ -2,6 +2,7 @@
 
 export PYBUILD_NAME=magic-wormhole
 export CRYPTOGRAPHY_OPENSSL_NO_LEGACY=1
+export PYBUILD_AFTER_TEST=rm -rfv {build_dir}/wormhole_transit_relay.test.test
 
 %:
 	dh $@ --buildsystem=pybuild


More information about the Reproducible-bugs mailing list