--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: samplv1 FTCBFS: uses the build architecture qmake
- From: Helmut Grohne <helmut@subdivi.de>
- Date: Sun, 10 Jun 2018 11:06:12 +0200
- Message-id: <20180610090611.GA16634@alf.mars>
Source: samplv1
Version: 0.8.6-1
Tags: patch upstream
User: helmutg@debian.org
Usertags: rebootstrap
samplv1 fails to cross build from source, because ./configure detects
the build architecture qmake with AC_PATH_PROG. Since the behaviour of
qmake is architecture-dependent, one should be using AC_PATH_TOOL here.
After doing so, samplv1 cross builds successfully. Please consider
applying the attached patch.
Helmut
--- samplv1-0.8.6.orig/configure.ac
+++ samplv1-0.8.6/configure.ac
@@ -266,12 +266,12 @@
ac_errmsg="not found in current PATH. Maybe QT development environment isn't available."
if test "x$ac_qt4" = "xyes"; then
- AC_PATH_PROG(ac_qmake, qmake-qt4, [no], $ac_path)
+ AC_PATH_TOOL(ac_qmake, qmake-qt4, [no], $ac_path)
else
- AC_PATH_PROG(ac_qmake, qmake-qt5, [no], $ac_path)
+ AC_PATH_TOOL(ac_qmake, qmake-qt5, [no], $ac_path)
fi
if test "x$ac_qmake" = "xno"; then
- AC_PATH_PROG(ac_cv_qmake, qmake, [no], $ac_path)
+ AC_PATH_TOOL(ac_cv_qmake, qmake, [no], $ac_path)
ac_qmake=$ac_cv_qmake
fi
if test "x$ac_qmake" = "xno"; then
--- End Message ---