Re: lintian not recognizing override file?
Nelson A. de Oliveira [EMAIL PROTECTED] writes: Hi people! Patrick and I are trying to create a lintian override for this message: W: xtermset source: configure-generated-file-in-source config.status I have tried various combination for the override file: configure-generated-file-in-source xtermset: configure-generated-file-in-source xtermset: configure-generated-file-in-source config.status xtermset source: configure-generated-file-in-source xtermset source: configure-generated-file-in-source config.status but all without success. lintian (version 3.7.3) also says: (That's a Policy version rather than a lintian version.) W: xtermset source: configure-generated-file-in-source config.status (...) I: xtermset: unused-override configure-generated-file-in-source So it seems that is finding the override file (and it's indeed correctly installed under /usr/share/lintian/overrides/xtermset) I think those warnings are all correct, but it's a bit unintuitive as to why. First, you're installing an override for the *binary* package xtermset to suppress configure-generated-file-in-source. But that's a source package tag that doesn't trigger for the binary package. Hence the I: tag about an unused override. Second, you're trying to suppress a warning in the source package rather than the binary package, which means that you need a source override. A source override must have the file name debian/source.lintian-overrides. This is documented at http://lintian.debian.org/manual/ch2.html#s2.4. -- Russ Allbery ([EMAIL PROTECTED]) http://www.eyrie.org/~eagle/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: lintian not recognizing override file?
Hi Russ! On Dec 17, 2007 5:30 PM, Russ Allbery [EMAIL PROTECTED] wrote: lintian (version 3.7.3) also says: (That's a Policy version rather than a lintian version.) Argh... sorry. I was thinking in one thing and I wrote another one :-/ First, you're installing an override for the *binary* package xtermset to suppress configure-generated-file-in-source. But that's a source package tag that doesn't trigger for the binary package. Hence the I: tag about an unused override. Second, you're trying to suppress a warning in the source package rather than the binary package, which means that you need a source override. A source override must have the file name debian/source.lintian-overrides. This is documented at http://lintian.debian.org/manual/ch2.html#s2.4. Hum... now I understand. Thank you very much for your attention! Best regards, Nelson -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]