You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rules_go via 0.41.0 through bazel-gazelle 0.32.0, but any later version also fails.
What version of gazelle are you using?
0.32.0
What version of Bazel are you using?
7.1.1
Does this issue reproduce with the latest releases of all the above?
Yes.
What operating system and processor architecture are you using?
Gentoo Linux amd64
Any other potentially useful information about your toolchain?
$ gcc --versiongcc (Gentoo Hardened 13.2.1_p20240210 p14) 13.2.1 20240210Copyright (C) 2023 Free Software Foundation, Inc.This is free software; see the source for copying conditions. There is NOwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ ld.lld --versionLLD 17.0.6 (compatible with GNU linkers)
What did you do?
I am working on a ruleset that depends on Gazelle for Starlark library management. I used bazel-contrib/rules-template as a basis for my ruleset, which included bazel-gazelle 0.35.0. Running this tool on my computer always fails with the error I listed below. I've narrowed down the issue to rules_go commit 58534a2, which updates the Go version from 1.19.8 to 1.20.2. Reverting this change with a local_path_override will make the build work properly.
Here's the minimal set of files that cause the error on my system:
What version of rules_go are you using?
rules_go
via 0.41.0 throughbazel-gazelle
0.32.0, but any later version also fails.What version of gazelle are you using?
0.32.0
What version of Bazel are you using?
7.1.1
Does this issue reproduce with the latest releases of all the above?
Yes.
What operating system and processor architecture are you using?
Gentoo Linux amd64
Any other potentially useful information about your toolchain?
What did you do?
I am working on a ruleset that depends on Gazelle for Starlark library management. I used
bazel-contrib/rules-template
as a basis for my ruleset, which includedbazel-gazelle
0.35.0. Running this tool on my computer always fails with the error I listed below. I've narrowed down the issue torules_go
commit 58534a2, which updates the Go version from 1.19.8 to 1.20.2. Reverting this change with alocal_path_override
will make the build work properly.Here's the minimal set of files that cause the error on my system:
What did you expect to see?
Gazelle running normally.
What did you see instead?
The text was updated successfully, but these errors were encountered: