Build of kde-base/kwin-4.6.1 fails in final mode because there are several MAP_GET macros and "struct QMetaTypeId<SWrapper::ClientGroup*>". Reproducible: Always Actual Results: In file included from /var/tmp/portage/kde-base/kwin-4.6.1/work/kwin-4.6.1_build/kwin/kdeinit_kwin_final_cpp.cpp:55: /var/tmp/portage/kde-base/kwin-4.6.1/work/kwin-4.6.1/kwin/scripting/toplevel.cpp: At global scope: /var/tmp/portage/kde-base/kwin-4.6.1/work/kwin-4.6.1/kwin/scripting/toplevel.cpp:43: fel: "x" är inte namnet på en typ /var/tmp/portage/kde-base/kwin-4.6.1/work/kwin-4.6.1/kwin/scripting/toplevel.cpp:44: fel: "y" är inte namnet på en typ /var/tmp/portage/kde-base/kwin-4.6.1/work/kwin-4.6.1/kwin/scripting/toplevel.cpp:45: fel: "size" är inte namnet på en typ /var/tmp/portage/kde-base/kwin-4.6.1/work/kwin-4.6.1/kwin/scripting/toplevel.cpp:46: fel: "width" är inte namnet på en typ /var/tmp/portage/kde-base/kwin-4.6.1/work/kwin-4.6.1/kwin/scripting/toplevel.cpp:47: fel: "height" är inte namnet på en typ /var/tmp/portage/kde-base/kwin-4.6.1/work/kwin-4.6.1/kwin/scripting/toplevel.cpp:48: fel: "geometry" är inte namnet på en typ /var/tmp/portage/kde-base/kwin-4.6.1/work/kwin-4.6.1/kwin/scripting/toplevel.cpp:49: fel: "opacity" är inte namnet på en typ /var/tmp/portage/kde-base/kwin-4.6.1/work/kwin-4.6.1/kwin/scripting/toplevel.cpp:50: fel: "hasAlpha" är inte namnet på en typ In file included from /var/tmp/portage/kde-base/kwin-4.6.1/work/kwin-4.6.1_build/kwin/kdeinit_kwin_final_cpp.cpp:57: /var/tmp/portage/kde-base/kwin-4.6.1/work/kwin-4.6.1/kwin/scripting/s_clientgroup.cpp:23: fel: omdefinition av "struct QMetaTypeId<SWrapper::ClientGroup*>" /var/tmp/portage/kde-base/kwin-4.6.1/work/kwin-4.6.1/kwin/scripting/meta.cpp:24: fel: föregående definition av "struct QMetaTypeId<SWrapper::ClientGroup*>"
Created attachment 267355 [details, diff] patch that fixes the build This patch moves the two MAP_GET macros out of the header files (where they do not belong) into the implementation files (where they belong, right before the only places where they are used). It moves the declaration of "struct QMetaTypeId<SWrapper::ClientGroup*>" to a new header file and includes it where it was previously delcared.
Still fails with kde-base/kwin-4.6.2.
Still fails with kde-base/kwin-4.6.3.
Still fails with kde-base/kwin-4.6.3-r1.
Still fails with kde-base/kwin-4.6.4.
Still fails with kde-base/kwin-4.6.5.
Please submit that to bugs.kde.org and add the bug url here for tracking. It makes no sense for us to carry along such a long patch.
(In reply to comment #7) > Please submit that to bugs.kde.org and add the bug url here for tracking. It > makes no sense for us to carry along such a long patch. ping?
Created attachment 286153 [details, diff] patch that fixes the build Still fails with kde-base/kwin-4.6.5-r1.
Still fails with kde-base/kwin-4.7.3.