Emerge of kde-base/nsplugins-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/nsplugins-4.5.4/work/nsplugins-4.5.4/nsplugins/viewer/scripting.cpp:30, from /var/tmp/portage/kde-base/nsplugins-4.5.4/work/nsplugins-4.5.4_build/nsplugins/viewer/nspluginviewer_final_cpp.cpp:9: /var/tmp/portage/kde-base/nsplugins-4.5.4/work/nsplugins-4.5.4/nsplugins/viewer/scripting.h: At global scope: /var/tmp/portage/kde-base/nsplugins-4.5.4/work/nsplugins-4.5.4/nsplugins/viewer/scripting.h:33: fel: omdefinition av "class kdeNsPluginViewer::ScriptExportEngine" /var/tmp/portage/kde-base/nsplugins-4.5.4/work/nsplugins-4.5.4/nsplugins/viewer/scripting.h:34: fel: föregående definition av "class kdeNsPluginViewer::ScriptExportEngine" Expected Results: successful installation of the package
Created attachment 258140 [details, diff] patch that fixes the build by adding the missing include guard
Still fails with kde-base/nsplugins-4.5.5.
Fixed in 4.6.1 and overlay, thanks!