<?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>230480</bug_id>
          
          <creation_ts>2021-09-20 07:37:17 -0700</creation_ts>
          <short_desc>REGRESSION(r282735): build failing on gtk/gcc</short_desc>
          <delta_ts>2021-09-22 08:45:51 -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>Layout and Rendering</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=230455</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="Jim Mason">jmason</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>koivisto</cc>
    
    <cc>ross.kirsling</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1795076</commentid>
    <comment_count>0</comment_count>
    <who name="Jim Mason">jmason</who>
    <bug_when>2021-09-20 07:37:17 -0700</bug_when>
    <thetext>Building with gcc 10, gtk 3.  Still breaking as of r282742.

Reversing the commit r282735 makes the build complete normally.

Build failure is as follows:

In file included from /build/rocketman/components/desktop/webkitgtk4-dev/webkit/Source/WebCore/rendering/LegacyInlineFlowBox.cpp:44,
                 from WebCore/DerivedSources/unified-sources/UnifiedSource-043dd90b-4.cpp:7:
/build/rocketman/components/desktop/webkitgtk4-dev/webkit/Source/WebCore/rendering/TextBoxPainter.h:50:45: error: &apos;InlineContent&apos; in namespace &apos;WebCore::LayoutIntegration&apos; does not name a type
   50 |     TextBoxPainter(const LayoutIntegration::InlineContent&amp;, const Layout::Run&amp;, PaintInfo&amp;, const LayoutPoint&amp; paintOffset);
      |                                             ^~~~~~~~~~~~~
/build/rocketman/components/desktop/webkitgtk4-dev/webkit/Source/WebCore/rendering/TextBoxPainter.h:50:67: error: &apos;Layout&apos; does not name a type; did you mean &apos;TextLayout&apos;?
   50 |     TextBoxPainter(const LayoutIntegration::InlineContent&amp;, const Layout::Run&amp;, PaintInfo&amp;, const LayoutPoint&amp; paintOffset);
      |                                                                   ^~~~~~
      |                                                                   TextLayout
/build/rocketman/components/desktop/webkitgtk4-dev/webkit/Source/WebCore/rendering/TextBoxPainter.h:50:78: error: expected unqualified-id before &apos;&amp;&apos; token
   50 |     TextBoxPainter(const LayoutIntegration::InlineContent&amp;, const Layout::Run&amp;, PaintInfo&amp;, const LayoutPoint&amp; paintOffset);
      |                                                                              ^
/build/rocketman/components/desktop/webkitgtk4-dev/webkit/Source/WebCore/rendering/TextBoxPainter.h:50:78: error: expected &apos;)&apos; before &apos;&amp;&apos; token
   50 |     TextBoxPainter(const LayoutIntegration::InlineContent&amp;, const Layout::Run&amp;, PaintInfo&amp;, const LayoutPoint&amp; paintOffset);
      |                   ~                                                          ^
      |                                                                              )
/build/rocketman/components/desktop/webkitgtk4-dev/webkit/Source/WebCore/rendering/TextBoxPainter.h:50:78: error: constructors may not be ref-qualified
/build/rocketman/components/desktop/webkitgtk4-dev/webkit/Source/WebCore/rendering/TextBoxPainter.h:50:81: warning: ISO C++ forbids declaration of &apos;PaintInfo&apos; with no type [-fpermissive]
   50 |     TextBoxPainter(const LayoutIntegration::InlineContent&amp;, const Layout::Run&amp;, PaintInfo&amp;, const LayoutPoint&amp; paintOffset);
      |                                                                                 ^~~~~~~~~
/build/rocketman/components/desktop/webkitgtk4-dev/webkit/Source/WebCore/rendering/TextBoxPainter.h:50:81: error: expected &apos;;&apos; at end of member declaration
   50 |     TextBoxPainter(const LayoutIntegration::InlineContent&amp;, const Layout::Run&amp;, PaintInfo&amp;, const LayoutPoint&amp; paintOffset);
      |                                                                                 ^~~~~~~~~
      |                                                                                          ;
/build/rocketman/components/desktop/webkitgtk4-dev/webkit/Source/WebCore/rendering/TextBoxPainter.h:50:91: error: expected unqualified-id before &apos;,&apos; token
   50 |     TextBoxPainter(const LayoutIntegration::InlineContent&amp;, const Layout::Run&amp;, PaintInfo&amp;, const LayoutPoint&amp; paintOffset);
      |                                                                                           ^
/build/rocketman/components/desktop/webkitgtk4-dev/webkit/Source/WebCore/rendering/TextBoxPainter.h:58:58: error: &apos;PaintInfo&apos; is not a type
   58 |     TextBoxPainter(LayoutIntegration::TextRunIterator&amp;&amp;, PaintInfo&amp;, const LayoutPoint&amp; paintOffset);
      |                                                          ^~~~~~~~~
/build/rocketman/components/desktop/webkitgtk4-dev/webkit/Source/WebCore/rendering/TextBoxPainter.h:92:5: error: &apos;PaintInfo&apos; does not name a type
   92 |     PaintInfo&amp; m_paintInfo;
      |     ^~~~~~~~~
[2758/5099] Building CXX object Source...sources/UnifiedSource-043dd90b-6.cpp.o
ninja: build stopped: subcommand failed.
gmake: *** [/build/rocketman/make-rules/justmake.mk:65: /build/rocketman/components/desktop/webkitgtk4-dev/build/amd64/.built] Error 1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1796090</commentid>
    <comment_count>1</comment_count>
    <who name="Jim Mason">jmason</who>
    <bug_when>2021-09-22 08:45:29 -0700</bug_when>
    <thetext>This has been fixed by r282788 &lt;ross.kirsling@sony.com&gt;: &quot;Unreviewed build fix for WinCairo with ENABLE_EXPERIMENTAL_FEATURES off&quot;

Thank you, Ross!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>