Source: qvge
Version: 0.7.0-1
Tags: patch
User: [email protected]
Usertags: ftcbfs

qvge fails to cross build from source, because it runs bare qmake rather 
than a qmake prefixed with the host triplet. As a result, it configures 
for the build architecture and that tends to not go well for missing 
dependencies. Using dh_auto_configure fixes this. While it implies the 
-makefile flag, it does not imply the -r flag, so that one needs to be 
retained. I'm attaching a patch for your convenience.

Helmut
diff -Nru qvge-0.7.0/debian/changelog qvge-0.7.0/debian/changelog
--- qvge-0.7.0/debian/changelog 2025-09-12 09:12:41.000000000 +0200
+++ qvge-0.7.0/debian/changelog 2025-09-25 13:13:37.000000000 +0200
@@ -1,3 +1,10 @@
+qvge (0.7.0-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Use dh_auto_configure. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Thu, 25 Sep 2025 13:13:37 +0200
+
 qvge (0.7.0-1) unstable; urgency=medium
 
   * New upstream version. (Closes: #1034545)
diff -Nru qvge-0.7.0/debian/rules qvge-0.7.0/debian/rules
--- qvge-0.7.0/debian/rules     2022-02-28 12:12:11.000000000 +0100
+++ qvge-0.7.0/debian/rules     2025-09-25 13:13:37.000000000 +0200
@@ -14,7 +14,7 @@
        dh $@ --sourcedirectory=src
 
 override_dh_auto_configure:
-       cd src && qmake -makefile -r
+       dh_auto_configure -- -r
 
 override_dh_auto_install:
        @echo NO

Reply via email to