Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 661524 - app-emulation/punes-0.102 : dlgCheats.cpp:73:43: error: invalid use of incomplete type class QButtonGroup
Summary: app-emulation/punes-0.102 : dlgCheats.cpp:73:43: error: invalid use of incomp...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Azamat H. Hackimov
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: qt-5.11
  Show dependency tree
 
Reported: 2018-07-18 15:33 UTC by Toralf Förster
Modified: 2018-08-21 21:23 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.06 KB, text/plain)
2018-07-18 15:33 UTC, Toralf Förster
Details
app-emulation:punes-0.102:20180718-063919.log (app-emulation:punes-0.102:20180718-063919.log,260.02 KB, text/plain)
2018-07-18 15:33 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,58.69 KB, text/plain)
2018-07-18 15:33 UTC, Toralf Förster
Details
environment (environment,57.84 KB, text/plain)
2018-07-18 15:34 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.67 KB, application/x-bzip)
2018-07-18 15:34 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,11.29 KB, application/x-bzip)
2018-07-18 15:34 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,25.05 KB, application/x-bzip)
2018-07-18 15:34 UTC, Toralf Förster
Details
Fix for the compilation error (punes-fix-dlgCheats-incomplete-type-class-QButtonGroup.patch,362 bytes, patch)
2018-08-19 09:23 UTC, Fabio Cavallo
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-07-18 15:33:49 UTC
dlgCheats.cpp: In constructor ‘dlgCheats::dlgCheats(QWidget*, cheatObject*)’:
dlgCheats.cpp:73:43: error: invalid use of incomplete type ‘class QButtonGroup’
  QButtonGroup *grp = new QButtonGroup(this);
                                           ^
In file included from /usr/include/qt5/QtWidgets/qcheckbox.h:44:0,

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

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

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

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)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.8.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv app-emulation/punes
[ebuild  N    ] app-emulation/punes-0.102  USE="-cg"
Comment 1 Toralf Förster gentoo-dev 2018-07-18 15:33:52 UTC
Created attachment 539968 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-07-18 15:33:55 UTC
Created attachment 539970 [details]
app-emulation:punes-0.102:20180718-063919.log
Comment 3 Toralf Förster gentoo-dev 2018-07-18 15:33:59 UTC
Created attachment 539972 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-07-18 15:34:02 UTC
Created attachment 539976 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-07-18 15:34:05 UTC
Created attachment 539978 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-07-18 15:34:07 UTC
Created attachment 539980 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2018-07-18 15:34:10 UTC
Created attachment 539982 [details]
temp.tbz2
Comment 8 Fabio Cavallo 2018-08-19 09:23:22 UTC
Created attachment 544010 [details, diff]
Fix for the compilation error

This patch fix the error.
Comment 9 Azamat H. Hackimov 2018-08-21 20:25:37 UTC
Hello, Fabio!

Just added your patch from repository, awaiting PR merge.
Comment 10 Larry the Git Cow gentoo-dev 2018-08-21 21:23:12 UTC
The bug has been closed via the following commit(s):

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

commit 11bf57252b7949aa5b363677c87cbde9da466728
Author:     Azamat H. Hackimov <azamat.hackimov@gmail.com>
AuthorDate: 2018-08-21 20:20:57 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-08-21 21:23:04 +0000

    app-emulation/punes: Fix compilation with Qt 5.11
    
    Thanks-to: Fabio Cavallo <fhorse@libero.it>
    Closes: https://bugs.gentoo.org/661524
    Package-Manager: Portage-2.3.40, Repoman-2.3.9
    Closes: https://github.com/gentoo/gentoo/pull/9656

 .../punes/files/punes-0.102-qt-5.11-fix.patch       | 21 +++++++++++++++++++++
 app-emulation/punes/punes-0.102.ebuild              |  2 ++
 2 files changed, 23 insertions(+)