#1144222 debhelper: Likely wrong compat numbers in the single-binary warning

Package:
debhelper
Source:
debhelper
Submitter:
Andrey Rakhmatullin
Date:
2026-09-13 08:49:04 UTC
Severity:
normal
Tags:
#1144222#5
Date:
2026-08-12 16:36:41 UTC
From:
To:
dh: warning: Implicitly activating single-binary dh addon for backwards
compatibility.  In compat 14+,
dh: warning: this fallback will *not* happen automatically via dh_auto_install
will instead use a
dh: warning: different default for --destdir unless the single-binary add-on is
active,
dh: warning: which can cause the source to produce an empty binary package
dh: warning:
dh: warning: To keep the existing behaviour (compat 13)

Should these compat levels be 15+ and 14 instead? debhelper-compat-upgrade-
checklist suggests that.

#1144222#8
Date:
2026-08-30 16:12:56 UTC
From:
To:
Hello,

Bug #1144222 in debhelper reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/debian/debhelper/-/commit/b45e5af7e674c5c6660651235e058eaf5385b63c
------------------------------------------------------------------------
Remove mention of `single-binary` from compat 15 - it happens in 14

Originally (before compat 14 was released), the `single-binary` change
was a two phase change (part compat 14, part compat 15). But it later
got reduced to a pure compat 14 change. The compat 15 was
unfortunately still documented and now has to go.

Thanks: Andrey Rakhmatullin <wrar@debian.org>
Closes: #1144222
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1144222

#1144222#15
Date:
2026-09-13 06:27:01 UTC
From:
To:
Niels,

https://salsa.debian.org/debian/debhelper/-/commit/b45e5af7e67
feels wrong to me. debhelper still emits this warning for a package
that only builds a single binary and is using dh compat 14:

 debian/rules binary
dh binary
dh: warning: Implicitly activating single-binary dh addon for
backwards compatibility.  In compat 14+,
dh: warning: this fallback will *not* happen automatically via
dh_auto_install will instead use a
dh: warning: different default for --destdir unless the single-binary
add-on is active,
dh: warning: which can cause the source to produce an empty binary package
dh: warning:
dh: warning: To keep the existing behaviour (compat 13), please
activate the single-binary addon explicitly.
dh: warning: This can be done by adding "dh-sequence-single-binary" to
Build-Depends or passing
dh: warning: --with=single-binary to dh.
dh: warning:
dh: warning: If you have solved this issue differently (e.g., by
passing --destdir explicitly to
dh: warning: dh_auto_install or not using dh_auto_install at all) and
want to silence this warning
dh: warning: without activating the addon, you can do that by passing
--without=single-binary to dh
dh: warning: to explicitly acknowledge the change.
dh: warning:
dh: warning: Please see the description of the "single-binary" in "man
dh" for more details of what
dh: warning: it does and why this is changing from implicit behaviour
to explicitly opt-in.

Therefore, I use this in my dh compat 14 packages
dh $@ --without single-binary

I am looking forward to removing "--without single-binary" with dh compat 15.

Also, I think there is a grammar error in the warning
"this fallback will *not* happen automatically via dh_auto_install
will instead use a different default". That looks like 2 phrases, but
there is a missing conjunction and maybe a missing subject.

Thank you,
Jeremy Bícha

#1144222#18
Date:
2026-09-13 08:17:27 UTC
From:
To:
Hello,

Bug #1144222 in debhelper reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/debian/debhelper/-/commit/500d4c46673e313c5fa0013f71a983eb5420895e
------------------------------------------------------------------------
Improve warning message for implicit `single-binary` addon

Thanks: Jeremy Bicha <jbicha@debian.org>
Closes: #1144222
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1144222

#1144222#23
Date:
2026-09-13 08:48:50 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
debhelper, 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 1144222@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Niels Thykier <niels@thykier.net> (supplier of updated debhelper 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: Sun, 13 Sep 2026 08:22:22 +0000
Source: debhelper
Architecture: source
Version: 14.4
Distribution: unstable
Urgency: medium
Maintainer: Debhelper Maintainers <debhelper@packages.debian.org>
Changed-By: Niels Thykier <niels@thykier.net>
Closes: 114716 1142220 1142577 1142730 1144222
Changes:
 debhelper (14.4) unstable; urgency=medium
 .
   [ Jeremy Bícha ]
   * meson: Use meson install --no-rebuild by default for compat 14+
     (Closes: #1142577)
 .
   [ Athos Ribeiro ]
   * Improve automated substvar injection documentation
 .
   [ Charles Plessy ]
   * Note that `dh_installdocs` does not copy empty files.
 .
   [ Johannes Schauer Marin Rodrigues ]
   * autoscripts/postinst-init-nostart: missing DPKG_ROOT
 .
   [ Niels Thykier ]
   * dh_installsystemduser: Avoid warnings when unit is declared unrestartable
   * dh_computeautosubstvars: Improve auto-detection for Commands field
     (Closes: #114716)
   * Revert "Remove mention of `single-binary` from compat 15 - it happens in 14"
   * Improve warning message for implicit `single-binary` addon.
     Thanks to Andrey Rakhmatullin <wrar@debian.org> and
     Jeremy Bicha <jbicha@debian.org> (Closes: #1144222)
 .
   [ Luca Boccassi ]
   * upgrade-checklist: update note on user units handling (Closes: #1142730)
 .
   [ Américo Monteiro ]
   * Update on Portuguese translation of the man pages (Closes: #1142220)
Checksums-Sha1:
 deb8dc56d0dba36ecdf08038487e14cc4fa689e1 2067 debhelper_14.4.dsc
 b86dfa035ba1da095380fa6ab0101f0ff5aa2b57 645328 debhelper_14.4.tar.xz
 6638ccd38f7f0ef7a206db087b4ca99c32cb9b6c 1622384 debhelper_14.4.git.tar.xz
 6df7c78e156f5a4584d811219d5d4e8955d06c0d 17664 debhelper_14.4_source.buildinfo
Checksums-Sha256:
 9bcf51963b823ab407e68b5c3226f5c5c6b00fc41a7328bc5dbab6ee23ec2b0b 2067 debhelper_14.4.dsc
 be99f71963922d0145226c850d64ec8bdc4763ddf22bf1ebeb332a7c92ed0cf4 645328 debhelper_14.4.tar.xz
 4808200e3595d9f4a5175822fc13a0f9bb0646a5567d10c56f48ef30c4416a08 1622384 debhelper_14.4.git.tar.xz
 298ffb02c8f96cc38261a77ba17a8e84230851d3f79a9135500bedd2dc7b07a5 17664 debhelper_14.4_source.buildinfo
Files:
 05ff7670483383104193db0a60703091 2067 devel optional debhelper_14.4.dsc
 3a07789f5d16e6ac17bc786eff5e2077 645328 devel optional debhelper_14.4.tar.xz
 b79bfbea6741dd7548f8e1f540b95cac 1622384 devel None debhelper_14.4.git.tar.xz
 5608a67ecf820a2f3811808a9265ba25 17664 devel optional debhelper_14.4_source.buildinfo
Git-Tag-Info: tag=b9e00110a663af49f234d3a10bf49e24fba4a289 fp=f5e7199aef5e5c67e555873f740d68888365d289
Git-Tag-Tagger: Niels Thykier <niels@thykier.net>
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmqmXlkACgkQYG0ITkaD
wHkACg/+PYr459x4q4bTq2x3+7ukqjOJWZMeuHQu07Q4Wt/0BSbvI+4W2HnPhoGZ
6Nuw3sEoWjENBQAFro0pThGgOn3H+NDMVule4h1tMMnFLsRPPqnUrJq3Bf+2VHIN
G0S+k/7rTUQ3HnLK9Ikr2LqrgRtMkV4syCAC9jHsgl7i5w5+RDWDGrtpFY5fqeWn
XHMCZyxIJhcI9705UfD9dd3k1Sv6oQpTnkfAXu3Hq6crPNSQrejABWhxE3nAFTsV
Yi0VMZG40B6YXuoUjlp8USRhaOW6Pf+Asuf8/f23UcduiRycZWkshzjraP67ltbq
rNQvTMr6o0Yp41esT6hQrz4xi9M57nL9OI18ENc1Bykit0kX6tO1S2SAHo7w0Q7B
NAQ1XN+w1eRmly1V1/1TJYfh1liM+TTYt1a9q0jknjdEYFvgCjqHmNKpFya2h1nu
ofTAa9nv+nDmlvE2aNDbuYvz4YefLoQL/3X5wMmjML2SHvwepC0+oztbDt4d1sKn
I0+5YWyQ4snZ+XInPCreWp6xdFe4iZ08kSquVW3FbrsvsFbiTzZsqVsHpbAnOAlM
Ucxfm8ORpSNyuT9W8UhSt603U4hniO0aQJNncCFcsJNuFWJbwKYS1wx1fQtiJeIY
XtxkCENHhBK30EDC5pYMEMsXkiSXnDo7a6I38mEpmxBZ6cNY9dw=
=iqg0
-----END PGP SIGNATURE-----