<?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>190183</bug_id>
          
          <creation_ts>2018-10-01 20:00:38 -0700</creation_ts>
          <short_desc>[Win][Ninja] incremental build failure of WebKit due to not triggering recompilations by modifying WebCore forwarding header</short_desc>
          <delta_ts>2025-01-13 22:58:36 -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>WebKit2</component>
          <version>WebKit 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="Fujii Hironori">fujii</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>don.olmstead</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1465374</commentid>
    <comment_count>0</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2018-10-01 20:00:38 -0700</bug_when>
    <thetext>[Win][Ninja] incremental build failure of WebKit due to not triggering recompilations by modifying WebCore forwarding header

Applying Bug 190154 Comment 3 causes incremental build failure of WebKit.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1465377</commentid>
    <comment_count>1</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2018-10-01 20:16:46 -0700</bug_when>
    <thetext>&gt; C:\webkit\ga\WebKitBuild\Release&gt;ninja -t deps Source\WebKit\CMakeFiles\WebKit.dir\Shared\curl\WebCoreArgumentCodersCurl.cpp.obj | findstr ResourceRequest
&gt;     derivedsources/forwardingheaders/webcore/ResourceRequest.h
&gt;     derivedsources/forwardingheaders/webcore/ResourceRequestBase.h
&gt; 
&gt; C:\webkit\ga\WebKitBuild\Release&gt;ninja -t query DerivedSources\ForwardingHeaders\WebCore\ResourceRequestBase.h
&gt; DerivedSources/ForwardingHeaders/WebCore/ResourceRequestBase.h:
&gt;   input: CUSTOM_COMMAND
&gt;     ../../Source/WebCore/platform/network/ResourceRequestBase.h
&gt;   outputs:
&gt;     Source/WebCore/WebCoreForwardingHeaders
&gt;     Source/WebCore/CMakeFiles/WebCoreForwardingHeaders

case sensitive issue?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1465381</commentid>
    <comment_count>2</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2018-10-01 20:41:24 -0700</bug_when>
    <thetext>By googling,

https://chromium.googlesource.com/external/martine/ninja/+/02d51b3f3d3058411a06bb08d5b773f60848fec4
https://bugs.chromium.org/p/chromium/issues/detail?id=242397

But, I don&apos;t understand.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1467737</commentid>
    <comment_count>3</comment_count>
    <who name="Don Olmstead">don.olmstead</who>
    <bug_when>2018-10-10 09:46:14 -0700</bug_when>
    <thetext>Won&apos;t this just be fixed if we move to copying all files and enumerating them? We&apos;re still doing groups in our copying.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1467925</commentid>
    <comment_count>4</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2018-10-10 19:15:53 -0700</bug_when>
    <thetext>I don&apos;t understand this issue yet. Hopefully, it will be fixed by switching to Clang (Bug 171618).

There is a ticket in Ninja issue tracker.

Make path matching case insensitive on Windows by moroten · Pull Request #1393 · ninja-build/ninja
https://github.com/ninja-build/ninja/pull/1393

Stop `-t msvc -o` from lowercasing paths from /showIncludes output. by nico · Pull Request #589 · ninja-build/ninja
https://github.com/ninja-build/ninja/pull/589</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1468337</commentid>
    <comment_count>5</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2018-10-11 20:09:46 -0700</bug_when>
    <thetext>Finally, I think maybe I understand this issue.

This is a problem because the output directory
DerivedSources/ForwardingHeaders/WebCore has uppercase. while
Chromium uses lowercase for directory names of generated headers.

Possible solutions are:
* Downcase output directory names for generated headers
* Use MSBuild instead of Ninja
* Fix Ninja</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1468349</commentid>
    <comment_count>6</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2018-10-11 20:53:33 -0700</bug_when>
    <thetext>I have confirmed &apos;clang-cl /showIncludes&apos; seems to preserve original casing, and it recompiles fine in this case.

&gt; C:\webkit\gb\WebKitBuild\Release&gt;ninja -t deps Source\WebKit\CMakeFiles\WebKit.dir\Shared\curl\WebCoreArgumentCodersCurl.cpp.obj | findstr ResourceRequest
&gt;     DerivedSources/ForwardingHeaders/WebCore/ResourceRequest.h
&gt;     DerivedSources/ForwardingHeaders/WebCore/ResourceRequestBase.h

This becomes another reason WinCairo port should switch to Clang (Bug 171618).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2086976</commentid>
    <comment_count>7</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2025-01-13 22:58:36 -0800</bug_when>
    <thetext>WinCairo port has switched to clang-cl. I think this problem is no longer happenning. Closed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>