WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
237490
[XCBuild] Fix GeneratedSources dependency validation errors
https://bugs.webkit.org/show_bug.cgi?id=237490
Summary
[XCBuild] Fix GeneratedSources dependency validation errors
Elliott Williams
Reported
2022-03-04 17:49:41 PST
There are some miscellaneous task dependencies, mostly coming from DerivedSources Makefiles which do not declare everything the use or generate.
Attachments
Patch
(50.80 KB, patch)
2022-03-09 17:05 PST
,
Elliott Williams
no flags
Details
Formatted Diff
Diff
Patch
(50.67 KB, patch)
2022-03-09 21:30 PST
,
Elliott Williams
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Elliott Williams
Comment 1
2022-03-09 17:05:44 PST
Created
attachment 454298
[details]
Patch
Elliott Williams
Comment 2
2022-03-09 17:06:40 PST
(In reply to Elliott Williams from
comment #1
)
> Created
attachment 454298
[details]
> Patch
There are still some dependency errors I'm seeing above WebCore, in WebKit and WebKitLegacy. But this is a large enough set of changes that it's probably time to get it reviewed.
Alexey Proskuryakov
Comment 3
2022-03-09 17:35:15 PST
Comment on
attachment 454298
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=454298&action=review
This is already too long for me to deeply review all parts, but it looks fine.
> Tools/ChangeLog:1 > +2022-03-09 Elliott Williams <
emw@apple.com
>
Duplicate ChangeLog.
EWS
Comment 4
2022-03-09 17:56:42 PST
ChangeLog entry in Tools/ChangeLog contains OOPS!.
Elliott Williams
Comment 5
2022-03-09 21:30:50 PST
Created
attachment 454313
[details]
Patch
Elliott Williams
Comment 6
2022-03-09 21:32:26 PST
(In reply to Alexey Proskuryakov from
comment #3
)
> > Tools/ChangeLog:1 > > +2022-03-09 Elliott Williams <
emw@apple.com
> > > Duplicate ChangeLog.
Thanks -- fixed in the latest patch, and added your approval. I'll this without additional review.
Elliott Williams
Comment 7
2022-03-10 13:42:10 PST
It's worth noting that testing this patch on EWS broke subsequent EWS builds: Because this patch adds `JSCBuiltins.cpp` as an output file, the EWS builder thinks that the next patch it builds _removes_ JSCBuiltins.cpp, and will helpfully delete it as a stale build product. For example, after building this patch in <
https://ews-build.webkit.org/#/builders/61/builds/29660
>, the next job <
https://ews-build.webkit.org/#/builders/61/builds/29661
> failed with: UnifiedSource2.cpp:2:10: fatal error: 'JSCBuiltins.cpp' file not found Higher up in the build log, you see: Remove stale build products /bin/rm -rf /Volumes/Data/worker/macOS-AppleSilicon-Big-Sur-Debug-Build-EWS/build/WebKitBuild/Debug/DerivedSources/JavaScriptCore/JSCBuiltins.cpp I don't think there's anything worth fixing here. One of the goals of my work is to make it harder to forget to declare an output edge like this, requiring fewer bugfix patches like these that confuse EWS.
EWS
Comment 8
2022-03-10 14:18:44 PST
Committed
r291133
(
248293@main
): <
https://commits.webkit.org/248293@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 454313
[details]
.
Radar WebKit Bug Importer
Comment 9
2022-03-10 14:19:16 PST
<
rdar://problem/90121847
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug