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
When testing Bazel 8.0.0 release candidates (currently rc7) we noticed that native.sh_binary is not found here:
ERROR: Traceback (most recent call last):
File "/home/jnils/.cache/bazel/_bazel_jnils/77d7916d7a03bde8b8c7c52bce9b1508/external/rules_foreign_cc+/toolchains/private/BUILD.bazel", line 158, column 15, in<toplevel>
pkgconfig_tool(
File "/home/jnils/.cache/bazel/_bazel_jnils/77d7916d7a03bde8b8c7c52bce9b1508/external/rules_foreign_cc+/foreign_cc/built_tools/pkgconfig_build.bzl", line 164, column 20, in pkgconfig_tool
runnable_binary(
File "/home/jnils/.cache/bazel/_bazel_jnils/77d7916d7a03bde8b8c7c52bce9b1508/external/rules_foreign_cc+/foreign_cc/utils.bzl", line 61, column 11, in runnable_binary
native.sh_binary(
Error: no native functionor rule 'sh_binary'
We are currently running rules_foreign_cc version 0.10.1 but I see that native.sh_binary is used in the latest main as well.
This is probably something that needs to be updated for compatibility with Bazel 8.0.0.
Loading rules_shell would fix this problem. See bazelbuild/bazel@c56eeeb
The text was updated successfully, but these errors were encountered:
jsharpe
added a commit
to jsharpe/rules_foreign_cc
that referenced
this issue
Dec 6, 2024
When testing Bazel 8.0.0 release candidates (currently rc7) we noticed that native.sh_binary is not found here:
We are currently running rules_foreign_cc version 0.10.1 but I see that native.sh_binary is used in the latest main as well.
This is probably something that needs to be updated for compatibility with Bazel 8.0.0.
Loading rules_shell would fix this problem. See bazelbuild/bazel@c56eeeb
The text was updated successfully, but these errors were encountered: