bazelbuild / rules_closure

Closure rules for Bazel
https://developers.google.com/closure
Apache License 2.0
152 stars 114 forks source link

rules_closure is failing at Bazel@HEAD #586

Closed sgowroji closed 11 months ago

sgowroji commented 12 months ago

https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/3301#018a8791-7271-47f6-a564-85c1da651f8c

Platform : Macos, Ubunut, Windows

Logs

ERROR: /private/var/tmp/_bazel_buildkite/ee25167c914ebcf99c780fed582748d2/external/io_bazel_rules_go/go/private/context.bzl:561:23: Use of Starlark transition without allowlist attribute '_allowlist_function_transition'. See Starlark transitions documentation for details and usage: @io_bazel_rules_go//go/private:context.bzl NORMAL
(06:07:26) ERROR: /Users/buildkite/builds/bk-imacpro-14/bazel-downstream-projects/rules_closure/javatests/io/bazel/rules/closure/http/filter/BUILD:19:10: While resolving toolchains for target //javatests/io/bazel/rules/closure/http/filter:FilterTestSuite: invalid registered toolchain '@go_sdk//:go_aix_ppc64': error loading package '@go_sdk//': at /private/var/tmp/_bazel_buildkite/ee25167c914ebcf99c780fed582748d2/external/io_bazel_rules_go/go/def.bzl:26:5: initialization of module 'go/private/context.bzl' failed
(06:07:26) ERROR: Analysis of target '//javatests/io/bazel/rules/closure/http/filter:FilterTestSuite' failed; build aborted

Steps:

git clone https://github.com/bazelbuild/rules_closure.git && cd rules_closure
git reset 7760d83db7e57961b2d865f75788b3b5f5db6ab8 --hard
export USE_BAZEL_VERSION=07e0d316a345a3cb2593f98525320590bbc56e30
bazel build ...

Culprit : https://github.com/bazelbuild/bazel/commit/10a46b1e85f0b5bf8564c125dd02cd4e70017452

CC Greenteam @meteorcloudy