Bug 277360 - kdelibs fails to build due to a soprano error
Summary: kdelibs fails to build due to a soprano error
Status: RESOLVED UPSTREAM
Alias: None
Product: nepomuk
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Sebastian Trueg
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-08 11:38 UTC by Andrea Scarpino
Modified: 2011-07-12 17:34 UTC (History)
6 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 Andrea Scarpino 2011-07-08 11:38:31 UTC
Version:           4.7 (using Devel) 
OS:                Linux

In Arch Linux we use the raptor2 branch of soprano, this stops kdelibs to build:

[ 18%] Built target nepomuk_automoc                                                                                                                                         
[ 18%] Generating ndo.h, ndo.cpp
"/usr/bin/onto2vocabularyclass(7313)" Soprano: "The namespace prefix in "ndo" was not declared."                                                                            
Error:  The namespace prefix in "ndo" was not declared. 
"/usr/bin/onto2vocabularyclass(7313)" Soprano: "Parsing failed (3)": "turtle_qname_to_uri failed" (line: 48, column: -1)
Error:  turtle_qname_to_uri failed 
Failed to parse file/usr/share/ontology/nepomuk/ndo.trig(Parsing failed (3): turtle_qname_to_uri failed (line: 48, column: -1))
make[2]: *** [nepomuk/ndo.h] Error 1
make[1]: *** [nepomuk/CMakeFiles/nepomuk.dir/all] Error 2
make: *** [all] Error 2

KDE 4.6.95 here, but seems to happen with 4.6.5 too: http://forum.kde.org/viewtopic.php?f=66&t=95926

Reproducible: Always

Steps to Reproduce:
build the soprano raptor2 branch, try to build kdelibs

Actual Results:  
build fails

Expected Results:  
build

kdelibs 4.6 from git
soprano raptor2 branch
Comment 1 Hrvoje Senjan 2011-07-08 17:35:28 UTC
This is true with both 4.6.90 and both 4.6.95 using the same soprano version (also applies to kde-runtime)
Comment 2 Panagiotis Papadopoulos 2011-07-09 13:54:28 UTC
this also applies to kdebase-workspace :-)
Comment 3 Panagiotis Papadopoulos 2011-07-09 13:55:31 UTC
[  2%] Built target kgreet_generic                                                                               
[  2%] [  2%] Generating activitymanager_interface.cpp, activitymanager_interface.h
Building CXX object libs/oxygen/CMakeFiles/oxygenstyle.dir/oxygenhelper.o                                        
[  2%] Generating nfo.h, nfo.cpp                                                                                 
[  2%] Building CXX object libs/kephal/client/CMakeFiles/kephal.dir/__/kephal/desktopwidgetscreens.o             
"/usr/bin/onto2vocabularyclass(32767)" Soprano: "The namespace prefix in "nfo" was not declared."                
Error:  The namespace prefix in "nfo" was not declared. 
"/usr/bin/onto2vocabularyclass(32767)" Soprano: "Parsing failed (3)": "turtle_qname_to_uri failed" (line: 57, column: -1)
Error:  turtle_qname_to_uri failed 
Failed to parse file/usr/share/ontology/nie/nfo.trig(Parsing failed (3): turtle_qname_to_uri failed (line: 57, column: -1))
Linking CXX shared module ../../lib/kgreet_winbind.so
make[2]: *** [libs/kworkspace/nfo.h] Fehler 1                                                                    
make[1]: *** [libs/kworkspace/CMakeFiles/kworkspace.dir/all] Fehler 2
Comment 4 Christoph Feck 2011-07-09 18:08:34 UTC
I use latest master versions of everything, and it compiles fine.
Comment 5 Andrea Scarpino 2011-07-09 18:20:07 UTC
(In reply to comment #4)
> I use latest master versions of everything, and it compiles fine.
We specified this happen with the raptor2 branch of soprano.
Comment 6 Hrvoje Senjan 2011-07-09 19:26:26 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > I use latest master versions of everything, and it compiles fine.
> We specified this happen with the raptor2 branch of soprano.

Also , master is already bumped to 4.7.40
Comment 7 Nikolay Rysev 2011-07-11 10:50:44 UTC
*** This bug has been confirmed by popular vote. ***
Comment 8 Andrea Scarpino 2011-07-12 17:34:24 UTC
The error is caused by a raptor bug, see http://bugs.librdf.org/mantis/view.php?id=451 for info.

See http://projects.archlinux.org/svntogit/packages.git/tree/raptor/trunk/Allow-instead-of-in-TRiG.patch for the patch.