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

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



On Mon, May 17, 2004 at 11:29:23AM +0200, Rafael Laboissiere wrote:
> My plplot packages are not lintian-clean anymore in testing and unstable as
> they used to be two weeks ago.  I am getting the following lintian errors:

[...]
> 
> So, my packages clearly depend on libplplot9, and lintian is failing to
> detect this.  I think that the problem comes from an overzealous check in
> the subrouting depends_on in file /usr/share/lintian/checks/copyright-file,
> which forces the relationship to be "=", more specifically in this part of
> the code:
> 
>     for (split(/\s*,\s*/,"$deps,$predeps")) {
>     	# Now split the dep
> 	# We don't allow alternatives, as we need a strong depends: The dependency
> 	# has to be there whatever happens.
> 	if (/^\s* ( [^\s\[\(]+ ) \s* (?:\( \s* (<=|<|=|>=|>>|>) \s* ([^(]+) \))?\s*$/x) {
> 	    my ($d_pkg, $d_relation, $d_version) = ($1, ($2 || ""), ($3 || ""));
> 	    return 1 if (($package eq $d_pkg) and ($d_relation eq "=") and ($d_version eq $version));
> 	}
>     }

Hmm, this change was by HE:

[HE] Change usr-doc-symlink-to-foreign-package check to throw an
error when a package doesn't depend on the *same* version of the
package its /usr/share/doc/$foo dir is symlinked to. This is
supposed to ensure that both come from the same source and the
same source version. (Closes: #201470)

Perhaps you could explain it (CCed)? At least we have to lower the
severity of this one since it is not backed up by policy. And we should
certainly divide between "doesn't depend" and "doesn't depend on same
version"

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



Reply to: