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
This is true with both 4.6.90 and both 4.6.95 using the same soprano version (also applies to kde-runtime)
this also applies to kdebase-workspace :-)
[ 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
I use latest master versions of everything, and it compiles fine.
(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.
(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
*** This bug has been confirmed by popular vote. ***
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.