Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#16194 - [soprano] Wrong RPATH in /usr/lib/soprano/ breaks KDE desktop search

Attached to Project: Arch Linux
Opened by Tavian Barnes (tavianator) - Monday, 14 September 2009, 20:03 GMT
Last edited by Andrea Scarpino (BaSh) - Friday, 02 October 2009, 16:17 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andrea Scarpino (BaSh)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No



The `soprano' package installs a library /usr/lib/soprano/, needed by KDE's nepomuk desktop search. This library requires, but the RPATH in the package is unlikely to find it.

On i686:


However, openjdk seems to install to /usr/lib/jvm/java-6-openjdk/jre/lib/i386/{client,server}, and jre installs it to /opt/java/jre/lib/i386/{client,server}. None of these will be found by that RPATH, and nepomuk indexing doesn't work on this architecture at all apparently.

On x86_64:


This is better, because it will find jre's in /opt/java/jre/lib/amd64/server, but not openjdk's in /usr/lib/jvm/java-6-openjdk/jre/lib/amd64.

I really have no clue about the soprano build process, so I don't know how it's setting the RPATH, but I suspect it has to do with the configuration of the build machine. Anyway, the RPATH for both architectures should read `/usr/lib:/usr/lib/jvm/java-6-openjdk/jre/lib/(ARCH)/server:/opt/java/jre/lib/(ARCH)/server'.

Additional info:

soprano version 2.3.0-1

Steps to reproduce:

If you're not running x86_64 + SUN's jre, Try to start nepomuk indexing under KDE from System Settings, and witness the "Strigi service failed to initialize, most likely due to an installation problem" message.
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Friday, 02 October 2009, 16:17 GMT
Reason for closing:  Fixed
Additional comments about closing:  soprano 2.3.1-1
Comment by mutlu inek (mutlu_inek) - Friday, 18 September 2009, 01:40 GMT
Same problem as  FS#16162  , but much better reasoned.