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

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

Open
yangzhipeng1108 opened this issue Sep 16, 2023 · 0 comments

Comments

@yangzhipeng1108
Copy link

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 yangzhipeng1108 changed the title conda install git bazel -y && git clone https://github.com/google/nccl-fastsocket && cd nccl-fastsocket && bazel build :all Build error with conda install git bazel -y && git clone https://github.com/google/nccl-fastsocket && cd nccl-fastsocket && bazel build :all Sep 16, 2023
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