Building the qtwebengine package with glibc 2.34 fails with the given error: (I am aware that building with glibc 2.34 is not yet supported on gentoo, but I decided to still report the issue if anyone else decides to do so) /failure_signal_handler.cc: In function 'bool absl::SetupAlternateStackOnce()': ../../../../git/src/3rdparty/chromium/third_party/abseil-cpp/absl/debugging/failure_signal_handler.cc:138:32: error: no matching function for call to 'max(long int, int)' 138 | size_t stack_size = (std::max(SIGSTKSZ, 65536) + page_mask) & ~page_mask; | ~~~~~~~~^~~~~~~~~~~~~~~~~ Applying the following patches solves the issue: https://raw.githubusercontent.com/meta-qt5/meta-qt5/2a38fca150f065f869ed530fffe1a07beec80692/recipes-qt/qt5/qtwebengine/chromium/0012-chromium-abseil-cpp-fix-build-with-glibc-2.34.patch https://raw.githubusercontent.com/meta-qt5/meta-qt5/2a38fca150f065f869ed530fffe1a07beec80692/recipes-qt/qt5/qtwebengine/chromium/0013-chromium-breakpad-fix-build-with-glibc-2.34.patch
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b56861f5b733a3ebced1ad5bf58e0299c31b25a0 commit b56861f5b733a3ebced1ad5bf58e0299c31b25a0 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2021-09-14 16:25:57 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2021-09-14 16:26:40 +0000 dev-qt/qtwebengine: Fix build with GLIBC-2.34 Thanks-to: Nik <nik_cro@abv.bg> Closes: https://bugs.gentoo.org/811312 Package-Manager: Portage-3.0.23, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> ...ne-5.15.2_p20210824-abseil-cpp-glibc-2.34.patch | 72 ++++++++++++++++++++++ ...gine-5.15.2_p20210824-breakpad-glibc-2.34.patch | 72 ++++++++++++++++++++++ .../qtwebengine-5.15.2_p20210824.ebuild | 2 + 3 files changed, 146 insertions(+)