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

Bazel 0.16.0 does not build on OS X 10.11 with Homebrew #5777

Closed
dslomov opened this issue Aug 6, 2018 · 6 comments
Closed

Bazel 0.16.0 does not build on OS X 10.11 with Homebrew #5777

dslomov opened this issue Aug 6, 2018 · 6 comments
Assignees
Labels
breakage P0 This is an emergency and more important than other current work. (Assignee required)

Comments

@dslomov
Copy link
Contributor

dslomov commented Aug 6, 2018

See #5058 (comment), potential release blocker for #5058.

@dslomov dslomov added P0 This is an emergency and more important than other current work. (Assignee required) breakage labels Aug 6, 2018
@dslomov
Copy link
Contributor Author

dslomov commented Aug 7, 2018

Let's attempt this:

  1. Modify Homebrew recipe to not embed the JDK (as it should)
  2. Require Java 1.9 on OS X

@philwo philwo self-assigned this Aug 8, 2018
@dslomov dslomov changed the title Bazel 0.16.0 does not build on OS X 10.11 Bazel 0.16.0 does not build on OS X 10.11 with Howebrew Aug 10, 2018
@dslomov dslomov changed the title Bazel 0.16.0 does not build on OS X 10.11 with Howebrew Bazel 0.16.0 does not build on OS X 10.11 with Homebrew Aug 10, 2018
bazel-io pushed a commit that referenced this issue Aug 13, 2018
Baseline: 4f64b77

Cherry picks:
   + 4c9a0c8:
     reduce the size of bazel's embedded jdk
   + d3228b6:
     remote: limit number of open tcp connections by default. Fixes
     #5491
   + 8ff87c1:
     Fix autodetection of linker flags
   + c4622ac:
     Fix autodetection of -z linker flags
   + 1021965:
     blaze_util_posix.cc: fix order of #define
   + ab1f269:
     blaze_util_freebsd.cc: include path.h explicitly
   + 68e92b4:
     openjdk: update macOS openjdk image. Fixes #5532
   + f45c224:
     Set the start time of binary and JSON profiles to zero correctly.
   + bca1912:
     remote: fix race on download error. Fixes #5047
   + 3842bd3:
     jdk: use parallel old gc and disable compact strings
   + 6bd0bdf:
     Add objc-fully-link to the list of actions that require the
     apple_env feature. This fixes apple_static_library functionality.
   + f330439:
     Add the action_names_test_files target to the OSS version of
     tools/buils_defs/cc/BUILD.
   + d215b64:
     Fix StackOverflowError on Windows. Fixes #5730
   + 366da4c:
     In java_rules_skylark depend on the javabase through
     //tools/jdk:current_java_runtime
   + 30c601d:
     Don't use @local_jdk for jni headers
   + c56699d:
     'DumpPlatformClasspath' now dumps the current JDK's default
     platform classpath

This release is a patch release that contains fixes for several serious
regressions that were found after the release of Bazel 0.16.0.

In particular this release resolves the following issues:

 - Bazel crashes with a StackOverflowError on Windows (See #5730)
 - Bazel requires a locally installed JDK and does not fall back
   to the embedded JDK (See #5744)
 - Bazel fails to build for Homebrew on macOS El Capitan (See #5777)
 - A regression in apple_static_library (See #5683)

Please watch our blog for a more detailed release announcement.
@alexeagle
Copy link
Contributor

0.16.1 is also not on Homebrew, any update?

@greggdonovan
Copy link
Member

@alexeagle It appears to be coming back starting with 0.16.1 as a Homebrew Cask shortly. See the bazel-discuss thread.

@mpassell
Copy link
Contributor

The final message (as of right now) in the bazel-discuss thread would suggest that they're planning to go with a custom tap and then go back to directly supporting brew install bazel through that, rather than using cask.

@alexeagle
Copy link
Contributor

I believe this is resolved, 0.16.1 is out, and the bazel blog documents the upgrade path

@bzz
Copy link

bzz commented Aug 25, 2018

For others, landed here though the search - it's https://blog.bazel.build/2018/08/22/bazel-homebrew.html

@dslomov dslomov closed this as completed Oct 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breakage P0 This is an emergency and more important than other current work. (Assignee required)
Projects
None yet
Development

No branches or pull requests

7 participants