-
Notifications
You must be signed in to change notification settings - Fork 159
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
MacOS - compilepkg: missing strict dependencies #308
Comments
Building this on mac is a little complicated, because docker images are inherently linux-oriented. Please try: |
Thanks! That does indeed work. Out of curiosity, why does that work? |
Since docker containers are linux based, we need to tell bazel that it should use the linux toolchain when building them (without that you get the error messages referring to _linux.go files that you saw). I don't know why specifying goos and goarch in the go_image target is not sufficient. The issue is being discussed over here: bazelbuild/rules_docker#690 |
Awesome! Thank you so much for the info and the link! 😄 |
@mostynb Do you maybe have another idea? |
@Abszissex: That looks like a general bazel question. Maybe you can ask for help on the bazel slack? https://bazelbuild.slack.com/join/shared_invite/zt-dzm4qj0h-maSR3EcEr8SWE1f7dA55zw#/ |
@mostynb |
@saikiran2021: I don't think your error is related to bazel-remote, I can't see any references to it there. I would try asking for help from the gvisor project. |
Building from d8e6748 I run into a build error on MacOS
The text was updated successfully, but these errors were encountered: