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

Bug 655844

Summary: app-admin/keepassxc-2.3.3 with Qt 5.11: error: invalid use of incomplete type ‘class QButtonGroup’
Product: Gentoo Linux Reporter: Markus Rathgeb <maggu2810>
Component: Current packagesAssignee: Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 664556    
Bug Blocks: 653646    
Attachments: Patch that adds the missing include
build.log that shows the error

Description Markus Rathgeb 2018-05-16 07:29:52 UTC
Created attachment 531682 [details, diff]
Patch that adds the missing include

The build fails because of using the incomplete type QButtonGroup:

In file included from /var/tmp/portage/app-admin/keepassxc-2.3.3/work/keepassxc-2.3.3/src/gui/entry/EditEntryWidget.cpp:19:0:
/var/tmp/portage/app-admin/keepassxc-2.3.3/work/keepassxc-2.3.3/src/gui/entry/EditEntryWidget.h:37:7: note: forward declaration of ‘class QButtonGroup’

build.log is attached

Qt version: 5.11.0_rc
Comment 1 Markus Rathgeb 2018-05-16 07:30:30 UTC
Created attachment 531684 [details]
build.log that shows the error
Comment 2 Markus Rathgeb 2018-05-16 08:10:11 UTC
Upstream PR: https://github.com/keepassxreboot/keepassxc/pull/1964
Comment 3 Larry the Git Cow gentoo-dev 2018-05-16 09:09:36 UTC
The bug has been closed via the following commit(s):

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

commit eaae19a90dacd1d96a8c6c28de9b1968ee77cb88
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2018-05-16 09:08:33 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2018-05-16 09:09:31 +0000

    app-admin/keepassxc: Fixed compilation with qt-5.11
    
    Thanks to Markus Rathgeb for reporting the bug and providing the fix.
    
    Closes: https://bugs.gentoo.org/655844
    Package-Manager: Portage-2.3.36, Repoman-2.3.9

 .../keepassxc-2.3.3-qt-5.11-edit-entry-widget-includes.patch   | 10 ++++++++++
 app-admin/keepassxc/keepassxc-2.3.3.ebuild                     |  4 ++++
 2 files changed, 14 insertions(+)