kf5 general build problem (was Re: kcolorscheme needs ksharedconfig.h)

Treeve Jelbert treeve at scarlet.be
Thu Feb 14 11:57:49 UTC 2013


On Thu, 14 Feb 2013 11:41:48 +0100, David Faure wrote:
> On Monday 11 February 2013 14:26:46 Treeve Jelbert wrote:
>> In file included from
>> /var/git/kf5/staging/kguiaddons/src/colors/kcolorscheme.cpp:19:0:
>> /var/git/kf5/staging/kguiaddons/src/colors/kcolorscheme.h:24:27: 
>> fatal
>> error: ksharedconfig.h: No such file or directory
>> compilation terminated.
>
> This is surprising, because it builds for everyone else, and for
> build.kde.org.
> Do you still have the issue?
> Can you try a full build from scratch?
> (completely scratch, i.e. even removing your install prefix for KF5)


I cleared out all the remnants of previous kf5 builds and tried again, 
after installing the latest extra-cmake-modules

CMake finds things, but the build soon stops.

The first, and probably most significant error is


-- Build files have been written to: /usr/src/kf5libs-4.90.x/build
Scanning dependencies of target kdeqt5staging
[  0%] Building CXX object 
libkdeqt5staging/src/CMakeFiles/kdeqt5staging.dir/qurlpathinfo.cpp.
o
Scanning dependencies of target kplotting
Scanning dependencies of target kdbusaddons
Scanning dependencies of target itemmodels
[  0%] Scanning dependencies of target klimitediodevicetest
[  0%] Building CXX object 
tier1/kdbusaddons/src/CMakeFiles/kdbusaddons.dir/kdbusconnectionpoo
l.cpp.o
Scanning dependencies of target karchive
Building CXX object 
tier1/kplotting/src/CMakeFiles/kplotting.dir/kplotaxis.cpp.o
In file included from 
/var/git/kf5/libkdeqt5staging/src/qurlpathinfo.cpp:42:0:
/var/git/kf5/libkdeqt5staging/src/qurlpathinfo.h:45:34: fatal error: 
kdeqt5staging_export.h: No such file or directory
compilation terminated.
make[2]: *** 
[libkdeqt5staging/src/CMakeFiles/kdeqt5staging.dir/qurlpathinfo.cpp.o] 
Error 1
[  0%] make[1]: *** 
[libkdeqt5staging/src/CMakeFiles/kdeqt5staging.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....




There are then several errors regarding missing moc_*.cpp files

and then

In file included from /var/git/kf5/tier1/karchive/src/kar.cpp:20:0:
/var/git/kf5/tier1/karchive/src/kar.h:21:22: fatal error: karchive.h: 
No such file or directory



More information about the Kde-frameworks-devel mailing list