Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 540120 - kde-frameworks/kglobalaccel-5.7.0[-X] - .../work/kglobalaccel-5.7.0/src/runtime/globalshortcutsregistry.cpp:43:44: error: invalid use of incomplete type 'class KGlobalAccelImpl'
Summary: kde-frameworks/kglobalaccel-5.7.0[-X] - .../work/kglobalaccel-5.7.0/src/runti...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords: UPSTREAM
Depends on:
Blocks:
 
Reported: 2015-02-15 09:31 UTC by Dmitriy Baranov
Modified: 2022-08-05 15:23 UTC (History)
0 users

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


Attachments
emerge --info (info,4.92 KB, text/plain)
2015-02-15 09:32 UTC, Dmitriy Baranov
Details
build.log (build.log,60.37 KB, text/plain)
2015-02-15 09:35 UTC, Dmitriy Baranov
Details
build.log (build.log,65.47 KB, text/plain)
2015-02-17 16:48 UTC, Dmitriy Baranov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitriy Baranov 2015-02-15 09:31:13 UTC
/var/tmp/portage/kde-frameworks/kglobalaccel-5.7.0/work/kglobalaccel-5.7.0/src/runtime/globalshortcutsregistry.cpp:43:44: error: invalid use of incomplete type 'class KGlobalAccelImpl'
         ,_manager(new KGlobalAccelImpl(this))
                                            ^

Reproducible: Always
Comment 1 Dmitriy Baranov 2015-02-15 09:32:39 UTC
Created attachment 396492 [details]
emerge --info
Comment 2 Dmitriy Baranov 2015-02-15 09:35:44 UTC
Created attachment 396494 [details]
build.log
Comment 3 Johannes Huber (RETIRED) gentoo-dev 2015-02-16 21:11:08 UTC
This seems to be related to USE="-X". Could you please report this upstream and link back here?
Comment 4 Michael Palimaka (kensington) gentoo-dev 2015-02-17 11:57:40 UTC
I believe this is caused by the runtime component being merged in with 5.7.0. Specifically, KGlobalAccelImpl is defined by kglobalaccel_{mac,win,x11} so I don't think we have any option but to drop the X USE flag.
Comment 5 Michael Palimaka (kensington) gentoo-dev 2015-02-17 12:09:04 UTC
Thanks, fixed in CVS and git.

+  17 Feb 2015; Michael Palimaka <kensington@gentoo.org>
+  kglobalaccel-5.7.0.ebuild:
+  Remove X USE flag wrt bug #540120.

https://github.com/gentoo/kde/commit/643d608989f9042a6cffdf32cdd26caba07253d8
Comment 6 Dmitriy Baranov 2015-02-17 16:47:52 UTC
There are new errors, unfortunately.
Comment 7 Dmitriy Baranov 2015-02-17 16:48:29 UTC
Created attachment 396728 [details]
build.log
Comment 8 Michael Palimaka (kensington) gentoo-dev 2015-02-18 03:51:17 UTC
Can you try rebuilding kwindowsystem with USE="X" then see if kglobalaccel builds?
Comment 9 Dmitriy Baranov 2015-02-18 18:05:00 UTC
(In reply to Michael Palimaka (kensington) from comment #8)
> Can you try rebuilding kwindowsystem with USE="X" then see if kglobalaccel
> builds?
This recipe works. Now kglobalaccel builds.
Comment 10 Michael Palimaka (kensington) gentoo-dev 2015-02-19 08:03:28 UTC
Thanks, USE dependency added in CVS and git.

+  19 Feb 2015; Michael Palimaka <kensington@gentoo.org>
+  kglobalaccel-5.7.0.ebuild:
+  Add missing USE dependency wrt bug #540120.

https://github.com/gentoo/kde/commit/657aad28d5370a91629580104c27be5b39799d1e
Comment 11 Leonard Lausen 2020-09-05 04:36:17 UTC
Upstream bug about making the X11 dependency from kglobalaccel optional: https://bugs.kde.org/show_bug.cgi?id=426199

Only requires a change to the CMakeLists.txt
Comment 12 Andreas Sturmlechner gentoo-dev 2020-09-05 08:28:08 UTC
Patches should be submitted via invent.kde.org instead.
Comment 13 Larry the Git Cow gentoo-dev 2022-08-05 14:55:56 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/kde.git/commit/?id=9fa5923fa27c279ce4bc32312500aea04f1b2fb3

commit 9fa5923fa27c279ce4bc32312500aea04f1b2fb3
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2022-08-05 10:18:50 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2022-08-05 14:55:19 +0000

    kde-frameworks/kglobalaccel: Add back IUSE X
    
    Upstream commit 7d6ef389defbcf8fc25762ce772315221a721790
    KDE-bug: https://bugs.kde.org/show_bug.cgi?id=426199
    
    Bug: https://bugs.gentoo.org/540120
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../kglobalaccel/kglobalaccel-9999.ebuild          | 29 ++++++++++++++--------
 kde-frameworks/kglobalaccel/metadata.xml           |  3 +++
 2 files changed, 22 insertions(+), 10 deletions(-)
Comment 14 Larry the Git Cow gentoo-dev 2022-08-05 15:23:10 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ee2fcd4364fe822f000239b32a5d1490600581f

commit 2ee2fcd4364fe822f000239b32a5d1490600581f
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2022-08-05 10:18:50 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2022-08-05 15:17:35 +0000

    kde-frameworks/kglobalaccel: Add back IUSE X
    
    Upstream commit 7d6ef389defbcf8fc25762ce772315221a721790
    KDE-bug: https://bugs.kde.org/show_bug.cgi?id=426199
    
    Bug: https://bugs.gentoo.org/540120
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 ...5.96.0.ebuild => kglobalaccel-5.96.0-r1.ebuild} | 29 ++++++++++++++--------
 kde-frameworks/kglobalaccel/metadata.xml           |  3 +++
 2 files changed, 22 insertions(+), 10 deletions(-)