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

[Bazel CI] invalid registered toolchain '@my_local_config_sh Error #533

Open
sgowroji opened this issue Dec 25, 2024 · 0 comments
Open

[Bazel CI] invalid registered toolchain '@my_local_config_sh Error #533

sgowroji opened this issue Dec 25, 2024 · 0 comments

Comments

@sgowroji
Copy link
Member

sgowroji commented Dec 25, 2024

CI: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/4355#0193fbff-43ad-40fa-86b5-c8f8dec32f7e

Platform: MacOS

Logs:

ERROR: �[0m/Users/buildkite/builds/bk-macos-intel-j2ng/bazel-org-repo-root/examples/bzlmod/04-local_config_and_register_toolchains/BUILD:4:14: While resolving toolchains for target //:get_sh_path (19a1f86): invalid registered toolchain '@my_local_config_sh//:local_sh_toolchain': error loading package '@@+my_sh_config_extension+my_local_config_sh//': at /private/var/tmp/_bazel_buildkite/784e94f23ab979d6f5cec746de442374/external/bazel_tools/tools/sh/sh_toolchain.bzl:16:6: cannot load '@@rules_shell+//shell:sh_toolchain.bzl': no such file

Steps:

git clone https://github.com/bazelbuild/examples && Cd ../bzlmod/04-local_config_and_register_toolchains
git reset b51e3bdd468ce8c4a516d7dca993909dcc84af32  --hard
export USE_BAZEL_VERSION=18a6a20335f14c23a69edfe708d8f4b577ec575d
bazel build //:get_sh_path 

CC Greenteam @meteorcloudy

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