| Summary: | When using build-jsc on Linux: Can't exec "xcodebuild": No such file or directory | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Michael Catanzaro <mcatanzaro> |
| Component: | Tools / Tests | Assignee: | Michael Catanzaro <mcatanzaro> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | ap, mcatanzaro, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
|
Description
Michael Catanzaro
2023-07-26 11:45:47 PDT
A stack trace would help here - line 355 is in a function that shouldn't be called on Linux at all. Stealing the solution to print a stack trace from https://stackoverflow.com/a/13088008/1120203, I found: Stack Trace: /home/mcatanzaro/Projects/WebKit/Tools/Scripts/webkitdirs.pm:1253 in function webkitdirs::xcodeVersion /home/mcatanzaro/Projects/WebKit/Tools/Scripts/webkitperl/BuildSubproject.pm:150 in function webkitdirs::XcodeOptions /home/mcatanzaro/Projects/WebKit/Tools/Scripts/build-jsc:33 in function (eval) /home/mcatanzaro/Projects/WebKit/Tools/Scripts/build-jsc:33 in function main::BEGIN /home/mcatanzaro/Projects/WebKit/Tools/Scripts/build-jsc:33 in function (eval) I think we can fix this by just moving the calling code into an XCode-specific path. Pull request: https://github.com/WebKit/WebKit/pull/16139 Committed 266384@main (1c1ef14f21ca): <https://commits.webkit.org/266384@main> Reviewed commits have been landed. Closing PR #16139 and removing active labels. |