<?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>136921</bug_id>
          
          <creation_ts>2014-09-18 07:30:53 -0700</creation_ts>
          <short_desc>[GTK] Cannot find WebCore/LayoutUnit.h</short_desc>
          <delta_ts>2015-04-24 21:17:13 -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>WebKitGTK</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</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="Geng Qifu">qifugeng2002</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>berto</cc>
    
    <cc>cgarcia</cc>
    
    <cc>mrobinson</cc>
    
    <cc>pnormand</cc>
    
    <cc>zan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1035916</commentid>
    <comment_count>0</comment_count>
    <who name="Geng Qifu">qifugeng2002</who>
    <bug_when>2014-09-18 07:30:53 -0700</bug_when>
    <thetext>When build webkit on ubuntu 14.04, there is an error:
../../Tools/TestWebKitAPI/Tests/WebCore/LayoutUnit.cpp:34:32: fatal error: WebCore/LayoutUnit.h: No such file or directory

[5/117] Building CXX object Tools/TestWebKitAPI/CMakeFiles/TestWebCore.dir/Tests/WebCore/LayoutUnit.cpp.o
FAILED: /usr/bin/c++   -DBUILDING_GTK__=1 -DBUILDING_WEBKIT2__ -DBUILDING_WITH_CMAKE=1 -DDATA_DIR=\&quot;share\&quot; -DENABLE_3D_RENDERING=1 -DENABLE_PLUGIN_PROCESS_GTK2=1 -DGETTEXT_PACKAGE=\&quot;WebKit2GTK-4.0\&quot; -DGTEST_HAS_RTTI=0 -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -DHAVE_CONFIG_H=1 -DMOZ_X11=1 -DTEST_INJECTED_BUNDLE_PATH=\&quot;/home/gengqifu/projects/WebKit/WebKitBuild/Release/lib/libTestWebKitAPIInjectedBundle.so\&quot; -DTEST_WEBKIT2_RESOURCES_DIR=\&quot;/home/gengqifu/projects/WebKit/Tools/TestWebKitAPI/Tests/WebKit2\&quot; -DUSER_AGENT_GTK_MAJOR_VERSION=601 -DUSER_AGENT_GTK_MINOR_VERSION=1 -DWEBKITGTK_API_VERSION_STRING=\&quot;4.0\&quot; -DWTF_PLATFORM_X11=1 -DWTF_USE_3D_GRAPHICS=1 -DWTF_USE_EGL=1 -DWTF_USE_GLX=1 -DWTF_USE_GSTREAMER -DWTF_USE_OPENGL=1 -DWTF_USE_TEXTURE_MAPPER=1 -DWTF_USE_TEXTURE_MAPPER_GL=1 -DWTF_USE_WEBAUDIO_GSTREAMER -DXP_UNIX -std=c++11 -O3 -DNDEBUG -fno-exceptions -fno-strict-aliasing -fno-rtti -fno-omit-frame-pointer -fno-tree-dce -I. -I../../Tools/TestWebKitAPI -I../../Source -IDerivedSources/JavaScriptCore -IDerivedSources/WebCore -I../../Source/JavaScriptCore -I../../Source/JavaScriptCore/API -I../../Source/JavaScriptCore/ForwardingHeaders -I../../Source/JavaScriptCore/assembler -I../../Source/JavaScriptCore/bytecode -I../../Source/JavaScriptCore/disassembler -I../../Source/JavaScriptCore/interpreter -I../../Source/JavaScriptCore/heap -I../../Source/JavaScriptCore/jit -I../../Source/JavaScriptCore/llint -I../../Source/JavaScriptCore/parser -I../../Source/JavaScriptCore/runtime -I../../Source/ThirdParty/gtest/include -I../../Source/WebCore/editing -I../../Source/WebCore/platform -I../../Source/WebCore/platform/graphics -I../../Source/WebCore/platform/text -I../../Source/WebCore/platform/network -I../../Source/WebCore/platform/network/soup -I../../Source/WebKit2/Platform/IPC -I../../Source/WebKit2/Shared -I../../Source/WebKit2/Shared/API/c -I../../Source/WebKit2/Shared/Plugins -I../../Source/WebKit2/UIProcess -I../../Source/WebKit2/WebProcess/InjectedBundle -I../../Source/WebKit2/WebProcess/InjectedBundle/API/c -I../../Source/WTF -IDerivedSources/ForwardingHeaders -I../../Source/WebKit2/UIProcess/API/C/soup -I../../Source/WebKit2/UIProcess/API/C/gtk -I../../Source/WebKit2/UIProcess/API/gtk -I../Dependencies/Root/include/gtk-3.0 -I../Dependencies/Root/include/gio-unix-2.0 -I../Dependencies/Root/include/cairo -I../Dependencies/Root/include/gdk-pixbuf-2.0 -I../Dependencies/Root/include/glib-2.0 -I../Dependencies/Root/lib64/glib-2.0/include -I../Dependencies/Root/include/pixman-1 -I../Dependencies/Root/include/freetype2 -I../Dependencies/Root/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libpng12 -I/usr/include/libdrm -I../Dependencies/Root/include/atk-1.0 -I../Dependencies/Root/include/at-spi2-atk/2.0 -I../Dependencies/Root/include/libsoup-2.4 -MMD -MT Tools/TestWebKitAPI/CMakeFiles/TestWebCore.dir/Tests/WebCore/LayoutUnit.cpp.o -MF &quot;Tools/TestWebKitAPI/CMakeFiles/TestWebCore.dir/Tests/WebCore/LayoutUnit.cpp.o.d&quot; -o Tools/TestWebKitAPI/CMakeFiles/TestWebCore.dir/Tests/WebCore/LayoutUnit.cpp.o -c ../../Tools/TestWebKitAPI/Tests/WebCore/LayoutUnit.cpp
../../Tools/TestWebKitAPI/Tests/WebCore/LayoutUnit.cpp:34:32: fatal error: WebCore/LayoutUnit.h: No such file or directory

I do a workaround for this error:
Add absolute path &quot;...Tools/TestWebKitAPI/ForwardingHeaders&quot; in file Tools/TestWebKitAPI, under include_directories.
Then building continue and success.

I think the variable ${FORWARDING_HEADERS_DIR} is not correctly set here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1036838</commentid>
    <comment_count>1</comment_count>
    <who name="Alberto Garcia">berto</who>
    <bug_when>2014-09-23 14:20:24 -0700</bug_when>
    <thetext>Can you tell me the exact steps you use to build WebKit?

Do you use ninja or make?

Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1036968</commentid>
    <comment_count>2</comment_count>
    <who name="Geng Qifu">qifugeng2002</who>
    <bug_when>2014-09-24 08:17:31 -0700</bug_when>
    <thetext>
I build it follow this page:
http://trac.webkit.org/wiki/BuildingGtk
I use make rather than ninja.

(In reply to comment #1)
&gt; Can you tell me the exact steps you use to build WebKit?
&gt; 
&gt; Do you use ninja or make?
&gt; 
&gt; Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1053322</commentid>
    <comment_count>3</comment_count>
    <who name="Alberto Garcia">berto</who>
    <bug_when>2014-12-08 01:34:16 -0800</bug_when>
    <thetext>I have never been able to reproduce this, is this still happening with the latest webkit?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1088473</commentid>
    <comment_count>4</comment_count>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2015-04-24 21:17:13 -0700</bug_when>
    <thetext>Closing this since we don&apos;t have any word of a reproduction.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>