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

Problematic native.sh_* references block Bazel 8 migration for rule repositories #4181

Closed
ted-xie opened this issue Nov 26, 2024 · 0 comments · Fixed by #4182
Closed

Problematic native.sh_* references block Bazel 8 migration for rule repositories #4181

ted-xie opened this issue Nov 26, 2024 · 0 comments · Fixed by #4182

Comments

@ted-xie
Copy link
Contributor

ted-xie commented Nov 26, 2024

What version of rules_go are you using?

0.50

What version of gazelle are you using?

Does not apply to this bug.

What version of Bazel are you using?

8.0.0rc4

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

Yes

What operating system and processor architecture are you using?

Linux, x86_64

Any other potentially useful information about your toolchain?

rules_go is a dep to another rule repository, rules_android.

What did you do?

Try to build a go_binary within rules_android.

What did you expect to see?

Build success

What did you see instead?

	File "/var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/ec321eb2cc2d0f8f91b676b6d4c66c29/external/rules_go+/go/private/tools/files_equal_test.bzl", line 108, column 11, in files_equal_test
		native.sh_test(
Error: no native function or rule 'sh_test'

https://buildkite.com/bazel/rules-android/builds/3191#01936542-a58f-46c1-a3b0-b7ec3772e329

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