Skip to content

Yocto Bazel build failed #2

@starbrights

Description

@starbrights

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions