Source: qt6-tasktree
Version: 6.11.2-3
Tags: patch
User: [email protected]
Usertags: ftcbfs

qt6-tasktree fails to cross build from source. CMake complains that
QT_HOST_PATH must be set. Once doing so, it cross builds successfully.
Please consider applying the attached patch.

Helmut
diff -Nru qt6-tasktree-6.11.2/debian/changelog 
qt6-tasktree-6.11.2/debian/changelog
--- qt6-tasktree-6.11.2/debian/changelog        2026-09-20 17:04:04.000000000 
+0200
+++ qt6-tasktree-6.11.2/debian/changelog        2026-10-23 09:06:42.000000000 
+0200
@@ -1,3 +1,10 @@
+qt6-tasktree (6.11.2-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Set QT_HOST_PATH. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Fri, 23 Oct 2026 09:06:42 +0200
+
 qt6-tasktree (6.11.2-3) unstable; urgency=medium
 
   * Upload to unstable.
diff -Nru qt6-tasktree-6.11.2/debian/rules qt6-tasktree-6.11.2/debian/rules
--- qt6-tasktree-6.11.2/debian/rules    2026-09-20 16:06:59.000000000 +0200
+++ qt6-tasktree-6.11.2/debian/rules    2026-10-23 09:06:38.000000000 +0200
@@ -8,6 +8,9 @@
 ifneq ($(filter ccache,$(DEB_BUILD_PROFILES)),)
        extra_cmake_args += -DQT_USE_CCACHE=ON
 endif
+ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
+       extra_cmake_args += -DQT_HOST_PATH=/usr
+endif
 
 %:
        dh $@ --buildsystem=cmake+ninja

Reply via email to