Lintian tag: autotools-pkg-config-macro-not-cross-compilation-safe

Type: warning

Description (from lintian-explain-tags)

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.

Please refer to Bug#884798 for details.

Visibility: warning
Show-Always: no
Check: build-systems/autotools

Affected packages

source version binary level tag count information
apertium-hbs-eng 0.5.1-2 warning autotools-pkg-config-macro-not-cross-compilation-safe 1 AC_PATH_PROG [apertium-hbs-0.5.0/configure.ac:55]
apertium-hbs-slv 0.5.1-2 warning autotools-pkg-config-macro-not-cross-compilation-safe 1 AC_PATH_PROG [apertium-hbs-0.5.0/configure.ac:55]
apertium-hin 0.1.0~r59158-4 warning autotools-pkg-config-macro-not-cross-compilation-safe 1 AC_PATH_PROG [configure.ac:55]
apertium-urd 0.1.0~r61311-3 warning autotools-pkg-config-macro-not-cross-compilation-safe 1 AC_PATH_PROG [configure.ac:55]
bodr 10-3 warning autotools-pkg-config-macro-not-cross-compilation-safe 1 AC_PATH_PROG [configure.ac:14]
chroma 1.19-2 warning autotools-pkg-config-macro-not-cross-compilation-safe 1 AC_PATH_PROG [configure.ac:58]
clanlib 1.0~svn3827-11.2 warning autotools-pkg-config-macro-not-cross-compilation-safe 1 AC_PATH_PROG [configure.ac:66]
compiz-plugins-main 2:0.8.18-7 warning autotools-pkg-config-macro-not-cross-compilation-safe 1 AC_PATH_PROG [configure.ac:104]
criticalmass 1:1.0.2-4 overridden autotools-pkg-config-macro-not-cross-compilation-safe 1 AC_PATH_PROG [curl/configure.ac:794]
davix 0.8.10-1 overridden autotools-pkg-config-macro-not-cross-compilation-safe 1 AC_PATH_PROG [deps/libneon/configure.in:132]
gdb 16.2-2 overridden autotools-pkg-config-macro-not-cross-compilation-safe 1 AC_PATH_PROG [gdb/configure.ac:1128]
gnustep-gui 0.32.0-1 overridden autotools-pkg-config-macro-not-cross-compilation-safe 1 AC_PATH_PROG [configure.ac:98]
gretl 2024d-1 warning autotools-pkg-config-macro-not-cross-compilation-safe 1 AC_PATH_PROG [configure.ac:660]
ldapvi 1.7-11.1 warning autotools-pkg-config-macro-not-cross-compilation-safe 1 AC_PATH_PROG [configure.in:49]
libcryptui 3.12.2-8 warning autotools-pkg-config-macro-not-cross-compilation-safe 1 AC_PATH_PROG [configure.ac:43]
libgdiplus 6.1+dfsg-1.1 warning autotools-pkg-config-macro-not-cross-compilation-safe 1 AC_PATH_PROG [configure.ac:19]
libgsf 1.14.53-1 warning autotools-pkg-config-macro-not-cross-compilation-safe 1 AC_PATH_PROG [configure.ac:52]
libhdate 1.6.02-2.1 warning autotools-pkg-config-macro-not-cross-compilation-safe 1 AC_PATH_PROG [configure.in:34]
libsmpp34 1.14.4-1 warning autotools-pkg-config-macro-not-cross-compilation-safe 1 AC_PATH_PROG [configure.ac:31]
lintian-brush 0.160 overridden autotools-pkg-config-macro-not-cross-compilation-safe 1 AC_PATH_PROG [lintian-brush/tests/autotools-pkg-config-macro-not-cross-compilation-safe/complex/in/configure.ac:11]
lmod 8.6.19-2 warning autotools-pkg-config-macro-not-cross-compilation-safe 1 AC_PATH_PROG [configure.ac:644]
lmod 8.6.19-2 warning autotools-pkg-config-macro-not-cross-compilation-safe 1 AC_PATH_PROG [configure.ac:932]
mono 6.12.0.199+dfsg-2.1 warning autotools-pkg-config-macro-not-cross-compilation-safe 1 AC_PATH_PROG [configure.ac:996]
neon27 0.34.0-1 warning autotools-pkg-config-macro-not-cross-compilation-safe 1 AC_PATH_PROG [configure.ac:141]
nextepc 0.3.10+nods-4.2 warning autotools-pkg-config-macro-not-cross-compilation-safe 1 AC_PATH_PROG [configure.ac:82]
ntfs-3g 1:2022.10.3-5 warning autotools-pkg-config-macro-not-cross-compilation-safe 1 AC_PATH_PROG [configure.ac:316]
nvi 1.81.6-23 warning autotools-pkg-config-macro-not-cross-compilation-safe 1 AC_PATH_PROG [dist/configure.in:270]
omniorb-dfsg 4.3.2+ds1-2 warning autotools-pkg-config-macro-not-cross-compilation-safe 1 AC_PATH_PROG [configure.ac:39]
plink2 2.00~a6.9-250129+dfsg-1 warning autotools-pkg-config-macro-not-cross-compilation-safe 1 AC_PATH_PROG [pgenlibr/configure.ac:6]
r-cran-nloptr 2.1.1-1 warning autotools-pkg-config-macro-not-cross-compilation-safe 1 AC_PATH_PROG [configure.ac:38]
r-cran-stringi 1.8.4-1 warning autotools-pkg-config-macro-not-cross-compilation-safe 1 AC_PATH_PROG [configure.ac:357]
sawfish 1:1.12.0-3 warning autotools-pkg-config-macro-not-cross-compilation-safe 1 AC_PATH_PROG [configure.ac:62]
xnee 3.19-9.2 warning autotools-pkg-config-macro-not-cross-compilation-safe 1 AC_PATH_PROG [configure.in:335]
xnee 3.19-9.2 warning autotools-pkg-config-macro-not-cross-compilation-safe 1 AC_PATH_PROG [configure.in:19]