Following error occured during rebuild of kde-base/plasma-workspace-5.1.1: CMake Warning at /usr/lib64/cmake/KF5Crash/KF5CrashConfig.cmake:48 (find_package): By not providing "FindKF5DocTools.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "KF5DocTools", but CMake did not find one. Could not find a package configuration file provided by "KF5DocTools" (requested version 5.4.0) with any of the following names: KF5DocToolsConfig.cmake kf5doctools-config.cmake Add the installation prefix of "KF5DocTools" to CMAKE_PREFIX_PATH or set "KF5DocTools_DIR" to a directory containing one of the above files. If "KF5DocTools" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): /usr/lib64/cmake/KF5KDELibs4Support/KF5KDELibs4SupportConfig.cmake:91 (find_dependency) /usr/share/ECM/find-modules/FindKF5.cmake:75 (find_package) CMakeLists.txt:15 (find_package) CMake Warning at /usr/share/ECM/find-modules/FindKF5.cmake:75 (find_package): Found package configuration file: /usr/lib64/cmake/KF5KDELibs4Support/KF5KDELibs4SupportConfig.cmake but it set KF5KDELibs4Support_FOUND to FALSE so package "KF5KDELibs4Support" is considered to be NOT FOUND. Reason given by package: KF5KDELibs4Support could not be found because dependency KF5DocTools could not be found. Call Stack (most recent call first): CMakeLists.txt:15 (find_package) -- Could NOT find KF5KDELibs4Support (found version "5.4.0"), checked the following files: /usr/lib64/cmake/KF5KDELibs4Support/KF5KDELibs4SupportConfig.cmake (version 5.4.0) Reason given by package: KF5KDELibs4Support could not be found because dependency KF5DocTools could not be found. -- Found KF5Crash: /usr/lib64/cmake/KF5Crash/KF5CrashConfig.cmake (found version "5.4.0") CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:108 (message): Could NOT find KF5 (missing: DocTools KDELibs4Support) (found suitable version "5.1.90", minimum required is "5.0.0") Call Stack (most recent call first): /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE) /usr/share/ECM/find-modules/FindKF5.cmake:111 (find_package_handle_standard_args) CMakeLists.txt:15 (find_package) -- Configuring incomplete, errors occurred!
In this case, it is called indirectly via kdelibs4support and I've added the missing dependency there. There is a more general problem across Plasma 5 ebuilds that's not yet resolved regarding kdoctools. Many packages require it unconditionally, but historically we provide the handbook USE flag. No decision has been made whether to try and work around this yet or not. + 01 Dec 2014; Michael Palimaka <kensington@gentoo.org> + kdelibs4support-5.4.0.ebuild: + Add missing dependencies wrt bug #531280. https://github.com/gentoo/kde/commit/5735cf401cf4a87ff8336297fc587d6a951e252b