Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 938825

Summary: app-misc/ckb depends on deprecated dev-libs/libdbusmenu-qt
Product: Gentoo Linux Reporter: Andreas Sturmlechner <asturm>
Component: Current packagesAssignee: John Helmert III <ajak>
Status: CONFIRMED ---    
Severity: normal CC: ajak
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/ckb-next/ckb-next/pull/1057
https://github.com/ckb-next/ckb-next/issues/1107
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 938823    

Description Andreas Sturmlechner gentoo-dev 2024-08-31 10:17:28 UTC
It seems git master has already gained an option `-DPREFER_QT6` which is bundling KStatusNotifierItem from KDE (kde-frameworks/kstatusnotifieritem:6). My advice would be to configure 9999 unconditionally as Qt6-based already.

https://github.com/ckb-next/ckb-next/pull/1057/commits/3100b9276c5ec90e6d2d8ab844a069604c8e38ae

Maybe instead of bundling and reverting some upstream commit they should have instead tried to fix this upstream.
Comment 1 Andreas Sturmlechner gentoo-dev 2024-10-04 13:15:03 UTC
ping
Comment 2 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2024-11-04 04:08:16 UTC
Sorry for the delay. I've poked at this a bit but there's something seemingly busted about the PREFER_QT6 knob: https://github.com/ckb-next/ckb-next/issues/1107

That is, I can build it fine if I force it to Qt6 but not with the "preference" for it.
Comment 3 Andreas Sturmlechner gentoo-dev 2024-11-04 19:15:21 UTC
Using

> find_package(QT NAMES Qt[56])
is just awful automagic, and the supposed upstream fix does nothing for it.

Just remove that line and pass -DQT_VERSION_MAJOR=6 manually, hopefully it'll work although I'm not sure where QT_VERSION is coming from in the next line ...