On Wed, 25 Sep 2024 00:17:33 +0200 "Andrea Pappacoda" <and...@pappacoda.it> wrote:
Package: debhelper
Version: 13.20
Severity: normal

Hi! I've just tried out compat 14 to start preparing one of my packages to it, but noticed that the dh-sequence-single-binary dependency doesn't work as expected. According to the manpage, if that addon is used, dh_auto_build should install files to debian/singlepackage/, not debian/tmp/, but this is not what I'm observing. Here's a reproducer:

[...]

If I build the package as-is, the build fails as follows:

   dh_auto_install -- PREFIX=/usr
>
[...]

As you can see, the files get installed in debian/tmp even if the addon is present, which then leads to a failure. The same exact package, under compat 13, builds fine.

Am I misunderstanding what dh-sequence-single-binary should do? If I add a bare debian/install file then the build completes successfully under compat 14, but fails in compat 13.

Bye!
Hi,

Thanks for filing this bug report.

I think this will end up being ratified as the correct behavior with a documentation change to better support it. What `dh-sequence-single-binary` does is to add `--destdir=debian/${PACKAGE}` to the `dh_auto_install` parameters as the way to implement the default.

The moment you override `dh_auto_install` that extra option is discarded and there is no good way to keep the "implicit" defaults (the override is intended to be a reset; do what is necessary).

Let me think about this a bit more...

Best regards,
Niels

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to