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

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



Your message dated Sat, 12 Nov 2022 13:54:20 +0000
with message-id <E1otqxg-000cua-J0@fasolo.debian.org>
and subject line Bug#1023157: fixed in qt6-shadertools 6.4.0-2
has caused the Debian Bug report #1023157,
regarding qt6-shadertools 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.)


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

qt6-shadertools fails to cross build from source. The immediate failure
is missing QT_HOST_PATH. Then Qt6::qsb is missing. Fixing that involves
depending on the qsb tool, the relevant cmake files and setting
QT_HOST_PATH_CMAKE_DIR. Beyond that we need to request qsb despite doing
a cross build. I'm attaching a patch for your convenience.

Helmut
diff --minimal -Nru qt6-shadertools-6.3.1/debian/changelog qt6-shadertools-6.3.1/debian/changelog
--- qt6-shadertools-6.3.1/debian/changelog	2022-10-01 21:27:40.000000000 +0200
+++ qt6-shadertools-6.3.1/debian/changelog	2022-10-30 18:55:46.000000000 +0100
@@ -1,3 +1,13 @@
+qt6-shadertools (6.3.1-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1)
+    + Pass QT_HOST_PATH and QT_HOST_PATH_CMAKE_DIR.
+    + New cross build dependency on native qsb.
+    + Do build tools when cross compiling.
+
+ -- Helmut Grohne <helmut@subdivi.de>  Sun, 30 Oct 2022 18:55:46 +0100
+
 qt6-shadertools (6.3.1-3) unstable; urgency=medium
 
   [ Lisandro Damián Nicanor Pérez Meyer ]
diff --minimal -Nru qt6-shadertools-6.3.1/debian/control qt6-shadertools-6.3.1/debian/control
--- qt6-shadertools-6.3.1/debian/control	2022-10-01 21:21:43.000000000 +0200
+++ qt6-shadertools-6.3.1/debian/control	2022-10-30 18:55:46.000000000 +0100
@@ -6,12 +6,14 @@
 Build-Depends: cmake (>= 3.24~),
                debhelper-compat (= 13),
                libgl1-mesa-dev,
+               libqt6shadertools6-dev:native <cross>,
                libvulkan-dev [linux-any],
                ninja-build,
                pkg-config,
                pkg-kde-tools,
                qt6-base-dev (>= 6.3.1+dfsg~),
                qt6-base-private-dev (>= 6.3.1+dfsg~),
+               qt6-shader-baker <cross>,
 Standards-Version: 4.6.1
 Homepage: https://www.qt.io/developers/
 Rules-Requires-Root: no
diff --minimal -Nru qt6-shadertools-6.3.1/debian/rules qt6-shadertools-6.3.1/debian/rules
--- qt6-shadertools-6.3.1/debian/rules	2022-10-01 21:22:41.000000000 +0200
+++ qt6-shadertools-6.3.1/debian/rules	2022-10-30 18:55:46.000000000 +0100
@@ -6,13 +6,23 @@
 
 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 -- \
 		--log-level=STATUS \
-		-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-shadertools
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-shadertools, 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 1023157@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-shadertools 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, 12 Nov 2022 14:26:56 +0100
Source: qt6-shadertools
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: 1023157
Changes:
 qt6-shadertools (6.4.0-2) experimental; urgency=medium
 .
   [ Patrick Franz ]
   * Fix FTCBFS, thx to Helmut Grohne: (Closes: #1023157).
     + Pass QT_HOST_PATH and QT_HOST_PATH_CMAKE_DIR.
     + New cross build dependency on native qsb.
     + Do build tools when cross compiling.
Checksums-Sha1:
 f052f958eb9dde36a7d8c53ed73e2dceac530491 2375 qt6-shadertools_6.4.0-2.dsc
 97efe7bc3d7a7d2e4c0ab750afbb1fffc98f3af8 7772 qt6-shadertools_6.4.0-2.debian.tar.xz
 c6ded2172825e8a30352356cc8365bde8b6287be 7890 qt6-shadertools_6.4.0-2_source.buildinfo
Checksums-Sha256:
 69a4ad90680867111caa816f8bac49bf0cd8f28983676a63ca066386b0f9b4b7 2375 qt6-shadertools_6.4.0-2.dsc
 dd8c31e73d44d241832a19ca3be818c29d94bdb2ca19b68cda0c2793ba9bce70 7772 qt6-shadertools_6.4.0-2.debian.tar.xz
 04bf11ffa66b784c405960a5d067dacc2e364208e3f63e67b7f0353ab5ad0ef9 7890 qt6-shadertools_6.4.0-2_source.buildinfo
Files:
 43068c0b88a34e32a0449d65e496c19c 2375 libs optional qt6-shadertools_6.4.0-2.dsc
 a08949cb356d4160de3d799c556bbe1a 7772 libs optional qt6-shadertools_6.4.0-2.debian.tar.xz
 25725c81aecd314b3f880d218b5685c3 7890 libs optional qt6-shadertools_6.4.0-2_source.buildinfo

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

iQIzBAEBCgAdFiEEYodBXDR68cxZHu3Knp96YDB3/lYFAmNvn5MACgkQnp96YDB3
/lajWQ//TOeBITjdkLPUu5tmfvO0FUqboH18X1otzfq2Cx0viExYV1wOXVFW0ski
TW831ws+wH32jI/U6VPWEp9Sn3KbH3kZ7zeTcq15R6mFPWRoBYRM5ZBaiwv5Hmej
xXv2fZeSmLYLkiio/CGy+mPHOGpmUb8R0FeBRYjm4B+PM4Hwi3ZdSQRv6z3pB2hL
VoZekv24Ocl598TpF6KujyXomb1RH9UL2tRLIA5wUTn8tOGFLEPWr3/ESsQ89FF0
R0pAm4D5Ai2rUewBXIxE+ovEVR0h87x1Gh+zU1yioXzYhQHme7TaJTfAgABcdiLl
jhb+VAdUiFY5+yZZHWSZVZrzNL7UiOjJLWhTFzAkS4zsrJAv4YVh+J283q9+k1El
Kt6WtD8ZltMKGWxLv1n9j9on9rvnP4vcc3CogvyEB1ojX+ZZxSzcyEnX4Odk4z/8
lx2+aGQ1k+hrrLxnUypN7eCs1bcC0aATHUretalireBq+o81C7beC68e8RPd72vJ
0+/NPVBL09xjV2T06e6AZ6l0qc7PCSii4hxCozwq+cTWgO8sHegpE+xkha6Et8tp
EWpcZe27p/tKUOv/VyoUt/bftD6pbA09dXEcrfSOs3ScCk7zXJiWfOK1LLyWU4GC
gIGdUNMLXNl60F7Z0C6V2MqKxJO9HWCaPvpvWB91SPX/9ip2c2o=
=cJvu
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: