Summary: | media-gfx/flameshot-0.6.0 w/ Qt 5.15: error: aggregate ‘QPainterPath clip’ has incomplete type and cannot be defined | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jonas Stein <jstein> |
Component: | Current packages | Assignee: | Pavel Kalugin <paul.kalug> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | glax, jstein, maksbotan, proxy-maint |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/16001 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 726178 | ||
Attachments: | build.log |
Description
Jonas Stein
![]() Trivial missing include issue with >=Qt 5.15.0. Fix is not complete: src/third-party/Qt-Color-Widgets/src/color_wheel.cpp:350:22: error: aggregate ‘QPainterPath clip’ has incomplete type and cannot be defined 350 | QPainterPath clip; (In reply to Andreas Sturmlechner from comment #3) > Fix is not complete: > > src/third-party/Qt-Color-Widgets/src/color_wheel.cpp:350:22: error: > aggregate ‘QPainterPath clip’ has incomplete type and cannot be defined > 350 | QPainterPath clip; Hm, maybe it makes sense to unbundle this one as well? To use the latest upstream (https://gitlab.com/mattia.basaglia/Qt-Color-Widgets) version. However upstream doesn't have any tags and bundled version is fairly old... (In reply to Andreas Sturmlechner from comment #3) > Fix is not complete: > > src/third-party/Qt-Color-Widgets/src/color_wheel.cpp:350:22: error: > aggregate ‘QPainterPath clip’ has incomplete type and cannot be defined > 350 | QPainterPath clip; Thank you, updated the pull (In reply to Maxim Koltsov from comment #4) > Hm, maybe it makes sense to unbundle this one as well? To use the latest > upstream (https://gitlab.com/mattia.basaglia/Qt-Color-Widgets) version. > > However upstream doesn't have any tags and bundled version is fairly old... I'm the upstream maintainer for Qt-Color-Widgets. If you need anything from me feel free to ask (In reply to Mattia Basaglia from comment #6) > (In reply to Maxim Koltsov from comment #4) > > Hm, maybe it makes sense to unbundle this one as well? To use the latest > > upstream (https://gitlab.com/mattia.basaglia/Qt-Color-Widgets) version. > > > > However upstream doesn't have any tags and bundled version is fairly old... > > I'm the upstream maintainer for Qt-Color-Widgets. If you need anything from > me feel free to ask In that case the linked PR would be yours to include, because it fixes build with Qt 5.15 now properly. ;) And also, distributions never like bundled libraries, so a release here and there that would make it possible for flameshot upstream to not ship with a copy of it would be nice. Ideally, the amount of subdirectories in any given 3rdparty dir would be zero. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e21afcf5a4083064234f4d4d1906164986a85bdc commit e21afcf5a4083064234f4d4d1906164986a85bdc Author: Pavel Kalugin <paul.kalug@gmail.com> AuthorDate: 2020-05-29 08:41:32 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2020-05-30 22:22:48 +0000 media-gfx/flameshot: Fix build with Qt 5.15 Closes: https://bugs.gentoo.org/725930 Signed-off-by: Pavel Kalugin <paul.kalug@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/16001 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> .../flameshot-0.6.0-missing-include-fix.patch | 22 ++++++++++++++++++++++ media-gfx/flameshot/flameshot-0.6.0.ebuild | 5 ++++- 2 files changed, 26 insertions(+), 1 deletion(-) (In reply to Andreas Sturmlechner from comment #7) > In that case the linked PR would be yours to include, because it fixes build > with Qt 5.15 now properly. ;) > > And also, distributions never like bundled libraries, so a release here and > there that would make it possible for flameshot upstream to not ship with a > copy of it would be nice. Ideally, the amount of subdirectories in any given > 3rdparty dir would be zero. I merged a pull request that added the missing include. Tagged the latest version as v2.2.0 It was mentioned the current version being used is quite old. I had a look at flameshot and I don't think there should be compatibility issues but in case I can help fix them. Should I open another bug for unbundling? |