gentoo/kde overlay commit 16e6bf795 added USE=mpris, but supported it with... mpris? ( $(add_qt_dep qtdbus) ) ... and $(cmake-utils_use_find_package mpris Qt5DBus) Unfortunately, with USE=-mpris that breaks configure /horribly/ because multiple other gwenview deps (kxmlgui, due to no qtdbus, kio, due to no kxmlgui, multiple others, see log excerpt below) in turn depend upon qtdbus as well. So toggling Qt5DBus on mpris just doesn't work. Either mpris needs hard-coded on (and it was probably tested with USE=mpris, but not without it, thus missing this bug), or some other dep must be toggled instead. USE=mpris works, as expected because I already have qtdbus installed and had been updating gwenview after the upstream add but before gentoo/kde's USE=mpris add (and indeed, I had filed and had resolved an upstream bug on it breaking gwenview's menu here, already). USE=-mpris gwenview emerge log excerpt: CMake Warning at /share/cmake/Modules/CMakeFindDependencyMacro.cmake:48 (find_package): Found package configuration file: /usr/lib64/cmake/KF5XmlGui/KF5XmlGuiConfig.cmake but it set KF5XmlGui_FOUND to FALSE so package "KF5XmlGui" is considered to be NOT FOUND. Reason given by package: KF5XmlGui could not be found because dependency Qt5DBus could not be found. Call Stack (most recent call first): /usr/lib64/cmake/KF5KIO/KF5KIOConfig.cmake:53 (find_dependency) /usr/share/ECM/find-modules/FindKF5.cmake:74 (find_package) CMakeLists.txt:62 (find_package) CMake Warning at /usr/share/ECM/find-modules/FindKF5.cmake:74 (find_package): Found package configuration file: /usr/lib64/cmake/KF5KIO/KF5KIOConfig.cmake but it set KF5KIO_FOUND to FALSE so package "KF5KIO" is considered to be NOT FOUND. Reason given by package: KF5KIO could not be found because dependency KF5XmlGui could not be found. Call Stack (most recent call first): CMakeLists.txt:62 (find_package) -- Could NOT find KF5KIO (found version "5.49.0"), checked the following files: /usr/lib64/cmake/KF5KIO/KF5KIOConfig.cmake (version 5.49.0) Reason given by package: KF5KIO could not be found because dependency KF5XmlGui could not be found. -- Found KF5ItemModels: /usr/lib64/cmake/KF5ItemModels/KF5ItemModelsConfig.cmake (found version "5.49.0") -- Found Gettext: /usr/sbin/msgmerge (found version "0.19.8.1") -- Found KF5I18n: /usr/lib64/cmake/KF5I18n/KF5I18nConfig.cmake (found version "5.49.0") -- Found KF5DocTools: /usr/lib64/cmake/KF5DocTools/KF5DocToolsConfig.cmake (found version "5.49.0") CMake Warning at /share/cmake/Modules/CMakeFindDependencyMacro.cmake:48 (find_package): Found package configuration file: /usr/lib64/cmake/KF5XmlGui/KF5XmlGuiConfig.cmake but it set KF5XmlGui_FOUND to FALSE so package "KF5XmlGui" is considered to be NOT FOUND. Reason given by package: KF5XmlGui could not be found because dependency Qt5DBus could not be found. Call Stack (most recent call first): /usr/lib64/cmake/KF5KIO/KF5KIOConfig.cmake:53 (find_dependency) /share/cmake/Modules/CMakeFindDependencyMacro.cmake:48 (find_package) /usr/lib64/cmake/KF5Parts/KF5PartsConfig.cmake:38 (find_dependency) /usr/share/ECM/find-modules/FindKF5.cmake:74 (find_package) CMakeLists.txt:62 (find_package) CMake Warning at /share/cmake/Modules/CMakeFindDependencyMacro.cmake:48 (find_package): Found package configuration file: /usr/lib64/cmake/KF5KIO/KF5KIOConfig.cmake but it set KF5KIO_FOUND to FALSE so package "KF5KIO" is considered to be NOT FOUND. Reason given by package: KF5KIO could not be found because dependency KF5XmlGui could not be found. Call Stack (most recent call first): /usr/lib64/cmake/KF5Parts/KF5PartsConfig.cmake:38 (find_dependency) /usr/share/ECM/find-modules/FindKF5.cmake:74 (find_package) CMakeLists.txt:62 (find_package) CMake Warning at /usr/share/ECM/find-modules/FindKF5.cmake:74 (find_package): Found package configuration file: /usr/lib64/cmake/KF5Parts/KF5PartsConfig.cmake but it set KF5Parts_FOUND to FALSE so package "KF5Parts" is considered to be NOT FOUND. Reason given by package: KF5Parts could not be found because dependency KF5KIO could not be found. Call Stack (most recent call first): CMakeLists.txt:62 (find_package) -- Could NOT find KF5Parts (found version "5.49.0"), checked the following files: /usr/lib64/cmake/KF5Parts/KF5PartsConfig.cmake (version 5.49.0) Reason given by package: KF5Parts could not be found because dependency KF5KIO could not be found. -- Found KF5WindowSystem: /usr/lib64/cmake/KF5WindowSystem/KF5WindowSystemConfig.cmake (found version "5.49.0") -- Found KF5IconThemes: /usr/lib64/cmake/KF5IconThemes/KF5IconThemesConfig.cmake (found version "5.49.0") CMake Warning at /usr/share/ECM/find-modules/FindKF5.cmake:74 (find_package): Found package configuration file: /usr/lib64/cmake/KF5Notifications/KF5NotificationsConfig.cmake but it set KF5Notifications_FOUND to FALSE so package "KF5Notifications" is considered to be NOT FOUND. Reason given by package: KF5Notifications could not be found because dependency Qt5DBus could not be found. Call Stack (most recent call first): CMakeLists.txt:62 (find_package) -- Could NOT find KF5Notifications (found version "5.49.0"), checked the following files: /usr/lib64/cmake/KF5Notifications/KF5NotificationsConfig.cmake (version 5.49.0) Reason given by package: KF5Notifications could not be found because dependency Qt5DBus could not be found. CMake Error at /share/cmake/Modules/FindPackageHandleStandardArgs.cmake:137 (message): Could NOT find KF5 (missing: KIO Parts Notifications) (found suitable version "5.49.0", minimum required is "5.39.0") Call Stack (most recent call first): /share/cmake/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE) /usr/share/ECM/find-modules/FindKF5.cmake:110 (find_package_handle_standard_args) CMakeLists.txt:62 (find_package) -- Configuring incCMake Warning at /share/cmake/Modules/CMakeFindDependencyMacro.cmake:48 (find_package): Found package configuration file: /usr/lib64/cmake/KF5XmlGui/KF5XmlGuiConfig.cmake but it set KF5XmlGui_FOUND to FALSE so package "KF5XmlGui" is considered to be NOT FOUND. Reason given by package: KF5XmlGui could not be found because dependency Qt5DBus could not be found. Call Stack (most recent call first): /usr/lib64/cmake/KF5KIO/KF5KIOConfig.cmake:53 (find_dependency) /usr/share/ECM/find-modules/FindKF5.cmake:74 (find_package) CMakeLists.txt:62 (find_package) CMake Warning at /usr/share/ECM/find-modules/FindKF5.cmake:74 (find_package): Found package configuration file: /usr/lib64/cmake/KF5KIO/KF5KIOConfig.cmake but it set KF5KIO_FOUND to FALSE so package "KF5KIO" is considered to be NOT FOUND. Reason given by package: KF5KIO could not be found because dependency KF5XmlGui could not be found. Call Stack (most recent call first): CMakeLists.txt:62 (find_package) -- Could NOT find KF5KIO (found version "5.49.0"), checked the following files: /usr/lib64/cmake/KF5KIO/KF5KIOConfig.cmake (version 5.49.0) Reason given by package: KF5KIO could not be found because dependency KF5XmlGui could not be found. -- Found KF5ItemModels: /usr/lib64/cmake/KF5ItemModels/KF5ItemModelsConfig.cmake (found version "5.49.0") -- Found Gettext: /usr/sbin/msgmerge (found version "0.19.8.1") -- Found KF5I18n: /usr/lib64/cmake/KF5I18n/KF5I18nConfig.cmake (found version "5.49.0") -- Found KF5DocTools: /usr/lib64/cmake/KF5DocTools/KF5DocToolsConfig.cmake (found version "5.49.0") CMake Warning at /share/cmake/Modules/CMakeFindDependencyMacro.cmake:48 (find_package): Found package configuration file: /usr/lib64/cmake/KF5XmlGui/KF5XmlGuiConfig.cmake but it set KF5XmlGui_FOUND to FALSE so package "KF5XmlGui" is considered to be NOT FOUND. Reason given by package: KF5XmlGui could not be found because dependency Qt5DBus could not be found. Call Stack (most recent call first): /usr/lib64/cmake/KF5KIO/KF5KIOConfig.cmake:53 (find_dependency) /share/cmake/Modules/CMakeFindDependencyMacro.cmake:48 (find_package) /usr/lib64/cmake/KF5Parts/KF5PartsConfig.cmake:38 (find_dependency) /usr/share/ECM/find-modules/FindKF5.cmake:74 (find_package) CMakeLists.txt:62 (find_package) CMake Warning at /share/cmake/Modules/CMakeFindDependencyMacro.cmake:48 (find_package): Found package configuration file: /usr/lib64/cmake/KF5KIO/KF5KIOConfig.cmake but it set KF5KIO_FOUND to FALSE so package "KF5KIO" is considered to be NOT FOUND. Reason given by package: KF5KIO could not be found because dependency KF5XmlGui could not be found. Call Stack (most recent call first): /usr/lib64/cmake/KF5Parts/KF5PartsConfig.cmake:38 (find_dependency) /usr/share/ECM/find-modules/FindKF5.cmake:74 (find_package) CMakeLists.txt:62 (find_package) CMake Warning at /usr/share/ECM/find-modules/FindKF5.cmake:74 (find_package): Found package configuration file: /usr/lib64/cmake/KF5Parts/KF5PartsConfig.cmake but it set KF5Parts_FOUND to FALSE so package "KF5Parts" is considered to be NOT FOUND. Reason given by package: KF5Parts could not be found because dependency KF5KIO could not be found. Call Stack (most recent call first): CMakeLists.txt:62 (find_package) -- Could NOT find KF5Parts (found version "5.49.0"), checked the following files: /usr/lib64/cmake/KF5Parts/KF5PartsConfig.cmake (version 5.49.0) Reason given by package: KF5Parts could not be found because dependency KF5KIO could not be found. -- Found KF5WindowSystem: /usr/lib64/cmake/KF5WindowSystem/KF5WindowSystemConfig.cmake (found version "5.49.0") -- Found KF5IconThemes: /usr/lib64/cmake/KF5IconThemes/KF5IconThemesConfig.cmake (found version "5.49.0") CMake Warning at /usr/share/ECM/find-modules/FindKF5.cmake:74 (find_package): Found package configuration file: /usr/lib64/cmake/KF5Notifications/KF5NotificationsConfig.cmake but it set KF5Notifications_FOUND to FALSE so package "KF5Notifications" is considered to be NOT FOUND. Reason given by package: KF5Notifications could not be found because dependency Qt5DBus could not be found. Call Stack (most recent call first): CMakeLists.txt:62 (find_package) -- Could NOT find KF5Notifications (found version "5.49.0"), checked the following files: /usr/lib64/cmake/KF5Notifications/KF5NotificationsConfig.cmake (version 5.49.0) Reason given by package: KF5Notifications could not be found because dependency Qt5DBus could not be found. CMake Error at /share/cmake/Modules/FindPackageHandleStandardArgs.cmake:137 (message): Could NOT find KF5 (missing: KIO Parts Notifications) (found suitable version "5.49.0", minimum required is "5.39.0") Call Stack (most recent call first): /share/cmake/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE) /usr/share/ECM/find-modules/FindKF5.cmake:110 (find_package_handle_standard_args) CMakeLists.txt:62 (find_package) -- Configuring incomplete, errors occurred! Seeomplete, errors occurred!
I'm aware of it, and it is why +mpris is default for now.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/proj/kde.git/commit/?id=64478fbba66e1ff6a31b26351bd6ba38a2e35b61 commit 64478fbba66e1ff6a31b26351bd6ba38a2e35b61 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2018-09-12 10:05:03 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2018-09-12 10:09:45 +0000 kde-apps/gwenview: Fix USE=-mpris Use a workaround, but this should be fixed upstream. Closes: https://bugs.gentoo.org/663340 Package-Manager: Portage-2.3.49, Repoman-2.3.10 kde-apps/gwenview/gwenview-18.08.49.9999.ebuild | 9 ++++++++- kde-apps/gwenview/gwenview-9999.ebuild | 9 ++++++++- 2 files changed, 16 insertions(+), 2 deletions(-)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa601121cc16aad94a26d8ec5e2c55b95385173e commit fa601121cc16aad94a26d8ec5e2c55b95385173e Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2018-09-12 10:11:12 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2018-09-12 10:12:15 +0000 kde-apps/gwenview: Fix USE=-mpris Use a workaround, but this should be fixed upstream. Closes: https://bugs.gentoo.org/663340 Package-Manager: Portage-2.3.49, Repoman-2.3.10 kde-apps/gwenview/gwenview-18.08.1.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-)