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

Javier Serrano Polo javier at jasp.net
Sat May 21 16:56:28 UTC 2016


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".

>  * Can you clarify why the version constraint matters for adding :any?
> 
>  * A quick look at the patch suggests that the behaviour is
>    "unconditional" and will also be added to packages containing XS
>    modules etc.
>    - However, your text above suggest this was unintended.

In packages with XS modules, the version is set, thus :any would not be
added.
However, looking again at the code, I see that I forgot ARCHDEP_MODULE.
I submit a new patch. I am not sure what should happen with the -V
option.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: perl-any-2.patch
Type: text/x-patch
Size: 638 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debhelper-devel/attachments/20160521/6ac2197d/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3780 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debhelper-devel/attachments/20160521/6ac2197d/attachment-0003.bin>


More information about the debhelper-devel mailing list