<?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>192541</bug_id>
          
          <creation_ts>2018-12-09 08:10:20 -0800</creation_ts>
          <short_desc>Build failure due to missing include of APIWebsiteDataStore.h</short_desc>
          <delta_ts>2018-12-09 12:18:46 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit Misc.</component>
          <version>Other</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>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Adrian Perez">aperez</reporter>
          <assigned_to name="Adrian Perez">aperez</assigned_to>
          <cc>achristensen</cc>
    
    <cc>commit-queue</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>youennf</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1486434</commentid>
    <comment_count>0</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2018-12-09 08:10:20 -0800</bug_when>
    <thetext>Found this while making a WPE build with -DCMAKE_BUILD_TYPE=Debug
and it looks like a missing #include which went unnoticed due to
the usage of unified sources.

We really should have a way of disabling unified sources and have
at least one EWS do builds with them disabled to catch this kind
of issues ~_~

---

In file included from DerivedSources/WebKit/unified-sources/UnifiedSource47.cpp:1:
../Source/WebKit/UIProcess/WebsiteData/WebsiteDataStoreConfiguration.cpp: In constructor  WebKit::WebsiteDataStoreConfiguration::WebsiteDataStoreConfiguration()’:
../Source/WebKit/UIProcess/WebsiteData/WebsiteDataStoreConfiguration.cpp:33:46: error: ‘API::WebsiteDataStore’ has not been declared
     : m_resourceLoadStatisticsDirectory(API::WebsiteDataStore::defaultResourceLoadStatisticsDirectory())
                                              ^~~~~~~~~~~~~~~~</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1486435</commentid>
    <comment_count>1</comment_count>
      <attachid>356922</attachid>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2018-12-09 08:21:22 -0800</bug_when>
    <thetext>Created attachment 356922
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1486438</commentid>
    <comment_count>2</comment_count>
      <attachid>356922</attachid>
    <who name="youenn fablet">youennf</who>
    <bug_when>2018-12-09 09:19:14 -0800</bug_when>
    <thetext>Comment on attachment 356922
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=356922&amp;action=review

&gt; Source/WebKit/UIProcess/WebsiteData/WebsiteDataStoreConfiguration.cpp:27
&gt; +

We usually do not put a line between config.h and the header of the corresponding cpp.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1486442</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2018-12-09 10:19:46 -0800</bug_when>
    <thetext>(In reply to Adrian Perez from comment #0)
&gt; We really should have a way of disabling unified sources and have
&gt; at least one EWS do builds with them disabled to catch this kind
&gt; of issues ~_~

The answer will always be: if there&apos;s a way to disable unified sources, people will use it, and they will introduce build failures that only occur with unified sources enabled.

What I don&apos;t understand is why you hit this build failure when none of the bots did. I presume a different set of build flags somehow results in different unified source bundles, which is a worrisome prospect.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1486446</commentid>
    <comment_count>4</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2018-12-09 11:35:34 -0800</bug_when>
    <thetext>(In reply to Michael Catanzaro from comment #3)
&gt; (In reply to Adrian Perez from comment #0)
&gt; &gt; We really should have a way of disabling unified sources and have
&gt; &gt; at least one EWS do builds with them disabled to catch this kind
&gt; &gt; of issues ~_~
&gt; 
&gt; The answer will always be: if there&apos;s a way to disable unified sources,
&gt; people will use it, and they will introduce build failures that only occur
&gt; with unified sources enabled.

Wrong: people will use whatever is the default. If we have EWS bots which
build both *with* and *without* unified sources, breaking any of them would
prevent patches from going in, which would ensure that both modes are always
working.

&gt; What I don&apos;t understand is why you hit this build failure when none of the
&gt; bots did. I presume a different set of build flags somehow results in
&gt; different unified source bundles, which is a worrisome prospect.

Yes, I am working on having content extensions working for the WPE and GTK+
ports, so on top of having the option enabled there are additional files
added to the list of sources to build ;-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1486447</commentid>
    <comment_count>5</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2018-12-09 11:36:28 -0800</bug_when>
    <thetext>(In reply to youenn fablet from comment #2)
&gt; Comment on attachment 356922 [details]
&gt; Patch
&gt; 
&gt; View in context:
&gt; https://bugs.webkit.org/attachment.cgi?id=356922&amp;action=review
&gt; 
&gt; &gt; Source/WebKit/UIProcess/WebsiteData/WebsiteDataStoreConfiguration.cpp:27
&gt; &gt; +
&gt; 
&gt; We usually do not put a line between config.h and the header of the
&gt; corresponding cpp.

I think the style checker complained, but I&apos;ll double-check before
landing. Thanks for the review!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1486448</commentid>
    <comment_count>6</comment_count>
      <attachid>356927</attachid>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2018-12-09 11:40:21 -0800</bug_when>
    <thetext>Created attachment 356927
Patch for landing</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1486449</commentid>
    <comment_count>7</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2018-12-09 11:43:32 -0800</bug_when>
    <thetext>(In reply to Adrian Perez from comment #5)
&gt; (In reply to youenn fablet from comment #2)
&gt; &gt; Comment on attachment 356922 [details]
&gt; &gt; Patch
&gt; &gt; 
&gt; &gt; View in context:
&gt; &gt; https://bugs.webkit.org/attachment.cgi?id=356922&amp;action=review
&gt; &gt; 
&gt; &gt; &gt; Source/WebKit/UIProcess/WebsiteData/WebsiteDataStoreConfiguration.cpp:27
&gt; &gt; &gt; +
&gt; &gt; 
&gt; &gt; We usually do not put a line between config.h and the header of the
&gt; &gt; corresponding cpp.
&gt; 
&gt; I think the style checker complained, but I&apos;ll double-check before
&gt; landing. Thanks for the review!

You were right -- the style checker complained about a different thing
(I still had the message in the scrollback of my terminal emulator!).
I have removed the empty line as suggested and re-sent the patch for
landing.

:)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1486450</commentid>
    <comment_count>8</comment_count>
      <attachid>356927</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2018-12-09 12:17:28 -0800</bug_when>
    <thetext>Comment on attachment 356927
Patch for landing

Clearing flags on attachment: 356927

Committed r239022: &lt;https://trac.webkit.org/changeset/239022&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1486451</commentid>
    <comment_count>9</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2018-12-09 12:17:29 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1486452</commentid>
    <comment_count>10</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2018-12-09 12:18:46 -0800</bug_when>
    <thetext>&lt;rdar://problem/46581101&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>356922</attachid>
            <date>2018-12-09 08:21:22 -0800</date>
            <delta_ts>2018-12-09 11:40:15 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-192541-20181209182121.patch</filename>
            <type>text/plain</type>
            <size>1385</size>
            <attacher name="Adrian Perez">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AtLWdpdCBhL1NvdXJjZS9XZWJLaXQvVUlQcm9j
ZXNzL1dlYnNpdGVEYXRhL1dlYnNpdGVEYXRhU3RvcmVDb25maWd1cmF0aW9uLmNwcCBiL1NvdXJj
ZS9XZWJLaXQvVUlQcm9jZXNzL1dlYnNpdGVEYXRhL1dlYnNpdGVEYXRhU3RvcmVDb25maWd1cmF0
aW9uLmNwcAppbmRleCAzMmVlOTRhNTFiMDJmOWI4ZTEyYTEyYTYzMjBiMjhhNTgxZWRjMzVhLi4z
YzRlMDY0NGVmZjc2NDU0ODk4NTY4MTczYmI4MDIzZDhiYjk4NGVjIDEwMDY0NAotLS0gYS9Tb3Vy
Y2UvV2ViS2l0L1VJUHJvY2Vzcy9XZWJzaXRlRGF0YS9XZWJzaXRlRGF0YVN0b3JlQ29uZmlndXJh
dGlvbi5jcHAKKysrIGIvU291cmNlL1dlYktpdC9VSVByb2Nlc3MvV2Vic2l0ZURhdGEvV2Vic2l0
ZURhdGFTdG9yZUNvbmZpZ3VyYXRpb24uY3BwCkBAIC0yNCw4ICsyNCwxMSBAQAogICovCiAKICNp
bmNsdWRlICJjb25maWcuaCIKKwogI2luY2x1ZGUgIldlYnNpdGVEYXRhU3RvcmVDb25maWd1cmF0
aW9uLmgiCiAKKyNpbmNsdWRlICJBUElXZWJzaXRlRGF0YVN0b3JlLmgiCisKIG5hbWVzcGFjZSBX
ZWJLaXQgewogCiBXZWJzaXRlRGF0YVN0b3JlQ29uZmlndXJhdGlvbjo6V2Vic2l0ZURhdGFTdG9y
ZUNvbmZpZ3VyYXRpb24oKQo=
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>356927</attachid>
            <date>2018-12-09 11:40:21 -0800</date>
            <delta_ts>2018-12-09 12:17:28 -0800</delta_ts>
            <desc>Patch for landing</desc>
            <filename>bug-192541-20181209214020.patch</filename>
            <type>text/plain</type>
            <size>1374</size>
            <attacher name="Adrian Perez">aperez</attacher>
            
              <data enco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