[Nix-dev] clang-based stdenv for OSX Yosemite

Eric Seidel eric at seidel.io
Thu Nov 13 02:28:30 CET 2014


Can you update to the latest joelteon/master (3b57c2b) and build Python again? Joel's hydra seems to be building Python just fine at the moment, and I've also just done it locally without issue.

Thanks!
Eric


> On Nov 12, 2014, at 07:20, Wout Mertens <wout.mertens at gmail.com> wrote:
> 
> So on a fresh 10.10 with XCode 6.1 the joelteon master branch can't build things like Python. The error is below, I presume it is because the downloaded clang depends on libraries that aren't available. Should I just rebuild the world without binary cache?
> 
> configure:3947: checking whether the C compiler works
> 
> configure:3969: clang  -I/nix/store/0vxclyfimw81d5a42z5awxmkvl3zgl1x-zlib-1.2.8/include -I/nix/store/0x4dqky1g3jvwvadcw51najjj0a6ibiq-bzip2-1.0.6/include -I/nix/store/0zma7049nw3mwq8aik183i2mbpgw2426-xz-5.0.5/include -I/nix/store/i49hpms5d8j0cg2izjxnzyl9b02s508j-gdbm-1.11/include -I/nix/store/z1sh0nlnwlv0yma6c91m55fq9zr9d9fa-sqlite-3.8.7/include -I/nix/store/igmjzlrkczlzggaplyi3makxfm9iqvkg-db-5.3.28/include -I/nix/store/m8gw7ggzdny8p2w9dik9f481pmjwmpma-readline-6.3p08/include -I/nix/store/fc688jhpqkbjxhn8xnksswpv5szcvdxg-ncurses-5.9/include -I/nix/store/89zxnpdrhv2z9lffhhmjac52dspqqpi4-openssl-1.0.1j/include -I/nix/store/rah8sp90y0aml9495av4w6ls3y7vjdnj-tcl-8.5.15/include -I/nix/store/7yhp7w16wnq206x4qih2fzfkkbm7s558-tk-8.5.15/include -I/nix/store/kpfyi3q82iblsnb663ybksnas5g09x3q-libX11-1.6.2/include -I/nix/store/wxv9vgqi60dhxm33q10lh0wx8p8l1glk-xproto-7.0.26/include -L/nix/store/0vxclyfimw81d5a42z5awxmkvl3zgl1x-zlib-1.2.8/lib -L/nix/store/0x4dqky1g3jvwvadcw51najjj0a6ibiq-bzip2-1.0.6/lib -L/nix/store/0zma7049nw3mwq8aik183i2mbpgw2426-xz-5.0.5/lib -L/nix/store/i49hpms5d8j0cg2izjxnzyl9b02s508j-gdbm-1.11/lib -L/nix/store/z1sh0nlnwlv0yma6c91m55fq9zr9d9fa-sqlite-3.8.7/lib -L/nix/store/igmjzlrkczlzggaplyi3makxfm9iqvkg-db-5.3.28/lib -L/nix/store/m8gw7ggzdny8p2w9dik9f481pmjwmpma-readline-6.3p08/lib -L/nix/store/fc688jhpqkbjxhn8xnksswpv5szcvdxg-ncurses-5.9/lib -L/nix/store/89zxnpdrhv2z9lffhhmjac52dspqqpi4-openssl-1.0.1j/lib -L/nix/store/rah8sp90y0aml9495av4w6ls3y7vjdnj-tcl-8.5.15/lib -L/nix/store/7yhp7w16wnq206x4qih2fzfkkbm7s558-tk-8.5.15/lib -L/nix/store/kpfyi3q82iblsnb663ybksnas5g09x3q-libX11-1.6.2/lib -L/nix/store/wxv9vgqi60dhxm33q10lh0wx8p8l1glk-xproto-7.0.26/lib conftest.c  -lncurses >&5
> 
> ld: library not found for -lcrt1.10.6.o
> 
> clang-3.5: error: linker command failed with exit code 1 (use -v to see invocation)
> 
> 
> On Fri Nov 07 2014 at 6:23:57 PM Eric Seidel <eric at seidel.io> wrote:
> Alfredo Di Napoli <alfredo.dinapoli at gmail.com> writes:
> 
> > Thank you so much guys for your stoic effort!
> > For the nix newbies like me, could you please expand upon
> > "If you would like to use our branch you should add hydra.joelt.io to your
> > binary caches."
> 
> You want to set the binary-caches option in nix.conf, e.g.
> 
>   binary-caches = http://cache.nixos.org http://hydra.joelt.io
> 
> I think nix looks for /etc/nix/nix.conf by default, but this is
> configurable via the NIX_CONF_DIR environment variable.
> 
> Eric
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev



More information about the nix-dev mailing list