FS#76054 - [quazip-qt5] contains the Qt6 libraries

Attached to Project: Arch Linux
Opened by Andreas Baumann (andreas_baumann) - Thursday, 29 September 2022, 06:55 GMT
Last edited by Antonio Rojas (arojas) - Thursday, 29 September 2022, 07:25 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

This is the original reported bug:

https://bugs.archlinux32.org/index.php?do=details&task_id=273

The build log shows "using Qt version 6" for build5 and build6.

I fear, as soon as both qt6-base and qt5-base are installed, Qt6
always wins. I didn't see a way to overwrite and force a specific
Qt version. Maybe a way out (besides having two packages for each
Qt version) is to have patches CMakeLists.txt, one for Qt5 and one
for Qt6? Copying them in place before cmake-ing and the remove the
build folder (or at least CMakeList.txt and CMakeCache).

Additional info:
* package version(s): 1.3-1

Steps to reproduce:
asp update
asp export extra/quazip
cd quazip
staging-x86_64-build
tar tvf quazip-qt5-1.3-1-x86_64.pkg.tar.zst | grep -v Qt6 | grep -v qt6
# => shows no Qt5 files, but Qt6 files (/usr/include/QuaZip-Qt6-1.3, /usr/lib/libquazip1-qt6.so*)
tar tvf quazip-qt6-1.3-1-x86_64.pkg.tar.zst | grep -v Qt5 | grep -v qt5
# -> shows Qt6 files
This task depends upon

Closed by  Antonio Rojas (arojas)
Thursday, 29 September 2022, 07:25 GMT
Reason for closing:  Not a bug
Comment by Antonio Rojas (arojas) - Thursday, 29 September 2022, 07:10 GMT
The current package is obviously built with Qt5, and the build chroot contains both Qt5 and Qt6. I don't see any issue.
Comment by Andreas Baumann (andreas_baumann) - Thursday, 29 September 2022, 07:20 GMT
True, I can confirm that the current stable package is ok.
But the next one will most likely not be. :-)
Comment by Antonio Rojas (arojas) - Thursday, 29 September 2022, 07:25 GMT
ok, let's cross that bridge when we come to it

Loading...