{"action":"created","issue":{"url":"https://api.github.com/repos/LLNL/spack/issues/237","labels_url":"https://api.github.com/repos/LLNL/spack/issues/237/labels{/name}","comments_url":"https://api.github.com/repos/LLNL/spack/issues/237/comments","events_url":"https://api.github.com/repos/LLNL/spack/issues/237/events","html_url":"https://github.com/LLNL/spack/issues/237","id":122354335,"number":237,"title":"Failure on Mac El Capiton","user":{"login":"BarrySmith","id":512185,"avatar_url":"https://avatars.githubusercontent.com/u/512185?v=3","gravatar_id":"","url":"https://api.github.com/users/BarrySmith","html_url":"https://github.com/BarrySmith","followers_url":"https://api.github.com/users/BarrySmith/followers","following_url":"https://api.github.com/users/BarrySmith/following{/other_user}","gists_url":"https://api.github.com/users/BarrySmith/gists{/gist_id}","starred_url":"https://api.github.com/users/BarrySmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BarrySmith/subscriptions","organizations_url":"https://api.github.com/users/BarrySmith/orgs","repos_url":"https://api.github.com/users/BarrySmith/repos","events_url":"https://api.github.com/users/BarrySmith/events{/privacy}","received_events_url":"https://api.github.com/users/BarrySmith/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/LLNL/spack/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-12-15T20:02:11Z","updated_at":"2015-12-22T22:16:58Z","closed_at":null,"body":"\r\n\r\n1) doesn't find clang compilers\r\n\r\n~/Src/spack (develop=) arch-hwloc\r\n$ which clang\r\n/usr/bin/clang\r\n~/Src/spack (develop=) arch-hwloc\r\n$ ./bin/spack compilers\r\n==> Available compilers\r\n-- gcc ----------------------------------------------------------\r\ngcc@5.2.0  gcc@4.2.1\r\n~/Src/spack (develop=) arch-hwloc\r\n\r\n2) Cannot install cmake\r\n\r\n$ ./bin/spack install cmake\r\n==> Installing cmake\r\n==> Already downloaded /Users/barrysmith/Src/spack/var/spack/stage/cmake-3.4.0-3ji5lddqvejw2y75nf2ebrcqlf6w2htw/cmake-3.4.0.tar.gz.\r\n==> Already staged cmake in /Users/barrysmith/Src/spack/var/spack/stage/cmake-3.4.0-3ji5lddqvejw2y75nf2ebrcqlf6w2htw.\r\n==> No patches needed for cmake.\r\n==> Building cmake.\r\n==> Error: Command exited with status 6:\r\n./configure --prefix=/Users/barrysmith/Src/spack/opt/spack/darwin-x86_64/gcc-5.2.0/cmake-3.4.0-3ji5lddqvejw2y75nf2ebrcqlf6w2htw --parallel=8\r\n\r\nSee build log for details:\r\n  /private/var/folders/c1/ldz_dt8n2r3dtwv_chp5pfr40000gn/T/spack-stage/spack-stage-OFjo7A/cmake-3.4.0/spack-build.out\r\n\r\n/Users/barrysmith/Src/spack/var/spack/packages/cmake/package.py:46, in install:\r\n     44       def install(self, spec, prefix):\r\n     45           configure('--prefix='   + prefix,\r\n  >> 46                     '--parallel=' + str(make_jobs))\r\n     47           make()\r\n     48           make('install')\r\n==> Error: Installation process had nonzero exit code.\r\n~/Src/spack (develop=) arch-hwloc\r\n$ cat /private/var/folders/c1/ldz_dt8n2r3dtwv_chp5pfr40000gn/T/spack-stage/spack-stage-OFjo7A/cmake-3.4.0/spack-build.out\r\n==> ./configure --prefix=/Users/barrysmith/Src/spack/opt/spack/darwin-x86_64/gcc-5.2.0/cmake-3.4.0-3ji5lddqvejw2y75nf2ebrcqlf6w2htw --parallel=8\r\n---------------------------------------------\r\nCMake 3.4.0, Copyright 2000-2015 Kitware, Inc.\r\n---------------------------------------------\r\nError when bootstrapping CMake:\r\nCannot find appropriate C compiler on this system.\r\nPlease specify one using environment variable CC.\r\nSee cmake_bootstrap.log for compilers attempted.\r\n\r\n---------------------------------------------\r\nLog of errors: /private/var/folders/c1/ldz_dt8n2r3dtwv_chp5pfr40000gn/T/spack-stage/spack-stage-OFjo7A/cmake-3.4.0/Bootstrap.cmk/cmake_bootstrap.log\r\n---------------------------------------------\r\n~/Src/spack (develop=) arch-hwloc\r\n$ \r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/LLNL/spack/issues/comments/166747143","html_url":"https://github.com/LLNL/spack/issues/237#issuecomment-166747143","issue_url":"https://api.github.com/repos/LLNL/spack/issues/237","id":166747143,"user":{"login":"eschnett","id":213514,"avatar_url":"https://avatars.githubusercontent.com/u/213514?v=3","gravatar_id":"","url":"https://api.github.com/users/eschnett","html_url":"https://github.com/eschnett","followers_url":"https://api.github.com/users/eschnett/followers","following_url":"https://api.github.com/users/eschnett/following{/other_user}","gists_url":"https://api.github.com/users/eschnett/gists{/gist_id}","starred_url":"https://api.github.com/users/eschnett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eschnett/subscriptions","organizations_url":"https://api.github.com/users/eschnett/orgs","repos_url":"https://api.github.com/users/eschnett/repos","events_url":"https://api.github.com/users/eschnett/events{/privacy}","received_events_url":"https://api.github.com/users/eschnett/received_events","type":"User","site_admin":false},"created_at":"2015-12-22T22:16:58Z","updated_at":"2015-12-22T22:16:58Z","body":"The only free Fortran compiler comes with gcc. I just submitted a pull request to make gcc build on OS X with Spack. I tested this with the native Apple compilers. Such a gfortran should work fine together with Apple's C/C++ compilers. In fact, gcc's C and C++ compilers should also be compatible with Apples C/C++ compilers.\r\n"}}