<?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>197155</bug_id>
          
          <creation_ts>2019-04-22 03:54:14 -0700</creation_ts>
          <short_desc>WebKitGTK+ build fails</short_desc>
          <delta_ts>2019-04-29 07:33:29 -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 Local Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <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="Tuti">zrqrrahe</reporter>
          <assigned_to name="Philippe Normand">pnormand</assigned_to>
          <cc>pnormand</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1529214</commentid>
    <comment_count>0</comment_count>
    <who name="Tuti">zrqrrahe</who>
    <bug_when>2019-04-22 03:54:14 -0700</bug_when>
    <thetext>Perhaps I&apos;m doing something wrong, but I can&apos;t get it to build (on Ubuntu 16.04)

cmake command:
cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=. -DCMAKE_SKIP_RPATH=ON -DPORT=GTK -DLIB_INSTALL_DIR=./lib -DUSE_LIBHYPHEN=OFF -DENABLE_MINIBROWSER=ON -DUSE_SYSTEM_MALLOC=ON -DENABLE_GEOLOCATION=OFF -DENABLE_GTKDOC=OFF -DENABLE_INTROSPECTION=OFF -DENABLE_OPENGL=OFF -DENABLE_ACCELERATED_2D_CANVAS=OFF -DENABLE_CREDENTIAL_STORAGE=OFF -DENABLE_GAMEPAD_DEPRECATED=OFF -DENABLE_MEDIA_STREAM=OFF -DENABLE_WEB_RTC=OFF -DENABLE_PLUGIN_PROCESS_GTK2=OFF -DENABLE_SPELLCHECK=OFF -DENABLE_VIDEO=OFF -DENABLE_WEB_AUDIO=OFF -DUSE_LIBNOTIFY=OFF -DENABLE_SUBTLE_CRYPTO=OFF -DUSE_WOFF2=OFF -DENABLE_BUBBLEWRAP_SANDBOX=OFF -DUSE_OPENJPEG=OFF -Wno-dev ..


build error:
WebKit/Source/WebKit/UIProcess/glib/WebProcessPoolGLib.cpp:34:10: fatal error: &apos;WebCore/GStreamerCommon.h&apos; file not found
#include &lt;WebCore/GStreamerCommon.h&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1530331</commentid>
    <comment_count>1</comment_count>
      <attachid>368220</attachid>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2019-04-25 01:03:07 -0700</bug_when>
    <thetext>Created attachment 368220
patch

Can you try this?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1531050</commentid>
    <comment_count>2</comment_count>
    <who name="Tuti">zrqrrahe</who>
    <bug_when>2019-04-28 08:06:03 -0700</bug_when>
    <thetext>Thanks.

Tried unsuccessfully:
[100%] Building CXX object Source/WebKit/CMakeFiles/WebKit.dir/__/__/DerivedSources/WebKit/unified-sources/UnifiedSource-54928a2b-31.cpp.o
In file included from /WebKit/build/DerivedSources/WebKit/unified-sources/UnifiedSource-54928a2b-31.cpp:3:
/WebKit/Source/WebKit/WebProcess/glib/WebProcessGLib.cpp:31:10: fatal error: &apos;WebCore/GStreamerCommon.h&apos; file not found
#include &lt;WebCore/GStreamerCommon.h&gt;
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
Source/WebKit/CMakeFiles/WebKit.dir/build.make:10917: recipe for target &apos;Source/WebKit/CMakeFiles/WebKit.dir/__/__/DerivedSources/WebKit/unified-sources/UnifiedSource-54928a2b-31.cpp.o&apos; failed
make[2]: *** [Source/WebKit/CMakeFiles/WebKit.dir/__/__/DerivedSources/WebKit/unified-sources/UnifiedSource-54928a2b-31.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /WebKit/build/DerivedSources/WebKit/unified-sources/UnifiedSource-54928a2b-29.cpp:6:
In file included from /WebKit/Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.cpp:32:
/WebKit/Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.h:176:14: warning: private field &apos;m_webPage&apos; is not used [-Wunused-private-field]
    WebPage&amp; m_webPage;
             ^
1 warning generated.
In file included from /WebKit/Source/WebKit/WebProcess/WebPage/WebPage.cpp:167:
In file included from /WebKit/build/DerivedSources/ForwardingHeaders/WebCore/GraphicsContext3D.h:28:
/WebKit/build/DerivedSources/ForwardingHeaders/WebCore/ANGLEWebKitBridge.h:35:10: fatal error: &apos;ANGLE/ShaderLang.h&apos; file not found
#include &lt;ANGLE/ShaderLang.h&gt;
         ^~~~~~~~~~~~~~~~~~~~
1 error generated.
Source/WebKit/CMakeFiles/WebKit.dir/build.make:10797: recipe for target &apos;Source/WebKit/CMakeFiles/WebKit.dir/WebProcess/WebPage/WebPage.cpp.o&apos; failed
make[2]: *** [Sour

I forgot to mention I am building using the following patch:
https://github.com/googleprojectzero/p0tools/tree/master/WebKitFuzz

What seems to be breaking the build are the changes made to Source/WebKit/PlatformGTK.cmake</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1531121</commentid>
    <comment_count>3</comment_count>
    <who name="Tuti">zrqrrahe</who>
    <bug_when>2019-04-29 01:49:24 -0700</bug_when>
    <thetext>And this is the cmake command

cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=. -DCMAKE_SKIP_RPATH=ON -DPORT=GTK -DLIB_INSTALL_DIR=./lib -DUSE_LIBHYPHEN=OFF -DENABLE_MINIBROWSER=ON -DUSE_SYSTEM_MALLOC=ON -DENABLE_GEOLOCATION=OFF -DENABLE_GTKDOC=OFF -DENABLE_INTROSPECTION=OFF -DENABLE_OPENGL=OFF -DENABLE_ACCELERATED_2D_CANVAS=OFF -DENABLE_CREDENTIAL_STORAGE=OFF -DENABLE_GAMEPAD_DEPRECATED=OFF -DENABLE_MEDIA_STREAM=OFF -DENABLE_WEB_RTC=OFF -DENABLE_PLUGIN_PROCESS_GTK2=OFF -DENABLE_SPELLCHECK=OFF -DENABLE_VIDEO=OFF -DENABLE_WEB_AUDIO=OFF -DUSE_LIBNOTIFY=OFF -DENABLE_SUBTLE_CRYPTO=OFF -DUSE_WOFF2=OFF -DENABLE_BUBBLEWRAP_^CNDBOX=OFF -DUSE_OPENJPEG=OFF -Wno-dev ..</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>368220</attachid>
            <date>2019-04-25 01:03:07 -0700</date>
            <delta_ts>2019-04-25 01:03:07 -0700</delta_ts>
            <desc>patch</desc>
            <filename>patch.diff</filename>
            <type>text/plain</type>
            <size>646</size>
            <attacher name="Philippe Normand">pnormand</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1NvdXJjZS9XZWJLaXQvVUlQcm9jZXNzL2dsaWIvV2ViUHJvY2Vzc1Bvb2xH
TGliLmNwcCBiL1NvdXJjZS9XZWJLaXQvVUlQcm9jZXNzL2dsaWIvV2ViUHJvY2Vzc1Bvb2xHTGli
LmNwcAppbmRleCBiMWUwOTY1MGIwMy4uNDA3ZjZhOWUyY2IgMTAwNjQ0Ci0tLSBhL1NvdXJjZS9X
ZWJLaXQvVUlQcm9jZXNzL2dsaWIvV2ViUHJvY2Vzc1Bvb2xHTGliLmNwcAorKysgYi9Tb3VyY2Uv
V2ViS2l0L1VJUHJvY2Vzcy9nbGliL1dlYlByb2Nlc3NQb29sR0xpYi5jcHAKQEAgLTMxLDEwICsz
MSwxMyBAQAogI2luY2x1ZGUgIldlYk1lbW9yeVByZXNzdXJlSGFuZGxlci5oIgogI2luY2x1ZGUg
IldlYlByb2Nlc3NDcmVhdGlvblBhcmFtZXRlcnMuaCIKICNpbmNsdWRlIDxKYXZhU2NyaXB0Q29y
ZS9SZW1vdGVJbnNwZWN0b3JTZXJ2ZXIuaD4KLSNpbmNsdWRlIDxXZWJDb3JlL0dTdHJlYW1lckNv
bW1vbi5oPgogI2luY2x1ZGUgPHd0Zi9GaWxlU3lzdGVtLmg+CiAjaW5jbHVkZSA8d3RmL2dsaWIv
R1VuaXF1ZVB0ci5oPgogCisjaWYgVVNFKEdTVFJFQU1FUikKKyNpbmNsdWRlIDxXZWJDb3JlL0dT
dHJlYW1lckNvbW1vbi5oPgorI2VuZGlmCisKICNpZiBQTEFURk9STShXUEUpCiAjaW5jbHVkZSA8
d3BlL3dwZS5oPgogI2VuZGlmCg==
</data>

          </attachment>
      

    </bug>

</bugzilla>