[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



severity 486145 normal
thanks

Upgrading to normal because lintian is really wrong. It's not just a
wishlist.

On Fri, 13 Jun 2008, Kevin B. McCarty wrote:
> The Lintian build-depends-on-obsolete-package and
> depends-on-obsolete-package checks are useful.  But they make it harder
> to write debian/control to be backport-friendly, that is in such a way
> that only a rebuild on an Etch system with satisfied build-deps (rather
> than editing debian/control) is required when backporting.  This is
> because Lintian checks even alternative packages in OR'ed dependencies.
> 
> For instance, if bar is a known obsolete package, then the following in
> debian/control:
> 
> (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)

Cheers,
-- 
Raphaël Hertzog

Le best-seller français mis à jour pour Debian Etch :
http://www.ouaza.com/livre/admin-debian/



Reply to: