#1139431 pyro5: FTBFS: Unable to determine debhelper compatibility version.

Package:
src:pyro5
Source:
src:pyro5
Submitter:
Santiago Vila
Date:
2026-06-15 11:05:02 UTC
Severity:
normal
Tags:
#1139431#5
Date:
2026-06-08 23:37:24 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/202606/

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:pyro5, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --with sphinxdoc --buildsystem=pybuild
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -f -r /<<PKGBUILDDIR>>/Pyro5.egg-info/
dh_auto_clean
Traceback (most recent call last):
  File "/usr/bin/pybuild", line 582, in <module>
    main(cfg)
    ~~~~^^^^^
  File "/usr/bin/pybuild", line 112, in main
    dh = DebHelper(build_options())
  File "/usr/share/dh-python/dhpython/debhelper.py", line 208, in __init__
    and self.compat() < 14
        ~~~~~~~~~~~^^
  File "/usr/share/dh-python/dhpython/debhelper.py", line 247, in compat
    raise Exception("Unable to determine debhelper compatibility version.")
Exception: Unable to determine debhelper compatibility version.
dh_auto_clean: error: pybuild --clean -i python{version} -p "3.14 3.13" --parallel=2 returned exit code 1
make[1]: *** [debian/rules:14: override_dh_auto_clean] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:10: clean] Error 2
dpkg-buildpackage: error: debian/rules clean subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1139431#10
Date:
2026-06-15 10:33:13 UTC
From:
To:
Control: clone -1 -2
Control: reassign -2 dh-python
Control: retitle -2 dh-python: dependency parsing is too picky about spacing
[...]

This is because pyro5 has "debhelper-compat(= 13)" in its Build-Depends,
and the lack of whitespace between the package name and the open
parenthesis trips up dh-python's parsing.  Easy to fix - I'll send an MR
shortly.

That said, pyro5 could easily avoid this by using more conventional
spacing, so I'll fix it on that side as well.

Thanks,

#1139431#17
Date:
2026-06-15 11:04:22 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
pyro5, 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 1139431@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Colin Watson <cjwatson@debian.org> (supplier of updated pyro5 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: Mon, 15 Jun 2026 11:47:25 +0100
Source: pyro5
Architecture: source
Version: 5.16-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Colin Watson <cjwatson@debian.org>
Closes: 1139431
Changes:
 pyro5 (5.16-2) unstable; urgency=medium
 .
   * Team upload.
   * Use more conventional Build-Depends spacing (closes: #1139431).
   * Drop "Rules-Requires-Root: no", default as of dpkg-dev 1.22.13.
   * Drop "Priority: optional", default as of dpkg-dev 1.22.13.
   * Standards-Version: 4.7.4.
Checksums-Sha1:
 f54ae83d8a60b5d3bc11895d44d39a3994ad425f 3297 pyro5_5.16-2.dsc
 cbf62b13b13f853094978cbc4b1eda1ef5571c28 6748 pyro5_5.16-2.debian.tar.xz
 d78357939058c7b2b45fef6259050d5470421bce 678572 pyro5_5.16-2.git.tar.xz
 bf60b39a0e5e95af9d7b2be995e5e339b8c3fa48 17476 pyro5_5.16-2_source.buildinfo
Checksums-Sha256:
 e5a5baa4d15cee49af6552fd034e0115cf8613910ebb6dbd3d9433d9ddafdf9f 3297 pyro5_5.16-2.dsc
 4f93e2a5cb79758905fcd8d40f9e6786532bde2fda748d1c2d450208d9c96023 6748 pyro5_5.16-2.debian.tar.xz
 07c5707a88273b8a0be914599134e55e40fdbd7d1e63a804199bd9c99dd5bddf 678572 pyro5_5.16-2.git.tar.xz
 4b15bfb020eefe835cba8ed01cd50cc0b59cb2b9c6e09ce083ec545ab5694fa0 17476 pyro5_5.16-2_source.buildinfo
Files:
 5fce6b6747f7e41730f3448f71f0b381 3297 python optional pyro5_5.16-2.dsc
 e9a63f72bfcfda7ea5b0658588457b62 6748 python optional pyro5_5.16-2.debian.tar.xz
 4f5d00a12d6cca2a5b12fc2c0be1300f 678572 python None pyro5_5.16-2.git.tar.xz
 117a868fd74c95c2abd0e5118329d907 17476 python optional pyro5_5.16-2_source.buildinfo
Git-Tag-Info: tag=698d51bda45f8fe843575fb7d3a276ef50c60716 fp=ac0a4ff12611b6fccf01c111393587d97d86500b
Git-Tag-Tagger: Colin Watson <cjwatson@debian.org>
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmov2OAACgkQYG0ITkaD
wHkBCw/9FtHfnkcli7RPcxIwqOmHJKADpQVsZcQ/26wp12yWYqz2U4T9dNQ6NA0h
fQVK+urDkC1lHyap/O7rUMWlBKvNCya4pXVhRKyUjt1rQyPTDWFG3dgGrn9Mkzfe
9IP8x+gTvc0MX+oyV7IIJXBLylNEiKuv8YhwJj+4EsTQMjnKXvX2ct05vnRJXv3e
32gNMnsJuufOodprzlTHgEl74aWhl87iDSp6jniG4hVY8L2le28Cjpuc822gkmi+
zkXL14sNVtbeODhNxYFL1tIh4IXl3RRu9uFDBvhWI/j9rnYXuT9ZGEWxhtSYu2BJ
AvzQSZsKvbescWI/txAjYJDb1vSXXqIC5vxfpKzVN+vmaD7DtIWVoxRsyMXVRDok
1Zfd16ex9/YOkAlXA1IC0GwX7NSN9wOykeSjR90d4NPnhY9lVEWfW3ULkbCClxga
dsQFiqQDlE5KlYeR8EZHoFXSSZJfGttvNEYmwLTMBBUDnkPPMznQjyiKq9VDeAve
GIqmRiLzaNo8TIdoR/dzqryaTbp/5bLWL0VddLBK4ZWFIWD4K57mu4xOVRAYW6i3
4j/QzBNLgEMcyr6qyMLxtKoOiBOvtmLdUpSQGdb+at97Gujx9xLpRLRlAOmNetpO
FfFNlZxgrRsQ+zBic1SrSmGbWrYaiJyMjq2VdzTYJsmvqEtS6sE=
=Arsi
-----END PGP SIGNATURE-----