Source: qt6-graphs
Version: 6.8.2-4
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

qt6-graphs fails to cross build from source, because QT_HOST_PATH is not 
passed. I'm attaching the obvious patch for your convenience.

Helmut
diff -Nru qt6-graphs-6.8.2/debian/changelog qt6-graphs-6.8.2/debian/changelog
--- qt6-graphs-6.8.2/debian/changelog   2025-03-01 12:36:32.000000000 +0100
+++ qt6-graphs-6.8.2/debian/changelog   2025-09-03 15:03:34.000000000 +0200
@@ -1,3 +1,10 @@
+qt6-graphs (6.8.2-4.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Pass QT_HOST_PATH. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Wed, 03 Sep 2025 15:03:34 +0200
+
 qt6-graphs (6.8.2-4) unstable; urgency=medium
 
   * Upload to unstable.
diff -Nru qt6-graphs-6.8.2/debian/rules qt6-graphs-6.8.2/debian/rules
--- qt6-graphs-6.8.2/debian/rules       2024-12-15 01:11:23.000000000 +0100
+++ qt6-graphs-6.8.2/debian/rules       2025-09-03 14:58:23.000000000 +0200
@@ -9,6 +9,7 @@
 override_dh_auto_configure:
        dh_auto_configure -- \
                --log-level=STATUS \
+               $(if $(filter 
$(DEB_HOST_ARCH),$(DEB_BUILD_ARCH)),,-DQT_HOST_PATH=/usr) \
                -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)
 
 override_dh_auto_build-indep:

Reply via email to