Re: [dpkg] 50/130: debian: Use perl:Depends via dh_perl instead of a hardcoded perl
- To: debian-dpkg@lists.debian.org
- Subject: Re: [dpkg] 50/130: debian: Use perl:Depends via dh_perl instead of a hardcoded perl
- From: Sven Joachim <svenjoac@gmx.de>
- Date: Mon, 19 Dec 2016 11:08:00 +0100
- Message-id: <[🔎] 87pokop6yn.fsf@turtle.gmx.de>
- Mail-followup-to: debian-dpkg@lists.debian.org
- In-reply-to: <20161106054726.gl6bq6t72odfqp7m@gaara.hadrons.org> (Guillem Jover's message of "Sun, 6 Nov 2016 06:47:26 +0100")
- References: <20161030054642.18586.70869@moszumanska.debian.org> <E1c0ixE-00055w-Bq@moszumanska.debian.org> <87fundlebz.fsf@turtle.gmx.de> <20161106054726.gl6bq6t72odfqp7m@gaara.hadrons.org>
On 2016-11-06 06:47 +0100, Guillem Jover wrote:
> Hi!
>
> On Sun, 2016-10-30 at 22:25:04 +0100, Sven Joachim wrote:
>> On 2016-10-30 05:46 +0000, Guillem Jover wrote:
>> > diff --git a/debian/rules b/debian/rules
>> > index d57fa22..212a5a8 100755
>> > --- a/debian/rules
>> > +++ b/debian/rules
>> > @@ -138,6 +138,7 @@ binary-indep: install
>> > dh_installman -i
>> > dh_link -i
>> > dh_lintian -i
>> > + dh_perl -i
>> > dh_strip -i
>> > dh_compress -i
>> > dh_fixperms -i
>>
>> Should dpkg-dev depend on ${perl:Depends} as well? While not strictly
>> necessary, that seems correct to me and avoids this warning at the end
>> of the build:
>
>> ,----
>> | dpkg-gencontrol: warning: package dpkg-dev: unused substitution variable ${perl:Depends}
>> `----
>
> Yeah, I did this now.
>
>> On the other hand, having dpkg-dev depend on perl:any might break
>> "debootstrap --variant=buildd" as long as bug #836525[1] is not
>> fixed. :-(
>
> I'd assume that having libdpkg-perl would break it anyway, so I went
> ahead, more so given that you had already provided a patch there. :)
It did not at the time because libdpkg-perl depended on perl rather than
perl:any, but now that you changed that it finally broke. Which is
good, since it gave me a reason to bump the severity of #836525 to
serious.
Cheers,
Sven
Reply to: