[Pkg-pascal-devel] Bug#1012737: libqtpas FTCBFS: uses the build architecture qmake

Helmut Grohne helmut at subdivi.de
Sun Jun 12 09:18:09 BST 2022


Source: libqtpas
Version: 2.6+2.2.0+dfsg1-2
Tags: patch
User: debian-cross at lists.debian.org
Usertags: ftcbfs

libqtpas fails to cross build from source, because it uses the build
architecture qmake. The easiest way of using the host architecture one -
using dh_auto_configure - makes libqtpas cross buildable. Please
consider applying the attached patch.

Helmut
-------------- next part --------------
diff --minimal -Nru libqtpas-2.6+2.2.0+dfsg1/debian/changelog libqtpas-2.6+2.2.0+dfsg1/debian/changelog
--- libqtpas-2.6+2.2.0+dfsg1/debian/changelog	2022-06-05 12:31:36.000000000 +0200
+++ libqtpas-2.6+2.2.0+dfsg1/debian/changelog	2022-06-12 10:07:37.000000000 +0200
@@ -1,3 +1,10 @@
+libqtpas (2.6+2.2.0+dfsg1-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_configure call qmake. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Sun, 12 Jun 2022 10:07:37 +0200
+
 libqtpas (2.6+2.2.0+dfsg1-2) unstable; urgency=medium
 
   * Team upload
diff --minimal -Nru libqtpas-2.6+2.2.0+dfsg1/debian/rules libqtpas-2.6+2.2.0+dfsg1/debian/rules
--- libqtpas-2.6+2.2.0+dfsg1/debian/rules	2022-06-05 11:53:42.000000000 +0200
+++ libqtpas-2.6+2.2.0+dfsg1/debian/rules	2022-06-12 10:07:36.000000000 +0200
@@ -14,10 +14,7 @@
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
 %:
-	dh $@ --with pkgkde_symbolshelper
-
-override_dh_auto_configure:
-	qmake
+	dh $@ --buildsystem=qmake --with pkgkde_symbolshelper
 
 override_dh_auto_install:
 	# Install Pascal binding source & fix permissions


More information about the Pkg-pascal-devel mailing list