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

Bug#909575: marked as done (make Qt5Core.pc's "$host_bins/qmake" work with cross compilation)



Your message dated Mon, 15 Oct 2018 18:37:26 +0000
with message-id <E1gC7k6-000BZK-AW@fasolo.debian.org>
and subject line Bug#909575: fixed in qtbase-opensource-src 5.11.2+dfsg-3
has caused the Debian Bug report #909575,
regarding make Qt5Core.pc's "$host_bins/qmake" work with cross compilation
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.)


-- 
909575: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=909575
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: qtbase5-dev
User: helmutg@debian.org
Usertags: rebootstrap
Control: affects -1 + src:qbittorrent

qbittorrent has a unique way of failing cross compilation and you can
see it at m4/qbittorrent.m4: It extracts the $host_bins variable from
Qt5Core.pc (the host arch one) and expects "$host_bins/qmake" to work. I
think that's a reasonable expectation and a good way to make building
against a relocatable qmake work. It just happens, that "$host_bins"
currently points at /usr/lib/qt5/bin and thus you get the wrong qmake.

Dmitry said that we fix this with two little changes:
1. Change Qt5Core.pc to point $host_bins at /usr/lib/<triplet>/qt5/bin.
   That was the original value of the variable, but it was moved to
   /usr/lib/qt5/bin in order to make qt5-qmake-bin Multi-Arch: foreign.
   The original location now is a symlink farm and still existent.
2. Change /usr/lib/<triplet>/qt5/bin/qmake to point at
   /usr/bin/<gnutriplet>-qmake. It presently points at
   /usr/lib/qt5/bin/qmake.

After doing both, qbittorrent will look up $host_bins as
/usr/lib/<triplet>/qt5/bin and then use
/usr/lib/<triplet>/qt5/bin/qmake, which points to
/usr/bin/<gnutriplet>-qmake, which does the right thing.

Helmut

--- End Message ---
--- Begin Message ---
Source: qtbase-opensource-src
Source-Version: 5.11.2+dfsg-3

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

Debian distribution maintenance software
pp.
Dmitry Shachnev <mitya57@debian.org> (supplier of updated qtbase-opensource-src 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: Mon, 15 Oct 2018 20:45:46 +0300
Source: qtbase-opensource-src
Binary: libqt5core5a libqt5gui5 qt5-gtk-platformtheme qt5-flatpak-platformtheme libqt5network5 libqt5opengl5 libqt5sql5 libqt5sql5-mysql libqt5sql5-odbc libqt5sql5-psql libqt5sql5-sqlite libqt5sql5-tds libqt5sql5-ibase libqt5xml5 libqt5dbus5 libqt5test5 libqt5concurrent5 libqt5widgets5 libqt5printsupport5 qtbase5-dev qtbase5-private-dev libqt5opengl5-dev qtbase5-dev-tools qt5-qmake-bin qt5-qmake qtbase5-examples qt5-default qtbase5-doc qtbase5-doc-html
Architecture: source
Version: 5.11.2+dfsg-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Changed-By: Dmitry Shachnev <mitya57@debian.org>
Description:
 libqt5concurrent5 - Qt 5 concurrent module
 libqt5core5a - Qt 5 core module
 libqt5dbus5 - Qt 5 D-Bus module
 libqt5gui5 - Qt 5 GUI module
 libqt5network5 - Qt 5 network module
 libqt5opengl5 - Qt 5 OpenGL module
 libqt5opengl5-dev - Qt 5 OpenGL library development files
 libqt5printsupport5 - Qt 5 print support module
 libqt5sql5 - Qt 5 SQL module
 libqt5sql5-ibase - Qt 5 Firebird database driver
 libqt5sql5-mysql - Qt 5 MySQL database driver
 libqt5sql5-odbc - Qt 5 ODBC database driver
 libqt5sql5-psql - Qt 5 PostgreSQL database driver
 libqt5sql5-sqlite - Qt 5 SQLite 3 database driver
 libqt5sql5-tds - Qt 5 FreeTDS database driver
 libqt5test5 - Qt 5 test module
 libqt5widgets5 - Qt 5 widgets module
 libqt5xml5 - Qt 5 XML module
 qt5-default - Qt 5 development defaults package
 qt5-flatpak-platformtheme - Qt 5 Flatpak platform theme
 qt5-gtk-platformtheme - Qt 5 GTK+ 3 platform theme
 qt5-qmake  - Qt 5 qmake Makefile generator tool
 qt5-qmake-bin - Qt 5 qmake Makefile generator tool — binary file
 qtbase5-dev - Qt 5 base development files
 qtbase5-dev-tools - Qt 5 base development programs
 qtbase5-doc - Qt 5 base documentation
 qtbase5-doc-html - Qt 5 base HTML documentation
 qtbase5-examples - Qt 5 base examples
 qtbase5-private-dev - Qt 5 base private development files
Closes: 909575
Changes:
 qtbase-opensource-src (5.11.2+dfsg-3) unstable; urgency=medium
 .
   * Make `pkg-config --variable=host_bins Qt5Core`/qmake work with cross
     compilation (closes: #909575):
     - Patch Qt5Core.pc to make host_bins variable point to the multi-arch
       location (/usr/lib/${DEB_HOST_MULTIARCH}/qt5/bin).
     - Make /usr/lib/${DEB_HOST_MULTIARCH}/qt5/bin/qmake point to
       /usr/bin/${DEB_HOST_GNU_TYPE}-qmake. Also move this symlink from
       qt5-qmake-bin to qt5-qmake.
   * Correctly update symbols files for Vulkan symbols introduction.
     Use arch-bits=32/64 where appropriate.
   * Upload to unstable.
Checksums-Sha1:
 dcf3750ab799421e4cd27317a58824bafe4cafaf 5155 qtbase-opensource-src_5.11.2+dfsg-3.dsc
 e3e5195d837e87202cf27104a620a37a039dfbfa 230788 qtbase-opensource-src_5.11.2+dfsg-3.debian.tar.xz
 b252e5fc71f2da4db521ba000d3442ac82ac1977 15833 qtbase-opensource-src_5.11.2+dfsg-3_source.buildinfo
Checksums-Sha256:
 e71b5483d5498b543e929e15d8dc3be469b113fc62682a06a955c034dea31bd2 5155 qtbase-opensource-src_5.11.2+dfsg-3.dsc
 0fbca58f05fc6953ac3bd2661c52b1cce1b166d17bbfcfdcbc1c06c07cccb8a8 230788 qtbase-opensource-src_5.11.2+dfsg-3.debian.tar.xz
 81c192fd012c249c349ec40d30b6e3784b6db367e93bada4e68bc54e86542621 15833 qtbase-opensource-src_5.11.2+dfsg-3_source.buildinfo
Files:
 5ebb2bf744fa7dea16bf31818aca0452 5155 libs optional qtbase-opensource-src_5.11.2+dfsg-3.dsc
 3ba52c23ade80ee11131ce8faf362805 230788 libs optional qtbase-opensource-src_5.11.2+dfsg-3.debian.tar.xz
 6e2447073ceea2b44d63142e929dbe49 15833 libs optional qtbase-opensource-src_5.11.2+dfsg-3_source.buildinfo

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

iQJHBAEBCgAxFiEEbEPcK+5mZmLK5jNU1v5xA2P4XdMFAlvE1t4THG1pdHlhNTdA
ZGViaWFuLm9yZwAKCRDW/nEDY/hd0yEDD/90xHdAYwMOF1lE4EQQ2Tw7Ie5dKbwR
aLjOdqzaT3ZwTH2qKZGNivTD+mCL/FRKIZFfELa6lMz30nLGVn2lbzx93qrB2uHy
in8jfZodD2SyO4VIBTXcfSNAGn/dOR7U/vZN0pIrul/ZE0Qu9Wo1uRkkicQD6xHQ
wnnzTcgmp4yjDfbZxq3CrNa6iqUQcpFENGZ3VywmjJ8avap/0uhBhjm5gVC4KFxJ
FDYm/M3KnQls8huraY2peL8KhPxCUBiTK4UoLL7MfgSslpjyS10+XOiYWszRlzD5
xOX0UlX4VqCnLXgPcxKhrP9HuT0fDWOcpIip139rhA1RbkTyoFbaHRcYIxbAV4AS
k7zdog0c0pbeK7SF+FwP6m506TM7spZks66IGzLkdS9z5JUH/x5xvcTfKcV/HMSE
INkSc4WZQHPvvHEMxMYtm3eCX+n+hrSNpVrKQEUTrxGA4RmV6f6e3syAY1vHnaI8
HLIcOh+xyFeN/sikFakNDkh1xat1BhtBUlw/OTba0g/NiMRo3pdo+lja8NzDZk8V
DTu618nSsjy2+ZsRCNw4j/WSq5gdJhqLnbNbHEqtPOYTWdKJ9Fz9Q1PvPFJa2uHI
Fd4gRIj7PlZ86GzltYiJry3wGYYFSG7l9TwxVrTzBVGKSrp/QsXKhkSjpR5cLj0p
5mA/qRBsdg4cFQ==
=ruc/
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: