Lintian ReportsBETA

Tag versions

Wautotools-pkg-config-macro-not-cross-compilation-safe

The tag is present in Lintian version 2.114.68. 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.114.0 release tag in our Git repository.

You can find the detection logic for this version at commit 1af554a. For merge requests, please use the latest version in the Lintian check build-systems/autotools.

Visibility: warning

The package appears to use AC_PATH_PROG to discover the location of pkg-config(1). This macro fails to select the correct version to support cross-compilation.

A better way would be to use the PKG_PROG_PKG_CONFIG macro from pkg.m4 and then using the $PKG_CONFIG shell variable.

For more information please consult:

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

We found 6 overrides. The tag performed 95% of the time.