Bug 260841 - [CMake] rewrite-compile-commands reports a lot of warning messages "Failed to find ..."
Summary: [CMake] rewrite-compile-commands reports a lot of warning messages "Failed to...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Fujii Hironori
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-08-28 20:46 PDT by Fujii Hironori
Modified: 2023-08-31 21:20 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fujii Hironori 2023-08-28 20:46:52 PDT
[Win] rewrite-compile-commands reports a lot of warning messages "Failed to find ..."

After 266947@main (bug#260218), build-webkit reports the following warnings.

[38/6520] cmd.exe /C "cd /D S:\wwbb\work\build\WebKitBuild\Debug && C:\Python311\python.exe S:/wwbb/work/build/Tools/Scripts/rewrite-compile-commands S:/wwbb/work/build/WebKitBuild/Debug/compile_commands.json S:/wwbb/work/build/WebKitBuild/Debug/DeveloperTools/compile_commands.json S:/wwbb/work/build S:/wwbb/work/build/WebKitBuild/Debug"
Failed to find BytecodeDumperGenerated.cpp
Failed to find inspector/InspectorBackendDispatchers.cpp
Failed to find inspector/InspectorFrontendDispatchers.cpp
Failed to find inspector/InspectorProtocolObjects.cpp
Failed to find yarr/YarrCanonicalizeUnicode.cpp
Failed to find CSSPropertyParsing.cpp
Failed to find CSSValueKeywords.cpp
Failed to find ColorData.cpp
Failed to find EventFactory.cpp
Failed to find EventTargetFactory.cpp
Failed to find HTMLElementFactory.cpp
Failed to find HTMLEntityTable.cpp
Failed to find JSANGLEInstancedArrays.cpp
Failed to find JSAbortAlgorithm.cpp
(...)
Comment 1 Fujii Hironori 2023-08-28 21:52:44 PDT
The second build-webkit invocation reports no message.
Is this an expected behavior of the first build-webkit invocation?
Comment 2 Patrick Griffis 2023-08-29 11:13:21 PDT
This problem is discussed here: https://github.com/WebKit/WebKit/pull/16718#discussion_r1306490159

Still need to think of a solution.
Comment 3 Fujii Hironori 2023-08-29 13:05:10 PDT
How about silently ignoring missing derived sources?
Comment 4 Patrick Griffis 2023-08-31 06:23:44 PDT
I think it’s reasonable to to silent for now. I’m out sick though if someone else could handle it.
Comment 5 Fujii Hironori 2023-08-31 14:34:20 PDT
Pull request: https://github.com/WebKit/WebKit/pull/17307
Comment 6 EWS 2023-08-31 21:19:43 PDT
Committed 267542@main (b332b310db50): <https://commits.webkit.org/267542@main>

Reviewed commits have been landed. Closing PR #17307 and removing active labels.
Comment 7 Radar WebKit Bug Importer 2023-08-31 21:20:14 PDT
<rdar://problem/114804795>