| Summary: | Webkit and JSC builds fail by default on Apple M1 Sonoma 14.1.1 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | medioxor | ||||
| Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> | ||||
| Status: | RESOLVED INVALID | ||||||
| Severity: | Major | CC: | ap, emw, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | WebKit Local Build | ||||||
| Hardware: | Mac (Apple Silicon) | ||||||
| OS: | macOS 14 | ||||||
| Attachments: |
|
||||||
|
Description
medioxor
2023-11-28 04:33:35 PST
Thank you for the report! Looks like it's not finding ICU headers, which are supposed to come from Source/WTF/icu/unicode. This is weird, as our Sonoma CI is succeeding: https://build.webkit.org/#/builders/Apple-Sonoma-Debug-Build From the error log: error: no such private header file: '/Users/user/Desktop/WebKit/WebKitBuild/Debug/usr/local/include/icu/unicode/alphaindex.h' error: no such private header file: '/Users/user/Desktop/WebKit/WebKitBuild/Debug/usr/local/include/icu/unicode/appendable.h' error: no such private header file: '/Users/user/Desktop/WebKit/WebKitBuild/Debug/usr/local/include/icu/unicode/basictz.h' error: no such private header file: '/Users/user/Desktop/WebKit/WebKitBuild/Debug/usr/local/include/icu/unicode/brkiter.h' error: no such private header file: '/Users/user/Desktop/WebKit/WebKitBuild/Debug/usr/local/include/icu/unicode/bytestream.h' ICU headers are supposed to be copied to `usr/local/include/unicode` (no icu/ component). The Sonoma CI bot is doing this correctly, so perhaps there is something unusual about your setup. There's also this logic in WTF.xcconfig: // ICU headers don't have target membership in WTF, but they are visible to the "Generate TAPI filelist" build phase. Since they are not installed to /usr/local/include/wtf and not API, tell the script to ignore them. EXCLUDED_SOURCE_FILE_NAMES = $(inherited) icu/unicode/* $(EXCLUDED_SOURCE_FILE_NAMES_$(USE_INTERNAL_SDK)); Seems like, for whatever reason your system, is not respecting this. Oh -- I see in your WebKit build log, that the WTF target has some unexpected build settings: PhaseScriptExecution Generate\ TAPI\ filelist /Users/user/Desktop/WebKit/WebKitBuild/WTF.build/Debug/WTF.build/Script-DDA35E4929CA74D4006C1018.sh (in target 'WTF' from project 'WTF') ... export EXCLUDED_SOURCE_FILE_NAMES\=libWebKitAdditions.a\ export EXCLUDED_SOURCE_FILE_NAMES_YES\=icu/unicode/\* Is there any change you're building an out-of-date WebKit commit? These settings changed in https://commits.webkit.org/264550@main, which landed in May 2023. Now, I would expect to see something like what the CI bot shows: PhaseScriptExecution Symlink\ public\ SDK\ headers /Volumes/Data/worker/Apple-Sonoma-Debug-Build/build/WebKitBuild/WTF.build/Debug/WTF.build/Script-DD07DF4C2A7DB6640091EACE.sh (in target 'WTF' from project 'WTF') ... export EXCLUDED_SOURCE_FILE_NAMES\=libWebKitAdditions.a\ icu/unicode/\*\ > Is there any change you're building an out-of-date WebKit commit?
typo: s/change/chance
Marking as INVALID for now, as our best theory is that you are building an old revision. Please reopen with more details if this issue affects latest WebKit. |