Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 652592 - app-portage/kuroo-0.90.5_p20180106 : /.../queue.h:77:23: error: field m_queueCache has incomplete type QMap<QString, bool>
Summary: app-portage/kuroo-0.90.5_p20180106 : /.../queue.h:77:23: error: field m_queue...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-05 15:34 UTC by Toralf Förster
Modified: 2018-04-10 14:37 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.95 KB, text/plain)
2018-04-05 15:34 UTC, Toralf Förster
Details
app-portage:kuroo-0.90.5_p20180106:20180404-234313.log (app-portage:kuroo-0.90.5_p20180106:20180404-234313.log,478.84 KB, text/plain)
2018-04-05 15:34 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,108.06 KB, text/plain)
2018-04-05 15:34 UTC, Toralf Förster
Details
environment (environment,115.43 KB, text/plain)
2018-04-05 15:34 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.38 KB, application/x-bzip)
2018-04-05 15:35 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,5.22 KB, application/x-bzip)
2018-04-05 15:35 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,36.91 KB, application/x-bzip)
2018-04-05 15:35 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-04-05 15:34:44 UTC
  void     addPackageList( const EmergePackageList &packageList );
                                 ^~~~~~~~~~~~~~~~~
/var/tmp/portage/app-portage/kuroo-0.90.5_p20180106/work/kuroo-0.90.5_p20180106_build/src/kuroo_autogen/2LT34GEIUA/../../../../kuroo-0.90.5_p20180106/src/queue/queue.h:77:23: error: field ‘m_queueCache’ has incomplete type ‘QMap<QString, bool>’
  QMap<QString, bool>  m_queueCache;
                       ^~~~~~~~~~~~
In file included from /usr/include/qt5/QtCore/qglobal.h:1152:0,

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-developer_20180402-130354

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python2.7 (fallback)
  [3]   jython2.7 (fallback)
Available Ruby profiles:
  [1]   ruby22 (with Rubygems)
  [2]   ruby23 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.7.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv app-portage/kuroo
[ebuild  N    ] app-portage/kuroo-0.90.5_p20180106
Comment 1 Toralf Förster gentoo-dev 2018-04-05 15:34:47 UTC
Created attachment 526608 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-04-05 15:34:50 UTC
Created attachment 526610 [details]
app-portage:kuroo-0.90.5_p20180106:20180404-234313.log
Comment 3 Toralf Förster gentoo-dev 2018-04-05 15:34:55 UTC
Created attachment 526612 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-04-05 15:34:58 UTC
Created attachment 526614 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-04-05 15:35:01 UTC
Created attachment 526616 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-04-05 15:35:04 UTC
Created attachment 526618 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2018-04-05 15:35:07 UTC
Created attachment 526620 [details]
temp.tbz2
Comment 8 A Schenck 2018-04-06 01:49:55 UTC
Hi Toralf,

The port to KDE Frameworks 5 and Qt5 has made some progress in kuroo-9999.ebuild based on bug 633506.  Unfortunately I've been burned out from work and haven't been doing much in the last several months.  The 0.90.5 version should probably just be removed to unblock Qt4 cleanup.
Comment 9 Johannes Huber (RETIRED) gentoo-dev 2018-04-08 16:28:42 UTC
(In reply to Andrew Schenck from comment #8)
> Hi Toralf,
> 
> The port to KDE Frameworks 5 and Qt5 has made some progress in
> kuroo-9999.ebuild based on bug 633506.  Unfortunately I've been burned out
> from work and haven't been doing much in the last several months.  The
> 0.90.5 version should probably just be removed to unblock Qt4 cleanup.

app-portage/kuroo-0.90.5_p20180106 is already a Qt4 free snapshot.
Comment 10 A Schenck 2018-04-10 02:45:18 UTC
(In reply to Johannes Huber from comment #9)
> (In reply to Andrew Schenck from comment #8)
> > Hi Toralf,
> > 
> > The port to KDE Frameworks 5 and Qt5 has made some progress in
> > kuroo-9999.ebuild based on bug 633506.  Unfortunately I've been burned out
> > from work and haven't been doing much in the last several months.  The
> > 0.90.5 version should probably just be removed to unblock Qt4 cleanup.
> 
> app-portage/kuroo-0.90.5_p20180106 is already a Qt4 free snapshot.

Ahhh, Andreas made a snapshot of the source so there would be a non-live ebuild.  Looking at the code now it's odd that it would have ever built.  The header doesn't include QMap or even forward-declare the class, and the .cpp doesn't include it either so the compiler should have never been able to find the symbols for it.  Adding the forward-declaration and include shows me the same compiler error you're seeing.
Comment 11 A Schenck 2018-04-10 06:09:29 UTC
(In reply to Andrew Schenck from comment #10)
> (In reply to Johannes Huber from comment #9)
> > (In reply to Andrew Schenck from comment #8)
> > > Hi Toralf,
> > > 
> > > The port to KDE Frameworks 5 and Qt5 has made some progress in
> > > kuroo-9999.ebuild based on bug 633506.  Unfortunately I've been burned out
> > > from work and haven't been doing much in the last several months.  The
> > > 0.90.5 version should probably just be removed to unblock Qt4 cleanup.
> > 
> > app-portage/kuroo-0.90.5_p20180106 is already a Qt4 free snapshot.
> 
> Ahhh, Andreas made a snapshot of the source so there would be a non-live
> ebuild.  Looking at the code now it's odd that it would have ever built. 
> The header doesn't include QMap or even forward-declare the class, and the
> .cpp doesn't include it either so the compiler should have never been able
> to find the symbols for it.  Adding the forward-declaration and include
> shows me the same compiler error you're seeing.

Including <QMap> in queue.(h,cpp) was the solution, oddly just forward-declaring QMap<> in the header wasn't enough.  Revision 1644 fixes it.  Still surprised that this only showed up now.  Is there some compiler flag I can use to make it more strict and warn me about other lurking issues like this?
Comment 12 Larry the Git Cow gentoo-dev 2018-04-10 14:35:56 UTC
The bug has been closed via the following commit(s):

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

commit af27a97234f9f92c11cda8e5d9d25de0728f68c6
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2018-04-10 14:34:36 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-04-10 14:35:45 +0000

    app-portage/kuroo: Add 0.90.5_p20180410 snapshot
    
    Closes: https://bugs.gentoo.org/652592
    Package-Manager: Portage-2.3.28, Repoman-2.3.9

 app-portage/kuroo/Manifest                         |  1 +
 .../files/kuroo-0.90.5_p20180410-qt-5.11.patch     | 42 +++++++++++++++
 app-portage/kuroo/kuroo-0.90.5_p20180410.ebuild    | 59 ++++++++++++++++++++++
 3 files changed, 102 insertions(+)
Comment 13 Andreas Sturmlechner gentoo-dev 2018-04-10 14:37:18 UTC
Thanks Andrew, please also add my fix for kuroo to build with Qt 5.11 (missing headers) from above commit.