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

Luca Boccassi bluca at debian.org
Mon Dec 28 21:56:25 GMT 2020


Package: libcryptsetup-dev
Version: 2:2.3.4-1
Severity: normal
Tags: patch

Dear Maintainer,

When building cryptsetup, libdir is set to /lib/<arch> but then the
libcryptsetup* packages are manually changed to install in
/usr/lib/<arch> via dh-exec.
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.

A merge request with a quick fix has been opened on Salsa:

https://salsa.debian.org/cryptsetup-team/cryptsetup/-/merge_requests/20

Kind regards,
Luca Boccassi



More information about the pkg-cryptsetup-devel mailing list