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

x/tools v0.27.0 breaks gomock #4170

Open
psalaberria002 opened this issue Nov 12, 2024 · 1 comment · May be fixed by #4173
Open

x/tools v0.27.0 breaks gomock #4170

psalaberria002 opened this issue Nov 12, 2024 · 1 comment · May be fixed by #4173

Comments

@psalaberria002
Copy link

What version of rules_go are you using?

0.50.1

What version of gazelle are you using?

0.38.0

What version of Bazel are you using?

7.4.0

Does this issue reproduce with the latest releases of all the above?

Yes.

What operating system and processor architecture are you using?

Linux amd64

What did you do?

Upgrade x/tools to v0.27.0 in my own repository, and tried to run go tests that rely on gomock from rules_go.

What did you expect to see?

It should have worked as it did in previous versions of x/tools.

What did you see instead?

It fails with 2024/11/12 21:28:26 Failed to format generated source code: err: go command required, not found: exec: "go": executable file not found in $PATH.

I narrowed it down to this commit golang/tools@cceaf96

@fmeum
Copy link
Member

fmeum commented Nov 12, 2024

@linzhp

@pjjw pjjw linked a pull request Nov 15, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants