Created attachment 669527 [details] build.log dev-qt/qtdeclarative fails compile with gcc11. se build.log
Created attachment 669530 [details] qtdeclarative-gcc11.patch
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6733c610258ddf66de113f23dde026e31f7a8069 commit 6733c610258ddf66de113f23dde026e31f7a8069 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2021-01-10 22:05:58 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2021-01-24 13:03:13 +0000 dev-qt/qtdeclarative: Fix build with GCC-11 Closes: https://bugs.gentoo.org/752093 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> .../files/qtdeclarative-5.15.2-gcc11.patch | 31 ++++++++++++++++++++++ dev-qt/qtdeclarative/qtdeclarative-5.15.2.ebuild | 1 + 2 files changed, 32 insertions(+)
Still not fixed on upstream open source gits. dev-qt/qtdeclarative-5.15.9999 fails
/etc/portage/patches/dev-qt/qtdeclarative-5.15.9999/qtdeclarative-5.15.2-gcc11.patch (copy from ::gentoo) [ebuild R *] dev-qt/qtdeclarative-5.15.9999:5/5.15::qt USE="jit vulkan widgets -debug -gles2-only -localstorage -test" 0 KiB Total: 1 package (1 reinstall), Size of downloads: 0 KiB Would you like to merge these packages? [Yes/No] >>> Verifying ebuild manifests >>> Emerging (1 of 1) dev-qt/qtdeclarative-5.15.9999::qt >>> Installing (1 of 1) dev-qt/qtdeclarative-5.15.9999::qt >>> Jobs: 1 of 1 complete Load avg: 1.91, 1.42, 0.90 * Messages for package dev-qt/qtdeclarative-5.15.9999: * User patches applied. log: >>> Preparing source in /var/tmp/portage/dev-qt/qtdeclarative-5.15.9999/work/qtdeclarative-5.15.9999 ... * Applying qtdeclarative-5.14.2-QQuickItemView-fix-maxXY-extent.patch ... [ ok ] * Applying qtdeclarative-5.15.2-gcc11.patch ... [ ok ] * User patches applied. >>> Source prepared
https://invent.kde.org/qt/qt/qtdeclarative/-/merge_requests/2 https://invent.kde.org/qt/qt/qtdeclarative/-/commit/4f08a2da5b0da675cf6a75683a43a106f5a1e7b8 "Add missing limits include to fix build with GCC 11 This is not required for Qt 6, since it is indirectly pulled via qanystrigview.h, but it is for Qt 5 (where qanystrigview does not exist) and, in any case, it is good to declare all used headers and not rely on them being implicitly pulled." They did no related change to src/qml/jsruntime/qv4regexp.cpp. dev-qt/qtdeclarative-5.15.9999::qt compile tested without our patch with gcc-11.2.