-
Notifications
You must be signed in to change notification settings - Fork 4k
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
homebrew build does not work for 0.5rc3 #2953
Comments
(note that bootstrapping outside of homebrew works no problem) |
Confirmed on my other laptop. Same error. |
Seems like a bug in Homebrew's clang wrapper... |
The failing line seems to be this: I guess either Does that help somehow? |
Yes that means that we strip out HOMEBREW_OPT or HOMEBREW_CELLAR. This was my first idea too that we stopped shipping some environment variable. I would suspect a change by Nicolas on cc_configure.bzl, let me confirm that. |
Ok this is due to a weird bug: cc_configure doesn't see the whole environment, just the subset from the environ variable. |
I could not repro on Linux with:
So either this is a darwin bug, something specific to homebrew env or in cc_configure. |
Ok cannot repro with that example in the homebrew env, so cc_configure looks like more and more like a suspect. |
Of course, the issue is that we do not pass all environment variable during bootstrap, we should fix that. |
Output:
git diff:
The text was updated successfully, but these errors were encountered: