Summary: | net-irc/kvirc-5.2.0 (and 9999) automagically selects Qt6 if installed | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | David Korth <gerbilsoft> |
Component: | Current packages | Assignee: | Alexey <alexey+gentoo> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alexey+gentoo, gerbilsoft, proxy-maint |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/34947 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
net-irc/kvirc-9999 build.log
Actual net-irc/kvirc-9999 build.log |
Description
David Korth
2024-01-21 17:20:56 UTC
I've specifically added -DQT_VERSION_MAJOR=5 to the ebuild to avoid this issue :( I tested it with Qt6 installed, and Qt5 was chosen correctly. Can you show build.log? P.S. My plan is to add the qt6 USE-flag when KDE 6 is out, because net-irc/kvirc[kde] depends on it, and I don't want to add REQUIRED_USE to force users to choose between Qt6 and KDE support Created attachment 882802 [details]
net-irc/kvirc-9999 build.log
build.log for net-irc/kvirc-9999 is attached.
The CMake output shows Qt6_FOUND was set to FALSE because Qt6WebEngineWidgets wasn't found. (I don't have Qt6WebEngine installed.) It then continues to fail to find KF6, but then keeps going and still uses Qt6 regardless.
Created attachment 882803 [details]
Actual net-irc/kvirc-9999 build.log
It seems the build.log I just uploaded only contained a fragment of the end of the log. This one is the full log.
I fixed it at https://github.com/kvirc/KVIrc/commit/a301aa4998c4f0040d093cd2950b7b2f4ec4dcdc Please try 9999 again. 5.2.0 should be fixed when my PR is merged. Compiled net-irc/kvirc-9999 with that change and it now correctly builds with Qt5. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26830db60d1c1f3b4579af6dd5f9c4cfe5c4dc73 commit 26830db60d1c1f3b4579af6dd5f9c4cfe5c4dc73 Author: Alexey Sokolov <alexey+gentoo@asokolov.org> AuthorDate: 2024-01-21 21:12:14 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-01-22 05:52:46 +0000 net-irc/kvirc: fix forcing of qt5 Closes: https://bugs.gentoo.org/922636 Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org> Closes: https://github.com/gentoo/gentoo/pull/34947 Signed-off-by: Sam James <sam@gentoo.org> net-irc/kvirc/files/kvirc-5.2.0-qtver.patch | 25 ++++++++++++++++++++++ .../{kvirc-5.2.0.ebuild => kvirc-5.2.0-r1.ebuild} | 4 ++++ 2 files changed, 29 insertions(+) |