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.) Cheers, -- Guilhem.
signature.asc
Description: PGP signature