Open MaxDesiatov opened 6 months ago
I saw this issue in 15.1, changed to 15.0.1 and got things building again, but after a few builds, and deleting the build
directory, I encountered the same issue in 15.0.1.
Same problem, I tried to build a project (commit: a9bf17e562aeb6ac5860e3e4782a28a4cfe563d) with
utils/build-script --skip-build-benchmarks \ --skip-ios --skip-watchos --skip-tvos --swift-darwin-supported-archs "$(uname -m)" \ --sccache --release-debuginfo --swift-disable-dead-stripping
MacBook Pro M3 Pro, macOS Sonoma 14.1 (23B2073) Xcode Version 15.0.1 (15A507)
https://gist.github.com/vanvoorden/ec1725c211ac3356eb50f7c307a32efa
FAILED: extensions/libcmark-gfm-extensions.0.29.0.gfm.13.dylib
I'm seeing the same kind of error from ece521c12b600e681b46b9218021fbd7d8780fa4
. Building locally on M2 MBP and Xcode 15.2 (15C500b) on macOS 14.3 (23D56)
FYI @Pogosito managed to work around this by switching to Xcode 14.3 command line tools.
Xcode 14.3 command line tools
@AnthonyLatsis Ahh… I'm blocked on installing the legacy tools… womp womp…
You could also try 15.0.
You could also try 15.0.
@AnthonyLatsis Xcode 15.0 worked for me!
FWIW 15 worked for me but only temporarily. When I cleaned the build folder after a successful build, I got stuck in the build failure cycle of this issue.
Hi @stephencelis, is this still reproducible for you with Xcode 15.3 RC?
Description
After updating to Xcode 15.1 the toolchain fails to build with
./utils/build-script --preset=buildbot_osx_package,no_test
, which is the exactly same preset used by@swift-ci build toolchain
. Here's the exact build step inswift-cmark
and error output:Reproduction
Make sure you have Xcode 15.1 installed and selected as the default with
xcode-select -p
.Navigate to the directory that hosts your Swift project checkouts.
Build the toolchain with these arguments (adjust to correct paths as needed):
Expected behavior
The toolchain builds successfully, just as it did with Xcode 15.0.1.
Environment
MacBook Air M1, macOS Sonoma 14.2.1 (23C71)
Additional information
https://forums.swift.org/t/build-fails-at-cmark/69176