weak-library-dev-dependency

All reports of weak-library-dev-dependency for the archive. The extended description of this tag is:

The given package appears to be a shared library -dev package, but the dependency on what seems to be a corresponding shared library package does not force the same package version. To ensure that compiling and linking works properly, and that the symlinks in the -dev package point to the correct files in the shared library package, a -dev package should normally use (= ${binary:Version}) for the dependency on the shared library package.

Sometimes, such as for -dev packages that are architecture-independent to not break binNMUs or when one doesn't want to force a tight dependency, a weaker dependency is warranted. Something like (>= ${source:Upstream-Version}), (<< ${source:Upstream-Version}+1~), possibly using ${source:Version} instead, is the right apprach. The goal is to ensure that a new upstream version of the library package doesn't satisfy the -dev package dependency, since the minor version of the shared library may have changed, breaking the *.so links.

Refer to Debian Policy Manual section 8.5 (Dependencies between the packages of the same library) for details.

Severity: important, Certainty: possible

Check: control-file, Type: source

This tag has not been emitted in any package tested by Lintian.