WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
311030
[Win] WebKit Windows port cannot be built at the root of the drive.
https://bugs.webkit.org/show_bug.cgi?id=311030
Summary
[Win] WebKit Windows port cannot be built at the root of the drive.
ryosei.otaka
Reported
2026-03-29 09:19:03 PDT
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="Win" ... ;skia;woff2" "D:"`. 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="Win" ... ;skia;woff2" "D:"` CORRECT : `cmake -DPORT="Win" ... ;skia;woff2" "D:\"`
Attachments
Add attachment
proposed patch, testcase, etc.
ryosei.otaka
Comment 1
2026-03-29 09:40:22 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/61627
EWS
Comment 2
2026-03-29 22:17:53 PDT
Committed
310200@main
(54dbe2c9f3dc): <
https://commits.webkit.org/310200@main
> Reviewed commits have been landed. Closing PR #61627 and removing active labels.
Radar WebKit Bug Importer
Comment 3
2026-03-29 22:18:12 PDT
<
rdar://problem/173663807
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug