From nobody Wed Jul 3 16:00:37 2024 X-Original-To: desktop@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WDkyb0WD0z5Ps5V for ; Wed, 03 Jul 2024 16:00:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WDkyZ6b00z47dl for ; Wed, 3 Jul 2024 16:00:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1720022438; a=rsa-sha256; cv=none; b=ZcX6tHVDwUV8XkJh4Yg91jvevVOU0yO7hoxeTuIIZ4rtQrvxGLn8jZ4iN8Sdl91MbwA/ay qVJchANk6QSHtJyAviQgjt7X6OEnV4jNw4NN3aM5wa7cIj2zwWI+35zo1tGFlzVHkod6K2 ksfDnXCfxtbU5BNIYDdI/41tlYVFoiBTm4YOKo6VBkNS/U/zIsorfIjFphqyXLkGy6MeFq oYFr9cn2t8iOVXbQ/BhBnGghzAUEoGCEljTR3yn/FXYWuL9QBcqJ0J1Cciig27dunI9Q+y OCKGq9OYq9BDP2e7cp0f9J1pRUShoFwisGjHNyH5oMl8f8bqUmqoUIAjp+3pvw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1720022438; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fSDKWBcKVYKdFDYiKR73wFzhVsY14GOHXhowMqe0lxY=; b=BwB1tk1q/x+rfE62ZKcbvqcSZHOgxafBucy25oFPPYx1KKIzxwMKpsxFVqC1f0zBn3xLyS //xKIQOMva6XWnQNi41tOJ50EpcDU27LN0nJzM6RISrI7ZgrjmJqSwhdPzFBoy1Wrvppoz Yu3uGeQzsZAN95zVT4WcFBqWxPM5ZMzoeuMdTHAPOd9EpLLKIMnzInQ9nQL59rIC727oMU chG7pSgjNJ8Qm8wISZsx8mnZ6jCMkhNUW6a2oqym4XRlYCLXH1mdXurqkCKFOMv5HjwYH2 6OMCPpUlWwZEMECa6aGUD66LT3U7m2+3hZhpLs+AMw538rEnSV+Jmf+zCbbkWw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WDkyZ6BTnzdPd for ; Wed, 3 Jul 2024 16:00:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 463G0chu087542 for ; Wed, 3 Jul 2024 16:00:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 463G0cjI087536 for desktop@FreeBSD.org; Wed, 3 Jul 2024 16:00:38 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f 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 Date: Wed, 03 Jul 2024 16:00:37 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: vishwin@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: desktop@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Using and improving FreeBSD on the desktop List-Archive: https://lists.freebsd.org/archives/freebsd-desktop List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-desktop@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275914 --- Comment #28 from Charlie Li --- Got 2.42 built with USE_GCC with only the Source/WebCore/platform/network/D= NS.h (adds needed 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::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::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& WTF::downcast(Sour= ce&) [with Target =3D WebCore::SVGLinearGradientElement; Source =3D WebCore::SVG= Element; match_constness_t =3D WebCore::SVGLinearGradientElement]' 120 | ASSERT_WITH_SECURITY_IMPLICATION(is(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(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, "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' 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.=