[Webkit-unassigned] [Bug 252548] [CMake][Win] ninja: error: build.ninja:35: loading 'CMakeFiles\rules.ninja': The system cannot find the file specified.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Feb 19 14:28:34 PST 2023


https://bugs.webkit.org/show_bug.cgi?id=252548

--- Comment #1 from Fujii Hironori <Hironori.Fujii at sony.com> ---
I don't know how this problem appears. But, it's easy to reproduce the error by removing WebKitBuild/{Debug,Release}/CMakeFiles directory manually.
However, this problem doesn't happen if I remove both CMakeFiles directory and CMakeCache.txt. It executes cmake to regenerate in such a case.
removeCMakeCache actually removes both. Weird.

https://github.com/WebKit/WebKit/blob/5a049809955a360f7ec43aa244acc1e65b4b70e6/Tools/Scripts/webkitdirs.pm#L2683-L2684

> unlink($cmakeCache) if -e $cmakeCache;
> rmtree($cmakeFiles) if -d $cmakeFiles;

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230219/0048568b/attachment.htm>


More information about the webkit-unassigned mailing list