[debhelper-devel] Bug#824696: Bug#824696: debhelper: dh_perl should report perl:any when unversioned

Niko Tyni ntyni at debian.org
Sun May 22 10:39:27 UTC 2016


On Sat, May 21, 2016 at 06:56:28PM +0200, Javier Serrano Polo wrote:
> El ds 21 de 05 de 2016 a les 06:15 +0000, Niels Thykier va escriure:
> >  * Can you clarify why this should be done?
> 
> For instance, in https://bugs.debian.org/823264 , wine32-tools depends
> on perl (perl:i386) on amd64, but perl:amd64 would work. The dependency
> is "perl", it should be "perl:any", but this comes from ${perl:Depends}.
> There should be a way for dh_perl to output "perl:any".

AFAICS wine*-tools depend on perl for running #!/usr/bin/perl scripts. In
that use case perl:any probably makes sense. However, ${perl:Depends} is
also used (and, as I suspect, much more widely) for Perl module package
(lib*-perl) dependencies, where things quickly get much more complicated.

It seems to me that it might be safe for dh_perl to add the :any modifier
if the package only has #!/usr/bin/perl scripts?

Whether the resulting dependency is versioned or is completely orthogonal
to this thing AFAICS.
-- 
Niko Tyni   ntyni at debian.org




More information about the debhelper-devel mailing list