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

Bug#574572: lintian: false positives with shared libraries



Brian May <bam@debian.org> writes:

> W: libhx509-5-heimdal: shlibs-declares-dependency-on-other-package libhx509-5-heimdal (>= 1.4.0git20100221.dfsg.1)

[...]

> The package-name-doesnt-match-sonames is an old issue, the
> shlibs-declares-dependency-on-other-package is a new one that makes no
> sense to me. Have I got something wrong?

Yes, note the missing ~ in the version number in the dependencies.  The
version shlibs creates a dependency on is different (higher) than the
package version and therefore can't be satisfied by it.  This is why the
libraries are currently uninstallable in unstable.

The tag name is deceptive in this case, but the long description (lintian
-i) would have helped:

N: shlibs-declares-dependency-on-other-package
N:
N:   This package declares in its shlibs control file either a dependency
N:   on some other package not listed in the Provides of this package or on
N:   a version of this package that the package version doesn't satisfy.
N:   
N:   Packages should normally only list in their shlibs control file the
N:   shared libraries included in that package, and therefore the
N:   dependencies listed there should normally be satisfied by either the
N:   package itself or one of its Provides.
N:   
N:   In unusual circumstances where it's necessary to declare more complex
N:   dependencies in the shlibs control file, please add a lintian override
N:   for this warning.
N:   
N:   Refer to Debian Policy Manual section 8.6 (Dependencies between the
N:   library and other packages - the shlibs system) for details.
N:   
N:   Severity: normal, Certainty: possible

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>



Reply to: