--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: qt6-scxml FTCBFS: QT_HOST_PATH and more
- From: Helmut Grohne <helmut@subdivi.de>
- Date: Mon, 28 Nov 2022 11:18:58 +0100
- Message-id: <Y4SLEuYAlEkzJDPS@alf.mars>
Source: qt6-scxml
Version: 6.3.1-2
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs
qt6-scxml fails to cross build from source. It's the usual QT_HOST_PATH
thing together with requiring a native tool and the usual variables. I'm
attaching the tested patch for your convenience.
Helmut
diff --minimal -Nru qt6-scxml-6.3.1/debian/changelog qt6-scxml-6.3.1/debian/changelog
--- qt6-scxml-6.3.1/debian/changelog 2022-08-15 19:23:40.000000000 +0200
+++ qt6-scxml-6.3.1/debian/changelog 2022-11-28 10:53:05.000000000 +0100
@@ -1,3 +1,12 @@
+qt6-scxml (6.3.1-2.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: (Closes: #-1)
+ + Pass QT_HOST_PATH and QT_HOST_PATH_CMAKE_DIR.
+ + B-D: qt6-scxml-dev:native <cross>.
+
+ -- Helmut Grohne <helmut@subdivi.de> Mon, 28 Nov 2022 10:53:05 +0100
+
qt6-scxml (6.3.1-2) unstable; urgency=medium
[ Patrick Franz ]
diff --minimal -Nru qt6-scxml-6.3.1/debian/control qt6-scxml-6.3.1/debian/control
--- qt6-scxml-6.3.1/debian/control 2022-08-15 18:52:08.000000000 +0200
+++ qt6-scxml-6.3.1/debian/control 2022-11-28 10:53:05.000000000 +0100
@@ -18,6 +18,7 @@
qt6-base-private-dev (>= 6.3.1+dfsg~),
qt6-declarative-dev (>= 6.3.1+dfsg~),
qt6-declarative-private-dev (>= 6.3.1+dfsg~),
+ qt6-scxml-dev:native <cross>,
xauth <!nocheck>,
xvfb <!nocheck>,
Standards-Version: 4.6.1
diff --minimal -Nru qt6-scxml-6.3.1/debian/rules qt6-scxml-6.3.1/debian/rules
--- qt6-scxml-6.3.1/debian/rules 2021-12-07 10:44:16.000000000 +0100
+++ qt6-scxml-6.3.1/debian/rules 2022-11-28 10:53:05.000000000 +0100
@@ -4,12 +4,21 @@
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+cmake_extra_args :=
+ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
+cmake_extra_args += \
+ -DQT_HOST_PATH=/usr \
+ -DQT_HOST_PATH_CMAKE_DIR=/usr/lib/$(DEB_BUILD_MULTIARCH)/cmake \
+ -DQT_BUILD_TOOLS_WHEN_CROSSCOMPILING=ON
+endif
+
%:
dh $@ --with pkgkde_symbolshelper --buildsystem=cmake+ninja
override_dh_auto_configure:
dh_auto_configure -- \
- -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)
+ -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH) \
+ $(cmake_extra_args)
execute_after_dh_auto_install:
# Reproducible builds: remove build paths from .prl files
--- End Message ---
--- Begin Message ---
Source: qt6-scxml
Source-Version: 6.4.1-2
Done: Patrick Franz <deltaone@debian.org>
We believe that the bug you reported is fixed in the latest version of
qt6-scxml, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1025064@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Patrick Franz <deltaone@debian.org> (supplier of updated qt6-scxml package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 08 Dec 2022 01:32:41 +0100
Source: qt6-scxml
Architecture: source
Version: 6.4.1-2
Distribution: experimental
Urgency: medium
Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Changed-By: Patrick Franz <deltaone@debian.org>
Closes: 1025064
Changes:
qt6-scxml (6.4.1-2) experimental; urgency=medium
.
[ Patrick Franz ]
* Pass QT_HOST_PATH to cmake in cross-builds, thx to Helmut Grohne
(Closes: #1025064).
Checksums-Sha1:
556d57107a8128a6e2eaeb76f45f1b2a8a04d49d 2890 qt6-scxml_6.4.1-2.dsc
5ef9e7ca0e146f1645bcb1ee0749b8107806fdcf 14016 qt6-scxml_6.4.1-2.debian.tar.xz
bc51b94f7c93b97527f42cb5790865fb3e98e019 10920 qt6-scxml_6.4.1-2_source.buildinfo
Checksums-Sha256:
0e5e791dad7d1235af5dac79cc39f469ac29fa7554f56f0abbabe69290a0c095 2890 qt6-scxml_6.4.1-2.dsc
4c6c4f2f98eda76353218488516ddd43585ef04e5e2e5cc6ea1b6e559b0935ae 14016 qt6-scxml_6.4.1-2.debian.tar.xz
897c51835a2dea34f1fad87053ce56d115b864911343fc17c5ab261b8f5e60fe 10920 qt6-scxml_6.4.1-2_source.buildinfo
Files:
bc604e35c710f7442314a4154a8847d5 2890 libs optional qt6-scxml_6.4.1-2.dsc
063b6793e9aafaa6776e26e3b2fc972e 14016 libs optional qt6-scxml_6.4.1-2.debian.tar.xz
e62940e2283cb55c14e193067b9c72be 10920 libs optional qt6-scxml_6.4.1-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEYodBXDR68cxZHu3Knp96YDB3/lYFAmORMXwACgkQnp96YDB3
/lYZeA/7BQoSG7T8fL0/4HHFh9I4zKapR4eT6TEXbGwFrsrLcoZ8FLPFtGt0JLOH
RcGlx80mltFZMEOQNKTBybMx6IfrWu64qmWimCUhat+/JyjhKAPQOsOw/ZhKTcuw
2RqN73vhWZfdeS0Ls+tAWRpORAfodL77bbD3Ry/BjiS1dnDqBmH+p+zXPf5MheBK
s9NnsnfPQtlJqmFrhQM+VZ+eefq0OsZYB/y/hNoSV4N7sBcdYty19Tzt3nrm32iu
wnVXw1pEkhMTp30Tust88Jc1HGSFYBu/4p17Y0h+QPEqsEolad7ZgaGvPgNddSnd
L0ckuz51wjW4x1NpkczyoBG8YS8+EsHH2O0XtOTV0BWN5afvaE6tUI2mS/IHIruV
feTGHgdEAS4FiVtW+ZXcygYnZOsP3njtmlC+aORDH1IFhQPd7S9Oh/gCe3UpSMR3
riMs6JcKbus99izFCWPdQ6xEG05qbcFbw4HAAvK0xe1PVjaWx/MTZosrnC8atO5c
CGUlJe4xrKm7dlF3cVTKAmpHrpLomnCtA4mslv0gFl1ZURYFquCNADIO1bT6kW54
nERMfyCBPAoO3vW1720KCPnNn5+Xt27mcI9t2VIDUWS36G23tgghKs5Lb1/DScno
oVo2Pf1KQV53sJd7sw2J1Js1I9R+y0yt8D+DDisMyNxEDOKC6jM=
=7Apb
-----END PGP SIGNATURE-----
--- End Message ---