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

Bug#1023088: marked as done (qt6-wayland FTCBFS: does not pass QT_HOST_PATH and more)



Your message dated Sat, 05 Nov 2022 10:20:08 +0000
with message-id <E1orGHY-00AszQ-7y@fasolo.debian.org>
and subject line Bug#1023088: fixed in qt6-wayland 6.4.0-2
has caused the Debian Bug report #1023088,
regarding qt6-wayland FTCBFS: does not pass QT_HOST_PATH and more
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1023088: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1023088
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: qt6-wayland
Version: 6.3.1-2
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs

qt6-wayland fails to cross build from source. The immediate failure is a
missing QT_HOST_PATH variable. Beyond that, it also needs
QT_HOST_PATH_CMAKE_DIR and the relevant cmake files from a native
qt6-wayland-dev. Surprisingly qt6-wayland-dev does not yet depend on
qt6-wayland-dev-tools even though its cmake files reference the
contained tool. I think this is a missing runtime dependency. Finally,
we also need to tell qt6-wayland to cross build its tools. I'm attaching
a patch that makes qt6-wayland cross buildable for your convenience.

Helmut
diff --minimal -Nru qt6-wayland-6.3.1/debian/changelog qt6-wayland-6.3.1/debian/changelog
--- qt6-wayland-6.3.1/debian/changelog	2022-08-15 19:24:06.000000000 +0200
+++ qt6-wayland-6.3.1/debian/changelog	2022-10-30 00:56:48.000000000 +0200
@@ -1,3 +1,14 @@
+qt6-wayland (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.
+    + Depend on a native version of ourselves.
+    + qt6-wayland-dev needs to depend on qt6-wayland-dev-tools.
+    + Do build tools when cross compiling.
+
+ -- Helmut Grohne <helmut@subdivi.de>  Sun, 30 Oct 2022 00:56:48 +0200
+
 qt6-wayland (6.3.1-2) unstable; urgency=medium
 
   [ Patrick Franz ]
diff --minimal -Nru qt6-wayland-6.3.1/debian/control qt6-wayland-6.3.1/debian/control
--- qt6-wayland-6.3.1/debian/control	2022-08-15 18:52:08.000000000 +0200
+++ qt6-wayland-6.3.1/debian/control	2022-10-30 00:56:48.000000000 +0200
@@ -24,6 +24,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-wayland-dev:native <cross>,
                xauth <!nocheck>,
                xvfb <!nocheck>,
                zlib1g-dev,
@@ -144,6 +146,7 @@
          libqt6waylandeglclienthwintegration6 (= ${binary:Version}),
          libqt6waylandeglcompositorhwintegration6 (= ${binary:Version}),
          libqt6wlshellintegration6 (= ${binary:Version}),
+         qt6-wayland-dev-tools (= ${binary:Version}),
          ${misc:Depends},
 Description: Qt 6 Wayland - development files
  Qt is a cross-platform C++ application framework. Qt's primary feature
diff --minimal -Nru qt6-wayland-6.3.1/debian/rules qt6-wayland-6.3.1/debian/rules
--- qt6-wayland-6.3.1/debian/rules	2021-12-13 22:33:29.000000000 +0100
+++ qt6-wayland-6.3.1/debian/rules	2022-10-30 00:56:48.000000000 +0200
@@ -4,12 +4,22 @@
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
+extra_cmake_args :=
+
+ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
+extra_cmake_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) \
+		$(extra_cmake_args)
 
 execute_after_dh_auto_install:
 	# Reproducible builds: remove build paths from .prl files

--- End Message ---
--- Begin Message ---
Source: qt6-wayland
Source-Version: 6.4.0-2
Done: Patrick Franz <deltaone@debian.org>

We believe that the bug you reported is fixed in the latest version of
qt6-wayland, 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 1023088@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-wayland 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: Sat, 05 Nov 2022 11:03:07 +0100
Source: qt6-wayland
Architecture: source
Version: 6.4.0-2
Distribution: experimental
Urgency: medium
Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Changed-By: Patrick Franz <deltaone@debian.org>
Closes: 1015627 1023088
Changes:
 qt6-wayland (6.4.0-2) experimental; urgency=medium
 .
   [ Patrick Franz ]
   * Enable link time optimization (Closes: #1015627).
   * Fix FTCBFS, thx to Helmut Grohne (Closes: #1023088):
     + Pass QT_HOST_PATH and QT_HOST_PATH_CMAKE_DIR.
     + Depend on a native version of ourselves.
     + qt6-wayland-dev needs to depend on qt6-wayland-dev-tools.
     + Do build tools when cross compiling.
Checksums-Sha1:
 adbae17a842d2b053f29252957ff5a6aad0ce50f 3311 qt6-wayland_6.4.0-2.dsc
 e8e04221334677458b4ee76be3132be2e1d6e069 46164 qt6-wayland_6.4.0-2.debian.tar.xz
 ea582a24be3fe953359575db8caaa976c73682c5 9435 qt6-wayland_6.4.0-2_source.buildinfo
Checksums-Sha256:
 5e971a743b48185d34faaf42e0caab3936c6cc666b01471a1459908c9df7db45 3311 qt6-wayland_6.4.0-2.dsc
 4c80889f1733d749776641e622dca9d2ecb5c077dec0c20dad8ba36d8e2ae786 46164 qt6-wayland_6.4.0-2.debian.tar.xz
 036650f4024af5e9e19d3203a8e86490b9ff63363d88b850d96fe5ce8679048e 9435 qt6-wayland_6.4.0-2_source.buildinfo
Files:
 333366f9b7172d102cfe0cced403ece2 3311 libs optional qt6-wayland_6.4.0-2.dsc
 ddec9eaa101761301ab2de8ec5272452 46164 libs optional qt6-wayland_6.4.0-2.debian.tar.xz
 916ebad17821a1798e02ef88d5dcd030 9435 libs optional qt6-wayland_6.4.0-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEYodBXDR68cxZHu3Knp96YDB3/lYFAmNmNZwACgkQnp96YDB3
/lZ2eBAAtXhB0q0EJtYGZD2CJSRBheRpTQYtTUGRc8Np0Ja2Bp3wXf+4TVOtHb23
oVX9bhMpcqXJpuj3dozISEjDW3rNbvejznbP0FXYu2rE4xxSPCOWYN3YuKu2bgDB
TmCzM0Syuu5Ol0Y0fTha54Ycmkw1rEBA05ACu6AulpcPMIGz2RyDpFhcSNUClZ4P
Ek7n/cdeJ7KubqqIgFbMc1iAtoix4bYuvQVjDG7yFeSfP2YKEdm5Lgmb8u72tVQq
QC82/TOzcpJ/MI+WfJP7mHTQYNZAjZk3yPjd8Ig9p8bZanO6VzSrAZ+toG8ODcW0
IH8tzBEUBpBUmckO/6BtSGFpWn1KTW1zXm9wQqrzIVj1Bw9mIECiWrG5z7otDfIw
xx/prGyjLyOz63NxhqFc+UufC4oyAJsWUVMqRmw/oo1YUyierGPtSHvVdMY6//Vi
JROgvi5UD3xugHRF2WVhSi5wqK0sSF+H5ICtdQwxhtXxpWkOo3Sj9pLY+RzHYdc9
UjME0SxveXbfpMGPgJVr/VR4VnCxZwjeK/NX/cry8vSAck5Ne4eLleAkmjdBvL5R
GzNcJagG0zvxAUq83w5WUIAzH/DKDybaaZaSJo3NdE6G+cLK2qB35sO9vFV7T3k3
ifkCbSxFa3lqH+Be/TbnFIXsOcxNAZqB8hbMA2ZoNdyf0pdwjtM=
=MOHS
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: