[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#942493: lintian: Complain of too long header fields



Hi

On Thu, 17 Oct 2019 09:51:39 +0200 =?utf-8?q?Rapha=C3=ABl_Hertzog?=
<hertzog@debian.org> wrote:
> Package: lintian
> Version: 2.27.0
> Severity: wishlist
> 
> Based on the problem discovered in #942487 where a Provides line of more
> than 256K slipped in the archive, I believe it would be nice if lintian
> could:
> 
> 1/ emit a warning when a field is larger than say 16K (somehow to force
>    the maintainer to think twice whether's he's doing something
>    reasonable)
> 
> 2/ emit an error when a field is larger than 200K (it breaks reprepro
>    above 256K)
> 
> This should be applied to .deb headers and .dsc headers. (.changes headers
> are less interesting as they are auto-generated without much control by
> the maintainer, or are a simple copy of fields already present in other
> files).


this now triggers an error in systemd:
E: systemd-tests-dbgsym: field-too-long 'Build-Ids' (8568 chars > 5000)
N:
N:    The length of the specified field is too long.
N:
N:    Overly-long fields not only can break some tools tools (eg.
reprepro(1))
N:    they can waste space as they are shipped to all users.
N:
N:    Please reduce the number of characters.
N:
N:    Refer to https://bugs.debian.org/942493 for details.
N:
N:    Severity: important, Certainty: certain
N:
N:    Check: fields/length, Type: binary, udeb, source


Given that systemd-tests-dbgsym is an autogenerated package, there isn't
really something that can be done to reduce the number of characters, or
is there?


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: