[Bug 1178564] New: Bazel 3.4 not built for armv7 due to a missing include path
http://bugzilla.opensuse.org/show_bug.cgi?id=1178564 Bug ID: 1178564 Summary: Bazel 3.4 not built for armv7 due to a missing include path Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: armv7 OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Java Assignee: java-maintainers@suse.de Reporter: guillaume.gardet@arm.com QA Contact: qa-bugs@suse.de CC: afaerber@suse.com, dmueller@suse.com Found By: --- Blocker: --- Bazel 3.4 is not built for armv7 due to a missing include path. It complains about 'jni_md.h' being not found: In file included from src/main/java/com/google/devtools/build/lib/syntax/cpu_profiler_posix.cc:20: [ 798s] bazel-out/arm-opt/bin/external/bazel_tools/tools/jdk/include/jni.h:45:10: fatal error: jni_md.h: No such file or directory [ 798s] 45 | #include "jni_md.h" [ 798s] | ^~~~~~~~~~ [ 798s] compilation terminated. But it is available at /usr/lib/jvm/java-1.8.0-openjdk-1.8.0/include/linux/jni_md.h x86_64 and aarch64 are not affected. Not sure how to add /usr/lib/jvm/java-1.8.0-openjdk-1.8.0/include/linux/ to the list of include path for bazel. Or is it a fix for openjdk? Latest build log: https://build.opensuse.org/package/live_build_log/devel:tools:building/bazel... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1178564
Guillaume GARDET
http://bugzilla.opensuse.org/show_bug.cgi?id=1178564
Guillaume GARDET
http://bugzilla.opensuse.org/show_bug.cgi?id=1178564
http://bugzilla.opensuse.org/show_bug.cgi?id=1178564#c1
--- Comment #1 from Michał Rostecki
http://bugzilla.opensuse.org/show_bug.cgi?id=1178564
http://bugzilla.opensuse.org/show_bug.cgi?id=1178564#c2
--- Comment #2 from Guillaume GARDET
Is anyone using Bazel on armv7 (not on aarch64)? I think that the best solution would be to just disable the armv7 build, especially because Bazel upstream cares only about aarch64, and we use Bazel mostly for Tensorflow, Kubic and CaaSP.
We have Tensorflow _lite_ for armv7, but I think it does not use bazel, only make/gcc. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1178564
http://bugzilla.opensuse.org/show_bug.cgi?id=1178564#c3
Guillaume GARDET
http://bugzilla.opensuse.org/show_bug.cgi?id=1178564
http://bugzilla.opensuse.org/show_bug.cgi?id=1178564#c6
--- Comment #6 from OBSbugzilla Bot
participants (1)
-
bugzilla_noreply@suse.com