Skip to content
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

[SR-2271] Superconfusing error message when no clang is installed #5236

Closed
abertelrud opened this issue Aug 4, 2016 · 1 comment
Closed
Assignees
Labels

Comments

@abertelrud
Copy link
Contributor

Previous ID SR-2271
Radar rdar://problem/28039290
Original Reporter @abertelrud
Type Bug
Status Resolved
Resolution Done
Additional Detail from JIRA
Votes 0
Component/s Package Manager
Labels Bug
Assignee @abertelrud
Priority Medium

md5: 7f373ed76d4e27652b285ccb19f1bdcb

is duplicated by:

  • SR-834 Very unhelpful error message when clang++ cannot be invoked

Issue Description:

I just spent ten minutes on Ubuntu 14.0.4 trying to figure out what this error message means:

error: invalid inferred toolchain

Turns out that it's because I hadn't installed `clang`. While this is not a common error message, it is disproportionally likely to affect those people setting up a new `swiftpm` environment, so there is value in fixing it.

It also turns out that this error ("invalid toolchain") can be throw also when `swiftc` isn't found. This really needs to be specific and actionable.

@abertelrud
Copy link
Contributor Author

be54a9f

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 4, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant