Bug 225606 - kdepimlibs is too hard to build
Summary: kdepimlibs is too hard to build
Status: RESOLVED FIXED
Alias: None
Product: buildsystem
Classification: Developer tools
Component: KDE4 (cmake) (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: Alexander Neundorf
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-05 10:44 UTC by Thomas Zander
Modified: 2012-10-18 07:10 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Zander 2010-02-05 10:44:35 UTC
The cmake build system in kdepimlibs is being very unclear about why akonadi doesn't build sometimes.

-- The following REQUIRED packages could NOT be located on your system.
-- You must install these packages before continuing.
-----------------------------------------------------------------------------
   * Nepomuk  <http://www.kde.org>
     The Nepomuk libraries
     Nepomuk is required to build the Akonadi libraries.


This is not very helpful as nepomuk *is* installed just fine.
A bit further up I notice;
-- Could NOT find Nepomuk  (missing:  SOPRANO_PLUGIN_RAPTORPARSER_FOUND SOPRANO_PLUGIN_REDLANDBACKEND_FOUND)

No clue what that means.
Please be clear in the error messsaging and provide suggestions what to do next.

There are applications (like koffice) that depend on kdepimlibs building.  Its too hard now.

I hear that there is a requirement of at least one backend, which is really unneeded for a set of libraries that applications that don't even use akonadi depend on. Please move that dependency check to kdepim instead of placing it in a module that builds a lot more than just akonadi.
Comment 1 Christophe Marin 2010-02-05 10:53:22 UTC
Bah,I used the wrong bug nr# :

[10:54] <CIA-15> cgiboudeaux * r1085442 trunk/KDE/kdepimlibs/CMakeLists.txt 
[10:54] <CIA-15> Explicitely look for SDO and Soprano. Looks like the FindNepomuk.cmake output is confusing.

[10:54] <CIA-15> http://websvn.kde.org/?view=rev&revision=1085442
Comment 2 Christophe Marin 2010-02-05 11:12:52 UTC
reassign to the buildsystem product.

Alex: the message when nepomuk_FOUND is false is misleading as it doesn't really say *why* it is false :

-- Could NOT find Nepomuk  (missing:  SOPRANO_PLUGIN_RAPTORPARSER_FOUND SOPRANO_PLUGIN_REDLANDBACKEND_FOUND)
-- Found Libical version 0.43
 
-----------------------------------------------------------------------------
-- The following external packages were located on your system.
-- This installation will have the extra features provided by these packages.
-----------------------------------------------------------------------------
   * Boost - Boost C++ Libraries
   * gpgme - GnuPG Made Easy Development Libraries
   * Akonadi - Akonadi server libraries (from kdesupport)
   * cyrus-sasl - Cyrus SASL API
   * SMI - SharedMimeInfo
   * Shared desktop ontologies - Desktop ontologies
   * Soprano - Semantic Desktop Storing
   * libical - Reference implementation of the iCalendar data type and serialization format
   * OpenLDAP - LDAP (Lightweight Directory Access Protocol) libraries
 
-----------------------------------------------------------------------------
-- The following REQUIRED packages could NOT be located on your system.
-- You must install these packages before continuing.
-----------------------------------------------------------------------------
   * Nepomuk  <http://www.kde.org>
     The Nepomuk libraries
     Nepomuk is required to build the Akonadi libraries.
Comment 3 Thomas Zander 2010-02-24 11:31:11 UTC
I'm not convinced that the comment #2 is a correct diagnostic of the problem.
What I'm seeing (I didn't verify, but I hope this sounds familiar) is that kdelibs compiles Nepomuk just fine and thus it looks to the naive user (me) that all is Ok.
Then pimlibs complains about nepomuk missing.
So I install some extra dependencies. Pimlibs never changes its mind. (I get frustrated and file a report).

Then I recompile kdelibs and apparently the nepomuk I get now is a different one due to the extra dependencies found.
kdepimlibs accepts nepomuk now.

So the warning is that nepomuk is not found is misleading in that it *is* found, but its apparently detected that its not complete enough.
I suggest that the detection explicitly says why this is (I still don't know) and give instructions to recompile kdelibs.
Comment 4 Thomas Zander 2012-10-18 07:10:46 UTC
Lets close this one now :)