Bug#806315: dpkg-dev: Missing support for field Build-Essential

2015-12-04 Thread Manuel A. Fernandez Montecelo
2015-12-04 2:24 GMT+00:00 Guillem Jover :
> Hi!
>
> On Thu, 2015-11-26 at 12:02:39 +, Manuel A. Fernandez Montecelo wrote:
>> Package: dpkg-dev
>> Version: 1.18.3
>> Severity: wishlist
>
>> When I want to generate a dummy build-essential package with equivs, I get 
>> this:
>>
>>   dpkg-gencontrol: warning: unknown information field 'Build-Essential' in 
>> input
>>   data in package's section of control info file
>>
>> Yet, the official build-essential package has such a field:
>>
>>   $ apt-cache show build-essential:amd64 | grep '^Build-Ess'
>>   Build-Essential: yes
>
> But only on the archive.
>
>> So, since it's an "official" field, probably dpkg-gencontrol should
>> know about it and not issue a warning.
>
> Yeah, as mentioned on IRC I don't mind adding support for the field,
> and even documenting it! But I just want to note that it's only official
> in that the archive injects the field into the Packages indices. But I
> don't think this field has ever been discussed anywhere, nor documented.
> And no official package that is part of the direct build essential set
> has such field in their source package (AFAIK).

That's right, apt lists *_Sources contain 0 matches for
"Build-Essential", 2 for "experimental main Packages" and 11 for
"unstable main Packages".

I reported this thinking that it was a somehow official but obscure or
recently added field.  Judging by the number of packages if not
obscure, at least it's very rarely used.  So feel free to disregard
this wishlist if the field is not actually needed for anything else.


Cheers.
-- 
Manuel A. Fernandez Montecelo 



Bug#806315: dpkg-dev: Missing support for field Build-Essential

2015-12-03 Thread Guillem Jover
Hi!

On Thu, 2015-11-26 at 12:02:39 +, Manuel A. Fernandez Montecelo wrote:
> Package: dpkg-dev
> Version: 1.18.3
> Severity: wishlist

> When I want to generate a dummy build-essential package with equivs, I get 
> this:
> 
>   dpkg-gencontrol: warning: unknown information field 'Build-Essential' in 
> input
>   data in package's section of control info file
> 
> Yet, the official build-essential package has such a field:
> 
>   $ apt-cache show build-essential:amd64 | grep '^Build-Ess'
>   Build-Essential: yes

But only on the archive.

> So, since it's an "official" field, probably dpkg-gencontrol should
> know about it and not issue a warning.

Yeah, as mentioned on IRC I don't mind adding support for the field,
and even documenting it! But I just want to note that it's only official
in that the archive injects the field into the Packages indices. But I
don't think this field has ever been discussed anywhere, nor documented.
And no official package that is part of the direct build essential set
has such field in their source package (AFAIK).

Thanks,
Guillem



Bug#806315: dpkg-dev: Missing support for field Build-Essential

2015-11-26 Thread Manuel A. Fernandez Montecelo
Package: dpkg-dev
Version: 1.18.3
Severity: wishlist

Hi,

When I want to generate a dummy build-essential package with equivs, I get this:

  dpkg-gencontrol: warning: unknown information field 'Build-Essential' in input
  data in package's section of control info file

Yet, the official build-essential package has such a field:

  $ apt-cache show build-essential:amd64 | grep '^Build-Ess'
  Build-Essential: yes

So, since it's an "official" field, probably dpkg-gencontrol should know about
it and not issue a warning.


Cheers.
--
Manuel