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

Bug#682941: lintian: Unhelpful croak message 'Missing Severity field for HASH(0x...)'



On 2012-07-27 09:53, Christoph Biedl wrote:
> Package: lintian
> Version: 2.5.10
> Severity: normal
> 
> Dear Maintainer,
> 
> refering to /usr/share/lintian/lib/Lintian/Tag/Info.pm ll.88
> 
>     croak "Missing Tag field" unless $self->{'tag'};
>     $tagname = $self->{'tag'};
>     croak "Missing Severity field for $tag" unless $self->{'severity'};
>     croak "Missing Certainity field for $tag" unless $self->{'certainty'};
> 
> Since $tag is a hash reference, an error message created in the third
> or fourth line is not helping. Did you mean $tagname?
> 
> Mean reason was a broken external plugin so you'll probably not
> encounter that in regular lintian installations. Feel free to lower
> the priority.
> 
>     Christoph
> 
> [...]

Hi,

Thanks for spotting this, it has been fixed in a75087f (in case you want
to backport it).

Is the source for this third-party plugin available online?  I am
curious about how installs itself, what it uses and such.

~Niels


Reply to: