[Webkit-unassigned] [Bug 238384] New: [Big Sur] WK2 failing to build with `error: reference to 'WebDocumentView' is ambiguous`

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 25 10:30:17 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=238384

            Bug ID: 238384
           Summary: [Big Sur] WK2 failing to build with `error: reference
                    to 'WebDocumentView' is ambiguous`
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: emw at apple.com

Since r291809, it's possible to import the same header from two different paths: once from its original source location and once from the SDK or build products, causing build failures due to duplicate types.

This is because of WebKit's autogenerated headermap. It resolves migrated headers to the source locations IF they are imported through the <WebKit/…> prefix. If they are imported from <WebKitLegacy/…>, the headermap has no entry and they are resolved using normal search paths. Prior to r291809, migrated headers were never added to any headermaps, because they were produced by Make and Xcode was unaware of them.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220325/062b7372/attachment.htm>


More information about the webkit-unassigned mailing list