Jakub, On Thu, Apr 28, 2016 at 11:39 AM, Jakub Wilk <jw...@debian.org> wrote: > Hi Mathieu! > > * Mathieu Malaterre <ma...@debian.org>, 2016-04-28, 08:37: >> >> It would be super nice if lintian could somehow detect 'Recommends' >> pointing outside main: >> >> Policy 2.2.1 states: >> >>> In addition, the packages in main >>> >>> must not require or recommend a package outside of main for compilation >>> or execution (thus, the package must not declare a "Pre-Depends", "Depends", >>> "Recommends", "Build-Depends", or "Build-Depends-Indep" relationship on a >>> non-main package), >> >> >> This was detected by a human: >> >> https://bugs.debian.org/820190 > > > Lintian doesn't do any cross-package checks (with the exception of packages > built from the same sources). We have debcheck for archive-wide dependency > checks: > > https://qa.debian.org/debcheck.php?dist=sid&list=withinmain&arch=ANY > > (Sadly, debcheck UI leaves much to be desired, and it looks unmaintained. > :-\) > > That said, there are currently only ~760 non-main packages, and the list > probably don't change much over time, so maybe we could just save the list > into a static data file.
Neat tool ! I did make a report for chocolate-doom BTW. Seems to working as-is, so at least there is an existing tool, this is pretty good news. -M