Bug 283733
| Summary: | [WPE][CMake] Clean build fails due to missing output directory for inspector resources | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Adrian Perez <aperez> |
| Component: | CMake | Assignee: | Adrian Perez <aperez> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | ||
| Priority: | P2 | ||
| Version: | WebKit Local Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Adrian Perez
Found while trying to do a distcheck, as it does a clean build in a separate directory:
```
Error writing dependency file: Failed to create file “/app/webkit/WebKitBuild/WPE/Release/wpewebkit-2.47.2/_build/share/inspector.gresource.deps.PS8QX2”: No such file or directory
make[2]: *** [Source/WebKit/CMakeFiles/InspectorResources.dir/build.make:74: share/inspector.gresource] Error 1
make[1]: *** [CMakeFiles/Makefile2:1548: Source/WebKit/CMakeFiles/InspectorResources.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 59%] Built target WebCore
make: *** [Makefile:156: all] Error 2
Traceback (most recent call last):
File "/app/webkit/Tools/Scripts/make-dist", line 349, in <module>
Distcheck(arguments.source_dir, arguments.build_dir).check(output_filename, arguments.port, arguments.unified)
File "/app/webkit/Tools/Scripts/make-dist", line 285, in check
self.build(build_dir)
File "/app/webkit/Tools/Scripts/make-dist", line 259, in build
subprocess.check_call(command, cwd=build_dir)
File "/usr/lib/python3.11/subprocess.py", line 413, in check_call
raise CalledProcessError(retcode, cmd)
```
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Adrian Perez
Pull request: https://github.com/WebKit/WebKit/pull/37171
EWS
Committed 287116@main (795fdaece398): <https://commits.webkit.org/287116@main>
Reviewed commits have been landed. Closing PR #37171 and removing active labels.