Hi Christian, On Thu, 6 Apr 2017 14:30:24 +0200 Christian Seiler <christ...@iwakd.de> wrote: > The problem is that dirs is only interpreted by dh_installdirs, which > is typically run after dh_auto_install, so that wouldn't actually > solve your problem.
It does solve the problem (i.e. the error is gone if `usr/sbin` is present in the `dirs` file). According to the Debian New Maintainers' Guide guide, creating directories that are not created by `make install DESTDIR=...` as invoked by dh_auto_install is exactly what the dirs file is for [1]. Also, running `dh binary --no-act` in the arpwatch packaging dir yields: $ dh binary --no-act (...) dh_installdirs dh_auto_install (...) Can you explain in which situations dh_installdirs will be run after dh_auto_install? I'd like to avoid messing with the upstream build system more than required. If dh_installdirs isn't the correct approach, maybe I can create an override_dh_auto_install target and create the directory there before calling dh_auto_install…? Thanks Lukas [1] https://www.debian.org/doc/manuals/maint-guide/dother.en.html#dirs
pgphWjqJgLtYU.pgp
Description: OpenPGP digital signature