nccl-fastsocket icon indicating copy to clipboard operation
nccl-fastsocket copied to clipboard

Build error with conda install git bazel -y && git clone https://github.com/google/nccl-fastsocket && cd nccl-fastsocket && bazel build :all

Open yangzhipeng1108 opened this issue 11 months ago • 0 comments

Collecting package metadata (current_repodata.json): done Solving environment: done

All requested packages already installed.

Cloning into 'nccl-fastsocket'... remote: Enumerating objects: 86, done. remote: Counting objects: 100% (86/86), done. remote: Compressing objects: 100% (59/59), done. remote: Total 86 (delta 49), reused 61 (delta 24), pack-reused 0 Receiving objects: 100% (86/86), 39.02 KiB | 539.00 KiB/s, done. Resolving deltas: 100% (49/49), done. Starting local Bazel server and connecting to it... INFO: SHA256 (https://github.com/bazelbuild/rules_pkg/archive/main.zip) = a73b8dd453c788f2fc994b1714664c1a0d295b05144daa84d8b2d08603f5ac32 DEBUG: Rule 'rules_pkg' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "a73b8dd453c788f2fc994b1714664c1a0d295b05144daa84d8b2d08603f5ac32" DEBUG: Repository rules_pkg instantiated at: no stack (--record_rule_instantiation_callstack not enabled) Repository rule http_archive defined at: /root/.cache/bazel/_bazel_root/70a63a26ed5cd2b68e457225637f1b0c/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in ERROR: /root/.cache/bazel/_bazel_root/70a63a26ed5cd2b68e457225637f1b0c/external/rules_pkg/pkg/private/pkg_files.bzl:588:16: name 'json' is not defined ERROR: /root/.cache/bazel/_bazel_root/70a63a26ed5cd2b68e457225637f1b0c/external/rules_pkg/pkg/private/pkg_files.bzl:590:16: name 'json' is not defined INFO: Repository rules_license instantiated at: no stack (--record_rule_instantiation_callstack not enabled) Repository rule http_archive defined at: /root/.cache/bazel/_bazel_root/70a63a26ed5cd2b68e457225637f1b0c/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in ERROR: Skipping ':all': while parsing ':all': error loading package '': in /root/.cache/bazel/_bazel_root/70a63a26ed5cd2b68e457225637f1b0c/external/rules_pkg/pkg/tar.bzl: in /root/.cache/bazel/_bazel_root/70a63a26ed5cd2b68e457225637f1b0c/external/rules_pkg/pkg/private/tar/tar.bzl: Extension 'pkg/private/pkg_files.bzl' has errors WARNING: Target pattern parsing failed. ERROR: while parsing ':all': error loading package '': in /root/.cache/bazel/_bazel_root/70a63a26ed5cd2b68e457225637f1b0c/external/rules_pkg/pkg/tar.bzl: in /root/.cache/bazel/_bazel_root/70a63a26ed5cd2b68e457225637f1b0c/external/rules_pkg/pkg/private/tar/tar.bzl: Extension 'pkg/private/pkg_files.bzl' has errors INFO: Elapsed time: 4.993s INFO: 0 processes.
FAILED: Build did NOT complete successfully (1 packages loaded)

yangzhipeng1108 avatar Sep 16 '23 02:09 yangzhipeng1108