KCoreAddons does not install most of its headers on my system

Kevin Ottens ervin at kde.org
Mon Jun 16 11:14:47 UTC 2014


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

In fact, maybe a sign that our kdesrc-build config file should request a fixed 
version of cmake nowadays?

Regards.
-- 
Kévin Ottens, http://ervin.ipsquad.net

KDAB - proud supporter of KDE, http://www.kdab.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20140616/207e6be4/attachment.sig>


More information about the Kde-frameworks-devel mailing list