I get the following errors, for example: /var/tmp/paludis/kde-base-kwin-4.6.0/work/kwin-4.6.0/kwin/compositingprefs.cpp:247:5: error: 'GLPlatform' was not declared in this scope /var/tmp/paludis/kde-base-kwin-4.6.0/work/kwin-4.6.0/kwin/compositingprefs.cpp:247:17: error: 'gl' was not declared in this scope /var/tmp/paludis/kde-base-kwin-4.6.0/work/kwin-4.6.0/kwin/compositingprefs.cpp:247:22: error: 'GLPlatform' is not a class or namespace /var/tmp/paludis/kde-base-kwin-4.6.0/work/kwin-4.6.0/kwin/compositingprefs.cpp:248:37: error: 'LooseBinding' was not declared in this scope /var/tmp/paludis/kde-base-kwin-4.6.0/work/kwin-4.6.0/kwin/compositingprefs.cpp:249:26: error: 'Driver_Intel' was not declared in this scope
full build.log and emerge --info please
Aren't you able to reproduce this? In any case, I tried on another system today and also get build failures. Will attach the log and info shortly.
Created attachment 261187 [details] Build log on x86 system
Created attachment 261188 [details] info for kwin
Same build error, but in another file: /var/portagetmp/portage/kde-base/kwin-4.6.0/work/kwin-4.6.0/kwin/compositingprefs.cpp:247:5: error: no declaration ‘GLPlatform’ out of scope and so on
kwin was built after enabling opengl flag for it
*** Bug 358051 has been marked as a duplicate of this bug. ***
There is a patch in kde reviewboard: http://svn.reviewboard.kde.org/r/6213/diff/
*** Bug 360291 has been marked as a duplicate of this bug. ***
Fixed in 4.6.2
This bug still occurs in kde-base/kwin-4.6.3. Should I open a new bug?
Seems like this patch only was applied to master-branch, but not to the 4.6-branch. Looking into the kdebase-workspace-4.6.3.tar.bz2, this patch is really missing. So the patch seems to be still needed for 4.6(.3).