bazelbuild / bazelisk

A user-friendly launcher for Bazel.
Apache License 2.0
2.05k stars 316 forks source link

Bazelisk is failing at Bazel@HEAD #497

Closed sgowroji closed 10 months ago

sgowroji commented 1 year ago

https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/3301#018a8729-37a6-48ad-a264-0f74f0672886

Platform : Macos, Ubunut, Windows

Logs

ERROR: /private/var/tmp/_bazel_buildkite/08b7248c4042d1a42e7d552a88ef37e6/external/io_bazel_rules_go/go/private/context.bzl:557: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
(04:17:43) WARNING: Target pattern parsing failed.
(04:17:43) ERROR: Skipping '//...': error loading package under directory '': error loading package 'platforms': at /private/var/tmp/_bazel_buildkite/08b7248c4042d1a42e7d552a88ef37e6/external/io_bazel_rules_go/go/def.bzl:26:5: initialization of module 'go/private/context.bzl' failed
(04:17:43) ERROR: error loading package under directory '': error loading package 'platforms': at 

Steps:

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

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

CC Greenteam @meteorcloudy