--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: qmidinet FTCBFS: configure detects the build architecture qmake
- From: Helmut Grohne <helmut@subdivi.de>
- Date: Wed, 8 Aug 2018 22:42:02 +0200
- Message-id: <20180808204201.GA28478@alf.mars>
Source: qmidinet
Version: 0.5.0-1
Tags: patch upstream
User: helmutg@debian.org
Usertags: rebootstrap
qmidinet fails to cross build from source, because its ./configure
detects the build architecture qmake using AC_PATH_PROG. Since qmake is
only requested for the host architecture, it doesn't work. After
switching to AC_PATH_TOOL, qmidinet cross builds successfully. Please
consider applying the attached patch.
Helmut
--- qmidinet-0.5.0.orig/configure.ac
+++ qmidinet-0.5.0/configure.ac
@@ -196,12 +196,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 ---
--- Begin Message ---
Version: 0.5.5-1
On Wed, Aug 08, 2018 at 10:42:02PM +0200, Helmut Grohne wrote:
> qmidinet fails to cross build from source, because its ./configure
> detects the build architecture qmake using AC_PATH_PROG. Since qmake is
> only requested for the host architecture, it doesn't work. After
> switching to AC_PATH_TOOL, qmidinet cross builds successfully. Please
> consider applying the attached patch.
This was fixed in the 0.5.5 upstream release. Thus closing the bug.
Helmut
--- End Message ---