<?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>255481</bug_id>
          
          <creation_ts>2023-04-15 02:04:08 -0700</creation_ts>
          <short_desc>REGRESSION(262028@main): Broke WPE builds with locally built GStreamer dependency</short_desc>
          <delta_ts>2023-04-16 01:52:56 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>CMake</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=254216</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Philippe Normand">philn</reporter>
          <assigned_to name="Philippe Normand">philn</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1948951</commentid>
    <comment_count>0</comment_count>
    <who name="Philippe Normand">philn</who>
    <bug_when>2023-04-15 02:04:08 -0700</bug_when>
    <thetext>In file included from /app/webkit/Source/WebKit/WebProcess/InjectedBundle/API/glib/WebKitInjectedBundleMain.cpp:22:                                                                                                  
In file included from /app/webkit/Source/WebKit/WebProcess/InjectedBundle/InjectedBundle.h:28:                                                                                                                       
/app/webkit/Source/WebKit/WebProcess/InjectedBundle/API/APIInjectedBundleBundleClient.h:42:5: error: C++ requires a type specifier for all declarations                                                              
    WTF_MAKE_FAST_ALLOCATED;                                                                                                                                                                                         
    ^                                                                                                                                                                                                                
In file included from /app/webkit/Source/WebKit/WebProcess/InjectedBundle/API/glib/WebKitInjectedBundleMain.cpp:22:                                                                                                  
In file included from /app/webkit/Source/WebKit/WebProcess/InjectedBundle/InjectedBundle.h:29:                                                                                                                       
In file included from /app/webkit/Source/WebKit/Shared/API/APIObject.h:29:                                                                                                                                           
In file included from /app/webkit/WebKitBuild/Release/WTF/Headers/wtf/RefCounted.h:24:                                                                                                                               
In file included from /app/webkit/WebKitBuild/Release/WTF/Headers/wtf/FastMalloc.h:26:                                                                                                                               
In file included from /app/webkit/WebKitBuild/Release/WTF/Headers/wtf/StdLibExtras.h:32:                                                                                                                             
/usr/lib/gcc/x86_64-unknown-linux-gnu/12.2.0/../../../../include/c++/12.2.0/utility:108:111: error: called object type &apos;const char[75]&apos; is not a function or function pointer                                        
    void as_const(const _Tp&amp;&amp;) = (&quot;if you use new/delete make sure to include config.h at the top of the file&quot;());                                                                                                   
                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^                                                                                                      
/usr/lib/gcc/x86_64-unknown-linux-gnu/12.2.0/../../../../include/c++/12.2.0/utility:108:10: error: illegal initializer (only variables can be initialized)                                                           
    void as_const(const _Tp&amp;&amp;) = (&quot;if you use new/delete make sure to include config.h at the top of the file&quot;());                                                                                                   
         ^                                                                                                                                                                                                           
In file included from /app/webkit/Source/WebKit/WebProcess/InjectedBundle/API/glib/WebKitInjectedBundleMain.cpp:22:                                                                                                  
In file included from /app/webkit/Source/WebKit/WebProcess/InjectedBundle/InjectedBundle.h:29:                                                                                                                       
In file included from /app/webkit/Source/WebKit/Shared/API/APIObject.h:29:                                                                                                                                           
In file included from /app/webkit/WebKitBuild/Release/WTF/Headers/wtf/RefCounted.h:24:                                                                                                                               
In file included from /app/webkit/WebKitBuild/Release/WTF/Headers/wtf/FastMalloc.h:26:                                                                                                                               
In file included from /app/webkit/WebKitBuild/Release/WTF/Headers/wtf/StdLibExtras.h:33:                                                                                                                             
/usr/lib/gcc/x86_64-unknown-linux-gnu/12.2.0/../../../../include/c++/12.2.0/variant:283:6: error: expected unqualified-id                                                                                            
   ::(&quot;if you use new/delete make sure to include config.h at the top of the file&quot;()) ((void*)std::addressof(_M_storage))                                                                                            
     ^                                                                                                                                                                                                               
/usr/lib/gcc/x86_64-unknown-linux-gnu/12.2.0/../../../../include/c++/12.2.0/variant:283:83: error: called object type &apos;const char[75]&apos; is not a function or function pointer                                         
   ::(&quot;if you use new/delete make sure to include config.h at the top of the file&quot;()) ((void*)std::addressof(_M_storage))                                                                                            
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^                                                                                                                                  
/usr/lib/gcc/x86_64-unknown-linux-gnu/12.2.0/../../../../include/c++/12.2.0/variant:374:132: error: called object type &apos;const char[75]&apos; is not a function or function pointer                                        
 _Variadic_union(in_place_index_t&lt;_Np&gt;, _Args&amp;&amp;...) = (&quot;if you use new/delete make sure to include config.h at the top of the file&quot;());                                                                              
                                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
... and so on...

Source/WebKit/WebProcess/InjectedBundle/API/glib/WebKitInjectedBundleMain.cpp is somehow pulling on /app/webkit/WebKitBuild/deps-build/subprojects/gstreamer-full/subprojects/gstreamer/config.h instead of WebKit&apos;s config.h.

This issue is somehow not happening in GTK builds...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1948952</commentid>
    <comment_count>1</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2023-04-15 02:28:18 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/12769</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1949016</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-04-16 01:52:55 -0700</bug_when>
    <thetext>Committed 263007@main (82caf34be7c8): &lt;https://commits.webkit.org/263007@main&gt;

Reviewed commits have been landed. Closing PR #12769 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>