Op 10-05-11 12:39, Niels Thykier schreef:
> On 2011-05-10 11:55, Casper Gielen wrote:
>
>> The lintian manual appears to be off. Sectoin 2.4 on Overrides states:
> 
>> "If the override is for a source package, you have to place it at
>> debian/source/lintian-overrides or debian/source.lintian-overrides (the
>> former path is preferred)."
> 
> 
> Actually it is correct, since...
> 
>> Unfortunately the overrides are not used when the file is named
>> 'debian/source.lintian-overrides' . It is recognized when it is named
>> 'debian/lintian-overrides'.
> 
> 
> debian/lintian-overrides is not debian/source/lintian-overrides, but the
> short form of debian/<firstpkg>.lintian-overrides.  

Hello,
thanks for taking the time to help me. As far as I can tell this is not
documented anywhere in the lintian manual.

> The tag in question
> is emitted on a binary package (e.g. a deb file) and thus the override
> has to be in the binary package.
>   That being said, I would naturally have assumed this to be a source
> check based on the tag alone (and the file being processed).

Thank you for explaining this to me, I think I now understand. I'm new
to lintian so the distinction between source and binary packages does
not come natural to me.

One further remark, that same page contains the line "If the override is
for a binary or udeb package, you have to place it at
/usr/share/lintian/overrides/<package> inside the package."
Which lead me to believe that I had to create that file by hand and
include it in the package. However, apparently this file is
automatically created by debbuild from 'debian/lintian-overrides'.
The 'type' field in the lintian-overrides reinforces the idea that all
overrides should go in this file.


I think the page says so with the following line, but the language is
not very clear: "Note that Lintian extracts the override file from the
(u)deb and stores it in the laboratory." although it was my
understanding that the laboratory is something entirely else.

I'm obviously new to Lintian so I will no longer claim that the manual
is 'wrong'. but I do think the language is confusing.

-- 
Casper Gielen <cgie...@uvt.nl> | LIS UNIX
PGP fingerprint = 16BD 2C9F 8156 C242 F981  63B8 2214 083C F80E 4AF7

Universiteit van Tilburg | Postbus 90153, 5000 LE
Warandelaan 2 | Telefoon 013 466 4100 | G 236 | http://www.uvt.nl



Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to