[pkg-cryptsetup-devel] Bug#978585: Bug#978585: libcryptsetup-dev: wrong libdir variable in libcryptsetup.pc

Luca Boccassi bluca at debian.org
Tue Dec 29 11:07:23 GMT 2020


On Tue, 29 Dec 2020 at 00:43, Guilhem Moulin <guilhem at debian.org> wrote:
>
> Hi Luca,
>
> On Mon, 28 Dec 2020 at 21:56:25 +0000, Luca Boccassi wrote:
> > The problem is that the ${libdir} variable in the pkg-config file is
> > not adjusted accordingly, so the wrong -L flags are exposed.
> > Given it's a standard path this is not usually an issue when building
> > reverse dependencies, but pkg-config can be used in more occasions
> > than that. For example, the systemd integration test suite uses it to
> > check where libraries are installed in a distro-agnostic way.
>
> Thanks for the poke!  I'm not specially fond of that breakout link .so
> /usr/lib/$DEB_HOST_MULTIARCH/libcryptsetup.so → /lib/$DEB_HOST_MULTIARCH/…
> (that also causes lintian to spew a ‘breakout-link’ warning).  I'm also
> not so fond of that sed rule :-P  Another way to fix the issue you
> reported is to move libcryptsetup.so to /lib/$DEB_HOST_MULTIARCH/… where
> the versioned link lives.  Does ec9b7931 help?  (That now causes lintian
> to spew a ‘lacks-unversioned-link-to-shared-library’, but I'll silence
> it following the reasoning from #843932.)

Hi,

That works just fine for me yes, thank you! I'll close the MR. Feel
free to mark this as closed with the next upload.

Kind regards,
Luca Boccassi



More information about the pkg-cryptsetup-devel mailing list