| Summary: | Prevent multiple invocations of generate-message-receiver.py | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Keith Rollin <krollin> | ||||
| Component: | Tools / Tests | Assignee: | Keith Rollin <krollin> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | darin, dino, graouts, simon.fraser, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| See Also: |
https://bugs.webkit.org/show_bug.cgi?id=215064 https://bugs.webkit.org/show_bug.cgi?id=211112 |
||||||
| Attachments: |
|
||||||
|
Description
Keith Rollin
2020-08-01 00:44:21 PDT
Created attachment 405775 [details]
Patch
Committed r265178: <https://trac.webkit.org/changeset/265178> All reviewed patches have been landed. Closing bug and clearing flags on attachment 405775 [details]. Comment on attachment 405775 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=405775&action=review > Source/WebKit/DerivedSources.make:257 > +MESSAGES_FILES := $(addsufix Messages.h,$(notdir $(MESSAGE_RECEIVERS))) The "addsuffix" here was missing an "f" so this didn’t quite work. Also, I did some further research, and I think a better solution is a "grouped target" rather than a pattern rule. I put a fix for those things into bug 215064. I commented in <rdar://problem/63595589> that "grouped targets" won't work. That missing "f" was from the original code. I wonder how long it had been broken that way. Issue was introduced May 6 with r261254. The first report of the generated file corruption was on May 25. That revision replaced the existing pattern rule with a non-pattern rule! I think we found the root cause. |