should use CMakePackageConfigHelpers instead of ECMPackageConfigHelpers. Call Stack (most recent call first): CMakeLists.txt:25 (include) This warning is for project developers. Use -Wno-dev to suppress it. -- Found CUPS: /usr/lib64/libcups.so -- Found KF5Config: /usr/lib64/cmake/KF5Config/KF5ConfigConfig.cmake (found version "5.75.0") -- Found KF5ConfigWidgets: /usr/lib64/cmake/KF5ConfigWidgets/KF5ConfigWidgetsConfig.cmake (found version "5.73.0") -- Found KF5CoreAddons: /usr/lib64/cmake/KF5CoreAddons/KF5CoreAddonsConfig.cmake (found version "5.75.0") -- Found KF5DBusAddons: /usr/lib64/cmake/KF5DBusAddons/KF5DBusAddonsConfig.cmake (found version "5.75.0") -- Found KF5IconThemes: /usr/lib64/cmake/KF5IconThemes/KF5IconThemesConfig.cmake (found version "5.73.0") -- Found Gettext: /usr/bin/msgmerge (found version "0.21") -- Found KF5I18n: /usr/lib64/cmake/KF5I18n/KF5I18nConfig.cmake (found version "5.75.0") CMake Warning at /usr/share/ECM/find-modules/FindKF5.cmake:53 (find_package): Could not find a configuration file for package "KF5KCMUtils" that is compatible with requested version "5.72.0". The following configuration files were considered but not accepted: /usr/lib64/cmake/KF5KCMUtils/KF5KCMUtilsConfig.cmake, version: 5.70.0 /lib64/cmake/KF5KCMUtils/KF5KCMUtilsConfig.cmake, version: 5.70.0 Call Stack (most recent call first): CMakeLists.txt:40 (find_package) -- Could NOT find KF5KCMUtils , checked the following files: /usr/lib64/cmake/KF5KCMUtils/KF5KCMUtilsConfig.cmake (version 5.70.0) /lib64/cmake/KF5KCMUtils/KF5KCMUtilsConfig.cmake (version 5.70.0) -- Found KF5KIO: /usr/lib64/cmake/KF5KIO/KF5KIOConfig.cmake (found version "5.73.0") -- Found KF5Notifications: /usr/lib64/cmake/KF5Notifications/KF5NotificationsConfig.cmake (found version "5.73.0") CMake Warning at /usr/share/ECM/find-modules/FindKF5.cmake:53 (find_package): Could not find a configuration file for package "KF5Plasma" that is compatible with requested version "5.72.0". The following configuration files were considered but not accepted: /usr/lib64/cmake/KF5Plasma/KF5PlasmaConfig.cmake, version: 5.70.0 /lib64/cmake/KF5Plasma/KF5PlasmaConfig.cmake, version: 5.70.0 Call Stack (most recent call first): CMakeLists.txt:40 (find_package) -- Could NOT find KF5Plasma , checked the following files: /usr/lib64/cmake/KF5Plasma/KF5PlasmaConfig.cmake (version 5.70.0) /lib64/cmake/KF5Plasma/KF5PlasmaConfig.cmake (version 5.70.0) -- Found KF5WidgetsAddons: /usr/lib64/cmake/KF5WidgetsAddons/KF5WidgetsAddonsConfig.cmake (found version "5.75.0") -- Found KF5WindowSystem: /usr/lib64/cmake/KF5WindowSystem/KF5WindowSystemConfig.cmake (found version "5.75.0") CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:165 (message): Could NOT find KF5 (missing: KCMUtils Plasma) (found suitable version "5.73.0", minimum required is "5.72.0") Call Stack (most recent call first): /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:458 (_FPHSA_FAILURE_MESSAGE) /usr/share/ECM/find-modules/FindKF5.cmake:94 (find_package_handle_standard_args) CMakeLists.txt:40 (find_package) -- Configuring incomplete, errors occurred! See also "/builddir/build/BUILD/print-manager-20.08.1/riscv64-redhat-linux-gnu/CMakeFiles/CMakeOutput.log". RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.c8wfmt (%build) Bad exit status from /var/tmp/rpm-tmp.c8wfmt (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/kde-print-manager.spec