The build ends with this: In file included from /var/tmp/portage/net-libs/webkit-gtk-2.40.0-r600/work/webkitgtk-2.40.0_build/WebCore/DerivedSources/unified-sources/UnifiedSource-3c72abbe-34.cpp:7: /var/tmp/portage/net-libs/webkit-gtk-2.40.0-r600/work/webkitgtk-2.40.0/Source/WebCore/platform/graphics/SourceBrush.cpp: In member function ‘void WebCore::SourceBrush::setGradient(WTF::Ref<WebCore::Gradient>&&, const WebCore::AffineTransform&)’: /var/tmp/portage/net-libs/webkit-gtk-2.40.0-r600/work/webkitgtk-2.40.0/Source/WebCore/platform/graphics/SourceBrush.cpp:68:78: error: converting to ‘std::optional<WebCore::SourceBrush::Brush>’ from initializer list would use explicit constructor ‘constexpr std::optional<_Tp>::optional(_Up&&) [with _Up = WebCore::SourceBrush::Brush::LogicalGradient; typename std::enable_if<__and_v<std::__not_<std::is_same<std::optional<_Tp>, typename std::remove_cv<typename std::remove_reference<_Iter>::type>::type> >, std::__not_<std::is_same<std::in_place_t, typename std::remove_cv<typename std::remove_reference<_Iter>::type>::type> >, std::is_constructible<_Tp, _Up>, std::__not_<std::is_convertible<_Iter, _Iterator> > >, bool>::type <anonymous> = false; _Tp = WebCore::SourceBrush::Brush]’ 68 | m_brush = { Brush::LogicalGradient { WTFMove(gradient), spaceTransform } }; | ^ /var/tmp/portage/net-libs/webkit-gtk-2.40.0-r600/work/webkitgtk-2.40.0/Source/WebCore/platform/graphics/SourceBrush.cpp: In member function ‘void WebCore::SourceBrush::setPattern(WTF::Ref<WebCore::Pattern>&&)’: /var/tmp/portage/net-libs/webkit-gtk-2.40.0-r600/work/webkitgtk-2.40.0/Source/WebCore/platform/graphics/SourceBrush.cpp:73:34: error: converting to ‘std::optional<WebCore::SourceBrush::Brush>’ from initializer list would use explicit constructor ‘constexpr std::optional<_Tp>::optional(_Up&&) [with _Up = WTF::Ref<WebCore::Pattern>; typename std::enable_if<__and_v<std::__not_<std::is_same<std::optional<_Tp>, typename std::remove_cv<typename std::remove_reference<_Iter>::type>::type> >, std::__not_<std::is_same<std::in_place_t, typename std::remove_cv<typename std::remove_reference<_Iter>::type>::type> >, std::is_constructible<_Tp, _Up>, std::__not_<std::is_convertible<_Iter, _Iterator> > >, bool>::type <anonymous> = false; _Tp = WebCore::SourceBrush::Brush]’ 73 | m_brush = { WTFMove(pattern) };
This one is webkit-gtk's fault.
Created attachment 859250 [details] build.log.xz
Created attachment 859262 [details, diff] Patch for upstream commit 0aa2fbaeb7cd103cda9907f8fa2248cd2209b22f
*** Bug 903558 has been marked as a duplicate of this bug. ***
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03075e43c6f133310d6f671df0272c55c07682cd commit 03075e43c6f133310d6f671df0272c55c07682cd Author: Sam James <sam@gentoo.org> AuthorDate: 2023-03-30 16:37:55 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-03-30 16:38:32 +0000 net-libs/webkit-gtk: fix build w/ gcc-13 Closes: https://bugs.gentoo.org/903554 Signed-off-by: Sam James <sam@gentoo.org> net-libs/webkit-gtk/files/2.38.5-gcc-13.patch | 30 +++++++++++++++++++++++ net-libs/webkit-gtk/webkit-gtk-2.38.5-r410.ebuild | 1 + net-libs/webkit-gtk/webkit-gtk-2.38.5-r500.ebuild | 1 + net-libs/webkit-gtk/webkit-gtk-2.38.5.ebuild | 1 + net-libs/webkit-gtk/webkit-gtk-2.40.0-r410.ebuild | 1 + net-libs/webkit-gtk/webkit-gtk-2.40.0-r600.ebuild | 1 + net-libs/webkit-gtk/webkit-gtk-2.40.0.ebuild | 1 + 7 files changed, 36 insertions(+)