Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 360729 - [PATCH] Failed to emerge kde-base/kwin-4.6.5 with USE=kdeenablefinal: several MAP_GET macros and redefinition of "struct QMetaTypeId<SWrapper::ClientGroup*>"
Summary: [PATCH] Failed to emerge kde-base/kwin-4.6.5 with USE=kdeenablefinal: several...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL: https://bugs.kde.org/show_bug.cgi?id=...
Whiteboard:
Keywords:
Depends on:
Blocks: kdeenablefinal
  Show dependency tree
 
Reported: 2011-03-27 07:39 UTC by Erik
Modified: 2012-01-01 15:36 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch that fixes the build (kwin-4.6.1-fix_build-1.diff,5.81 KB, patch)
2011-03-27 07:42 UTC, Erik
Details | Diff
patch that fixes the build (kwin-4.6.5_fix_build-2.diff,5.86 KB, patch)
2011-09-11 19:32 UTC, Erik
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.