Emerge of kde-base/nepomuk-4.5.4 fails with USE=kdeenablefinal. Reproducible: Always Steps to Reproduce: 1. include kdeenablefinal in /etc/make.conf:USE= 2. create /etc/portage/profile/use.mask with the line "-kdeenablefinal" 3. emerge -uDNav world Actual Results: In file included from /var/tmp/portage/kde-base/nepomuk-4.5.4/work/nepomuk-4.5.4_build/nepomuk/strigibackend/nepomukbackend_final_cpp.cpp:5: /var/tmp/portage/kde-base/nepomuk-4.5.4/work/nepomuk-4.5.4/nepomuk/strigibackend/util.cpp: In function "void Strigi::Util::storeStrigiMiniOntology(Soprano::Model*)": /var/tmp/portage/kde-base/nepomuk-4.5.4/work/nepomuk-4.5.4/nepomuk/strigibackend/util.cpp:127: fel: "Soprano::Vocabulary::NRL" har inte deklarerats Expected Results: successful installation of the package
The problem seems to be that Soprano::Vocabulary::NRL is declared in the header file /usr/include/soprano/nrl.h with the include guard _SOPRANO_NRL_H_. But during the build, the file kdebase-runtime-4.5.4/build/nepomuk/strigibackend/nrl.h is created with the same include guard but not declaring Soprano::Vocabulary::NRL. That file is then included first. So the content of /usr/include/soprano/nrl.h (declaration of Soprano::Vocabulary::NRL) is never seen.
Still fais in kde-base/nepomuk-4.5.5.
Trying to reproduce this bug with kde-base/nepomuk-4.6.1 triggers bug #360511. First fix that bug, then try again to reproduce this bug.
kde-4.5 is no more.