Skip to content

'@local_config_cc_toolchains//:osx_archs.bzl': file doesn't exist' #2221

@brooksgx

Description

@brooksgx

What version of rules_go are you using?

Tried both latest and latest stable versions:
git_repository(
name = "io_bazel_rules_go",
remote = "https://github.com/bazelbuild/rules_go.git",
commit = "0c1081b3618a2c6ca1220f7f7ffb644a2955ddf8",
)

http_archive(
name = "io_bazel_rules_go",
urls = [
"https://storage.googleapis.com/bazel-mirror/github.com/bazelbuild/rules_go/releases/download/0.19.4/rules_go-0.19.4.tar.gz",
"https://github.com/bazelbuild/rules_go/releases/download/0.19.4/rules_go-0.19.4.tar.gz",
],
sha256 = "ae8c36ff6e565f674c7a3692d6a9ea1096e4c1ade497272c2108a810fb39acd2",
)

What version of gazelle are you using?

0.18.2

What version of Bazel are you using?

0.29.1-homebrew

Does this issue reproduce with the latest releases of all the above?

Yes

What operating system and processor architecture are you using?

MacOS

What did you do?

After updating the toolchain started receiving the following error:

Target '@io_bazel_rules_go//:cgo_context_data' depends on toolchain '@local_config_cc//:cc-compiler-darwin', which cannot be found: error loading package '@local_config_cc//': Unable to load file '@local_config_cc_toolchains//:osx_archs.bzl': file doesn't exist'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions