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

Genrules in Bazel 6 occasionally try to run shared libraries built by go_binary #3120

Closed
phst opened this issue Apr 14, 2022 · 0 comments · Fixed by #3108
Closed

Genrules in Bazel 6 occasionally try to run shared libraries built by go_binary #3120

phst opened this issue Apr 14, 2022 · 0 comments · Fixed by #3108

Comments

@phst
Copy link
Contributor

phst commented Apr 14, 2022

What version of rules_go are you using?

0.31.0

What version of gazelle are you using?

None

What version of Bazel are you using?

6.0.0-pre.20220407.1

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

No, this is a behavior change in Bazel 6, which doesn't occur in Bazel 5, see bazelbuild/bazel#14626.

What operating system and processor architecture are you using?

macOS 12.3.1, ARM

Any other potentially useful information about your toolchain?

No

What did you do?

A not very minimal recipe is described in bazelbuild/bazel#14626 (comment).

What did you expect to see?

Build successful

What did you see instead?

Build failed as described in bazelbuild/bazel#14626.

bazelbuild/bazel#14626 has lots of information including a root-cause analysis and an open PR.

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.

1 participant