[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1052178: qtscxml FTCBFS: runs the built qscxmlc



Source: qtscxml-everywhere-src
Version: 5.15.10-2
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs

qtscxml-everywhere-src fails to cross build from source, because it runs
the built qscxmlc during build. It turns out that the build system is
quite clever and actually looks for a native qscxmlc first and falls
back to the host one only in case the native one is not found. As such,
adding the missing dependency is sufficient here. I would like to thank
Lisandro for helping me discover the relevant source code. As usual, I'm
attaching a patch for your convenience.

Helmut
diff --minimal -Nru qtscxml-everywhere-src-5.15.10/debian/changelog qtscxml-everywhere-src-5.15.10/debian/changelog
--- qtscxml-everywhere-src-5.15.10/debian/changelog	2023-07-08 18:17:12.000000000 +0200
+++ qtscxml-everywhere-src-5.15.10/debian/changelog	2023-09-18 11:07:41.000000000 +0200
@@ -1,3 +1,10 @@
+qtscxml-everywhere-src (5.15.10-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Add libqt5scxml5-bin to cross Build-Depends. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Mon, 18 Sep 2023 11:07:41 +0200
+
 qtscxml-everywhere-src (5.15.10-2) unstable; urgency=medium
 
   * Upload to unstable.
diff --minimal -Nru qtscxml-everywhere-src-5.15.10/debian/control qtscxml-everywhere-src-5.15.10/debian/control
--- qtscxml-everywhere-src-5.15.10/debian/control	2023-07-08 18:17:12.000000000 +0200
+++ qtscxml-everywhere-src-5.15.10/debian/control	2023-09-18 11:07:36.000000000 +0200
@@ -6,6 +6,7 @@
            Dmitry Shachnev <mitya57@debian.org>,
            Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
 Build-Depends: debhelper-compat (= 13),
+               libqt5scxml5-bin <cross>,
                pkg-kde-tools,
                qml-module-qttest (>= 5.15.10+dfsg~),
                qtbase5-dev (>= 5.15.10+dfsg~),

Reply to: