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

2026-09-12 Thread Jeremy Bícha
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



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

2026-08-12 Thread Andrey Rakhmatullin
Package: debhelper
Version: 14.3
Severity: normal

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.


-- System Information:
Debian Release: forky/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'testing'), 
(101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 7.1.7+deb14-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages debhelper depends on:
ii  autotools-dev20240727.1+nmu1
ii  dh-autoreconf22
ii  dh-strip-nondeterminism  1.15.1-1
ii  dpkg 1.23.7
ii  dpkg-dev 1.23.7
ii  dwz  0.17-1
ii  file 1:5.47-4
ii  libdebhelper-perl14.3
ii  libdpkg-perl 1.23.7
ii  man-db   2.13.1-1
ii  perl 5.42.2-3
ii  po-debconf   1.0.22

debhelper recommends no packages.

Versions of packages debhelper suggests:
ii  dh-make  2.202601

-- debconf-show failed