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

Bug#249414: lintian: Fails to detect usr-doc-symlink



On Mon, May 31, 2004 at 11:55:21PM +0200, Rafael Laboissiere wrote:
> * Marc 'HE' Brockschmidt <marc@marcbrockschmidt.de> [2004-05-31 14:32]:
> 
> > No problem. /usr/share/doc/$pkg/copyright is the reason. As the
> > copyright notice is one of the most important files in a package (at
> > least seen from a legal pov) we have to ensure that it is always
> > right. This is only possible if both packages come from the same source
> > package and the same source version. We still have a little problem in
> > those cases where the version of a binary package differs from the
> > version of another binary package linking its /usr/share/doc/dir to it.
> 
> The goal of detecting incoherences in the copyright files is very noble, but

Hm, we trust to the maintainers to get this kind of dependencies right
in most cases... That is, a depends on the latest significantly (that
is, incompatible) changed version, and conflict on the latest
incompatible package.

copyright files don't change that often, is it really needed to demand a
strict depends?

> I cannot get my packages Lintian-clean at all.  For instance, if I put in
> debian/control:
> 
>     Package: plplot-bin
>     Depends: libplplot9 (= ${Source-Version}), ${shlibs:Depends}
> 
> then I get the Lintian error:
> 
>     E: plplot-bin: package-has-a-duplicate-relation depends: libplplot9 (=
>     5.3.0.cvs.20040520-0.sarge.2), libplplot9 (>= 5.3.0.cvs.20040520)
> 
> The ${shlibs:Depends} above is absolutely necessary, otherwise, I cannot get
> the libc6 dependency right.
> 
> Could a nice soul explain to me how I can get around this problem?

You cannot, this is a known result of using substvars. Please ignore
(and/or override) the associating lintian warning, your solution is
indeed the best one achievable at the moment (apart from hacking around
it, which is ugly at best).
 
--Jeroen

-- 
Jeroen van Wolffelaar
Jeroen@wolffelaar.nl (also for Jabber & MSN; ICQ: 33944357)
http://Jeroen.A-Eskwadraat.nl



Reply to: