Re: error: KF5::KDBusAddons-NOTFOUND
On Monday, November 18, 2013 19:00:33 Sebastian Kügler wrote: On Monday, November 18, 2013 17:53:07 Aleix Pol wrote: On Mon, Nov 18, 2013 at 5:43 PM, Sebastian Kügler se...@kde.org wrote: It seems subject broke over the weekend. kactivities fails to compile: c++: error: KF5::KDBusAddons-NOTFOUND: No such file or directory kactivities uses: find_package (KF5 CONFIG REQUIRED KDBusAddons) so it's pretty bare-bones. Could someone have a look or suggest a fix? There's no warning or error in cmake configuration time? You can trigger it with make rebuild_cache There's no warning, it even suggests that KDBusAddons has been found. So this doesn't only affect KDBusAddons, but also KConfigCore (and in another repository, KDE4Support), they're all broken for me, I can't build anything against them. c++: error: KF5::KConfigCore-NOTFOUND: No such file or directory c++: error: KF5::KDBusAddons-NOTFOUND: No such file or directory Note that also the QDBusVariant include fails, so the include directories are also not set correctly through the find_package(...) calls. This is all on a clean build/install, I've updated cmake to latest master, no dice, to the release branch, also no dice. Any ideas? I think the changes have been introduced last Saturday with Steveire's cmake cleanups in kdelibs. Here's how the build fails: Linking CXX shared library activitymanager_plugin_activitytemplates.so c++: error: KF5::KConfigCore-NOTFOUND: No such file or directory c++: error: KF5::KDBusAddons-NOTFOUND: No such file or directory make[2]: *** [src/service/plugins/activitytemplates/activitymanager_plugin_activitytemplates.so] Error 1 make[1]: *** [src/service/plugins/activitytemplates/CMakeFiles/activitymanager_plugin_activitytemplates.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs [ 32%] Building CXX object src/service/plugins/sqlite/CMakeFiles/activitymanager_plugin_sqlite.dir/ResourceScoreCache.cpp.o In file included from /home/sebas/kf5/src/kactivities/src/service/plugins/sqlite/../../Plugin.h:38:0, from /home/sebas/kf5/src/kactivities/src/service/plugins/sqlite/StatsPlugin.h:28, from /home/sebas/kf5/src/kactivities/src/service/plugins/sqlite/StatsPlugin.cpp:22: /home/sebas/kf5/src/kactivities/src/service/plugins/sqlite/../../Module.h:27:24: fatal error: QDBusVariant: No such file or directory compilation terminated. make[2]: *** [src/service/plugins/sqlite/CMakeFiles/activitymanager_plugin_sqlite.dir/StatsPlugin.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs In file included from /home/sebas/kf5/src/kactivities/src/service/plugins/sqlite/../../Plugin.h:38:0, from /home/sebas/kf5/src/kactivities/src/service/plugins/sqlite/StatsPlugin.h:28, from /home/sebas/kf5/src/kactivities/src/service/plugins/sqlite/ResourceScoreCache.cpp:29: /home/sebas/kf5/src/kactivities/src/service/plugins/sqlite/../../Module.h:27:24: fatal error: QDBusVariant: No such file or directory compilation terminated. make[2]: *** [src/service/plugins/sqlite/CMakeFiles/activitymanager_plugin_sqlite.dir/ResourceScoreCache.cpp.o] Error 1 make[1]: *** [src/service/plugins/sqlite/CMakeFiles/activitymanager_plugin_sqlite.dir/all] Error 2 Linking CXX shared library activitymanager_plugin_slc.so c++: error: KF5::KConfigCore-NOTFOUND: No such file or directory c++: error: KF5::KDBusAddons-NOTFOUND: No such file or directory make[2]: *** [src/service/plugins/slc/activitymanager_plugin_slc.so] Error 1 make[1]: *** [src/service/plugins/slc/CMakeFiles/activitymanager_plugin_slc.dir/all] Error 2 Ideas how to solve this would be highly appreciated. I'm out of ideas. :/ Thanks, -- sebas http://www.kde.org | http://vizZzion.org | GPG Key ID: 9119 0EF9 ___ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel
Re: error: KF5::KDBusAddons-NOTFOUND
I can't reproduce the problem. Sebastian Kügler wrote: Ideas how to solve this would be highly appreciated. I'm out of ideas. :/ Try to construct a trivial testcase using one of the targets. If that fails, post it. If it passes, bisect the difference to kactivities. Thanks, Steve. ___ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel
Re: error: KF5::KDBusAddons-NOTFOUND
On Tuesday, November 19, 2013 15:42:47 Sebastian Kügler wrote: On Tuesday, November 19, 2013 12:48:53 Stephen Kelly wrote: Try to construct a trivial testcase using one of the targets. If that fails, post it. If it passes, bisect the difference to kactivities. I've attached a bare example, that also fails here, with error from $subject. I've found the problem leading to this. When I run cmake / make / make install from the top-level kdelibs directory, the -relwithdebinfo.cmake Target files are not installed. When I re-run make install from, for example within tier2/ki18n, the KI18nTargets-relwithdebinfo.cmake gets installed, and is subsequently found. Same for KDBusAddons, and all other frameworks, as far as I can tell. When re-running make install, I get this file (for example) installed, which is what I seemed to be missing. /home/sebas/kf5/install/lib64/cmake/KI18n/KI18nTargets-relwithdebinfo.cmake Any idea how this can happen? -- sebas http://www.kde.org | http://vizZzion.org | GPG Key ID: 9119 0EF9 ___ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel
Re: error: KF5::KDBusAddons-NOTFOUND
On Tue, Nov 19, 2013 at 4:32 PM, Sebastian Kügler se...@kde.org wrote: On Tuesday, November 19, 2013 15:42:47 Sebastian Kügler wrote: On Tuesday, November 19, 2013 12:48:53 Stephen Kelly wrote: Try to construct a trivial testcase using one of the targets. If that fails, post it. If it passes, bisect the difference to kactivities. I've attached a bare example, that also fails here, with error from $subject. I've found the problem leading to this. When I run cmake / make / make install from the top-level kdelibs directory, the -relwithdebinfo.cmake Target files are not installed. When I re-run make install from, for example within tier2/ki18n, the KI18nTargets-relwithdebinfo.cmake gets installed, and is subsequently found. Same for KDBusAddons, and all other frameworks, as far as I can tell. When re-running make install, I get this file (for example) installed, which is what I seemed to be missing. /home/sebas/kf5/install/lib64/cmake/KI18n/KI18nTargets-relwithdebinfo.cmake Any idea how this can happen? -- sebas http://www.kde.org | http://vizZzion.org | GPG Key ID: 9119 0EF9 ___ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel Maybe you have different CMAKE_BUILD_TYPE in kdelibs and other build directories? Aleix ___ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel
Re: error: KF5::KDBusAddons-NOTFOUND
On Tuesday, November 19, 2013 17:01:32 Aleix Pol wrote: Maybe you have different CMAKE_BUILD_TYPE in kdelibs and other build directories? I'm using the same command for them all: cmake -DCMAKE_INSTALL_PREFIX=$KF5 -DCMAKE_PREFIX_PATH=$KF5 - DCMAKE_SYSTEM_PREFIX_PATH=/usr:/usr/local:${KF5} - DCMAKE_MODULE_PATH=$KF5/share/cmake/modules .. $srcFolder make -j${CPUS} make install Maybe while splitting cmake files, some arguments are lost in the individual tiers? -- sebas http://www.kde.org | http://vizZzion.org | GPG Key ID: 9119 0EF9 ___ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel
Re: error: KF5::KDBusAddons-NOTFOUND
On Mon, Nov 18, 2013 at 5:53 PM, Aleix Pol aleix...@kde.org wrote: On Mon, Nov 18, 2013 at 5:43 PM, Sebastian Kügler se...@kde.org wrote: It seems subject broke over the weekend. kactivities fails to compile: c++: error: KF5::KDBusAddons-NOTFOUND: No such file or directory kactivities uses: find_package (KF5 CONFIG REQUIRED KDBusAddons) so it's pretty bare-bones. Could someone have a look or suggest a fix? I have the same problem with Workspace failing on KNewStuff (note that it's during linking): Scanning dependencies of target kcm_kwindecoration Linking CXX shared module ../../../lib/kcm_kwin_scripts.so c++: error: KF5::KNewStuff-NOTFOUND: No such file or directory make[2]: *** [lib/kcm_kwin_scripts.so] Error 1 make[1]: *** [kwin/kcmkwin/kwinscripts/CMakeFiles/kcm_kwin_scripts.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs There's no warning or error in cmake configuration time? You can trigger it with make rebuild_cache Nope, KNewStuff is happily found, no error or warning. Cheers -- Martin Klapetek | KDE Developer ___ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel