/opt/homebrew/Library/Homebrew/shims/super/xcrun (Errno::ENOENT) #3602
Unanswered
scanterog
asked this question in
Everyday usage
Replies: 2 comments 1 reply
-
@scanterog Have you ever been able to solve this? We're running into the same problem after having switched to Bazel. Thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
-
Bazel likes to reset the environment, and that doesn't interact well with Homebrew's build environment (which uses environment variables to configure the behaviour of the shims). Adding env :std to your formula might help. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
We have a private formula that runs a
bazelisk build
command to generate some static C library (.a file). This is failing withIt works if I create a symlink for
/opt/homebrew/Library/Homebrew/shims/super/xcrun
to/usr/bin/xcrun
. As you can see this is aarch64 but it's also happening for x86.I'm not sure where the problem comes from:
Any pointers? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions