Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 788979 - dev-qt/qtconcurrent-5.15.2: gcc-11 build problem
Summary: dev-qt/qtconcurrent-5.15.2: gcc-11 build problem
Status: RESOLVED DUPLICATE of bug 764977
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords: PATCH, UPSTREAM
Depends on:
Blocks: gcc-11
  Show dependency tree
 
Reported: 2021-05-08 20:58 UTC by vowstar
Modified: 2021-05-22 22:34 UTC (History)
2 users (show)

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


Attachments
Patch to fix this issue (659f7a0.diff.zip,351 bytes, application/octet-stream)
2021-05-08 20:59 UTC, vowstar
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***