Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 360729

Summary: [PATCH] Failed to emerge kde-base/kwin-4.6.5 with USE=kdeenablefinal: several MAP_GET macros and redefinition of "struct QMetaTypeId<SWrapper::ClientGroup*>"
Product: Gentoo Linux Reporter: Erik <esigra>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugs.kde.org/show_bug.cgi?id=281821
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 353246    
Attachments: patch that fixes the build
patch that fixes the build

Description Erik 2011-03-27 07:39:47 UTC
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*>"
Comment 1 Erik 2011-03-27 07:42:14 UTC
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.
Comment 2 Erik 2011-04-12 19:36:27 UTC
Still fails with kde-base/kwin-4.6.2.
Comment 3 Erik 2011-05-13 04:41:16 UTC
Still fails with kde-base/kwin-4.6.3.
Comment 4 Erik 2011-05-16 19:36:19 UTC
Still fails with kde-base/kwin-4.6.3-r1.
Comment 5 Erik 2011-06-16 08:24:05 UTC
Still fails with kde-base/kwin-4.6.4.
Comment 6 Erik 2011-07-14 17:46:17 UTC
Still fails with kde-base/kwin-4.6.5.
Comment 7 Andreas K. Hüttel archtester gentoo-dev 2011-07-14 19:44:33 UTC
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.
Comment 8 Andreas K. Hüttel archtester gentoo-dev 2011-09-02 21:58:05 UTC
(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?
Comment 9 Erik 2011-09-11 19:32:10 UTC
Created attachment 286153 [details, diff]
patch that fixes the build

Still fails with kde-base/kwin-4.6.5-r1.
Comment 10 Erik 2012-01-01 15:36:41 UTC
Still fails with kde-base/kwin-4.7.3.