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

Bug 788979

Summary: dev-qt/qtconcurrent-5.15.2: gcc-11 build problem
Product: Gentoo Linux Reporter: vowstar <vowstar>
Component: Current packagesAssignee: Qt Bug Alias <qt>
Status: RESOLVED DUPLICATE    
Severity: normal CC: asturm, jstein
Priority: Normal Keywords: PATCH, UPSTREAM
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 732706    
Attachments: Patch to fix this issue

Description vowstar 2021-05-08 20:58:17 UTC
dev-qt/qtconcurrent-5.15.2's header with gcc-11 caused compile error.


In file included from /usr/include/qt5/QtConcurrent/qtconcurrentiteratekernel.h:49,
                 from /usr/include/qt5/QtConcurrent/qtconcurrentfilterkernel.h:47,
                 from /usr/include/qt5/QtConcurrent/qtconcurrentfilter.h:47,
                 from /usr/include/qt5/QtConcurrent/QtConcurrent:8,
                 from /var/tmp/portage/games-emulation/yuzu-9999/work/yuzu-9999/src/yuzu/configuration/configure_service.cpp:6:
/usr/include/qt5/QtConcurrent/qtconcurrentthreadengine.h:250:50: error: invalid declarator before ‘*’ token
  250 |     ThreadEngineStarter<void>(ThreadEngine<void> *_threadEngine)
      |                                                  ^
/usr/include/qt5/QtConcurrent/qtconcurrentthreadengine.h:250:49: error: expected ‘)’ before ‘*’ token
  250 |     ThreadEngineStarter<void>(ThreadEngine<void> *_threadEngine)
      |                              ~                  ^~
      |                                                 )



After upstream fix applied to this package, the bug fixed.

https://bugreports.qt.io/browse/QTBUG-9190
https://codereview.qt-project.org/changes/qt%2Fqtbase~339417/revisions/2/patch?zip&path=src%2Fconcurrent%2Fqtconcurrentthreadengine.h
Comment 1 vowstar 2021-05-08 20:59:30 UTC
Created attachment 706653 [details]
Patch to fix this issue
Comment 2 Andreas Sturmlechner gentoo-dev 2021-05-22 22:28:11 UTC
Comment on attachment 706653 [details]
Patch to fix this issue

Please do not unnecessarily zip small files. Especially patches.
Comment 3 Andreas Sturmlechner gentoo-dev 2021-05-22 22:29:59 UTC
Seems fixed in Qt5PatchCollection:

https://invent.kde.org/qt/qt/qtbase/-/commit/c9543da6998b0827fb75ffe22327c99e2da7d364
Comment 4 Andreas Sturmlechner gentoo-dev 2021-05-22 22:34:36 UTC

*** This bug has been marked as a duplicate of bug 764977 ***