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

Bug#1023187: marked as done (qt6-quick3d FTCBFS: missing QT_HOST_PATH and more)



Your message dated Sun, 11 Dec 2022 01:08:10 +0000
with message-id <E1p4Ap8-006FvK-Nf@fasolo.debian.org>
and subject line Bug#1023187: fixed in qt6-quick3d 6.4.1-2
has caused the Debian Bug report #1023187,
regarding qt6-quick3d FTCBFS: missing 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.)


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

qt6-quick3d fails to cross build from source. The immediate issue is a
lack of QT_HOST_PATH. Beyond that, it also needs its own native tools
during build. That amounts to a self-dependency and setting
QT_HOST_PATH_CMAKE_DIR. Finally, we need to ask for building those tools
during cross builds. I'm attaching a patch for your convenience.

Helmut
diff --minimal -Nru qt6-quick3d-6.3.1/debian/changelog qt6-quick3d-6.3.1/debian/changelog
--- qt6-quick3d-6.3.1/debian/changelog	2022-08-17 00:29:11.000000000 +0200
+++ qt6-quick3d-6.3.1/debian/changelog	2022-10-30 21:20:33.000000000 +0100
@@ -1,3 +1,13 @@
+qt6-quick3d (6.3.1-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1)
+    + Pass QT_HOST_PATH*.
+    + Depend on ourselves when cross compiling.
+    + Do build tools when cross compiling.
+
+ -- Helmut Grohne <helmut@subdivi.de>  Sun, 30 Oct 2022 21:20:33 +0100
+
 qt6-quick3d (6.3.1-3) unstable; urgency=medium
 
   [ Patrick Franz ]
diff --minimal -Nru qt6-quick3d-6.3.1/debian/control qt6-quick3d-6.3.1/debian/control
--- qt6-quick3d-6.3.1/debian/control	2022-08-15 18:52:08.000000000 +0200
+++ qt6-quick3d-6.3.1/debian/control	2022-10-30 21:20:33.000000000 +0100
@@ -20,6 +20,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-quick3d-dev:native <cross>,
                zlib1g-dev,
 Standards-Version: 4.6.1
 Homepage: https://www.qt.io/developers/
diff --minimal -Nru qt6-quick3d-6.3.1/debian/rules qt6-quick3d-6.3.1/debian/rules
--- qt6-quick3d-6.3.1/debian/rules	2022-01-03 06:40:27.000000000 +0100
+++ qt6-quick3d-6.3.1/debian/rules	2022-10-30 21:20:33.000000000 +0100
@@ -6,12 +6,22 @@
 
 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-quick3d
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-quick3d, 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 1023187@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-quick3d 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: Sun, 11 Dec 2022 01:48:21 +0100
Source: qt6-quick3d
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: 1015622 1023187
Changes:
 qt6-quick3d (6.4.1-2) experimental; urgency=medium
 .
   [ Patrick Franz ]
   * Adjust build-dependencies.
   * Pass QT_HOST_PATH to cmake in cross-builds, thx to Helmut Grohne
     (Closes: #1023187):
     + Pass QT_HOST_PATH*.
     + Depend on ourselves when cross compiling.
     + Do build tools when cross compiling.
   * Enable link time optimization (Closes: #1015622).
Checksums-Sha1:
 ea0ec54e89127486d1c168c42c418aeaf64fda0a 4136 qt6-quick3d_6.4.1-2.dsc
 290173dd1b3b078282cdb8d302c83ab1b1bf840a 38940 qt6-quick3d_6.4.1-2.debian.tar.xz
 664e18b944aade3a399ee4fd57b68945e418b0dd 9077 qt6-quick3d_6.4.1-2_source.buildinfo
Checksums-Sha256:
 e7d9fbcbad03e7b8d656a79e4b90b7aecc1887885983a898c8da222122859261 4136 qt6-quick3d_6.4.1-2.dsc
 2249a74e011d00a4a4ec4776d79795a9ea25e35a456c936adcdadcfd47163e51 38940 qt6-quick3d_6.4.1-2.debian.tar.xz
 6e7536091a0fd1dca2ab55e4e4f36b8a0dcb5b4eaf608f258b34b6490dcdcef1 9077 qt6-quick3d_6.4.1-2_source.buildinfo
Files:
 06ba24bfd3b8515cfb2f7845003b0b53 4136 libs optional qt6-quick3d_6.4.1-2.dsc
 892d1d716d8f208fd91494f1a427ed92 38940 libs optional qt6-quick3d_6.4.1-2.debian.tar.xz
 2b26273516a605eb4a2c4315dfb8ad6d 9077 libs optional qt6-quick3d_6.4.1-2_source.buildinfo

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

iQIzBAEBCgAdFiEEYodBXDR68cxZHu3Knp96YDB3/lYFAmOVKgAACgkQnp96YDB3
/lYqdw/+NyNXlpAQgbDoufx46ev/Zhd/EUUwLgUPf2xpszOFRQOFYA2ylPL83L7B
mbF2xE9Rp3WyJ3muYp/cHGwifeGQjtqMngACe4ZFhZdzN3VcLy3jwPb0Zo4/8y++
fsxWQ9H+OuIwLbB5BJ42rCsSXfESByegTaRYJivSj/c8pb7RcyhcwG3fcOU8h5gE
NKJKsfIEQSbdUV6tYGMMvRN3g3hGyVIsgXyh3UgFtMAD8R+XFNPzACL4UWdOH8jD
r6HHtp7gnHZDLfhrB1gXuMmMx066nHNTjh7XY1XOQ4ZOfXxV0QYx+6mIXryOxLYC
EskTC5Q6vg1xrQj9QXoNIfcBlZNcO5XaJZwTO3umfDIhIAnUHy6UyYDPVLBMDogm
jfjuUWVkijR7qtrZ0qkWJvi7eIKJQxqDQRSKHYAGOCQ+o8V5r9SkXhLMiKixN7+d
IftjQaEGjzmQwxpYE9tTSR2/WLfKbcLurBXYT5gh/ghqTTr44bu+Hi2lJ76/i6Ni
1XZVRZdd7ZZOHs6miWmtzhIwZ+4dxdGx9STuBvAmKuKPMZoSQMQdSSwoN1hX4rCQ
r+TYDQg8MTanj+vf1ui6embBmVoSeboLQSX8Vg6FCXoWCcs9BEE/3OzlxFf31LoE
yMa5Vw3J1yoDpk3m8G0q1KFJTDxVtVG9mk3hnC9uwDFbe5dXPEs=
=Ubx7
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: