On Wed, Sep 28, 2016 at 07:47:41PM +0300, Dmitry Bogatov wrote: > > > This package uses modules from perl/perl-modules-5.xx (at least > > File::Find) on both build and run time, so it should declare corresponding > > dependencies on perl. The preferred way to declare the run time > > dependency is to use ${perl:Depends}, as per the Debian Perl Policy. > > Seems I am missing something. dh_perl only produces > ${perl:Depends}=perl to me. Is it expected that dh_perl would produce > following list, which I manually put into Depends? > > libparse-debcontrol-perl, > libhtml-linkextractor-perl, > libfile-chdir-perl, > libreadonly-perl, > libcarp-assert-perl, > liblist-moreutils-perl, > libparse-debianchangelog-perl,
No, dh_perl unfortunately doesn't work like that. ${perl:Depends}=perl is the expected behaviour, and you're still supposed to list the module packages manually. See for instance #81547. > Also I tried `perl-depends', but it hanged for me. If you are > interested, I can provide details. I have never tried perl-depends. You may want to ask its maintainer and/or file a bug, although #784025 indicates it may be simply broken. -- Niko Tyni nt...@debian.org