CMake Error at CMakeLists.txt:24 (find_package): Could not find a package configuration file provided by "KF5" with any of the following names: KF5Config.cmake kf5-config.cmake Reproducible: Didn't try I'm trying to see if I can find a framework or package that supplies the missing piece, this looks like a missing dependency problem
There's tier1/kconfig. Please add it to the list of dependencies in konsole.py in emerge.git. You can the post the patch on our review board.
Created attachment 89537 [details] attachment-11099-0.html On Tue, Nov 11, 2014 at 11:29 AM, Kevin Funk <kfunk@kde.org> wrote: > https://bugs.kde.org/show_bug.cgi?id=340834 > > --- Comment #1 from Kevin Funk <kfunk@kde.org> --- > There's tier1/kconfig. Please add it to the list of dependencies in > konsole.py > in emerge.git. > > You can the post the patch on our review board. > > -- > You are receiving this mail because: > You are the assignee for the bug. > _______________________________________________ > Kde-windows mailing list > Kde-windows@kde.org > https://mail.kde.org/mailman/listinfo/kde-windows > Shouldn't/Couldn't this dependencies be generated from the dependecy-data-kf5-qt5 in kde-build-metadata files? Aleix
Of course it could. Not sure if the Patricks have a script for that ready yet. That'd be helpful.
I have that frameworks/tier1/kconfig installed, and yet it still gives me the above error.
also interesting to note trying to run emerge frameworks/tier1/kconfig results in an error r:\build\testing\kcwsh\work\mingw-w64-RelWithDebInfo-gitHEAD>emerge rameworks/tier1/kconfig emerge debug: buildAction: all emerge debug: packageName: ['rameworks/tier1/kconfig'] emerge debug: buildType: RelWithDebInfo emerge debug: buildTests: False ________________________________________________________________________________ emerge error: unknown packageName too many values to unpack (expected 2) File "r:\\emerge\bin\emerge.py", line 432, in <module> succes = main( ) File "r:\\emerge\bin\emerge.py", line 411, in main if not handleSinglePackage( x, args ): File "r:\\emerge\bin\emerge.py", line 154, in handleSinglePackage (category, package) = packageName.split( "/" ) Will I end up with the same problem if I add that to the dependencies list? Why is it named in 3 '/' splits if the scripts can't handle that?
Created attachment 89542 [details] patch to adjust konsole.py here you go, i'm not sure where else to put it.
However the build-script for konsole still doesn't seem to SEE kconfig
looks like: find_package(KF5 CONFIG REQUIRED Bookmarks Completion Config ConfigWidgets CoreAddons DocTools GuiAddons I18n IconThemes Init KDE4Support KIO Notifications NotifyConfig Parts Pty Service TextWidgets WidgetsAddons WindowSystem XmlGui ) is the line causing this search.
in R:\lib\cmake\KF5Config there are a few files Directory of R:\lib\cmake\KF5Config 11/07/2014 03:59 PM <DIR> . 11/07/2014 03:59 PM <DIR> .. 11/07/2014 03:56 PM 2,514 KF5ConfigConfig.cmake 11/07/2014 03:56 PM 1,331 KF5ConfigConfigVersion.cmake 11/07/2014 03:56 PM 3,750 KF5ConfigMacros.cmake 11/07/2014 03:56 PM 2,505 KF5ConfigTargets-relwithdebinfo.cmake 11/07/2014 03:56 PM 4,112 KF5ConfigTargets.cmake 5 File(s) 14,212 bytes 2 Dir(s) 2,835,664,871,424 bytes free
It looks like cmake wants there to be a master KF5.cmake file, and i'm only seeing the ones installed for each package so far
I tried splitting that command up like this: find_package(KF5Bookmarks CONFIG REQUIRED) find_package(KF5Completion CONFIG REQUIRED) find_package(KF5Config CONFIG REQUIRED) find_package(KF5ConfigWidgets CONFIG REQUIRED) find_package(KF5CoreAddons CONFIG REQUIRED) find_package(KF5DocTools CONFIG REQUIRED) find_package(KF5GuiAddons CONFIG REQUIRED) find_package(KF5I18n CONFIG REQUIRED) find_package(KF5IconThemes CONFIG REQUIRED) find_package(KF5Init CONFIG REQUIRED) find_package(KF5KDE4Support CONFIG REQUIRED) find_package(KF5KIO CONFIG REQUIRED) find_package(KF5Notifications CONFIG REQUIRED) find_package(KF5NotifyConfig CONFIG REQUIRED) find_package(KF5Parts CONFIG REQUIRED) find_package(KF5Service CONFIG REQUIRED) find_package(KF5TextWidgets CONFIG REQUIRED) find_package(KF5WidgetsAddons CONFIG REQUIRED) find_package(KF5WindowSystem CONFIG REQUIRED) find_package(KF5XmlGui CONFIG REQUIRED) find_package(KF5Pty CONFIG REQUIRED) however there is no package KF5Pty nor can I find one with emerge --search or under R:\emerge\portage\frameworks directories
Whoops. KF5Config.cmake indeed should be installed by the kf5umbrella project, but the package apparently got removed in emerge. I have no clue why... Alexander, ideas how that is supposed to work? Who's installed KF5Config.cmake these days? Reference: commit 1f26657aa3888fefb0fed19367e36da2e7b74654 Author: Alex Richardson <arichardson.kde@gmail.com> Date: Thu May 8 00:43:41 2014 +0200 drop kf5umbrella, it is no longer needed
There is a FindKF5.cmake that is installed by extra-cmake-modules. I guess it wants KF5Config, because the CMake command uses the CONFIG keywoard? If so just remove it or change it to MODULE
as for the missing PTY framework, is that dropped too, or is it simply not ready yet?
Oh btw, changing CONFIG to MODULES does appear to have done the trick. I don't know if that makes it dependent on any particular thing like extra-cmake-modules, as that was already installed. (might want to double check the python file for konsole and set it to dependent on all these frameworks modules as well, if it isn't already)
Thank you for the bug report. As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists. If this bug is no longer persisting or relevant please change the status to resolved.