Closed schwehr closed 7 months ago
This specific issue is not specific to/caused by rules_jsonnet. Instead, it is caused by using versions of Bazel, rules_go, jsonnet-go, etc. that are not compatible with macOS running on Apple Silicon. If I take the earthengine-catalog repository, update .bazelversion
, remove WORKSPACE
and add MODULE.bazel
with the following contents:
bazel_dep(name = "rules_jsonnet", version = "0.6.0", repo_name = "io_bazel_rules_jsonnet")
Then I am able to build all Jsonnet sources just fine. I am therefore going to close this issue. Thanks for reporting it regardless!
This is seen on a Mac Book M1. I've done things from scratch using homebrew on an x86 mac and don't have the issue.
This looks to be trouble with things that are built for x86 and then hitting arm with the mac? Is there some easy way to get this to work?
The
WORKSPACE
file:https://github.com/google/earthengine-catalog/blob/4c44f52548abf6893391c21820f31983fd3a8712/WORKSPACE