-
Notifications
You must be signed in to change notification settings - Fork 96
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
An error occurred during the fetch of repository 'rbe_default': key "mac os x" not found in dictionary #895
Comments
It looks like you're running Bazel from a Mac. Mac (client) -> Linux (remote machine) builds aren't supported by these rules yet. I would suggest trying to run the rules from a Linux machine instead to fix this error. |
That makes sense, thanks! Are there any plans to support cross-operating system builds? If so, is there a timeline we could expect this by? |
No plans to support cross-operating system builds in bazel-toolchains at the moment. However, if you're willing to contribute support I won't say no provided you can figure out how to test it 😃 |
Is it something that changed recently? |
Provides a workaround for bazelbuild#895. Use like this: rbe_autoconfig( name = "engflow_remote_config", os_family = "Linux", java_home = "/usr/lib/jvm/11.29.3-ca-jdk11.0.2/reduced", use_checked_in_confs = "Force", )
The underlying problem is that the rules look at the current OS to determine which configs to generate. I came up with a patch that allows manually overriding the auto-detection: This probably doesn't work with Windows, but I was able to cross-build some things using a Linux cluster from a Mac laptop. @smukherj1 I don't think anyone other than you can figure out how to test this in your CI. |
Provides a workaround for bazelbuild#895. Use like this: rbe_autoconfig( name = "engflow_remote_config", os_family = "Linux", java_home = "/usr/lib/jvm/11.29.3-ca-jdk11.0.2/reduced", use_checked_in_confs = "Force", )
@ulfjack Do you have a PR to get your override change merged? We'd definitely use it. |
Provides a workaround for bazelbuild#895. Use like this: rbe_autoconfig( name = "engflow_remote_config", os_family = "Linux", java_home = "/usr/lib/jvm/11.29.3-ca-jdk11.0.2/reduced", use_checked_in_confs = "Force", )
Provides a workaround for bazelbuild#895. Use like this: rbe_autoconfig( name = "engflow_remote_config", os_family = "Linux", java_home = "/usr/lib/jvm/11.29.3-ca-jdk11.0.2/reduced", use_checked_in_confs = "Force", )
Provides a workaround for bazelbuild#895. Use like this: rbe_autoconfig( name = "engflow_remote_config", os_family = "Linux", java_home = "/usr/lib/jvm/11.29.3-ca-jdk11.0.2/reduced", use_checked_in_confs = "Force", )
Hey folks,
I'm currently trying to run the examples in this repository. For context, I have a remote execution server running BuildGrid on an Amazon Linux image. I am using
bazel_toolchains
version 3.3.1.After copying the example WORKSPACE and .bazelrc, I'm receiving this error message:
Has anyone else run into this issue before? If so, how did you resolve this?
The text was updated successfully, but these errors were encountered: