Bug#1103798: magic-wormhole-mailbox-server: please make the build reproducible

Chris Lamb lamby at debian.org
Mon Apr 21 17:38:37 BST 2025


Source: magic-wormhole-mailbox-server
Version: 0.4.1-3
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-mailbox-server could not be built reproducibly.

This is because it ships a bunch of test-related files directly under
/usr/lib/python3/dist-packages/wormhole_mailbox_server.test.tes. (N.B.
the final "tes" is deliberate; it is not "test".) It's probably a bug
in itself, i.e. separate from reproducibility, that this package ships
a pseudo Python package here. :)

Either way, patch attached that removes these 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-04-21 09:01:34.032838291 -0700
--- b/debian/rules	2025-04-21 09:30:47.324851338 -0700
@@ -1,5 +1,7 @@
 #! /usr/bin/make -f
 
 export PYBUILD_NAME=magic-wormhole-mailbox-server
+export PYBUILD_AFTER_TEST=rm -rfv {build_dir}/wormhole_mailbox_server.test.tes
+
 %:
 	dh $@ --with python3 --buildsystem=pybuild


More information about the Reproducible-bugs mailing list