-
Notifications
You must be signed in to change notification settings - Fork 691
Unable to build rust images on macOS #2108
Comments
I think I'm having a similar problem, though not with rust. I'm also on |
I'm having the same exact issue in the same environment. |
Ditto, just ran into this as well! |
I'm having this issue trying to build a python image as well:
|
We are also affected by this issue. |
This issue has been automatically marked as stale because it has not had any activity for 180 days. It will be closed if no further activity occurs in 30 days. |
This issue was automatically closed because it went 30 days without a reply since it was labeled "Can Close?" |
I just got this issue as well. Since it has been closed, is there any solution for this? |
🐞 bug report
Affected Rule
The issue seems to be triggered by calling the `_rust_image_repos()` rule. I'm not convinced that this rule is the culprit, since adding a `go` toolchain produces a different error.Is this a regression?
I'm not sure. I don't go further back than `0.21.0` and the issue was still prevalent thereDescription
It is currently not possible to build a rust docker image on macOS (12.4). You'll run into multiple issues when attempting to build. See exception for error messages for each:cpp:toolchain
. This seems related to py_binary stops working after adding rules_docker dependencies #2075, as adding ago
toolchain fixes this error but gives you a new error messagego
toolchain you will get an error indexing into theio_bazel_rules_go
. Addinggazelle
seems to fix this problem.gazelle
it seems like you arrive at a dead end where therust
toolchain is missing.🔬 Minimal Reproduction
I add a Github Repo with a minimal example. Note the branches are numbered to correspond the errors below:
🔥 Exception or Error
1:
2:
3:
🌍 Your Environment
Operating System:
Output of
bazel version
:Rules_docker version:
Anything else relevant?
The issues also seems to be persistent in
0.22
, so it might not be related to #1963I'm not sure if this issue also exists on linux since I don't have access to a Linux box
The text was updated successfully, but these errors were encountered: