Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 661736 - net-p2p/ktorrent-5.1.0 - error: incomplete type ‘QAction’ used in nested name specifier
Summary: net-p2p/ktorrent-5.1.0 - error: incomplete type ‘QAction’ used in nested name...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: qt-5.11
  Show dependency tree
 
Reported: 2018-07-21 11:49 UTC by Francesco Turco
Modified: 2018-07-21 16:51 UTC (History)
0 users

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


Attachments
build.log.xz (build.log.xz,19.56 KB, application/x-xz)
2018-07-21 11:49 UTC, Francesco Turco
Details
emerge-info.txt (emerge-info.txt,5.83 KB, text/plain)
2018-07-21 11:50 UTC, Francesco Turco
Details

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