Bug 311030
| Summary: | [Win] WebKit Windows port cannot be built at the root of the drive. | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | ryosei.otaka |
| Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Local Build | ||
| Hardware: | PC | ||
| OS: | Windows 11 | ||
ryosei.otaka
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
Pull request: https://github.com/WebKit/WebKit/pull/61627
EWS
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
<rdar://problem/173663807>