<?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>297192</bug_id>
          
          <creation_ts>2025-08-10 01:43:11 -0700</creation_ts>
          <short_desc>[GTK][WPE] error: reference to type &apos;const WebCore::Style::PositionY&apos; requires an initializer after 298460@main</short_desc>
          <delta_ts>2025-08-10 21:32:30 -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>New Bugs</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>296960</dependson>
          <blocked>297203</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Fujii Hironori">fujii</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>csaavedra</cc>
    
    <cc>sam</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2135505</commentid>
    <comment_count>0</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2025-08-10 01:43:11 -0700</bug_when>
    <thetext>[GTK][WPE] error: reference to type &apos;const WebCore::Style::PositionY&apos; requires an initializer after 298460@main

After 298460@main, Combination of Clang and libstdc++ can&apos;t compile WebKit.

https://webkit.slack.com/archives/CU64U6FDW/p1754723550222259
https://pastebin.com/cLZTNW2V

Buildbot: builder GTK-Linux-64-bit-Release-Clang-Build build 18818
https://build.webkit.org/#/builders/629/builds/18818

In file included from /buildbot-worker/work/GTK-Linux-64-bit-Release-Clang-Build/build/WebKitBuild/GTK/Release/WTF/Headers/wtf/StdLibExtras.h:36:
In file included from /usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/functional:53:
/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/tuple:199:9: error: reference to type &apos;const WebCore::Style::PositionY&apos; requires an initializer
  199 |       : _M_head_impl() { }
      |         ^
/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/tuple:563:9: note: in instantiation of member function &apos;std::_Head_base&lt;1, const WebCore::Style::PositionY &amp;&gt;::_Head_base&apos; requested here
  563 |       : _Base() { }
      |         ^
/buildbot-worker/work/GTK-Linux-64-bit-Release-Clang-Build/build/Source/WebCore/css/values/primitives/CSSPrimitiveKeywordList.h:45:36: note: in instantiation of member function &apos;std::_Tuple_impl&lt;1, const WebCore::Style::PositionY &amp;&gt;::_Tuple_impl&apos; requested here
   45 |     = KeywordsList::isValidKeyword(Keyword()) &amp;&amp; PrimitiveKeyword&lt;Keyword&gt;;
      |                                    ^
/buildbot-worker/work/GTK-Linux-64-bit-Release-Clang-Build/build/Source/WebCore/css/values/primitives/CSSPrimitiveKeywordList.h:45:7: note: while substituting template arguments into constraint expression here
   45 |     = KeywordsList::isValidKeyword(Keyword()) &amp;&amp; PrimitiveKeyword&lt;Keyword&gt;;
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/buildbot-worker/work/GTK-Linux-64-bit-Release-Clang-Build/build/Source/WebCore/style/values/primitives/StyleLengthWrapper.h:68:23: note: while checking the satisfaction of concept &apos;ValidKeywordForList&lt;std::_Tuple_impl&lt;1, const WebCore::Style::PositionY &amp;&gt;, WebCore::CSS::PrimitiveKeywordList&lt;&gt;&gt;&apos; requested here
   68 |     LengthWrapperBase(CSS::ValidKeywordForList&lt;Keywords&gt; auto keyword) : m_value(Keywords::offsetForKeyword(keyword)) { }
      |                       ^
/buildbot-worker/work/GTK-Linux-64-bit-Release-Clang-Build/build/Source/WebCore/style/values/primitives/StyleLengthWrapper.h:68:23: note: while substituting template arguments into constraint expression here
   68 |     LengthWrapperBase(CSS::ValidKeywordForList&lt;Keywords&gt; auto keyword) : m_value(Keywords::offsetForKeyword(keyword)) { }
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/tuple:326:7: note: (skipping 8 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
  326 |       _Tuple_impl(_Tuple_impl&amp;&amp;) = default;
      |       ^
/buildbot-worker/work/GTK-Linux-64-bit-Release-Clang-Build/build/WebKitBuild/GTK/Release/WTF/Headers/wtf/StdLibExtras.h:1354:20: note: in instantiation of function template specialization &apos;WTF::detail::tuple_zip_impl&lt;const WebCore::Style::Position &amp;, const WebCore::Style::Position &amp;, 0UL, 1UL&gt;&apos; requested here
 1354 |     return detail::tuple_zip_impl&lt;Head, Tail...&gt;(
      |                    ^
/buildbot-worker/work/GTK-Linux-64-bit-Release-Clang-Build/build/Source/WebCore/style/values/StyleValueTypes.h:862:13: note: in instantiation of function template specialization &apos;WTF::tuple_zip&lt;const WebCore::Style::Position &amp;, const WebCore::Style::Position &amp;&gt;&apos; requested here
  862 |     }, WTF::tuple_zip(a, b));
      |             ^
/buildbot-worker/work/GTK-Linux-64-bit-Release-Clang-Build/build/Source/WebCore/style/values/StyleValueTypes.h:951:16: note: in instantiation of function template specialization &apos;WebCore::Style::equalsForBlendingOnTupleLike&lt;WebCore::Style::Position&gt;&apos; requested here
  951 |         return equalsForBlendingOnTupleLike(a, b, aStyle, bStyle);
      |                ^
/buildbot-worker/work/GTK-Linux-64-bit-Release-Clang-Build/build/Source/WebCore/style/StyleInterpolationWrappers.h:144:16: note: in instantiation of function template specialization &apos;WebCore::Style::EqualsForBlendingInvoker::operator()&lt;WebCore::Style::Position&gt;&apos; requested here
  144 |         return Style::equalsForBlending(this-&gt;value(from), this-&gt;value(to), from, to);
      |                ^
/buildbot-worker/work/GTK-Linux-64-bit-Release-Clang-Build/build/Source/WebCore/style/StyleInterpolationWrappers.h:130:7: note: in instantiation of member function &apos;WebCore::Style::Interpolation::StyleTypeWrapper&lt;WebCore::Style::Position, const WebCore::Style::Position &amp;, WebCore::Style::Position &amp;&amp;&gt;::equals&apos; requested here
  130 | class StyleTypeWrapper : public WrapperBase {
      |       ^</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2135506</commentid>
    <comment_count>1</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2025-08-10 01:48:25 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/49196</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2135556</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-08-10 15:28:10 -0700</bug_when>
    <thetext>Committed 298491@main (4ebc245e2259): &lt;https://commits.webkit.org/298491@main&gt;

Reviewed commits have been landed. Closing PR #49196 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2135557</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2025-08-10 15:29:13 -0700</bug_when>
    <thetext>&lt;rdar://problem/157996627&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>