Control: tags -1 + patch

On 2018-05-27 23:43 +0200, Stanislaw Halik wrote:

> Package: libprocps-dev
> Version: 2:3.3.15-1
> Severity: normal
>
> Hey,
>
> The libprocps-dev package depends on `libprocps7' but contains a broken
> symlink to `libprocps.so.6' in the /usr/lib search path.
>
> Otherwise the compiler picks up `libprocps.a' from the same directory,
> that fails since it's not built with -fPIC.

This actually makes packages FTBFS, but even if that were not the case
the severity bump to "serious" was correct I think.

> I believe the original intention was to have a non-broken symlink to
> `libprocps.so.7'.

Indeed, trivial patch attached.  Ideally such mistakes should be caught
at build time, but I am not quite sure how to best achieve that.  The
only advice I can give is to run adequate(1) on the installed packages
which reports such broken symlinks, which might also be done in an
autopkgtest[1].

Cheers,
       Sven


1. https://bugs.debian.org/743198

diff --git a/debian/libprocps-dev.links b/debian/libprocps-dev.links
index ee8758e..4f49c17 100755
--- a/debian/libprocps-dev.links
+++ b/debian/libprocps-dev.links
@@ -1,2 +1,2 @@
 #! /usr/bin/dh-exec
-lib/${DEB_HOST_MULTIARCH}/libprocps.so.6 usr/lib/${DEB_HOST_MULTIARCH}/libprocps.so
+lib/${DEB_HOST_MULTIARCH}/libprocps.so.7 usr/lib/${DEB_HOST_MULTIARCH}/libprocps.so

Reply via email to