FS#49562 - [kdelibs4support] missing dependency on kdesignerplugin for cmake

Attached to Project: Arch Linux
Opened by Peter Wu (Lekensteyn) - Saturday, 04 June 2016, 14:56 GMT
Last edited by Antonio Rojas (arojas) - Saturday, 04 June 2016, 18:13 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Antonio Rojas (arojas)
Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
powerdevil v5.6.4 fails to build in a clean root because the kdelibs4support package dependency was not satisfied. It turns out that the kdesignerplugin package had to be installed (which was changed from a depends into a makedepends between 5.21.0-1 and 5.22.0-1).

Output of powerdevil build:
CMake Warning at /usr/share/cmake-3.5/Modules/CMakeFindDependencyMacro.cmake:65 (find_package):
By not providing "FindKF5DesignerPlugin.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"KF5DesignerPlugin", but CMake did not find one.

Could not find a package configuration file provided by "KF5DesignerPlugin"
(requested version 5.22.0) with any of the following names:

KF5DesignerPluginConfig.cmake
kf5designerplugin-config.cmake

Add the installation prefix of "KF5DesignerPlugin" to CMAKE_PREFIX_PATH or
set "KF5DesignerPlugin_DIR" to a directory containing one of the above
files. If "KF5DesignerPlugin" 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:74 (find_package)
CMakeLists.txt:25 (find_package)


CMake Warning at /usr/share/ECM/find-modules/FindKF5.cmake:74 (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 KF5DesignerPlugin
could not be found.

Call Stack (most recent call first):
CMakeLists.txt:25 (find_package)


-- Could NOT find KF5KDELibs4Support (found version "5.22.0"), checked the following files:
/usr/lib64/cmake/KF5KDELibs4Support/KF5KDELibs4SupportConfig.cmake (version 5.22.0)
Reason given by package: KF5KDELibs4Support could not be found because dependency KF5DesignerPlugin could not be found.

-- Found KF5Wayland: /usr/lib64/cmake/KF5Wayland/KF5WaylandConfig.cmake (found version "5.22.0")
CMake Error at /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
Could NOT find KF5 (missing: KDELibs4Support) (found version "5.6.4")
Call Stack (most recent call first):
/usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE)
/usr/share/ECM/find-modules/FindKF5.cmake:110 (find_package_handle_standard_args)
CMakeLists.txt:25 (find_package)


-- Configuring incomplete, errors occurred!
This task depends upon

Closed by  Antonio Rojas (arojas)
Saturday, 04 June 2016, 18:13 GMT
Reason for closing:  Fixed
Additional comments about closing:  in svn
Comment by Antonio Rojas (arojas) - Saturday, 04 June 2016, 18:13 GMT
kdesignerplugin is not needed at runtime, so that dependency was incorrect. Instead, packages should have kdesignerplugin in makedepends (or rather upstream should fix this dependency mess)

Loading...