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

Bug 661736

Summary: net-p2p/ktorrent-5.1.0 - error: incomplete type ‘QAction’ used in nested name specifier
Product: Gentoo Linux Reporter: Francesco Turco <fturco>
Component: Current packagesAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 653646    
Attachments: build.log.xz
emerge-info.txt

Description Francesco Turco 2018-07-21 11:49:54 UTC
Created attachment 540354 [details]
build.log.xz

I can't emerge net-p2p/ktorrent-5.1.0 due to the following error:

/var/tmp/portage/net-p2p/ktorrent-5.1.0/work/ktorrent-5.1.0/plugins/syndication/syndicationactivity.cpp: In constructor ‘kt::SyndicationActivity::SyndicationActivity(kt::SyndicationPlugin*, QWidget*)’:
/var/tmp/portage/net-p2p/ktorrent-5.1.0/work/ktorrent-5.1.0/plugins/syndication/syndicationactivity.cpp:76:94: error: incomplete type ‘QAction’ used in nested name specifier
         connect(tab->feedView(), &kt::FeedListView::enableRemove, sp->remove_feed, &QAction::setEnabled);
                                                                                              ^~~~~~~~~~
/var/tmp/portage/net-p2p/ktorrent-5.1.0/work/ktorrent-5.1.0/plugins/syndication/syndicationactivity.cpp:77:97: error: incomplete type ‘QAction’ used in nested name specifier
         connect(tab->feedView(), &kt::FeedListView::enableRemove, sp->manage_filters, &QAction::setEnabled);
                                                                                                 ^~~~~~~~~~
/var/tmp/portage/net-p2p/ktorrent-5.1.0/work/ktorrent-5.1.0/plugins/syndication/syndicationactivity.cpp:79:100: error: incomplete type ‘QAction’ used in nested name specifier
         connect(tab->filterView(), &kt::FilterListView::enableRemove, sp->remove_filter, &QAction::setEnabled);
                                                                                                    ^~~~~~~~~~
/var/tmp/portage/net-p2p/ktorrent-5.1.0/work/ktorrent-5.1.0/plugins/syndication/syndicationactivity.cpp:80:96: error: incomplete type ‘QAction’ used in nested name specifier
         connect(tab->filterView(), &kt::FilterListView::enableEdit, sp->edit_filter, &QAction::setEnabled);
                                                                                                ^~~~~~~~~~
make[2]: *** [plugins/syndication/CMakeFiles/ktorrent_syndication.dir/build.make:88: plugins/syndication/CMakeFiles/ktorrent_syndication.dir/syndicationactivity.cpp.o] Error 1

I can successfully build ktorrent if I deactivate the rss USE flag.

I'm using sys-devel/gcc-8.1.0-r3.
Comment 1 Francesco Turco 2018-07-21 11:50:24 UTC
Created attachment 540356 [details]
emerge-info.txt

emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2018-07-21 16:51:56 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7473dc374b8ad1db1aa352b42e9bafa8e3a39e0b

commit 7473dc374b8ad1db1aa352b42e9bafa8e3a39e0b
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2018-07-21 15:59:14 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-07-21 16:35:39 +0000

    net-p2p/ktorrent: Fix build with USE=rss and Qt 5.11
    
    Closes: https://bugs.gentoo.org/661736
    Package-Manager: Portage-2.3.43, Repoman-2.3.10

 .../ktorrent/files/ktorrent-5.1.0-qt-5.11.patch    | 23 ++++++++++++++++++++++
 1 file changed, 23 insertions(+)