Lintian ReportsBETA

Tag versions

Wpkg-config-unavailable-for-cross-compilation

The tag is present in Lintian version 2.113.26. That is the most recent version we know about.

We use semantic versions. The patch number is a commit step indicator relative to the 2.113.0 release tag in our Git repository.

You can find the detection logic for this version at commit 43a81d7. For merge requests, please use the latest version in the Lintian check files/pkgconfig.

Visibility: warning

The specified pkg-config(1) file is installed to /usr/lib/pkgconfig. As the cross-compilation wrapper of pkg-config does not search this directory the file is unavailable under cross-compilation.

Please install the file to /usr/lib/${DEB_HOST_MULTIARCH}/pkgconfig instead.

For projects that use GNU Autotools, a simple method is moving to a debhelper compat level of 9 or higher. In the rare case that this file is architecture independent it can be installed to /usr/share/pkgconfig instead.

The following 159 source packages in the archive triggered the tag 262 times (in any Lintian version).

We found 9 overrides. The tag performed 97% of the time.