Isaac bazel build failed with sample stereo_dummy

Hello,
I’m trying to build isaac sdk sample (stereo_dummy) with bazel and this is the error I get:

$TEST_TMPDIR defined: output root default is ‘/mnt/nvme/.cache/bazel’ and max_idle_secs default is ‘15’.
Extracting Bazel installation…
Starting local Bazel server and connecting to it…
WARNING: ignoring LD_PRELOAD in environment.
WARNING: Download from https://mirror.bazel.build/github.com/grpc/grpc/archive/v1.19.1.tar.gz failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException GET returned 404 Not Found
ERROR: /mnt/nvme/isaac-sdk-20210609-e336b5195/sdk/packages/viewers/BUILD:10:1: Illegal ambiguous match on configurable attribute “data” in //packages/viewers:libviewers_module.so:
@com_nvidia_isaac_engine//engine/build:platform_x86_64
@com_nvidia_isaac_engine//engine/build:cpu_aarch64
Multiple matches are not allowed unless one is unambiguously more specialized.
INFO: SHA256 (https://developer.nvidia.com/isaac/download/third_party/isaac_assets-zip) = 032d56b65d17acf360cab1145e57cdeb0a0d2e25814624a90d44766e624e40f1
DEBUG: Rule ‘isaac_assets’ indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = “032d56b65d17acf360cab1145e57cdeb0a0d2e25814624a90d44766e624e40f1”
DEBUG: Repository isaac_assets instantiated at:
no stack (–record_rule_instantiation_callstack not enabled)
Repository rule http_archive defined at:
/mnt/nvme/.cache/bazel/_bazel_dev/2126d18d64efd26d737eeb94a805fb1d/external/bazel_tools/tools/build_defs/repo/http.bzl:336:16: in
DEBUG: Rule ‘org_tuxfamily_eigen’ indicated that a canonical reproducible form can be obtained by modifying arguments shallow_since = “1544551075 +0100”
DEBUG: Repository org_tuxfamily_eigen instantiated at:
no stack (–record_rule_instantiation_callstack not enabled)
Repository rule new_git_repository defined at:
/mnt/nvme/.cache/bazel/_bazel_dev/2126d18d64efd26d737eeb94a805fb1d/external/bazel_tools/tools/build_defs/repo/git.bzl:182:22: in
WARNING: errors encountered while analyzing target ‘//apps/samples/stereo_dummy:stereo_dummy’: it will not be built
INFO: Analyzed target //apps/samples/stereo_dummy:stereo_dummy (80 packages loaded, 4986 targets configured).
INFO: Found 0 targets…
ERROR: command succeeded, but not all targets were analyzed
INFO: Elapsed time: 334.277s, Critical Path: 0.04s
INFO: 0 processes.
FAILED: Build did NOT complete successfully

I’m using jetson AGX with jetpack4.6, ubuntu18
How can I solve this issue please?
Thanks in advance

WARNING: Download from https://mirror.bazel.build/github.com/grpc/grpc/archive/v1.19.1.tar.gz failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException GET returned 404 Not Found

It appears that bazel was trying to pull down gRPC down but failed to do so with ensuing issues after. Could it be an internet connectivity issue or the mirror was down at that moment? Have you tried again since?

@shirsc did you install dependencies to jetson from host PC? without errors? with errors?