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

PR Builds for macOS aarch64 failing due to xcode-select directory #2875

Closed
wcarss opened this issue Oct 21, 2021 · 2 comments · Fixed by #2877
Closed

PR Builds for macOS aarch64 failing due to xcode-select directory #2875

wcarss opened this issue Oct 21, 2021 · 2 comments · Fixed by #2877
Labels

Comments

@wcarss
Copy link
Contributor

wcarss commented Oct 21, 2021

Problem
Builds for macOS aarch64 are failing during the aarch64-specific items step, reporting the error xcode-select: error: invalid developer directory '/Applications/Xcode_12.2.app/Contents/Developer/'.

Steps

  1. Open a PR with cosmetic changes (e.g. Fix grammar in preinstall message. #2874)
  2. It fails in the way described.

Possible Solution(s)
My guess is that the latest version of xcode may have changed, and the specified dir doesn't exist anymore. Googling the error brings up stackoverflows of other people experiencing similar issues and suggestions to set the directory to /Library/Developer/CommandLineTools.

Notes

rustup version and show not relevant for this issue

@wcarss wcarss added the bug label Oct 21, 2021
@wcarss
Copy link
Contributor Author

wcarss commented Oct 21, 2021

I'll try putting up a PR with the directory I suggested.

Actually, going to try just removing the whole xcode-select line, since we might not need to specify using a beta compiler at all anymore. @shepmaster as the original author would likely have way better context!

@shepmaster
Copy link
Member

we might not need to specify using a beta compiler at all anymore

seems plausible to me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants