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-skylib is failing at BAZEL@HEAD #459

Closed
sgowroji opened this issue Sep 12, 2023 · 2 comments · Fixed by #460
Closed

bazel-skylib is failing at BAZEL@HEAD #459

sgowroji opened this issue Sep 12, 2023 · 2 comments · Fixed by #460

Comments

@sgowroji
Copy link
Member

https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/3301#018a8729-1c10-4eb0-84a6-fbf82bc08eb8

Platform : Macos, Ubunut, Windows

Logs

ERROR: /private/var/tmp/_bazel_buildkite/f2ac65e2a4189f8c9b21d9a2462fd49f/external/io_bazel_rules_go/go/private/context.bzl:556: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:18) ERROR: Skipping '@bazel_skylib_gazelle_plugin//...': error loading package under directory '': error loading package '@bazel_skylib_gazelle_plugin//bzl': at /private/var/tmp/_bazel_buildkite/f2ac65e2a4189f8c9b21d9a2462fd49f/external/io_bazel_rules_go/go/def.bzl:26:5: initialization of module 'go/private/context.bzl' failed
(04:17:18) ERROR: error loading package under directory '': error loading package '@bazel_skylib_gazelle_plugin//bzl': at /private/var/tmp/_bazel_buildkite/f2ac65e2a4189f8c9b21d9a2462fd49f/external/io_bazel_rules_go/go/def.bzl:26:5: initialization of module 'go/private/context.bzl' failed

Steps:

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

Culprit : bazelbuild/bazel@10a46b1

CC Greenteam @meteorcloudy

@fmeum
Copy link
Contributor

fmeum commented Sep 12, 2023

@comius I think we should roll back bazelbuild/bazel@10a46b1 and coordinate fixes to rulesets first. To fix skylib, we would first need to fix rules_go, then release, then update skylib, ... This would keep downstream broken for a while.

@sgowroji
Copy link
Member Author

sgowroji commented Oct 6, 2023

This Issue is Fixed with 6bf7bae . We can close it.

@sgowroji sgowroji closed this as completed Oct 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants