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

Bug#904936: lintian: False positives for missing-depends-on-sensible-utils in locale .mo files



Hi!

On Sun, 2018-07-29 at 19:43:21 +0200, Axel Beckert wrote:
> Package: lintian
> Version: 2.5.94
> Severity: normal

> I think these (from a build of the just uploaded aptitude 0.8.11-1) are
> false positives:
> 
> E: aptitude-common: missing-depends-on-sensible-utils usr/share/locale/ar/LC_MESSAGES/aptitude.mo
[…]

> These are just arch:all translation directories for the arch:any package
> aptitude, which does have a package relationship with sensible-utils.

> So I suggest that missing-depends-on-sensible-utils should ignore any
> hits under /usr/share/locale/.

Right, Axel and me discussed this briefly on IRC, and the conclusion
was that probably adding a blacklist of directories or pathnames to
exclude would be best. Because a whitelist would keep growing with
interpreted script module directories and similar.

The /usr/share/locale/ and the /usr/share/doc/ directories are
probably the two obvious candidates. Also probably any documentation
such as .(html|txt|mdwn), etc., and README* files and similar located
elsewhere, but not things such as .xml, for example? For the pathnames
I'm going by the currently emitted tags on lintian.d.o.

Also I think I mentioned this in the original report, that Pre-Depends
and Suggests should also be allowed (or if they currently are they should
be documented as such) not just Depends and Recommends. We'd certainly
not want for maintainers to lower or raise the strenght of the fields
just to shut up lintian. :)

Thanks,
Guillem


Reply to: