Bug 232606 - Compile failure with macOS 11.6.1 + XCode 13.1: …/PAL.build/Release/PAL.build/Objects-normal/x86_64/OutputContext.o pal/avfoundation/OutputContext.mm normal x86_64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler
Summary: Compile failure with macOS 11.6.1 + XCode 13.1: …/PAL.build/Release/PAL.build...
Status: RESOLVED DUPLICATE of bug 226235
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-01 22:48 PDT by sideshowbarker
Modified: 2021-12-01 22:55 PST (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 sideshowbarker 2021-11-01 22:48:23 PDT
Clean build on macOS 11.6.1 with XCode 13.1, I hit this:

> The following build commands failed:  CompileC /opt/webkit/WebKitBuild/PAL.build/Release/PAL.build/Objects-normal/x86_64/OutputContext.o pal/avfoundation/OutputContext.mm normal x86_64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler (1 failure)
Comment 1 Sam Sneddon [:gsnedders] 2021-11-08 08:08:48 PST
as mentioned on Slack, this is just 226235 again

*** This bug has been marked as a duplicate of bug 226235 ***
Comment 2 Alexey Proskuryakov 2021-11-08 09:37:17 PST
This can (and ideally, should) be fixed separately from bug 226235.

Warning about a poorly supported configuration would be good, but failing to build with latest Xcode is not really OK, whether we can actively support this scenario at this time, or not.
Comment 3 Darin Adler 2021-11-17 09:08:21 PST
I am a little puzzled about whether this is an issue with mismatching SDKs or something else.
Comment 4 Brady Eidson 2021-12-01 22:55:10 PST
(In reply to Darin Adler from comment #3)
> I am a little puzzled about whether this is an issue with mismatching SDKs
> or something else.

I ran into this form - https://bugs.webkit.org/show_bug.cgi?id=232454 - on my personal machine running macOS 11.6, but with Xcode 13.


Steps to reproduce:
1 - Running macOS 11, Install Xcode 13 and xcode-select it
2 - `build-webkit` <---- fails

Alternative steps to reproduce:
1 - Running macOS 11, Install Xcode 13 and xcode-select it
2 - Open WebKit.xcworkspace
3 - Build the entire WebKit target <--- fails.

Doing the above steps are - of course - entirely reasonable things to do.

In my case, at least, the problem was definitely with the source code as checked in to the WebKit open source project, and I'm fixing it.

I'm sure what other forms are manifesting but... "Running a version of macOS that still supports trunk WebKit... and then installing the latest dev tools" is probably something that should work.