Opened 12 years ago

Closed 12 years ago

#31729 closed defect (worksforme)

kdepimlibs4 @4.7.2: configure fails to find Soprano & Nepomuk

Reported by: kk1987@… Owned by: nerdling (Jeremy Lavergne)
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: sharky@…
Port: kdepimlibs4

Description

kdepimlibs4 fails to configure with:

$ sudo port install kdepimlibs4
--->  Computing dependencies for kdepimlibs4
--->  Fetching archive for kdepimlibs4
--->  Attempting to fetch kdepimlibs4-4.7.2_0.darwin_11.x86_64.tbz2 from http://packages.macports.org/kdepimlibs4
--->  Fetching kdepimlibs4
--->  Attempting to fetch kdepimlibs-4.7.2.tar.bz2 from http://distfiles.macports.org/kdepimlibs4
--->  Verifying checksum(s) for kdepimlibs4
--->  Extracting kdepimlibs4
--->  Configuring kdepimlibs4
Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details)
Log for kdepimlibs4 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdepimlibs4/kdepimlibs4/main.log
Error: Status 1 encountered during processing.

(please refer to attached main.log)

The following errors can be found in the log:

:info:configure -- Could NOT find Soprano  (missing:  SOPRANO_INCLUDE_DIR) 
:info:configure -- Could NOT find Nepomuk  (missing:  Soprano_FOUND SOPRANO_PLUGIN_RAPTORPARSER_FOUND SOPRANO_PLUGIN_REDLAND
BACKEND_FOUND)

I tried manually running the failing cmake command with an extra "-DSOPRANO_INCLUDE_DIR=/opt/local/include" parameter, it succeeds in finding all dependencies, but then still fails with the NEPOMUK_LIBRARIES error:

-- Found Soprano: /opt/local/include 
-- Found Nepomuk: NEPOMUK_LIBRARIES-NOTFOUND;/opt/local/lib/libsoprano.dylib 
-- 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 C++ Libraries - Required by core components
   * gpgme - GNU Privacy Guard (GPG/PGP) support
   * Akonadi server libraries - Access to PIM storage and services
   * cyrus-sasl - Login authentication for IMAP and Sieve
   * shared-mime-info - Information about filetypes
   * Shared desktop ontologies - Ontology information for use with Nepomuk
   * Soprano - Storage of semantic data
   * Nepomuk - Support for the semantic desktop, including indexing of PIM data
   * libical - Calendar support
   * xsltproc - Needed to generate D-Bus interface specifications
   * Prison - Prison library
   * OpenLDAP - LDAP (Lightweight Directory Access Protocol) libraries

-----------------------------------------------------------------------------
-- Congratulations! All external packages have been found.
-----------------------------------------------------------------------------

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
NEPOMUK_LIBRARIES (ADVANCED)
    linked by target "akonadi-contact" in directory /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdepimlibs4/kdepimlibs4/work/kdepimlibs-4.7.2/akonadi/contact
    linked by target "akonadi-calendar" in directory /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdepimlibs4/kdepimlibs4/work/kdepimlibs-4.7.2/akonadi/calendar

-- Configuring incomplete, errors occurred!

I have the correct version of relevant ports installed:

$ port installed soprano; port installed kde*
The following ports are currently installed:
  soprano @2.7.0_0 (active)
The following ports are currently installed:
  kde4-runtime @4.7.2_0 (active)
  kdelibs4 @4.7.2_0 (active)

Attachments (1)

main.log (213.0 KB) - added by kk1987@… 12 years ago.

Download all attachments as: .zip

Change History (5)

Changed 12 years ago by kk1987@…

Attachment: main.log added

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: sharky@… added
Owner: changed from macports-tickets@… to snc@…

comment:2 Changed 12 years ago by nerdling (Jeremy Lavergne)

Is this still an issue with 4.7.3?

comment:3 in reply to:  2 Changed 12 years ago by kk1987@…

Replying to snc@…:

Is this still an issue with 4.7.3?

I just did an upgrade (from 4.7.2) to 4.7.3 and no error occurred.

The original issue seems to only affect upgrades - I'm met with the error on two MacBooks, both upgrading from KDE 4.7.1 to 4.7.2. Then (for other reasons) I removed MacPorts entirely on one of them, reinstalling KDE 4.7.2 from scratch then succeeded (while the other still fails upgrading).

So for me the issue is fixed. Please close the ticket as you see fit.

comment:4 Changed 12 years ago by nerdling (Jeremy Lavergne)

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.