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

Flag --incompatible_disable_starlark_host_transitions will break rules_go in Bazel 7.0 #3403

Closed
keertk opened this issue Dec 16, 2022 · 4 comments · Fixed by #3560 or #3575
Closed

Comments

@keertk
Copy link

keertk commented Dec 16, 2022

Incompatible flag --incompatible_disable_starlark_host_transitions will be enabled by default in the next major release (Bazel 7.0), thus breaking rules_go. Please migrate to fix this and unblock the flip of this flag.

The flag is documented here: bazelbuild/bazel#17032.

Please check the following CI builds for build and test results:

Never heard of incompatible flags before? We have documentation that explains everything.
If you have any questions, please file an issue in https://github.com/bazelbuild/continuous-integration.

@sgowroji
Copy link
Contributor

Hi Team, Gentle Ping to know the update of this issue. Thanks!

@fmeum
Copy link
Member

fmeum commented May 19, 2023

Should be fixed by #3560, please reopen if this shows up as incompatible again.

@fmeum fmeum closed this as completed May 19, 2023
@sgowroji
Copy link
Contributor

sgowroji commented May 30, 2023

Hi @fmeum, We are still seeing below error in this CI. Can you please reopen.

ERROR: Traceback (most recent call last):
	File "/private/var/tmp/_bazel_buildkite/569955c6056d8d7f109585f4bba80d72/external/bazel_gazelle/def.bzl", line 96, column 30, in <toplevel>
		"gazelle": attr.label(
Error in label: 'cfg = "host"' is deprecated and should no longer be used. Please use 'cfg = "exec"' instead.
(03:10:09) WARNING: Target pattern parsing failed.
(03:10:09) ERROR: Skipping '//...': error loading package under directory '': error loading package '': initialization of module 'def.bzl' failed
(03:10:09) ERROR: error loading package under directory '': error loading package '': initialization of module 'def.bzl' failed

@fmeum
Copy link
Member

fmeum commented May 30, 2023

@sgowroji Thanks for the report, I had missed some of the CI jobs. #3575 should fix this for good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants