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

Bug#486145: lintian: Please downgrade "depends-on-obsolete-package" to warning for alternative OR'ed dependencies



On Sun, Jun 15, 2008 at 02:32:01PM +0200, Raphael Hertzog wrote:
> On Fri, 13 Jun 2008, Kevin B. McCarty wrote:
> > (Build-)Depends: foo | bar
> > 
> > will trigger a Lintian error.
> > 
> > It would be preferable for the severity in this case to be only a
> > warning instead of an error.
> 
> Fully agreed. It should even be "I" only. Ideally the obsolete package
> would be associated with the release were they have been obsoleted so that
> the "I" could be upgraded to "W" in release + 1 and "E" in release + 2.
> 
> (only speaking of obsolete package in OR, unconditional dependency on
> obsolete package is certainly an error, also the obsolete package should
> never appear in the first position in an OR dependency)

Note that due to the limitations of sbuild an obsolete package in an
OR'ed dependency in Build-Depends generally is useless. So downgrading
this only makes sense for Dependencies.

Gruesse,
-- 
Frank Lichtenheld <djpig@debian.org>
www: http://www.djpig.de/



Reply to: