zzag / plasma5-wallpapers-dynamic

Dynamic wallpaper plugin for KDE Plasma
328 stars 18 forks source link

Cannot build using Plasam framework 5.94 #106

Closed twnaing closed 2 years ago

twnaing commented 2 years ago

I cannot build (using source code) with plasma-framework 5.94 on Arch Linux KDE.

Versions of the packages are as follows

Packages (9) cmake-3.23.1-1  extra-cmake-modules-5.94.0-1  git-2.36.1-1  libavif-0.10.1-1  libexif-0.6.24-1  plasma-framework-5.94.0-1
qt5-base-5.15.4+kde+r144-1  qt5-declarative-5.15.4+kde+r19-1  qt5-location-5.15.4+kde+r2-1

This is the error output

CMake Warning (dev) at /usr/share/ECM/modules/ECMFindModuleHelpers.cmake:112 (message):
Your project should require at least CMake 3.16.0 to use FindKF5.cmake
Call Stack (most recent call first):
/usr/share/ECM/find-modules/FindKF5.cmake:30 (ecm_find_package_version_check)
CMakeLists.txt:43 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found KF5Config: /usr/lib64/cmake/KF5Config/KF5ConfigConfig.cmake (found version "5.94.0")
-- Found Gettext: /usr/bin/msgmerge (found version "0.21")
-- Found KF5I18n: /usr/lib64/cmake/KF5I18n/KF5I18nConfig.cmake (found version "5.94.0")
-- Found KF5Package: /usr/lib64/cmake/KF5Package/KF5PackageConfig.cmake (found version "5.94.0")
CMake Warning at /usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:47 (find_package):
Could not find a configuration file for package "KF5WindowSystem" that is
compatible with requested version "5.93.0".

The following configuration files were considered but not accepted:

/usr/lib64/cmake/KF5WindowSystem/KF5WindowSystemConfig.cmake, version: 5.91.0
/usr/lib/cmake/KF5WindowSystem/KF5WindowSystemConfig.cmake, version: 5.91.0
/lib64/cmake/KF5WindowSystem/KF5WindowSystemConfig.cmake, version: 5.91.0
/lib/cmake/KF5WindowSystem/KF5WindowSystemConfig.cmake, version: 5.91.0

Call Stack (most recent call first):
/usr/lib64/cmake/KF5Plasma/KF5PlasmaConfig.cmake:55 (find_dependency)
/usr/share/ECM/find-modules/FindKF5.cmake:52 (find_package)
CMakeLists.txt:43 (find_package)

CMake Warning at /usr/share/ECM/find-modules/FindKF5.cmake:52 (find_package):
Found package configuration file:

/usr/lib64/cmake/KF5Plasma/KF5PlasmaConfig.cmake

but it set KF5Plasma_FOUND to FALSE so package "KF5Plasma" is considered to
be NOT FOUND.  Reason given by package:

KF5Plasma could not be found because dependency KF5WindowSystem could not
be found.

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

-- Could NOT find KF5Plasma (found version "5.94.0"), checked the following files:
/usr/lib64/cmake/KF5Plasma/KF5PlasmaConfig.cmake (version 5.94.0)
Reason given by package: KF5Plasma could not be found because dependency KF5WindowSystem could not be found.

CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find KF5 (missing: Plasma) (found suitable version "5.94.0",
minimum required is "5.66.0")
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
/usr/share/ECM/find-modules/FindKF5.cmake:93 (find_package_handle_standard_args)
CMakeLists.txt:43 (find_package)

-- Configuring incomplete, errors occurred!
See also "/home/twnaing/.cache/yay/plasma5-wallpapers-dynamic/src/build/CMakeFiles/CMakeOutput.log".
==> ERROR: A failure occurred in build().
Aborting...
-> error making: plasma5-wallpapers-dynamic
zzag commented 2 years ago
CMake Warning at /usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:47 (find_package):
Could not find a configuration file for package "KF5WindowSystem" that is
compatible with requested version "5.93.0".

The following configuration files were considered but not accepted:

/usr/lib64/cmake/KF5WindowSystem/KF5WindowSystemConfig.cmake, version: 5.91.0
/usr/lib/cmake/KF5WindowSystem/KF5WindowSystemConfig.cmake, version: 5.91.0
/lib64/cmake/KF5WindowSystem/KF5WindowSystemConfig.cmake, version: 5.91.0
/lib/cmake/KF5WindowSystem/KF5WindowSystemConfig.cmake, version: 5.91.0

this is odd, make sure that you have kwindowsystem 5.94

twnaing commented 2 years ago

I have the 5.91 installed (using git version of kwindowsystem)

aur/mingw-w64-kwindowsystem 5.76.0-1 (+2 0.00) 
Access to the windowing system (mingw-w64)
2 aur/kwindowsystem-git 5.83.0_r590.g6b16989-1 (+27 0.00) (Installed: 5.91.0_r663.g83d6bb7-1)
Access to the windowing system
1 extra/kwindowsystem 5.94.0-1 (784.2 KiB 1.7 MiB) [kf5] 
Access to the windowing system

changing to extra/kwindowsystem 5.94 fix this issue.