[PATCH] akonadi can't be built in kdesupport

Matthew Woehlke mw_triad at users.sourceforge.net
Sat Jun 13 01:53:28 CEST 2009


Matthew Woehlke wrote:
> Christophe Giboudeaux wrote:
>> Please post the CMake log to see what happens.
> 
> But I can tell you what happens. FindSoprano tries to read 
> ${SOPRANO_INCLUDE}/soprano/version.h, which doesn't exist. It then has 
> *a cmake error* in the next (REGEX MATCH) line. This isn't a "couldn't 
> find package", this is a "your buildsystem has a syntax error".

Admittedly, 'rm $KDEDIR/include/soprano/version.h' isn't the best test, 
but I get the same error. (Paths might be different with a more 
'correct' test. Line numbers are /with/ patch, which I commented out for 
this test.)


CMake Error at akonadi/cmake/modules/FindSoprano.cmake:128 (file): 

   file Internal CMake error when trying to open file: 

   /usr/local/kde-trunk-svn/include/soprano/version.h for reading. 

Call Stack (most recent call first): 

   akonadi/CMakeLists.txt:66 (find_package) 


CMake Error at akonadi/cmake/modules/FindSoprano.cmake:129 (string):
   string sub-command REGEX, mode MATCH needs at least 5 arguments total
   to command. 

Call Stack (most recent call first):
   akonadi/CMakeLists.txt:66 (find_package)


Hmm, actually I wonder if this is only happening because I didn't nuke 
the cache between the last build and now. But that still seems to 
indicate a bug somewhere. (Also, this is the *only* error that occurs 
after a successful scratch build, followed by 'rm -rf $KDEDIR/*', 
followed by another cmake+build that is not from scratch.)

-- 
Matthew
Please do not quote my e-mail address unobfuscated in message bodies.
-- 
Joe: This is a big deal, because now some tiny minority has lobbied for 
changes that end up hurting everyone else.
Bob: Yeah, I know. Par for the course. I hate the American government.
Joe: Actually, I was talking about X.org...



More information about the Kde-buildsystem mailing list