<?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>147723</bug_id>
          
          <creation_ts>2015-08-05 22:54:09 -0700</creation_ts>
          <short_desc>[GTK] Fix build issue related to the generated WebKitFontFamilyNames.h</short_desc>
          <delta_ts>2015-08-06 22:15:32 -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>528+ (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></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Csaba Osztrogonác">ossy</reporter>
          <assigned_to name="Alex Christensen">achristensen</assigned_to>
          <cc>achristensen</cc>
    
    <cc>calvaris</cc>
    
    <cc>cgarcia</cc>
    
    <cc>clopez</cc>
    
    <cc>commit-queue</cc>
    
    <cc>mrobinson</cc>
    
    <cc>ossy</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1115282</commentid>
    <comment_count>0</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2015-08-05 22:54:09 -0700</bug_when>
    <thetext>Now the build is broken on the GTK bot with the following error:

In file included from ../../Source/WebCore/testing/Internals.cpp:35:
In file included from ../../Source/WebCore/loader/cache/CachedResourceLoader.h:32:
In file included from ../../Source/WebCore/loader/cache/CachedResourceRequest.h:30:
In file included from ../../Source/WebCore/dom/Element.h:29:
In file included from ../../Source/WebCore/dom/Document.h:38:
In file included from ../../Source/WebCore/platform/graphics/FontSelector.h:29:
In file included from ../../Source/WebCore/platform/graphics/FontRanges.h:29:
In file included from ../../Source/WebCore/platform/graphics/Font.h:30:
In file included from ../../Source/WebCore/platform/graphics/FontPlatformData.h:27:
In file included from ../../Source/WebCore/platform/graphics/freetype/FontPlatformData.h:29:
In file included from ../../Source/WebCore/platform/graphics/FontCache.h:33:
../../Source/WebCore/platform/graphics/FontDescription.h:31:10: fatal error: &apos;WebKitFontFamilyNames.h&apos; file not found
#include &quot;WebKitFontFamilyNames.h&quot;
         ^

The problem is that WebKitFontFamilyNames.h isn&apos;t yet generated,
so it must be a dependency problem in the cmake build sysytem.

I don&apos;t have time to work on this bug, I just reported to let you 
know and feel free to pick it up if you are interested in it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1115283</commentid>
    <comment_count>1</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2015-08-05 22:57:30 -0700</bug_when>
    <thetext>First time we can noticed this clean build failure:
https://build.webkit.org/builders/GTK%20Linux%2064-bit%20Release%20%28Build%29/builds/61040, because the build #61039 caused a fresh SVN checkout.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1115284</commentid>
    <comment_count>2</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2015-08-05 23:00:48 -0700</bug_when>
    <thetext>One more thing: It&apos;s strange that EFL doesn&apos;t have this build problem,
but this codes are in common cmake code path as far as I know.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1115290</commentid>
    <comment_count>3</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2015-08-05 23:10:33 -0700</bug_when>
    <thetext>+info: I checked the generated ninja file of GTK and EFL too and it 
seems that testing/MockCDM.cpp is the only one source file which has 
the WebKitFontFamilyNames.h dependency set on EFL. But no other cpp
has set this dependency. Maybe because they are added to 
WebCoreTestSupport_SOURCES and not to WebCore_SOURCES variable.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1115311</commentid>
    <comment_count>4</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2015-08-06 00:59:38 -0700</bug_when>
    <thetext>Looking at the log, it seems to me that r187997 could have introduced the issue, since it removes the WebCore dependency from a couple of targets.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1115329</commentid>
    <comment_count>5</comment_count>
    <who name="Xabier Rodríguez Calvar">calvaris</who>
    <bug_when>2015-08-06 04:43:12 -0700</bug_when>
    <thetext>(In reply to comment #4)
&gt; Looking at the log, it seems to me that r187997 could have introduced the
&gt; issue, since it removes the WebCore dependency from a couple of targets.

It is definitely this revision, I bisected it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1115438</commentid>
    <comment_count>6</comment_count>
      <attachid>258394</attachid>
    <who name="Alex Christensen">achristensen</who>
    <bug_when>2015-08-06 14:05:41 -0700</bug_when>
    <thetext>Created attachment 258394
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1115440</commentid>
    <comment_count>7</comment_count>
    <who name="Alex Christensen">achristensen</who>
    <bug_when>2015-08-06 14:08:17 -0700</bug_when>
    <thetext>Sorry! Brent even commented about that line in WebCore/CMakeLists.txt. I guess EWS doesn&apos;t do clean builds, which is where this problem arises. My bad.

Does this patch fix it?

Also, is it really necessary to have a dependency on ${WEBCORE_DIR}/CMakeLists.txt inside of CMakeLists.txt?  It would save a lot of rebuilding time if that weren&apos;t there, but I&apos;m not sure why it&apos;s there enough to remove it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1115555</commentid>
    <comment_count>8</comment_count>
    <who name="Alex Christensen">achristensen</who>
    <bug_when>2015-08-06 16:59:56 -0700</bug_when>
    <thetext>This seems to prevent me from running into the same issue on the partially-complete CMake build on mac.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1115602</commentid>
    <comment_count>9</comment_count>
      <attachid>258394</attachid>
    <who name="Gyuyoung Kim">gyuyoung.kim</who>
    <bug_when>2015-08-06 19:58:50 -0700</bug_when>
    <thetext>Comment on attachment 258394
Patch

EFL port also has same build error when building it from scratch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1115649</commentid>
    <comment_count>10</comment_count>
      <attachid>258394</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2015-08-06 22:15:26 -0700</bug_when>
    <thetext>Comment on attachment 258394
Patch

Clearing flags on attachment: 258394

Committed r188116: &lt;http://trac.webkit.org/changeset/188116&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1115650</commentid>
    <comment_count>11</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2015-08-06 22:15:32 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>258394</attachid>
            <date>2015-08-06 14:05:41 -0700</date>
            <delta_ts>2015-08-06 22:15:26 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-147723-20150806140532.patch</filename>
            <type>text/plain</type>
            <size>1678</size>
            <attacher name="Alex Christensen">achristensen</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2Vi
Q29yZS9DaGFuZ2VMb2cJKHJldmlzaW9uIDE4ODA1NykKKysrIFNvdXJjZS9XZWJDb3JlL0NoYW5n
ZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwzICsxLDE3IEBACisyMDE1LTA4LTA2ICBBbGV4IENo
cmlzdGVuc2VuICA8YWNocmlzdGVuc2VuQHdlYmtpdC5vcmc+CisKKyAgICAgICAgRml4IEdUSyBj
bGVhbiBidWlsZCBhZnRlciByMTg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gICAgICAgIEFkZCBjb21tZW50IHRvIENTU1BhcnNlclN0cmluZwpJbmRl
eDogU291cmNlL1dlYkNvcmUvQ01ha2VMaXN0cy50eHQKPT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gU291cmNlL1dl
YkNvcmUvQ01ha2VMaXN0cy50eHQJKHJldmlzaW9uIDE4ODA1MykKKysrIFNvdXJjZS9XZWJDb3Jl
L0NNYWtlTGlzdHMudHh0CSh3b3JraW5nIGNvcHkpCkBAIC0zNjQxLDYgKzM2NDEsNyBAQCBpZiAo
TVNWQykKIGVuZGlmICgpCiAKIGFkZF9saWJyYXJ5KFdlYkNvcmVUZXN0U3VwcG9ydCAke1dlYkNv
cmVUZXN0U3VwcG9ydF9MSUJSQVJZX1RZUEV9ICR7V2ViQ29yZVRlc3RTdXBwb3J0X1NPVVJDRVN9
KQorYWRkX2RlcGVuZGVuY2llcyhXZWJDb3JlVGVzdFN1cHBvcnQgV2ViQ29yZSkKIHRhcmdldF9s
aW5rX2xpYnJhcmllcyhXZWJDb3JlVGVzdFN1cHBvcnQgJHtXZWJDb3JlVGVzdFN1cHBvcnRfTElC
UkFSSUVTfSkKIHNldF90YXJnZXRfcHJvcGVydGllcyhXZWJDb3JlVGVzdFN1cHBvcnQgUFJPUEVS
VElFUyBGT0xERVIgIldlYkNvcmUiKQogCg==
</data>

          </attachment>
      

    </bug>

</bugzilla>