bazel: building bazel libcpu_profiler fails to find jni_md.h (ppc64le)
Description of the problem / feature request:
compiling from master on ppc64le fails:
bazel-out/ppc-fastbuild/bin/external/bazel_tools/tools/jdk/include/jni.h:45:10: fatal error: jni_md.h: No such file or directory
Bugs: what’s the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
bazel build --sandbox_debug -s --verbose_failures --host_javabase=@local_jdk//:jdk //src:bazel
What operating system are you running Bazel on?
Ubuntu 18.04.3
What’s the output of bazel info release
?
building with:
release 1.1.0- (@non-git)
If bazel info release
returns “development version” or “(@non-git)”, tell us how you built Bazel.
https://github.com/Unicamp-OpenPower/bazel-build/blob/master/.travis.yml
What’s the output of git remote get-url origin ; git rev-parse master ; git rev-parse HEAD
?
root@ede9b339f10f:/bazel# git remote get-url origin ; git rev-parse master ; git rev-parse HEAD https://github.com/bazelbuild/bazel.git 1ae1c16133699bcd6ae90f00cec6140ad4146cd3 314cd3353b018420598188cf54c3f97358baa2e3
Have you found anything relevant by searching the web?
no
Any other information, logs, or outputs that you want to share?
This commit seems to have broken us: https://github.com/bazelbuild/bazel/commit/314cd3353b018420598188cf54c3f97358baa2e3
More or the error here: https://gist.github.com/clnperez/781149e8c6882ea668d06483325e1151
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 22 (10 by maintainers)
Yes, you’ll need to build a version of Bazel more recent than 2.2.0 (20 days old) as the fix was only added in 2402c8f (15 days ago).