<?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>212043</bug_id>
          
          <creation_ts>2020-05-18 13:31:06 -0700</creation_ts>
          <short_desc>REGRESSION(r257463): [GTK] Build failure with -DENABLE_GLES2=ON</short_desc>
          <delta_ts>2020-05-19 01:21:14 -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>Media</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Catanzaro">mcatanzaro</reporter>
          <assigned_to name="Michael Catanzaro">mcatanzaro</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>calvaris</cc>
    
    <cc>cgarcia</cc>
    
    <cc>ews-watchlist</cc>
    
    <cc>gustavo</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>menard</cc>
    
    <cc>pnormand</cc>
    
    <cc>vjaquez</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1653743</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2020-05-18 13:31:06 -0700</bug_when>
    <thetext>2.29.1 failed to build in gnome-build-meta because we use -DENABLE_GLES=ON for our ARM build. Note we have -DENABLE_X11_TARGET=ON and I see PlatformDisplayX11.h really is included, so this requires further investigation to see what&apos;s up with PlatformDisplayX11. I&apos;ll try a -DENABLE_GLES2=ON build tomorrow and see if I can figure out what&apos;s wrong.


In file included from /usr/include/glib-2.0/gobject/gobject.h:24,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/gstreamer-1.0/gst/gstenumtypes.h:6,
                 from /usr/include/gstreamer-1.0/gst/gst.h:31,
                 from ../Source/WebCore/platform/graphics/gstreamer/GRefPtrGStreamer.h:24,
                 from ../Source/WebCore/platform/graphics/PlatformDisplay.h:37,
                 from ../Source/WebCore/platform/graphics/gstreamer/PlatformDisplayGStreamer.cpp:21:
../Source/WebCore/platform/graphics/gstreamer/PlatformDisplayGStreamer.cpp: In function ‘GstGLDisplay* createGstGLDisplay(const WebCore::PlatformDisplay&amp;)’:
../Source/WebCore/platform/graphics/gstreamer/PlatformDisplayGStreamer.cpp:69:80: error: ‘PlatfomDisplayX11’ was not declared in this scope; did you mean ‘PlatformDisplay_h’?
   69 |         return GST_GL_DISPLAY(gst_gl_display_egl_new_with_egl_display(downcast&lt;PlatfomDisplayX11&gt;(sharedDisplay).eglDisplay()));
      |                                                                                ^~~~~~~~~~~~~~~~~
../Source/WebCore/platform/graphics/gstreamer/PlatformDisplayGStreamer.cpp:69:112: error: no matching function for call to ‘downcast&lt;&lt;expression error&gt; &gt;(const WebCore::PlatformDisplay&amp;)’
   69 |         return GST_GL_DISPLAY(gst_gl_display_egl_new_with_egl_display(downcast&lt;PlatfomDisplayX11&gt;(sharedDisplay).eglDisplay()));
      |                                                                                                                ^
In file included from ../Source/WebCore/platform/graphics/PlatformDisplay.h:30,
                 from ../Source/WebCore/platform/graphics/gstreamer/PlatformDisplayGStreamer.cpp:21:
DerivedSources/ForwardingHeaders/wtf/TypeCasts.h:83:43: note: candidate: ‘template&lt;class Target, class Source&gt; WTF::match_constness_t&lt;Source, Target&gt;* WTF::downcast(Source*)’
   83 | inline match_constness_t&lt;Source, Target&gt;* downcast(Source* source)
      |                                           ^~~~~~~~
DerivedSources/ForwardingHeaders/wtf/TypeCasts.h:83:43: note:   template argument deduction/substitution failed:
In file included from /usr/include/glib-2.0/gobject/gobject.h:24,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/gstreamer-1.0/gst/gstenumtypes.h:6,
                 from /usr/include/gstreamer-1.0/gst/gst.h:31,
                 from ../Source/WebCore/platform/graphics/gstreamer/GRefPtrGStreamer.h:24,
                 from ../Source/WebCore/platform/graphics/PlatformDisplay.h:37,
                 from ../Source/WebCore/platform/graphics/gstreamer/PlatformDisplayGStreamer.cpp:21:
../Source/WebCore/platform/graphics/gstreamer/PlatformDisplayGStreamer.cpp:69:112: error: template argument 1 is invalid
   69 |         return GST_GL_DISPLAY(gst_gl_display_egl_new_with_egl_display(downcast&lt;PlatfomDisplayX11&gt;(sharedDisplay).eglDisplay()));
      |                                                                                                                ^
In file included from ../Source/WebCore/platform/graphics/PlatformDisplay.h:30,
                 from ../Source/WebCore/platform/graphics/gstreamer/PlatformDisplayGStreamer.cpp:21:
DerivedSources/ForwardingHeaders/wtf/TypeCasts.h:75:43: note: candidate: ‘template&lt;class Target, class Source&gt; WTF::match_constness_t&lt;Source, Target&gt;&amp; WTF::downcast(Source&amp;)’
   75 | inline match_constness_t&lt;Source, Target&gt;&amp; downcast(Source&amp; source)
      |                                           ^~~~~~~~
DerivedSources/ForwardingHeaders/wtf/TypeCasts.h:75:43: note:   template argument deduction/substitution failed:
In file included from /usr/include/glib-2.0/gobject/gobject.h:24,
                 from /usr/include/glib-2.0/gobject/gbinding.h:29,
                 from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/gstreamer-1.0/gst/gstenumtypes.h:6,
                 from /usr/include/gstreamer-1.0/gst/gst.h:31,
                 from ../Source/WebCore/platform/graphics/gstreamer/GRefPtrGStreamer.h:24,
                 from ../Source/WebCore/platform/graphics/PlatformDisplay.h:37,
                 from ../Source/WebCore/platform/graphics/gstreamer/PlatformDisplayGStreamer.cpp:21:
../Source/WebCore/platform/graphics/gstreamer/PlatformDisplayGStreamer.cpp:69:112: error: template argument 1 is invalid
   69 |         return GST_GL_DISPLAY(gst_gl_display_egl_new_with_egl_display(downcast&lt;PlatfomDisplayX11&gt;(sharedDisplay).eglDisplay()));
      |                                                                                                                ^</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1653844</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2020-05-18 18:08:37 -0700</bug_when>
    <thetext>(In reply to Michael Catanzaro from comment #0)
&gt; PlatfomDisplayX11

Missing &apos;r&apos; ;)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1653859</commentid>
    <comment_count>2</comment_count>
      <attachid>399695</attachid>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2020-05-18 18:51:49 -0700</bug_when>
    <thetext>Created attachment 399695
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1653951</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2020-05-19 01:20:06 -0700</bug_when>
    <thetext>Committed r261854: &lt;https://trac.webkit.org/changeset/261854&gt;

All reviewed patches have been landed. Closing bug and clearing flags on attachment 399695.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1653953</commentid>
    <comment_count>4</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2020-05-19 01:21:14 -0700</bug_when>
    <thetext>&lt;rdar://problem/63385514&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>399695</attachid>
            <date>2020-05-18 18:51:49 -0700</date>
            <delta_ts>2020-05-19 01:20:07 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-212043-20200518205148.patch</filename>
            <type>text/plain</type>
            <size>1753</size>
            <attacher name="Michael Catanzaro">mcatanzaro</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjYxODI2CmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViQ29yZS9D
aGFuZ2VMb2cgYi9Tb3VyY2UvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXggMjM2NDIxMGUyZGFjNTAy
ODNjNmJjNDZlZGU2MDU5MDI2OGU3MjMwNi4uMzZjYjE1OGZmMzVmZmEzNGM0MjI2YTQ4NzkzMWU4
ZGZhZTZjZWJiNCAxMDA2NDQKLS0tIGEvU291cmNlL1dlYkNvcmUvQ2hhbmdlTG9nCisrKyBiL1Nv
dXJjZS9XZWJDb3JlL0NoYW5nZUxvZwpAQCAtMSwzICsxLDE1IEBACisyMDIwLTA1LTE4ICBNaWNo
YWVsIENhdGFuemFybyAgPG1jYXRhbnphcm9AZ25vbWUub3JnPgorCisgICAgICAgIFJFR1JFU1NJ
T04ocjI1NzQ2Myk6IFtHVEtdIEJ1aWxkIGZhaWx1cmUgd2l0aCAtREVOQUJMRV9HTEVTMj1PTgor
ICAgICAgICBodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9MjEyMDQzCisK
KyAgICAgICAgUmV2aWV3ZWQgYnkgTk9CT0RZIChPT1BTISkuCisKKyAgICAgICAgRml4IHRoZSB0
eXBvICJQbGF0Zm9tIiAtPiAiUGxhdGZvcm0iCisKKyAgICAgICAgKiBwbGF0Zm9ybS9ncmFwaGlj
cy9nc3RyZWFtZXIvUGxhdGZvcm1EaXNwbGF5R1N0cmVhbWVyLmNwcDoKKyAgICAgICAgKGNyZWF0
ZUdzdEdMRGlzcGxheSk6CisKIDIwMjAtMDUtMTggIFdlbnNvbiBIc2llaCAgPHdlbnNvbl9oc2ll
aEBhcHBsZS5jb20+CiAKICAgICAgICAgQWxsb3cgY2xpcGJvYXJkIEFQSSBhY2Nlc3Mgd2hlbiBw
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