Jeremy Bícha:
Source: debhelper
Version: 13.16
Basic Test Case
--------------
gbp clone https://salsa.debian.org/gnome-team/gnome-backgrounds.git
cd gnome-backgrounds
gbp buildpackage
Overview
------------
debhelper compat 14 warns if single-binary is implicitly used. The
upgrade checklist suggests either
- Add Build-Depends: dh-sequence-single-binary
- Add both --without single-binary and set dh_auto_install --destdir
[...]
What I Expected Instead
----------------------------------
1. Enable Test Case 2 to work, then
2. The upgrade checklist should suggest either:
- Add Build-Depends: dh-sequence-single-binary
- Add --without single-binary and then handle installing the files
like for a source package that has multiple binary packages
The warning now encourages package maintainers to opt into compat 15
style behavior early. No further changes are currently required for a
working 14 build using this style to upgrade to 15.
It avoids the extra verbosity needed for Test Case 3 for compat 14 and
avoids needing to clean that up for a simple debian/rules once
switched to compat 15.
There is a lot of merit to your arguments, which suggests the current
solution is suboptimal. The original problem I wanted to solve was to
avoid compat 14 triggering a flush of `single-binary` related packages.
This is why I made it a two step change.
I think you are right the better solution is to merge the compat 15 part
into compat 14 and then avoid the "Test Case 3" cleanup issue for future
uses.
Other Info
--------------
This would be a breaking change for compat 14. There are several
affected packages.
https://codesearch.debian.net/search?q=path%3Adebian%2Frules+without.*single-binary&literal=0
Thank you,
Jeremy Bícha
I had a look at these and only two of those matches were missing the
`dh_auto_install --destdir=debian/...`. Those being `gnome-boxes` and
`gnome-backgrounds`. Since you are listed as uploader for both, I
presume it would be "trivial" for us to retroactively update compat 14
if you had adequate time to fix those two first.
Could you give me a heads up when you have fixed those two? Or, if you
prefer, I can also upload the fixed debhelper first and then you will
tweak afterwards.
Best regards,
Niels