--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: projectm FTCBFS: broken, outdated, embedded copy of AX_HAVE_QT
- From: Helmut Grohne <helmut@subdivi.de>
- Date: Tue, 25 Oct 2022 06:52:03 +0200
- Message-id: <Y1drc5bLwLw1Ioxo@alf.mars>
Source: projectm
Version: 3.1.12-2.1
User: debian-cross@lists.debian.org
Usertags: ftcbfs
projectm fails to cross build from source, because it uses an broken,
outdated, embedded copy of AX_HAVEQT that is still affected by #965273
while this has been fixed in autoconf-archive already.
Please delete this copy from m4/autoconf-archive/ax_have_qt.m4 and use
the one from autoconf-archive instead. Failing that, please update your
copy and register it with the security tracker. See
https://wiki.debian.org/EmbeddedCopies for how to register embedded
copies.
Beyond this, projectm also hard codes the build architecture pkg-config
in one occasion. I'm attaching a patch for this latter issue for your
convenience.
Helmut
--- projectm-3.1.12.orig/configure.ac
+++ projectm-3.1.12/configure.ac
@@ -165,9 +165,10 @@
AC_ARG_ENABLE([qt], AS_HELP_STRING([--enable-qt], [Enable Qt: needed for pulseaudio and jack GUIs]), [], [enable_qt=check])
AS_IF([test "$enable_qt" != "no"],
[
+ AC_REQUIRE([PKG_PROG_PKG_CONFIG])
case $host_os in
linux*)
- PATH="$PATH:`pkg-config --variable=host_bins Qt5Core`"
+ PATH="$PATH:`$PKG_CONFIG --variable=host_bins Qt5Core`"
;;
esac
AX_HAVE_QT # m4/qt.m4
--- End Message ---