This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Try find solution build app has KF5 dep. on Artix

Tags: None
(comma "," separated)
abdu
Registered Member
Posts
2
Karma
0
Help me stumbled in tried to build an app having KF5 as its dependency. on Arch Linux (more precisely Artix)

https://sourceforge.net/projects/qtrans0/files/kf5/

one tell its dependencies on Arch:

hicolor-icon-theme (hicolor-icon-theme-git)
kconfig (kconfig-git)
kcoreaddons (kcoreaddons-git)
ki18n (ki18n-git)
ktextwidgets (ktextwidgets-git)
kxmlgui (kxmlgui-git)
python (python38, python36, python37, python3.7, nogil-python, python311, python39)
qt5-base (qt5-base-git, qt5-base-headless)
qt5-webkit
zlib
cmake
(version 3.23.1 is installed now)

but failed in:
$ cmake ../. -DCMAKE_INSTALL_PREFIX=/usr

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:34 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning at /usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:47 (find_package):
Could not find a configuration file for package "KF5ConfigWidgets" that is
compatible with requested version "5.93.0".

The following configuration files were considered but not accepted:

/usr/lib64/cmake/KF5ConfigWidgets/KF5ConfigWidgetsConfig.cmake, version: 5.92.0
/usr/lib/cmake/KF5ConfigWidgets/KF5ConfigWidgetsConfig.cmake, version: 5.92.0
/lib64/cmake/KF5ConfigWidgets/KF5ConfigWidgetsConfig.cmake, version: 5.92.0
/lib/cmake/KF5ConfigWidgets/KF5ConfigWidgetsConfig.cmake, version: 5.92.0

Call Stack (most recent call first):
/usr/lib64/cmake/KF5XmlGui/KF5XmlGuiConfig.cmake:47 (find_dependency)
/usr/share/ECM/find-modules/FindKF5.cmake:52 (find_package)
CMakeLists.txt:34 (find_package)


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

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

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

CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find KF5 (missing: XmlGui) (found suitable version "5.92.0",
minimum required is "5.2.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:34 (find_package)

Anyone kind enough to help point out how to solve this version discrepancy ?
koffeinfriedhof
Registered Member
Posts
608
Karma
4
OS
Hi!

It compiles on ArchLinux (lot of warnings, but builds). So I think you are missing the packages kconfigwidgets and kxmlgui or it is an Artix issue.
abdu
Registered Member
Posts
2
Karma
0
what the heck , incorrect or inaccurate AUR dependencies list !

it omits:
Code: Select all
kwidgetsaddons


!!!

simply
Code: Select all
pacman -S kwidgetsaddons
solves


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]