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

Yocto Bazel build failed #2

Open
starbrights opened this issue May 19, 2020 · 0 comments
Open

Yocto Bazel build failed #2

starbrights opened this issue May 19, 2020 · 0 comments

Comments

@starbrights
Copy link

starbrights commented May 19, 2020

Try to crosscompile tensorflow light for my Yocto project (Armv7-but no PI). I cloned this repo git clone git://git.yoctoproject.org/meta-tensorflow
but building bazel failed with:
| Fetching @remotejdk_linux; fetching 20s | ERROR: /home/user/y/yocto30/sp/bazel/bazel_IXZJLNMV/out/external/bazel_tools/tools/jdk/BUILD:305:1: no such package '@remotejdk_linux//': java.io.IOException: Error downloading [https://mirror.bazel.build/openjdk/azul-zulu-9.0.7.1-jdk9.0.7/zulu9.0.7.1-jdk9.0.7-linux_x64-allmodules.tar.gz] to /home/user/y/yocto30/sp/bazel/bazel_IXZJLNMV/out/external/remotejdk_linux/zulu9.0.7.1-jdk9.0.7-linux_x64-allmodules.tar.gz: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target and referenced by '@bazel_tools//tools/jdk:remote_jdk' | Analyzing: target //src:bazel_nojdk (237 packages loaded, 10084 targets config\ | ured) | Fetching @remotejdk_linux; fetching 20s | ERROR: Analysis of target '//src:bazel_nojdk' failed; build aborted: Analysis failed
I am not sure what exactly this means?
I can download "https://mirror.bazel.build/openjdk/azul-zulu-9.0.7.1-jdk9.0.7/zulu9.0.7.1-jdk9.0.7-linux_x64-allmodules.tar.gz" either by webbrowser or by curls - so it is accessable. It seems that no such package '@remotejdk_linux//' is the problem. I am not familiar with that. Can someone help me?
Does this project just builds just tensorflow or tensorflow-lite too?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant