<?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>311030</bug_id>
          
          <creation_ts>2026-03-29 09:19:03 -0700</creation_ts>
          <short_desc>[Win] WebKit Windows port cannot be built at the root of the drive.</short_desc>
          <delta_ts>2026-03-29 22:18:12 -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>Tools / Tests</component>
          <version>WebKit Local Build</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows 11</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>ryosei.otaka</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2194885</commentid>
    <comment_count>0</comment_count>
    <who name="">ryosei.otaka</who>
    <bug_when>2026-03-29 09:19:03 -0700</bug_when>
    <thetext>If you try to build WebKit at the root of the drive, you cannot build.

e.g.
If you checkout WebKit/WebKit at `D:\` and you try to build using `perl Tools\Scripts\build-webkit --release` command, build-webkit runs `cmake -DPORT=&quot;Win&quot; ... ;skia;woff2&quot; &quot;D:&quot;`.

build-webkit uses `D:` to mean `D:\`.
But, on Windows, `D:` means `Relative path to the current directory on that drive`.
Therefore, cmake understand the path `D:` with `Relative path to the current directory on that drive`.
And then, vcpkg is looking for `vcpkg.json` at `D:\WebKitBuild\Release\`, but there are no `vcpkg.json`.

To fix this, webkit-build must add `\` to the end of path.
WRONG : `cmake -DPORT=&quot;Win&quot; ... ;skia;woff2&quot; &quot;D:&quot;`
CORRECT : `cmake -DPORT=&quot;Win&quot; ... ;skia;woff2&quot; &quot;D:\&quot;`</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2194886</commentid>
    <comment_count>1</comment_count>
    <who name="">ryosei.otaka</who>
    <bug_when>2026-03-29 09:40:22 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/61627</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2194995</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-03-29 22:17:53 -0700</bug_when>
    <thetext>Committed 310200@main (54dbe2c9f3dc): &lt;https://commits.webkit.org/310200@main&gt;

Reviewed commits have been landed. Closing PR #61627 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2194996</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2026-03-29 22:18:12 -0700</bug_when>
    <thetext>&lt;rdar://problem/173663807&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>