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

Bug#806504: lintian: malformed-override Cannot parse line 9: missing-dependency-on-libstdc++



Control: tags -1 + pending

Hi Andreas!

Thanks for the bug report.

* Andreas Beckmann <anbe@debian.org>, 2015-11-28, 06:17:
I'd guess that lintian does not accept the '+' character in tags when reading the overrides, resulting in this:

E: nvidia-cuda-dev: malformed-override Cannot parse line 9: missing-dependency-on-libstdc++
X: nvidia-cuda-dev: missing-dependency-on-libstdc++ needed by usr/lib/x86_64-linux-gnu/stubs/libcublas.so and 10 others

Right. The regexp we currently use (in lib/Lintian/Tags.pm:546) for tag names is:

[\-\.a-zA-Z_0-9]+

So the "+" character was not allowed, making it impossible to override these tags:

missing-dependency-on-libstdc++
source-contains-autogenerated-visual-c++-file

I've committed fix for this bug.

I'd prefer these tags to be emitted once for each occurence and not grouped together with "and X others".

Sounds reasonable. Would you mind filing a separate bug about it?

--
Jakub Wilk


Reply to: