The pkgconfig files for kdb, kreport and kproperty contain incorrect entries: - libdir is hardcoded to /lib - the files contain non-existent 'Requires' entries KPropertyWidgets.pc.cmake: KF5WidgetsAddons KF5GuiAddons KDb.pc.cmake: icu-lo KF5CoreAddons KReport.pc.cmake: KF5CoreAddons KF5WidgetsAddons KF5GuiAddons
Have you installed all required devel packages?
the required frameworks don't install any pkgconfig file and icu-lo also doesn't exist.
Propsoed patch would be welcome. If dependencies do not support pkgconfig then we also can't. This shall be consulted with KDE distro team though if there's someone interested in helping out.
A possibly relevant merge request was started @ https://invent.kde.org/libraries/kdb/-/merge_requests/13
Dear Christophe, are you able to test if the generated .pc file updated in the above merge request is useful and makes sense? How about testing for the KDb 3.2 case, and later for other libraries I maintain. Sorry for my ignorance since I am not user of pkg-config: I am not sure if KF5 libraries have correctly support pkg-config, or care about it, are you able to give me some hint? Thanks. Also attaching the generated file based on the change made in the merge request.
Created attachment 161388 [details] Example generated KDb3.pc
Git commit 4252a53ee0e40dffa34fb507bee17d92e4f1e45e by Jaroslaw Staniek. Committed on 05/09/2023 at 22:43. Pushed by krop into branch '3.2'. Temporarily remove pkg-config support At least until the situation with dependencies (KF) improves in version 6. FIXED-IN:3.2.1 M +0 -1 CMakeLists.txt D +0 -12 KDb.pc.cmake M +0 -12 cmake/modules/KDbMacros.cmake https://invent.kde.org/libraries/kdb/-/commit/4252a53ee0e40dffa34fb507bee17d92e4f1e45e