Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 312447 - gwenview and kdepim-runtime 4.4.2 configure fails because nepomuk is not found
Summary: gwenview and kdepim-runtime 4.4.2 configure fails because nepomuk is not found
Status: RESOLVED DUPLICATE of bug 307673
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 312263 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-03-31 17:26 UTC by Vincent de Phily
Modified: 2010-04-08 23:41 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vincent de Phily 2010-03-31 17:26:40 UTC
Emerging =kde-base/gwenview-4.4.2 and =kde-base/kdepim-runtime-4.4.2 (as part of the kde sc 4.4.2 updates) fails at configure :



Gwenview :

-- Found Soprano: /usr/include
-- Found SharedDesktopOntologies: /usr/share/ontology
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:57 (MESSAGE):
  Could NOT find Nepomuk (missing: NEPOMUK_LIBRARIES NEPOMUK_INCLUDE_DIR
  SOPRANO_PLUGIN_REDLANDBACKEND_FOUND)
Call Stack (most recent call first):
  /usr/share/apps/cmake/modules/FindNepomuk.cmake:69 (find_package_handle_standard_args)
  gwenview/CMakeLists.txt:23 (find_package)

kdepim-runtime :

- Found Soprano: /usr/include
-- Could NOT find Nepomuk  (missing:  NEPOMUK_LIBRARIES NEPOMUK_INCLUDE_DIR SOPRANO_PLUGIN_REDLANDBACKEND_FOUND)
[...]
-----------------------------------------------------------------------------
-- 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 extends the search and tagging functionalities in KMail and Akonadi

-----------------------------------------------------------------------------

CMake Error at /usr/share/apps/cmake/modules/MacroLogFeature.cmake:141 (MESSAGE):
  Exiting: Missing Requirements
Call Stack (most recent call first):
  CMakeLists.txt:128 (macro_display_feature_log)



Reemerging soprano 2.4.1 and nepomuk 4.4.2 does not fix the issue. kde-base/gwenview-4.4.1-r1 (installed before 4.4.2 but not working since kde sc 4.4.2 update) has the same configure error. The rest of KDE SC 4.4.2 (except for stuff depending on kdepim-runtime) updated fine.
Comment 1 Vincent de Phily 2010-03-31 17:27:34 UTC
# emerge --info
Portage 2.1.7.17 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.32.10 x86_64)
=================================================================
System uname: Linux-2.6.32.10-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8700_@_2.53GHz-with-gentoo-2.0.1
Timestamp of tree: Wed, 31 Mar 2010 10:30:01 +0000
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4-r1
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.3
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 x86"
ACCEPT_LICENSE="* -@EULA skype-eula dlj-1.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -fomit-frame-pointer -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -fomit-frame-pointer -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3 -s"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--progress"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa amd64 apache2 asf bash-completion berkdb bzip2 cairo cdparanoia cjk cli cracklib crypt cups curl cxx dbus dia dri dts dvd dvdread emacs encode exif ffmpeg flac gdbm geoip gif glibc-omitfp gphoto2 hal iconv inotify ipw3945 java jpeg jpeg2k json kde kdehiddenvisibility kipi laptop live mad matroska mikmod mmx mng modplug modules mozdevelop mozilla mp3 mpeg mplayer mudflap multilib musicbrainz ncurses networkmanager nls nptl nptlonly ogg opengl openmp pam pch pcre pdf perl pg-intdatetime php png postgres pppd python qt3support qt4 readline reflection reiserfs samba schroedinger semantic-desktop session speex spl sql sqlite sqlite3 sse sse2 ssl startup-notification stream subtitles subversion svg sysfs theora tiff truetype unicode upnp vorbis webkit wifi x264 xcb xcomposite xine xinerama xml xorg xscreensaver xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_default authn_file authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache deflate dir disk_cache env expires ext_filter file_cache filter headers ident include info log_config logio mem_cache mime mime_magic proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so status unique_id userdir usertrack vhost_alias" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa intel" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 2 Jean-Pierre de la Croix (jdelacroix) 2010-04-01 01:13:01 UTC
I can confirm this bug, because I get the same error as the reporter.

Removing the 'semantic-desktop' USE flag with USE="-semantic-desktop" emerge gwenview will allow gwenview to successfully compile, albeit without any of the semantic desktop support.
Comment 3 Vincent de Phily 2010-04-01 09:21:43 UTC
While USE="-semantic-desktop" is an acceptable workaround for gwenview, it is not usable for kdepim-runtime.
Comment 4 Jean-Pierre de la Croix (jdelacroix) 2010-04-01 11:51:45 UTC
(In reply to comment #3)
> While USE="-semantic-desktop" is an acceptable workaround for gwenview, it is
> not usable for kdepim-runtime.
> 

Yes, I ran into that problem later on. However, I got it to recompile by doing the following:

emerge kdelibs
emerge nepomuk
emerge gwenview
emerge kdepim-runtime

I figured it out by looking at nepomuk, which complained that the libraries haven't been found and pointed to kdelibs. A recompilation of kdelibs fixed everything else.
Comment 5 Joakim Crafack 2010-04-01 17:25:48 UTC
NAK.

I tried re-emerging as suggested in #4. gwenview still fails:

  Could NOT find Nepomuk (missing: NEPOMUK_LIBRARIES NEPOMUK_INCLUDE_DIR
  SOPRANO_PLUGIN_REDLANDBACKEND_FOUND)
Comment 6 Sascha Jüngling 2010-04-01 20:15:18 UTC
Yup, re-emerging kdelibs doesn't fix it for me either. Getting same error message.
Comment 7 Vincent de Phily 2010-04-02 11:42:21 UTC
It turns out that nepomuk will happily build without a "required" dependency:

-----------------------------------------------------------------------------
-- The following OPTIONAL packages could NOT be located on your system.
-- Consider installing them to enable more features from this software.
-----------------------------------------------------------------------------
   * Nepomuk  <kdelibs>
     Nepomuk Libraries
     Required to build Nepomuk.

which result in a rather minimal installation :

# equery f nepomuk
[ Searching for packages matching nepomuk... ]
* Contents of kde-base/nepomuk-4.4.2:
/usr
/usr/share
/usr/share/man
/usr/share/man/man8
/usr/share/man/man8/nepomukserver.8.bz2
/usr/share/man/man8/nepomukservicestub.8.bz2

After going up the "dependency problem but cmake is happy anyway" trail I re-emerged in order :
* rasqal
* redland
* soprano
* kdelibs
* nepomuk
After that, gwenview and kdepim-runtime compiled fine.

Not sure if this bug can be resolved at the ebuild level, feel free to close it in that case. However, it would be interesting to ask upstream why a dependency that results in nothing being built is considered optional.
Comment 8 Sascha Jüngling 2010-04-02 13:17:04 UTC
(In reply to comment #7)

> After going up the "dependency problem but cmake is happy anyway" trail I
> re-emerged in order :
> * rasqal
> * redland
> * soprano
> * kdelibs
> * nepomuk
> After that, gwenview and kdepim-runtime compiled fine.
> 

Confirmed, that did the trick for me. Thanks!
Comment 9 Joakim Crafack 2010-04-02 16:16:08 UTC
(In reply to comment #7)
> After going up the "dependency problem but cmake is happy anyway" trail I
> re-emerged in order :
> * rasqal
> * redland
> * soprano
> * kdelibs
> * nepomuk
> After that, gwenview and kdepim-runtime compiled fine.

Works for me too :-)
Comment 10 Maciej Mrozowski gentoo-dev 2010-04-08 22:45:29 UTC
*** Bug 312263 has been marked as a duplicate of this bug. ***
Comment 11 Maciej Mrozowski gentoo-dev 2010-04-08 23:41:05 UTC

*** This bug has been marked as a duplicate of bug 307673 ***