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

Bug#1023073: marked as done (qt6-declarative FTCBFS: QT_HOST_PATH not specified and more)



Your message dated Sun, 13 Nov 2022 16:11:41 +0000
with message-id <E1ouFa9-006SWF-V2@fasolo.debian.org>
and subject line Bug#1023073: fixed in qt6-declarative 6.4.0+dfsg-5
has caused the Debian Bug report #1023073,
regarding qt6-declarative FTCBFS: QT_HOST_PATH not specified 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.)


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

qt6-declarative fails to cross build from source. The immediate failure
is QT_HOST_PATH not being specified. A few more things come up and I've
created a patch for your convenience. The details are in the changelog.
Please consider applying it.

Helmut
diff --minimal -Nru qt6-declarative-6.3.1+dfsg/debian/changelog qt6-declarative-6.3.1+dfsg/debian/changelog
--- qt6-declarative-6.3.1+dfsg/debian/changelog	2022-09-04 07:34:45.000000000 +0200
+++ qt6-declarative-6.3.1+dfsg/debian/changelog	2022-10-29 16:02:51.000000000 +0200
@@ -1,3 +1,13 @@
+qt6-declarative (6.3.1+dfsg-5.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1)
+    + Pass QT_HOST_* variables to cmake.
+    + Build tools when cross compiling.
+    + Build depend on ourselves during cross compiling.
+
+ -- Helmut Grohne <helmut@subdivi.de>  Sat, 29 Oct 2022 16:02:51 +0200
+
 qt6-declarative (6.3.1+dfsg-5) unstable; urgency=medium
 
   * Team upload.
diff --minimal -Nru qt6-declarative-6.3.1+dfsg/debian/control qt6-declarative-6.3.1+dfsg/debian/control
--- qt6-declarative-6.3.1+dfsg/debian/control	2022-09-03 20:11:00.000000000 +0200
+++ qt6-declarative-6.3.1+dfsg/debian/control	2022-10-29 16:02:51.000000000 +0200
@@ -16,6 +16,7 @@
                pkg-kde-tools,
                qt6-base-dev (>= 6.3.1+dfsg~),
                qt6-base-private-dev (>= 6.3.1+dfsg~),
+               qt6-declarative-dev:native <cross>,
                qt6-languageserver-private-dev (>= 6.3.1~),
 Standards-Version: 4.6.1
 Homepage: https://www.qt.io/developers/
diff --minimal -Nru qt6-declarative-6.3.1+dfsg/debian/rules qt6-declarative-6.3.1+dfsg/debian/rules
--- qt6-declarative-6.3.1+dfsg/debian/rules	2021-11-20 19:53:33.000000000 +0100
+++ qt6-declarative-6.3.1+dfsg/debian/rules	2022-10-29 16:02:51.000000000 +0200
@@ -6,12 +6,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-declarative
Source-Version: 6.4.0+dfsg-5
Done: Patrick Franz <deltaone@debian.org>

We believe that the bug you reported is fixed in the latest version of
qt6-declarative, 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 1023073@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-declarative 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, 13 Nov 2022 15:31:32 +0100
Source: qt6-declarative
Architecture: source
Version: 6.4.0+dfsg-5
Distribution: experimental
Urgency: medium
Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Changed-By: Patrick Franz <deltaone@debian.org>
Closes: 1015619 1023073
Changes:
 qt6-declarative (6.4.0+dfsg-5) experimental; urgency=medium
 .
   [ Patrick Franz ]
   * Enable link time optimization (Closes: #1015619).
   * Fix FTCBFS, thx to Helmut Grohne: (Closes: #1023073).
     + Pass QT_HOST_* variables to cmake.
     + Build tools when cross compiling.
     + Build depend on ourselves during cross compiling.
Checksums-Sha1:
 a7f3d7b8be80baf179357bd5d499194e615d5539 6652 qt6-declarative_6.4.0+dfsg-5.dsc
 e57e85b27779e06fd28a98e88994400841ee0622 136400 qt6-declarative_6.4.0+dfsg-5.debian.tar.xz
 22ee792e6081290182da63ba988036e656cc8faa 9062 qt6-declarative_6.4.0+dfsg-5_source.buildinfo
Checksums-Sha256:
 4b0bb7eaa505f5db848dab389b1d5256f9c34ea8e0af10a4e1e372a6d2499d4c 6652 qt6-declarative_6.4.0+dfsg-5.dsc
 89e02727566e968c48216605ce560c64fa651d4be85b5399d393160a28ac27a6 136400 qt6-declarative_6.4.0+dfsg-5.debian.tar.xz
 5f2cd4698a24cdc030b41a037c314d3beb837b8019bf504adeb0ff483c5657a5 9062 qt6-declarative_6.4.0+dfsg-5_source.buildinfo
Files:
 9fccc7176a13557c4bfb130c14c819d8 6652 libs optional qt6-declarative_6.4.0+dfsg-5.dsc
 a8bca4a66c6304b7dc2e9dae3ee35f95 136400 libs optional qt6-declarative_6.4.0+dfsg-5.debian.tar.xz
 ac9502cf76f938e52007eefe7cdedb39 9062 libs optional qt6-declarative_6.4.0+dfsg-5_source.buildinfo

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

iQIzBAEBCgAdFiEEYodBXDR68cxZHu3Knp96YDB3/lYFAmNxD88ACgkQnp96YDB3
/lZrHA/9GNTRRJrteOawRROlfmbXu9LmUM9++VO5PUpJz2zA2rEszraEFViP9KXl
vbNbgqMYodScCWQ+UYGEEEn67T+zSTmtGBIeSwV3u4qrh5i83+zb0I1uEpQoE7iU
7S8+Igj9m23LKDvYPU2GtwtJ1kQkDdGkY8s3hhNFRWu2ZpiNZOscZAjUbjhqPtEQ
VeA1RK6/i8bVU40Ph/uvA+7JHmJ7LZWrqACN4QmnArWYb3sEl/l5J3eCpKVBfdcp
eS+qNxWky48KUGqrUV4KzVRxkVJBkxl7Ev8/oZArsTEvJ+j7WcSJLmkPB/cF+IZ3
fuJJQKfytXRKuBJRv75vkmzrXgKk8i2hYopKVRFABz8js+1/LlQsf9I8dwRZd9yt
rShtl1NBrHWU+yLWf6EW3iEiOWpJ8uSAgqZ3OtukK9mx97Z2WjIFOTCNy/b87wfO
oym+Maw6cuvtzD8E/Y8qDwOAm+dYaihS3Z1libcckEgpdWmO7MP8gfpmG3jNSFJ5
PtvTvf3Ul+2Bi8KPewGeGkMzbOKDZQfKJgM84KFc/2tADvlIklQQjBhBd7a/pfjV
D3srRY7+gDTU+YQUVEpoV7qs+/uLCvLcovbbB0NWkcWqng9MiXcCvIIHsOZOSscI
tT4R+twJ2OKMMaTvichH/LPiLKck4Wf6b5Op2CHfBJtfo/2Cxhw=
=aoYv
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: