Date: Wed, 03 Jul 2024 16:00:37 +0000 From: bugzilla-noreply@freebsd.org To: desktop@FreeBSD.org Subject: [Bug 275914] www/webkit2-gtk{3,4}: Flavorize?: Deal with 4.0, 4.1 and 6.0 SONAMEs Message-ID: <bug-275914-39348-XNWmpKL5Hg@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-275914-39348@https.bugs.freebsd.org/bugzilla/> References: <bug-275914-39348@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275914 --- Comment #28 from Charlie Li <vishwin@freebsd.org> --- Got 2.42 built with USE_GCC with only the Source/WebCore/platform/network/D= NS.h (adds needed <sys/socket.h> include) and Source/UI/WebProcess/Launcher/glib/ProcessLauncherGLib.cpp patches on -CURR= ENT. Runtime, on the last upstream www/epiphany that uses the 4.1 API, still exhibits an indefinite wait behaviour. Should probably test with the latest upstream epiphany that uses the 6.0 API however. 2.44 specifically fails whilst building the Layer-Based SVG Engine (LBSE) u= nder both GCC and clang. Downcasts that haven't really changed from the legacy S= VG engine are no longer resolving (one example shown): FAILED: Source/WebCore/CMakeFiles/WebCore.dir/rendering/svg/RenderSVGResourceLinear= Gradient.cpp.o [snip] In file included from /wrkdirs/overlays/overlay/www/webkit2-gtk/work-40/.build/WTF/Headers/wtf/St= dLibExtras.h:38, from /wrkdirs/overlays/overlay/www/webkit2-gtk/work-40/.build/WTF/Headers/wtf/Fa= stMalloc.h:26, from /wrkdirs/overlays/overlay/www/webkit2-gtk/work-40/webkitgtk-2.44.2/Source/W= ebCore/config.h:47, from /wrkdirs/overlays/overlay/www/webkit2-gtk/work-40/webkitgtk-2.44.2/Source/W= ebCore/rendering/svg/RenderSVGResourceLinearGradient.cpp:22: /wrkdirs/overlays/overlay/www/webkit2-gtk/work-40/.build/WTF/Headers/wtf/Ty= peCasts.h: In instantiation of 'static bool WTF::TypeCastTraits<ExpectedType, ArgType, isBaseType>::isOfType(ArgType&) [with ExpectedType =3D const WebCore::SVGLinearGradientElement; ArgType =3D const WebCore::SVGElement; b= ool isBaseType =3D false]': /wrkdirs/overlays/overlay/www/webkit2-gtk/work-40/.build/WTF/Headers/wtf/Ty= peCasts.h:58:71: required from 'bool WTF::is(const ArgType&) [with ExpectedType =3D WebCore::SVGLinearGradientElement; ArgType =3D WebCore::SVGElement]' 58 | return TypeCastTraits<const ExpectedType, const ArgType>::isOfType(source); |=20=20=20=20=20=20=20=20=20=20=20 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /wrkdirs/overlays/overlay/www/webkit2-gtk/work-40/.build/WTF/Headers/wtf/Ty= peCasts.h:120:5: required from 'WTF::match_constness_t<Source, Target>& WTF::downcast(Sour= ce&) [with Target =3D WebCore::SVGLinearGradientElement; Source =3D WebCore::SVG= Element; match_constness_t<Source, Target> =3D WebCore::SVGLinearGradientElement]' 120 | ASSERT_WITH_SECURITY_IMPLICATION(is<Target>(source)); /wrkdirs/overlays/overlay/www/webkit2-gtk/work-40/webkitgtk-2.44.2/Source/W= ebCore/rendering/svg/RenderSVGResourceLinearGradientInlines.h:36:46: required from here 36 | return downcast<SVGLinearGradientElement>(RenderSVGResourceContainer::element()); |=20=20=20=20=20=20=20=20=20=20=20 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/overlays/overlay/www/webkit2-gtk/work-40/.build/WTF/Headers/wtf/Ty= peCasts.h:41:28: error: static assertion failed: Missing TypeCastTraits specialization 41 | static_assert(std::is_void_v<ExpectedType>, "Missing TypeCastTraits specialization"); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/overlays/overlay/www/webkit2-gtk/work-40/.build/WTF/Headers/wtf/Ty= peCasts.h:41:28: note: 'std::is_void_v<const WebCore::SVGLinearGradientElement>' evaluates to false These apparently resolve on Linux and other platforms. In the meantime ther= e is a private ENABLE_LAYER_BASED_SVG_ENGINE that is enabled for GTK by default, going to try disabling it here. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-275914-39348-XNWmpKL5Hg>