Your message dated Tue, 31 Jan 2023 19:10:16 +0000
with message-id <e1pmw1i-0033ra...@fasolo.debian.org>
and subject line Bug#1025663: fixed in qt6-base 6.4.2+dfsg-1
has caused the Debian Bug report #1025663,
regarding qmake6: how should users query for QT_INSTALL_PLUGINS?
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 ow...@bugs.debian.org
immediately.)


-- 
1025663: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1025663
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: qmake6
Version: 6.3.1+dfsg-10
Severity: important
Control: affects -1 + src:fcitx-qt5
User: debian-cr...@lists.debian.org
Usertags: ftcbfs
X-Debbugs-Cc: debian-cr...@lists.debian.org

Hi,

we've hit an interesting issue with qmake for QT6. This almost certainly
is a pattern and I'll use fcitx-qt5 as an example.

fcitx-qt5 looks for a target Qt6::qmake and queries its LOCATION
property to be able to run it. Then it runs that with -query
QT_INSTALL_PLUGINS to locate the installation directory for plugins.
Unfortunately, what it gets is the build architecture one rather than
the host architecture one.

The crux of this is that /usr/bin/qmake6 cannot know about the host
architecture. That information is a parameter of the build and nothing
has passed this information along to it. It cannot just pull this
information out of nothing. So we basically have two options:

a) Make sure that Qt6::qmake's LOCATION resolves to something that
   includes the information of the host architecture somehow.
b) Declare that this method of querying qmake is unsupported and fix
   every package (including fcitx-qt5) in some other way.

For b), I have no clue what that other way would be. If someone knows,
that would be great. I also have little clue how frequent this pattern
is and how many packages we would have to fix. The expectation is "many"
from my experience with QT5.

The implications of a) are quite well understood, because that's the
route we opted for with QT5. It's a fairly involved route that took us
more than a year to work properly, but maybe we can speed up by learning
from earlier mistakes, so how does it work?

The qmake6 package gains new binaries /usr/bin/<triplet>-qmake6. These
actually are shell scripts that wrap qmake6 and inject the information
about the host architecture into the command line. Then, we centrally
divert Qt6::qmake to this location and everything will magically work.
To get an idea how this works, install qt5-qmake and look at
/usr/bin/$(dpkg -qDEB_BUILD_GNU_TYPE)-qmake. That should be fairly
obvious. We're in a far better position than we started with QT5 as we
already have the necessary qmake6 vs qmake6-bin split in place in
exactly the way it needs to be. Also a number of client packages have
been switched from AC_PATH_PROG to AC_PATH_TOOL for locating qmake
already.

What we need now is a choice on which way we do it. The choice
essentially is:

a) Add architecture-specific qmake wrappers for QT6.
b) Declare that running qmake6 -query SOMEVAR is unsupported.

Patrick and Pino, what's your thoughts on this? If you feel like you
cannot make such a choice, let us figure out what information is
missing.

I have a preference for a) at this time, because it's changing one
package versus a rabbit hole. Do you agree?

Helmut

--- End Message ---
--- Begin Message ---
Source: qt6-base
Source-Version: 6.4.2+dfsg-1
Done: Patrick Franz <delta...@debian.org>

We believe that the bug you reported is fixed in the latest version of
qt6-base, 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 1025...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Patrick Franz <delta...@debian.org> (supplier of updated qt6-base 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 31 Jan 2023 19:16:32 +0100
Source: qt6-base
Architecture: source
Version: 6.4.2+dfsg-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Changed-By: Patrick Franz <delta...@debian.org>
Closes: 1023054 1025663
Changes:
 qt6-base (6.4.2+dfsg-1) unstable; urgency=medium
 .
   [ Patrick Franz ]
   * Switch to the official 6.4.2 tarball, the tarball is the same.
 .
   [ Helmut Grohne ]
   * Fix FTCBFS: Pass QT_HOST_PATH. (Closes: #1023054)
     + cross.patch: Honour PKG_CONFIG_EXECUTABLE
     + cross.patch: Allow building android tools
     + Pass QT_HOST_* variables to build.
     + Depend on a native qt toolchain for the former.
     + Do build tools even when cross building.
     + Add excess files to debian/not-installed.
   * Install <triplet>-qmake6 cross wrapper (Closes: #1025663).
Checksums-Sha1:
 7d4aa2ea291da827cea3d4ff7af99f19bdfbc088 4830 qt6-base_6.4.2+dfsg-1.dsc
 be3859a1f98f38ea4ebde1306b7c9cac7e4cb370 45943692 
qt6-base_6.4.2+dfsg.orig.tar.xz
 8641126017edd909e0e6d45fb133e2dd85d213f9 175260 
qt6-base_6.4.2+dfsg-1.debian.tar.xz
 6d77a51279cb74d0cb9211309eb086c8b65cf3fa 9369 
qt6-base_6.4.2+dfsg-1_source.buildinfo
Checksums-Sha256:
 4609a121ce5d0368bc3d91cd5e390e8a34b620f867556cac3954b729ee6f2a14 4830 
qt6-base_6.4.2+dfsg-1.dsc
 4f14b89a9463a540fd84a6718b8519a2297119b454ef547721015a9e9019ae9e 45943692 
qt6-base_6.4.2+dfsg.orig.tar.xz
 42c57caa7bd7582450ea4d2fbab2369a63fdd6a580bbb8cd454eb3b7daf5017a 175260 
qt6-base_6.4.2+dfsg-1.debian.tar.xz
 471ea8a510775245efbd42e5a554789f6ee8f1cdb25889448fe9444cd6aa666f 9369 
qt6-base_6.4.2+dfsg-1_source.buildinfo
Files:
 2b3760b8ef0fdaa9a0f54140b548ab76 4830 libs optional qt6-base_6.4.2+dfsg-1.dsc
 99724190bd6eb53b3f4b723e09e32304 45943692 libs optional 
qt6-base_6.4.2+dfsg.orig.tar.xz
 430b7b664c852de10598401adec7670c 175260 libs optional 
qt6-base_6.4.2+dfsg-1.debian.tar.xz
 087360ced32d7511834663495cac7ca1 9369 libs optional 
qt6-base_6.4.2+dfsg-1_source.buildinfo

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

iQIzBAEBCgAdFiEEYodBXDR68cxZHu3Knp96YDB3/lYFAmPZXbMACgkQnp96YDB3
/labExAApNy+WoRVm1HhpgA1/vQ7XGz9o2zXsJQf0iuGE2l6gx8nIMc3ZaKNNGUL
BcFP+yvu59br/XKaL4U/rVx8klxEUv9QqSwQpdQDTGrLFs61EGdt8RO+iy65cpM1
7i9bUETAAWk/8quupMhbWI+5tHkXVln0gII8nS26EGbKNMqumjnCJ8sJWI7m8JqF
Tzk/DoyjEhdZUTtjQKttidsCRMlySPxsakAR/fT9I2w8OdUEFWAoYxjsAABZRqRk
0syQBYi9jDK15/3wADaLuAeW/tQZvYUEi8nb7cnuWwNFE86utTlxyecMFD3oFAvz
OE0Si091LCO/2LPuHzahbPe9DHtlSeV1+FdC90C7F9vLrRSFsc4JEoPwA8Jcru+n
Gqg8BwkjbM44wMx8komKPYn9Lg0UjmDMYqguG8iTgf8Mk7FzzaXvaHsgzb65obH+
wmaT94hExEvm6rFPHcU+AE2umdjEImKyOGZGn92fvNQX0FLFUIV2li6VqBJ3xiYX
+S012NiQ3xurwk3oHPFNDLVcM8AK3b+ImvcuCQ4OWGmTbyfkFdqVnSo3kjKRLbRM
uVw2pmb49oJzmTT5scfLQ/+ZL5zQbGb0CWxORV54OJWU+51+9MjSgNEwaBnl11im
NfVB/j/vkQFEYRv4ButaeKit9ypKkm437putx0jbiUBe+OdJ8jc=
=KCJn
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to