Cherry-pick https://github.com/bazelbuild/bazel/commit/47696c94cac862ff80ece3873f4162f5815c7a32 #14701
Labels
team-OSS
Issues for the Bazel OSS team: installation, release processBazel packaging, website
Milestone
Description of the problem / feature request:
Please cherry-pick 47696c9 into the next 5.x release.
Feature requests: what underlying problem are you trying to solve with this feature?
The current 5.0 release calls some native interfaces to get
pid
s that are not present in Apple Silicon machines with our current JDK. That commit files the issue.Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
Unfortunately, this reproduces with our internal JDK only. But we have validated that this commit fixes it.
What operating system are you running Bazel on?
macOS, in an M1 machine, with a custom JDK.
What's the output of
bazel info release
?Both 5.0 and 4.2.2 repro this. In fact, every release up to (and including) 6.0.0-pre.20211110.1 reproduce it.
Any other information, logs, or outputs that you want to share?
Running bazel in the
bazelbuild/examples
repository, incpp-tutorial/stage1
, gives the following result:The text was updated successfully, but these errors were encountered: