Gazelle is a Bazel build file generator for Bazel projects. It natively supports Go and protobuf, and it may be extended to support new languages and custom rule sets.
Apache License 2.0
1.19k
stars
378
forks
source link
bug(go_repository): new gazelle can't properly load external repos with old rules_go #1898
ERROR: /home/user/.cache/bazel/_bazel_tfrench/b97476d719d716accead0f2d5b93104f/external/io_bazel_rules_go/go/platform/BUILD.bazel: no such target '@@io_bazel_rules_go//go/platform:qnx_arm': target 'qnx_arm' not declared in package 'go/platform' defined by /home/user/.cache/bazel/_bazel_tfrench/b97476d719d716accead0f2d5b93104f/external/io_bazel_rules_go/go/platform/BUILD.bazel (did you mean linux_arm?)
ERROR: /home/user/.cache/bazel/_bazel_tfrench/b97476d719d716accead0f2d5b93104f/external/com_github_jessevdk_go_flags/BUILD.bazel:3:11: errors encountered resolving select() keys for @@com_github_jessevdk_go_flags//:go-flags
I think this is caused by https://github.com/bazelbuild/rules_go/pull/4036
Which is incompatible with anything before: https://github.com/bazelbuild/rules_go/pull/4036