-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Bazel 0.8.1: Build fails with "Xcode version must be specified to use an Apple CROSSTOOL" on OSX High Sierra #4314
Comments
|
|
@c-parsons as you apparently asked for it, can you take care of triaging this issue? Thanks. |
Note that the problem can't be reproduced with the exact steps mentioned above any more because that version of jgit is now available on maven. To induce the error, it should be possible to simply change the version to something else that doesn't exist. |
I am facing the similar issue in windows 7. I had installed bazel with chocolatey (even i had tried with bazel.exe also)
Even bazel build
|
@kishankarun Build of Gerrit Code Review on Windows is bleeding edge and work in progress. It doesn't work yet. I don't think your problem is related to this issue. You may want open a new issue, on Gerrit Code Review issue tracker and not here, as it's not Bazel related (probably). I guess, that you current problem is
|
+1 - I just got this issue ("Xcode version must be specified to use an Apple CROSSTOOL") on macOS 10.12.6 Sierra, using Bazel 0.9.0 installed via Homebrew. It was fixed via |
FYI: I encountered similar issue recently, which got fixed with: sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
sudo xcodebuild -license
bazel clean --expunge |
Thanks, @davido, all |
@redisliu thanks for the solution. I am trying to build Angular. You saved my night. 👍 |
@redisliu thanks a lot, good solution. |
@redisliu 👍 🥇 |
@redisliu 👍 Thanks! |
Instead of |
Gerrit project adjusted: [1] default location of reporsitory cache to be: [1] https://gerrit.googlesource.com/gerrit/+/refs/heads/master/.bazelrc#2 |
Thanks for pointing it out, sorry I mis-spoke. |
This is similar to #3063 but not quite the same so I'm adding a new issue rather than commenting on that one again. CC @c-parsons as you were asking me about it before.
While building gerrit, the build failed due to a 404 on one of the dependency downloads. Then, on subsequent builds it failed with
Xcode version must be specified to use an Apple CROSSTOOL
. It only succeeds (or rather, fails again but with the expected error) after cleaning.Xcode version ...
error:OS: OSX High Sierra 10.13.2
The text was updated successfully, but these errors were encountered: