-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
gcc fails to build on OS X #16806
Comments
So, you should be able to build it on the latest Git master version, but it looks like there's some issue on Hydra: |
I ran a
Any ideas? |
For me it fails trying to do some odd variable name substitution in setup.sh:
See: #14907 |
Just tried this and |
@knedlsepp It compiles fine if you have the "Command Line Tools" installed. If you don't (which includes Hydra), it fails with
I've got it working in #18327 but it's not a very elegant solution. |
We fixed this in recent master I believe. |
Issue description
With a completely fresh install of OS X 10.11,
nixpkgs.gcc6
,nixpkgs.gcc46
,nixpkgs.gcc48
,nixpkgs.gcc49
andnixpkgs.gcc
fail to build. In fact, I've been unable to get any gcc package to build successfully. I tried before and after installing XCode and the command line tools, and regenerating the locate database with no changes in the results.Attempting
nix-env -iA nixpkgs.gcc6
results in the following error:and
yet
locate libc.dylib
returnsSteps to reproduce
nix-env -i nixpkgs.gcc6
on OS X 10.11.Technical details
The text was updated successfully, but these errors were encountered: