<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Jun 16, 2014 at 9:41 AM, Frank Reininghaus <span dir="ltr"><<a href="mailto:frank78ac@googlemail.com" target="_blank">frank78ac@googlemail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello everyone,<br>
<br>
I tried to set up a separate Qt5+KF5 build in release mode.<br>
Unfortunately, I did not succeed :-(<br>
<br>
The first package that fails to build (even if I repeat the<br>
kdesrc-build process many times) is kservice. The comiler reports<br>
<br>
[ 30%] Building CXX object<br>
src/CMakeFiles/KF5Service.dir/services/kserviceaction.cpp.o<br>
In file included from<br>
/home/kde-frameworks-release/kde/src/frameworks/kservice/src/services/kmimetypetrader.h:23:0,<br>
                 from<br>
/home/kde-frameworks-release/kde/src/frameworks/kservice/src/services/kmimetypetrader.cpp:20:<br>
/home/kde-frameworks-release/kde/src/frameworks/kservice/src/services/kservice.h:27:28:<br>
fatal error: kpluginfactory.h: No such file or directory<br>
 #include <kpluginfactory.h><br>
                            ^<br>
<br>
I then found that kpluginfactory should actually be installed by<br>
kcoreaddons, but that does not happen here. The install.log of<br>
kcoreaddons looks like this:<br>
<br>
# kdesrc-build running: 'gmake' 'install/fast'<br>
# from directory: /home/kde-frameworks-release/kde/build/frameworks/kcoreaddons<br>
Install the project...<br>
-- Install configuration: "release"<br>
-- Up-to-date: /home/kde-frameworks-release/kf5/lib64/cmake/KF5CoreAddons/KF5CoreAddonsConfig.cmake<br>
-- Up-to-date: /home/kde-frameworks-release/kf5/lib64/cmake/KF5CoreAddons/KF5CoreAddonsConfigVersion.cmake<br>
-- Up-to-date: /home/kde-frameworks-release/kf5/lib64/cmake/KF5CoreAddons/KF5CoreAddonsTargets.cmake<br>
-- Up-to-date: /home/kde-frameworks-release/kf5/lib64/cmake/KF5CoreAddons/KF5CoreAddonsTargets-release.cmake<br>
-- Up-to-date: /home/kde-frameworks-release/kf5/include/KF5/kcoreaddons_version.h<br>
-- Up-to-date: /home/kde-frameworks-release/kf5/lib64/libKF5CoreAddons.so.4.100.0<br>
-- Up-to-date: /home/kde-frameworks-release/kf5/lib64/libKF5CoreAddons.so.5<br>
-- Up-to-date: /home/kde-frameworks-release/kf5/lib64/libKF5CoreAddons.so<br>
-- Up-to-date: /home/kde-frameworks-release/kf5/include/KF5/KCoreAddons/KAboutData<br>
-- Up-to-date: /home/kde-frameworks-release/kf5/include/KF5/KCoreAddons/kaboutdata.h<br>
-- Up-to-date: /home/kde-frameworks-release/kf5/include/KF5/KCoreAddons/kcoreaddons_export.h<br>
-- Up-to-date: /home/kde-frameworks-release/kf5/mkspecs/modules/qt_KCoreAddons.pri<br>
-- Up-to-date: /home/kde-frameworks-release/kf5/share/mime/packages/kde5.xml<br>
-- Updating MIME database at /home/kde-frameworks-release/kf5/share/mime<br>
<br>
<br>
It looks like it installs nothing that is in subdirectories of<br>
kcoreaddons/src/lib/.<br>
<br>
It still works nicely with my "kde-frameworks" user. The only change<br>
between both builds (except that one is based on a more recent Qt5<br>
checkout) that I am aware of is that I replaced "debug" by "release"<br>
as the build type.<br>
<br>
I then reverted the debug->release change, cleared the kcoreaddons<br>
build directory and re-ran kdesrc-build, but it does not help.<br>
<br>
The CMake log does not look suspicious to me: <a href="http://paste.kde.org/p0ccahzhh" target="_blank">http://paste.kde.org/p0ccahzhh</a><br>
<br>
I tried to understand the CMakeLists.txt, but I'm not really familiar<br>
with CMake and the ECM stuff, so I haven't found out what the problem<br>
is yet.<br>
<br>
Does anyone have an idea what I could do to investigate and possibly<br>
fix the problem?<br>
<br>
Thanks and best regards,<br>
Frank<br></blockquote><div><br></div><div>I encountered this yesterday, for a quick workaround rollback to cmake 3.0 (cmake-git is what makes this happen) </div></div></div></div>