When building a package and using option "--build=all", e.g.
$ gbp buildpackage --build=all
the build might fail with error message
...
dh_install -p libvirt-daemon-system etc/libvirt/libxl.conf
dh_install: warning: All requested packages have been excluded (e.g. via a Build-Profile or due to architecture restrictions).
...
dh_missing: warning: etc/libvirt/libxl.conf exists in debian/tmp but is not installed to anywhere
...
dh_missing: error: missing files, aborting
I think the issues arises from Dh_getopt.pm, sub getoptions. I think it
will immediately terminate the dh_* command when option "-p" is
encountered and all packages are excluded. I suggest, this is wrong in case of
dh_install because it prevents dh_install from logging the installed
files tnd in the following make subsequent call to dh_missing fail.
I found the problem when struggling with libvirt 6.7.0-2 source. With that
package the build still failes, even after replacing override_dh_install-arch
with override_dh_install in debian/rules
cheers,
Andreas Messer