<?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>178407</bug_id>
          
          <creation_ts>2017-10-17 14:06:39 -0700</creation_ts>
          <short_desc>[GTK][Stable] BackingStoreBackendCairoImpl.h:23:10: fatal error: WebCore/HysteresisActivity.h</short_desc>
          <delta_ts>2017-10-18 06:26:58 -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>WebKit Local Build</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>macOS 10.13</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>s172262</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>cgarcia</cc>
    
    <cc>clopez</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>zan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1361409</commentid>
    <comment_count>0</comment_count>
    <who name="">s172262</who>
    <bug_when>2017-10-17 14:06:39 -0700</bug_when>
    <thetext>I tried to build webkitgtk+ ver 2.18.0 with cairo on macos10.13.

&gt;BackingStoreBackendCairoImpl.h:23:10: fatal error: WebCore/HysteresisActivity.h

Please change in Source/WebCore/platform/graphics/cairo/BackingStoreBackendCairoImpl.h at line 23.

- #include &lt;WebCore/HysteresisActivity.h&gt;
+ #include &lt;WebCore/platform/HysteresisActivity.h&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1361479</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2017-10-17 16:39:59 -0700</bug_when>
    <thetext>Thanks for this bug report.

(In reply to s172262 from comment #0)
&gt; I tried to build webkitgtk+ ver 2.18.0 with cairo on macos10.13.
&gt; 
&gt; &gt;BackingStoreBackendCairoImpl.h:23:10: fatal error: WebCore/HysteresisActivity.h
&gt; 
&gt; Please change in
&gt; Source/WebCore/platform/graphics/cairo/BackingStoreBackendCairoImpl.h at
&gt; line 23.
&gt; 
&gt; - #include &lt;WebCore/HysteresisActivity.h&gt;
&gt; + #include &lt;WebCore/platform/HysteresisActivity.h&gt;

WebKit coding style is to add the right include directories, so that full paths are not required. So the right fix is to add the right include path in some CMake file somewhere. Can&apos;t tell where without more of a build log to see where BackingStoreBackendCairoImpl.h is being included from. But it&apos;s very, very odd that WebCore/platform would not already be in the include path.

Anyway, HysteresisActivity has been moved to PAL in trunk, so it&apos;ll need to be fixed separately for 2.18. We&apos;re not going to fix it ourselves as we don&apos;t actually develop or support WebKitGTK+ on Mac, but we do consider community patches when posted following the guidance at https://webkit.org/contributing-code/#create-the-patch if you want to take a stab at it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1361537</commentid>
    <comment_count>2</comment_count>
    <who name="">s172262</who>
    <bug_when>2017-10-17 19:30:35 -0700</bug_when>
    <thetext>&gt; We&apos;re not going to fix it ourselves as we don&apos;t actually develop or support WebKitGTK+ on Mac,
&gt; but we do consider community patches when posted following the guidance at
&gt; https://webkit.org/contributing-code/#create-the-patch if you want to take a  stab at it.

I know this isn&apos;t only MacOS&apos;s matter.

See https://www.mail-archive.com/slackbuilds-users@slackbuilds.org/msg17290.html
and https://lists.nongnu.org/archive/html/bug-guix/2017-10/msg00083.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1361546</commentid>
    <comment_count>3</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2017-10-17 20:03:58 -0700</bug_when>
    <thetext>I think the fix may be to include the header quoted as the include is from a header or WebCore into another of WebCore.

Can you check if this will fix the issue?

- #include &lt;WebCore/HysteresisActivity.h&gt;
+ #include &quot;HysteresisActivity.h&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1361579</commentid>
    <comment_count>4</comment_count>
      <attachid>324099</attachid>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2017-10-17 23:38:43 -0700</bug_when>
    <thetext>Created attachment 324099
Patch

This is for 2.18, it won&apos;t apply in trunk</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1361631</commentid>
    <comment_count>5</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2017-10-18 02:56:20 -0700</bug_when>
    <thetext>Committed r223597</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1361670</commentid>
    <comment_count>6</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2017-10-18 06:26:58 -0700</bug_when>
    <thetext>The fix was merged on WebKitGTK+ 2.18.1 that was released a few hours ago.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>324099</attachid>
            <date>2017-10-17 23:38:43 -0700</date>
            <delta_ts>2017-10-18 02:53:10 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>wc-include.diff</filename>
            <type>text/plain</type>
            <size>1479</size>
            <attacher name="Carlos Garcia Campos">cgarcia</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1NvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZyBiL1NvdXJjZS9XZWJDb3JlL0No
YW5nZUxvZwppbmRleCAyYjg2MmVhODAyMC4uZDEyMjE5ODBiNmUgMTAwNjQ0Ci0tLSBhL1NvdXJj
ZS9XZWJDb3JlL0NoYW5nZUxvZworKysgYi9Tb3VyY2Uv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Z1N0b3JlQmFja2VuZENhaXJvSW1wbC5oCisrKyBi
L1NvdXJjZS9XZWJDb3JlL3BsYXRmb3JtL2dyYXBoaWNzL2NhaXJvL0JhY2tpbmdTdG9yZUJhY2tl
bmRDYWlyb0ltcGwuaApAQCAtMjAsNyArMjAsNyBAQAogCiAjaWYgVVNFKENBSVJPKQogI2luY2x1
ZGUgIkJhY2tpbmdTdG9yZUJhY2tlbmRDYWlyby5oIgotI2luY2x1ZGUgPFdlYkNvcmUvSHlzdGVy
ZXNpc0FjdGl2aXR5Lmg+CisjaW5jbHVkZSAiSHlzdGVyZXNpc0FjdGl2aXR5LmgiCiAKIG5hbWVz
cGFjZSBXZWJDb3JlIHsKIApAQCAtMzMsNyArMzMsNyBAQCBwcml2YXRlOgogICAgIHZvaWQgc2Ny
b2xsKGNvbnN0IEludFJlY3QmLCBjb25zdCBJbnRTaXplJikgb3ZlcnJpZGU7CiAKICAgICBSZWZQ
dHI8Y2Fpcm9fc3VyZmFjZV90PiBtX3Njcm9sbFN1cmZhY2U7Ci0gICAgV2ViQ29yZTo6SHlzdGVy
ZXNpc0FjdGl2aXR5IG1fc2Nyb2xsZWRIeXN0ZXJlc2lzOworICAgIEh5c3RlcmVzaXNBY3Rpdml0
eSBtX3Njcm9sbGVkSHlzdGVyZXNpczsKIH07CiAKIH0gLy8gbmFtZXNwYWNlIFdlYkNvcmUK
</data>
<flag name="review"
          id="343748"
          type_id="1"
          status="+"
          setter="zan"
    />
          </attachment>
      

    </bug>

</bugzilla>