#1147778 magic-wormhole-transit-relay: FTBFS: ModuleNotFoundError: No module named 'pkg_resources'

#1147778#5
Date:
2026-09-15 10:30:47 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202609/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:magic-wormhole-transit-relay, so that this is still
visible in the BTS web page for this package.

Thanks.
---------------------------------------------------------------------- Ran 70 tests in 0.057s FAILED (errors=4) E: pybuild pybuild:485: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_magic-wormhole/build; python3.14 -m unittest discover -v dh_auto_test: error: pybuild --test -i python{version} -p 3.14 --parallel=2 returned exit code 13 make: *** [debian/rules:8: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------
#1147778#16
Date:
2026-09-25 08:44:37 UTC
From:
To:
Control: affects 1147778 - src:magic-wormhole-transit-relay
Control: reassign 1147778 src:magic-wormhole-transit-relay 0.3.1-0.3

The magic-wormhole failure was indeed caused by a (now fixed) bug in
magic-wormhole-mailbox-server, but the magic-wormhole-transit-relay
wasn't - you can see that magic-wormhole-mailbox-server isn't mentioned
in the traceback.  Reassigning back.

Thanks,

#1147778#27
Date:
2026-09-25 08:46:59 UTC
From:
To:
Hi Colin,

Thanks, and sorry for the oversight. Will take a look later.

Cheers
Sascha

#1147778#32
Date:
2026-09-26 09:21:24 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
magic-wormhole-transit-relay, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1147778@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sascha Steinbiss <satta@debian.org> (supplier of updated magic-wormhole-transit-relay package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sat, 26 Sep 2026 10:30:45 +0200
Source: magic-wormhole-transit-relay
Architecture: source
Version: 0.3.1-0.4
Distribution: unstable
Urgency: medium
Maintainer: Antoine Beaupré <anarcat@debian.org>
Changed-By: Sascha Steinbiss <satta@debian.org>
Closes: 1147778
Changes:
 magic-wormhole-transit-relay (0.3.1-0.4) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Fix FTBFS by adopting upstream patch to replace pkg_resources.
     Closes: #1147778
Checksums-Sha1:
 985dcf5605486f47c7e638c6b96bb1ddedfe381a 2170 magic-wormhole-transit-relay_0.3.1-0.4.dsc
 a5e4d823988b14e5ca0d6d6d0e3c7961b959bc85 6408 magic-wormhole-transit-relay_0.3.1-0.4.debian.tar.xz
 f1a85298aaaaa844b732b1034c4e76899754ecf5 8214 magic-wormhole-transit-relay_0.3.1-0.4_amd64.buildinfo
Checksums-Sha256:
 5cdc66d8ca484a73877b101d794b53b07d6f55d81fd486120811b640fd3bde79 2170 magic-wormhole-transit-relay_0.3.1-0.4.dsc
 c36642dd931190cba9e9618f8df8f2ad4a1dd245d985f4c96310603d56e345bc 6408 magic-wormhole-transit-relay_0.3.1-0.4.debian.tar.xz
 6bfb39a73c370ef50cce1237266c02d9494bc28fa4bcb7af1a9c324ee263e048 8214 magic-wormhole-transit-relay_0.3.1-0.4_amd64.buildinfo
Files:
 fded78f52a87193f22081056daf96ce4 2170 python optional magic-wormhole-transit-relay_0.3.1-0.4.dsc
 38ac08dfeb33a64ec38e1c7b9a0fee98 6408 python optional magic-wormhole-transit-relay_0.3.1-0.4.debian.tar.xz
 bcb4374181f7efe894180769926d1b5e 8214 python optional magic-wormhole-transit-relay_0.3.1-0.4_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEWzS6WqtVB+kDQm6F6NN64vCfSHIFAmq3if4ACgkQ6NN64vCf
SHIBHw//UI0SuGS7//Zlff9HY1cZSwdAd54c3a797c8MiwRu+iUnzVLs8yW4Fb6B
o1Iz7alkEDbPaLIV+IbbLYybx7kRqQcWOm5vZ9WbawL756b/k1jX4pcIrz6fH2/Q
mlyJkqYuZ3SL0ucuxKDw/UpDSjvKTrWv4S8AGw92I/D54Kh+SAy8ApkIm04QER/h
Qw2E6xZv3bCd3KRa3ie9+h/mo34UW+0iJOGPexEyifWlgrhEazS1QmM9ZEFdVLNS
9duNK1yjgAPgmTuxZSQBnnXxfUnywe4VcdnFtRFXrZvzmQDCTjxlbZgsPrvimu/I
t/8KqMLwi/gPPJH9aKDlSz7Va2AfcIvOUtkEwYiqdkLIuqhmbqOOVJ1oJOqS6geu
Tw8tKkaMHSdtnLskvcxk/ssiKS+05y/M4sJsxE+541mWo4Q/6YoDCIPkpMY/nB76
hg4QHNc7x7hwrX2arQaDsDQZzOQbTYQ3ZDZMTRUwD/OcGWzGvOmplAF+5qMO8WfI
m2VYIQQXPHwlHGvyhHb73xTyj/xYLe2KeK1ctI98GlA9B/c0AD8qGL02LBvBFtFv
NJ3qZfFVWO+b0olh3BMF9E9n397N2Y8pcQ6nk3JSgD12RqYMoi9kc9hKgB9KUP5x
18iBhPEYarH+Wna2nmAe+2ATPPpmwO5UfNvhOkUWFbC/7W8vwso=
=C7el
-----END PGP SIGNATURE-----