-
-
Notifications
You must be signed in to change notification settings - Fork 12.4k
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 1.2.1 #46983
bazel 1.2.1 #46983
Conversation
bazelisk test failed on highsierra build only 14:14:32 ==> brew test --verbose bazelisk |
@BrewTestBot test this please |
retest to see if it happens again. |
Is there a binary floating around or something? I can't see how High Sierra would even know about 10.15. |
I also checked with the previous releases, like 1.1.0 (seems fine with bazellisk) |
I downloaded and unzipped the source code, did not find |
Oh wait, my reading comprehension is apparently terrible and I didn't see a few lines up:
I think bazelisk is downloading a binary. |
yeah, I dont understand why bazel is trying to download the artifact. |
It's bazelisk rather than bazel itself, so I don't think it's to do with your bazel 1.2.0 upgrade. It just happened to break because the latest binary bazelisk is trying to download no longer works on 10.13. The behaviour seems to be what bazelisk is supposed to do:
|
if that is case, it should consistently fail for the other two environments as well, right? |
It's failing on a particular symbol ( The problem is we didn't compile it. Bazelisk does not use Homebrew bazel unless you tell it to via |
Hi, I work on Bazel and its CI. Sorry - this might be an unintended breakage resulting from us upgrading our Xcode version on the CI machines from 10.2.1 to 11.1. 😞 I guess that new toolchain generates binaries that no longer work on High Sierra. Bazel 1.1.0 was still built with the older Xcode, but Bazel 1.2.0 was built with the newer one. I'll prepare Bazel 1.2.1 as a patch release on Monday that will be built with Xcode 10.2.1 to restore High Sierra compatibility. What's your policy in Homebrew for supporting older macOS releases - would it be OK if we dropped support for High Sierra in Bazel 2.0 (~next month)? Or should we try to keep this working for as long as possible? |
Thanks for reaching out! Generally, we support the current OS and the last two. However, we don't constrain other developers to do the same. If Bazel drops support for High Sierra, and such change is documented as intended, then we can set the specific formula to require Mojave and later (example here). |
I have two sides for this, as maintainer for homebrew-core, I do think if it does not support, we should remove the bottle from the formula. But as Meetup engineer, we do still have some engineers running Bazel on HIgh Sierra machine, so I might prefer to have a fix for it in Bazel side. :) Thanks though! |
It should be possible to build to support High Sierra on Xcode 11 if that's the only issue you are having @philwo. Make sure the "deployment target" is set - this is the minimum macOS version you'd like to support. |
While not supporting an older apple-supported version wouldn't be grounds for removal it would be something that would indicate to users that you're not serious about macOS support. (And as a maintainer pretty annoying to answer questions about) |
@SMillerDev I just dont have a machine to test, that is why I was pushing a rc release though. But we do have engineers at Meetup using an old Mac. |
The problem isn't our compile of If you move it back to 1.1.0 and revision bump the same thing will probably happen. |
Thanks for explaining your thoughts here. It was an accidental breakage on Bazel's side and we have no plans to drop High Sierra support at the moment. (We also don't have enough CI machines to test on it, though, so we rely on users to report breakages ideally during our release candidate window.) I agree that supporting the latest macOS release + the two previous releases is a nice policy. AFAIK that's also what Apple does with their security fixes, right?
Yes. The step that is failing here is the Bazel downloaded by Bazelisk, not the Bazel binary that you're building yourself. Bazelisk always picks the latest stable version by default. If you want to temporarily override this, you can set the We also have a patch release 1.2.1rc1 that will fix the incompatibility. I will release it tomorrow morning. @soonho-tri kindly tested and confirmed that the new version works again on High Sierra. :) |
Add |
8b4fdbf
to
7c64877
Compare
Current build failure is due to the |
7c64877
to
4de97f1
Compare
Refresh the PR with the latest bazel 1.2.1 release. |
4de97f1
to
e746872
Compare
|
Thanks everyone!! |
Created with
brew bump-formula-pr
.