<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>288478</bug_id>
          
          <creation_ts>2025-02-25 06:14:46 -0800</creation_ts>
          <short_desc>REGRESSION(290957@main): Build broken with USE_GTK4=OFF and ENABLE_WK_WEB_EXTENSIONS=OFF</short_desc>
          <delta_ts>2025-02-25 13:43:04 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>288484</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>285379</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Adrian Perez">aperez</reporter>
          <assigned_to name="Adrian Perez">aperez</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2097765</commentid>
    <comment_count>0</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2025-02-25 06:14:46 -0800</bug_when>
    <thetext>If either -DUSE_GTK4=OFF or -DENABLE_WK_WEB_EXTENSIONS=OFF are passed to CMake, the build fails</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2097768</commentid>
    <comment_count>1</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2025-02-25 06:18:45 -0800</bug_when>
    <thetext>Even after a few (needed) local fixes, we can still get into this situation:

ld.lld: error: duplicate symbol: webkit_web_extension_get_type
&gt;&gt;&gt; defined at WebKitWebExtension.cpp
&gt;&gt;&gt;            Source/WebKit/CMakeFiles/WebKit.dir/WebProcess/InjectedBundle/API/glib/WebKitWebExtension.cpp.o:(webkit_web_extension_get_type)
&gt;&gt;&gt; defined at WebKitWebExtension.cpp
&gt;&gt;&gt;            Source/WebKit/CMakeFiles/WebKit.dir/UIProcess/API/glib/WebKitWebExtension.cpp.o:(.text.webkit_web_extension_get_type+0x0)

This means we cannot have WebExtensions support at all with !ENABLE(2022_GLIB_API)... unless we change the name of the newly added WebKitWebExtension to something else.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2097906</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2025-02-25 12:55:28 -0800</bug_when>
    <thetext>Is this just a dupe of bug 288484 at this point?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2097952</commentid>
    <comment_count>3</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2025-02-25 13:43:04 -0800</bug_when>
    <thetext>(In reply to Alexey Proskuryakov from comment #2)
&gt; Is this just a dupe of bug 288484 at this point?

Yes, I intended to fix the issue first but it was getting complicated and decided instead to revert the patches that had landed on main. Let&apos;s close this as well.

*** This bug has been marked as a duplicate of bug 288484 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>