-
-
Notifications
You must be signed in to change notification settings - Fork 686
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
rules_go breaks with incompatible_require_linker_input_cc_api #2720
Comments
Strangely, rules_go is green in Bazel downstream. Do we lack test coverage for this? |
We see these failures for two very straightforward cgo-using targets:
The |
Looks like 3f47128 fixed the problem, but it's not yet included in a release. |
@meteorcloudy The next minor release is scheduled for mid-December. I couldn't include this change in a patch release because it increased the minimum supported version of Bazel. Is this needed sooner? I haven't had time to look into this yet beyond basic triage, so I'm not sure what the state of the flag is. |
The flag is flipped and will be included in the 4.0 Bazel LTS release (which is probably going out in Dec). We caught the problem in downstream for Kythe, it's better to have a rules_go version that people can upgrade to for 4.0. In the meantime, @shahms do you want to wait for the rules_go release or can you ping it to a specific commit? |
@meteorcloudy Ok cool. I'll pull in the rules_go release as much as I can, but the earliest it could go out is ~2 weeks from now. |
Confirmed that |
@meteorcloudy Generally prefer to wait for a rules_go release, but willing to pin to a git commit if you need. Thanks! |
@shahms If you can pin rules_go to a commit, we can still test Bazel@HEAD with Kythe in downstream so that we can catch other potential breakages for you. ;) |
@jayconrod I believe this bug should be reopened. On bazel 4.0 (which flips |
@mrmeku This seems to be working on |
(See kythe/kythe#4760)
What version of rules_go are you using?
v0.24.7
What version of gazelle are you using?
v0.22.2
What version of Bazel are you using?
3.7.0
Does this issue reproduce with the latest releases of all the above?
yes
What did you do?
bazel test --incompatible_require_linker_input_cc_api //kythe/...
What did you expect to see?
A successful build.
What did you see instead?
The text was updated successfully, but these errors were encountered: