-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Invoking SwiftPM from open source toolchain crashes because symbols are defined both in system stdlib and toolchain stdlib #5467
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@ahoppen could this be a problem specific to your setup? we have tests that validate the nightly toolchains including that SwiftPM is functional, and I would be surprised if we did not hear about this before. cc @shahmishal @abertelrud in case they have insight |
I don’t think this is specific to my setup. It was brought to my attention by @kimdv and he’s seeing the same issue. |
I'm seeing a very similar issue when trying to build
|
interesting. this works fine for me?
|
I tried cloning a new copy of the repo, to see if I had broken something locally:
|
yea odd, it must be some search path that exists on your machines but no on mine |
interesting to see what @shahmishal sees on the CI & smoke tests that should catch this |
I reported the same here swiftlang/swift#58658 |
I see the same error messages when trying to use the open-source toolchain in CLion on macOS. |
I'm running into the same issue, building
Other than that the build machine is very vanilla. There are a small number of homebrew packages installed, several versions of Xcode (13.3, 13.3.1), and that is basically it. |
Yep, |
Also verified that |
|
Any updates on this? Any ETA on the proper fix in main? We can't build swift-format at head right now because of this issue (using the 5.7 snapshot doesn't work because of version incompatibilities). |
Without it, sourcekit-lsp crashes on launch with the same errors as in swiftlang/swift-package-manager#5467.
Without it, sourcekit-lsp crashes on launch with the same errors as in swiftlang/swift-package-manager#5467.
Without it, sourcekit-lsp crashes on launch with the same errors as in swiftlang/swift-package-manager#5467.
Without it, sourcekit-lsp crashes on launch with the same errors as in swiftlang/swift-package-manager#5467.
As #5703 was merged, does that mean this issue is resolved and can be closed? |
probably, @neonichu ? |
I believe so, yes. |
Uh oh!
There was an error while loading. Please reload this page.
Running any SwiftPM command from an open source toolchain crashes because there are symbols defined both in the system stdlib and the stdlib shipped as part of the toolchain.
This affects both main and 5.7 snapshot toolchains. Things must have broken sometime between 2/22 and 4/4.
swift-DEVELOPMENT-SNAPSHOT-2022-02-22-a.xctoolchain
still works whileswift-DEVELOPMENT-SNAPSHOT-2022-04-04-a.xctoolchain
doesn’t (I don’t have any intermediate toolchains installed to check)Steps to reproduce
rdar://92784432
The text was updated successfully, but these errors were encountered: