Bug 232318

Summary: Possible non-unified build issues
Product: WebKit Reporter: Daniel Kolesa <dkolesa>
Component: WebKit Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: don.olmstead, dpino, ews-watchlist, Hironori.Fujii, jiewen_tan, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Mac (Intel)   
OS: macOS 10.15   
Attachments:
Description Flags
possible patch
none
fixed patch
Hironori.Fujii: review+, Hironori.Fujii: commit-queue-
fixed style (no functional changes) none

Description Daniel Kolesa 2021-10-26 10:42:21 PDT
Since the recent refactors regarding moves to standard std:: containers as well as the JSC ArrayBuffer refactoring, there have been issues with forward declarations in Mac builds (both 10.15 Intel and 11 arm64) in the Playwright project. My current suspicion is that the patches in Playwright change the way builds are unified, which exposes missing includes, but have no good way to explicitly verify that. Therefore, I will raise a patch here that contains the includes that need to be added to make that build again, to get comments.
Comment 1 Daniel Kolesa 2021-10-26 10:43:11 PDT
Created attachment 442507 [details]
possible patch
Comment 2 Daniel Kolesa 2021-10-26 10:47:18 PDT
Created attachment 442508 [details]
fixed patch

apologies, somehow i submitted a malformed patch
Comment 3 Fujii Hironori 2021-10-27 13:54:19 PDT
Comment on attachment 442508 [details]
fixed patch

View in context: https://bugs.webkit.org/attachment.cgi?id=442508&action=review

> Source/WebKit/UIProcess/Cocoa/SOAuthorization/SubFrameSOAuthorizationSession.h:34
> +#include <variant>

style checker EWS is failing.

ERROR: Source/WebKit/UIProcess/Cocoa/SOAuthorization/SubFrameSOAuthorizationSession.h:34:  Alphabetical sorting problem.  [build/include_order] [4]
Comment 4 Fujii Hironori 2021-10-27 14:04:43 PDT
(In reply to Daniel Kolesa from comment #0)
> but have no good way to explicitly verify that. 

There is a experimental CMake build of Mac port, and CMake has ENABLE_UNIFIED_BUILDS option.
However, this patch looks no problem to me.
Comment 5 Daniel Kolesa 2021-10-28 03:45:43 PDT
Created attachment 442688 [details]
fixed style (no functional changes)

well then, thanks

fixed style
Comment 6 Don Olmstead 2021-10-28 09:58:53 PDT
Comment on attachment 442688 [details]
fixed style (no functional changes)

View in context: https://bugs.webkit.org/attachment.cgi?id=442688&action=review

I'll just r+ this on Fujii's behalf but in the future that's the workflow when you get an r+ but a cq-.

> Source/WebKit/ChangeLog:6
> +        Reviewed by NOBODY (OOPS!).

When you get an r+ in a previous patch with nits what you do is you replace the `NOBODY (OOPS!)` and then a cq+ is all that's needed.
Comment 7 Don Olmstead 2021-10-28 10:00:38 PDT
(In reply to Don Olmstead from comment #6)
> Comment on attachment 442688 [details]
> fixed style (no functional changes)
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=442688&action=review
> 
> I'll just r+ this on Fujii's behalf but in the future that's the workflow
> when you get an r+ but a cq-.
> 
> > Source/WebKit/ChangeLog:6
> > +        Reviewed by NOBODY (OOPS!).
> 
> When you get an r+ in a previous patch with nits what you do is you replace
> the `NOBODY (OOPS!)` and then a cq+ is all that's needed.

In this case the line would've been

Reviewed by Fujii Hironori.

You can just search the ChangeLog and copy paste the reviewer's name from there.
Comment 8 EWS 2021-10-28 10:02:20 PDT
Committed r284990 (243636@main): <https://commits.webkit.org/243636@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 442688 [details].
Comment 9 Radar WebKit Bug Importer 2021-10-28 10:03:21 PDT
<rdar://problem/84762460>
Comment 10 Daniel Kolesa 2021-10-29 05:42:05 PDT
> I'll just r+ this on Fujii's behalf but in the future that's the workflow
> when you get an r+ but a cq-.

noted, thanks