Created attachment 681400 [details] build.log app-crypt/qca fails to build with gcc-11 with : In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.0.0/include/g++-v11/bits/shared_ptr.h:53, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.0.0/include/g++-v11/condition_variable:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/11.0.0/include/g++-v11/future:39, from /usr/include/qt5/QtCore/qthread.h:51, from /usr/include/qt5/QtCore/QThread:1, from ../qca-2.3.1/include/QtCrypto/qca_support.h:47, from ../qca-2.3.1/include/QtCrypto/qca_core.h:43, from ../qca-2.3.1/src/qca_default.cpp:22: /usr/lib/gcc/x86_64-pc-linux-gnu/11.0.0/include/g++-v11/bits/shared_ptr_base.h:310:11: note: ‘std::__shared_ptr’ declared here 310 | class __shared_ptr; | ^~~~~~~~~~~~
Even if they had no impact here (can reproduce with gcc-11.0.9999-d54be5a), when testing gcc-related issues it would preferable to report with normal *FLAGS rather than GentooLTO's
i can confirm that PR : https://github.com/gentoo/gentoo/pull/19025 works and it is now compiled with gcc-11 from my side
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2d112f5512cc3cb26f25a12085cc4be6ccc13f1 commit a2d112f5512cc3cb26f25a12085cc4be6ccc13f1 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2021-01-11 00:28:36 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2021-01-24 13:03:15 +0000 app-crypt/qca: Fix build with GCC-11 Closes: https://bugs.gentoo.org/764047 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> app-crypt/qca/files/qca-2.3.1-gcc11.patch | 30 ++++++++++++++++++++++++++++++ app-crypt/qca/qca-2.3.1.ebuild | 7 +++++-- 2 files changed, 35 insertions(+), 2 deletions(-)