[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 <guillaume.gardet@arm.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fstrba@suse.com -- 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 <guillaume.gardet@arm.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mrostecki@suse.com -- 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#c1 --- Comment #1 from Michał Rostecki <mrostecki@suse.com> --- 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. -- 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#c2 --- Comment #2 from Guillaume GARDET <guillaume.gardet@arm.com> --- (In reply to Michał Rostecki from comment #1)
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 <guillaume.gardet@arm.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WONTFIX --- Comment #3 from Guillaume GARDET <guillaume.gardet@arm.com> --- tensorflow2:lite does not need bazel to be built: https://build.opensuse.org/request/show/867145 So, do not build bazel3.4 for armv6/armv7: https://build.opensuse.org/request/show/867150 -- 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#c6 --- Comment #6 from OBSbugzilla Bot <bwiedemann+obsbugzillabot@suse.com> --- This is an autogenerated message for OBS integration: This bug (1178564) was mentioned in https://build.opensuse.org/request/show/915715 Backports:SLE-15-SP3 / bazel-skylib1.0.3+bazel3.7+tensorflow2 -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com