{"action":"closed","issue":{"url":"https://api.github.com/repos/LLNL/spack/issues/431","repository_url":"https://api.github.com/repos/LLNL/spack","labels_url":"https://api.github.com/repos/LLNL/spack/issues/431/labels{/name}","comments_url":"https://api.github.com/repos/LLNL/spack/issues/431/comments","events_url":"https://api.github.com/repos/LLNL/spack/issues/431/events","html_url":"https://github.com/LLNL/spack/issues/431","id":132568115,"number":431,"title":"spack numpy distutils compilers","user":{"login":"lee218llnl","id":3641995,"avatar_url":"https://avatars.githubusercontent.com/u/3641995?v=3","gravatar_id":"","url":"https://api.github.com/users/lee218llnl","html_url":"https://github.com/lee218llnl","followers_url":"https://api.github.com/users/lee218llnl/followers","following_url":"https://api.github.com/users/lee218llnl/following{/other_user}","gists_url":"https://api.github.com/users/lee218llnl/gists{/gist_id}","starred_url":"https://api.github.com/users/lee218llnl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lee218llnl/subscriptions","organizations_url":"https://api.github.com/users/lee218llnl/orgs","repos_url":"https://api.github.com/users/lee218llnl/repos","events_url":"https://api.github.com/users/lee218llnl/events{/privacy}","received_events_url":"https://api.github.com/users/lee218llnl/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-02-09T23:32:41Z","updated_at":"2016-03-04T18:09:14Z","closed_at":"2016-03-04T18:09:14Z","body":"I don't recall if we ever tried to address this issue, but if I attempt to build something like scipy on top of a spack python with numpy, it tries to bring in the spack compilers:\r\n\r\n$ /usr/apps/python3.5.1/bin/python3 setup.py -v build\r\n\r\n...\r\n\r\ncompiling C sources\r\nC compiler: /collab/usr/gapps/python/build/spack-python-3.5.1/lib/spack/env/gcc/gcc -pthread -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC\r\n\r\ncompile options: '-I/usr/apps/python3.5.1/lib/python3.5/site-packages/numpy/core/include -I/usr/apps/python3.5.1/lib/python3.5/site-packages/numpy/core/include -I/usr/apps/python3.5.1/include/python3.5m -c'\r\ngcc: scipy/cluster/_hierarchy.c\r\nexec_command(['/collab/usr/gapps/python/build/spack-python-3.5.1/lib/spack/env/gcc/gcc', '-pthread', '-Wsign-compare', '-Wunreachable-code', '-DNDEBUG', '-g', '-fwrapv', '-O3', '-Wall', '-Wstrict-prototypes', '-fPIC', '-I/usr/apps/python3.5.1/lib/python3.5/site-packages/numpy/core/include', '-I/usr/apps/python3.5.1/lib/python3.5/site-packages/numpy/core/include', '-I/usr/apps/python3.5.1/include/python3.5m', '-c', 'scipy/cluster/_hierarchy.c', '-o', 'build/temp.linux-x86_64-3.5/scipy/cluster/_hierarchy.o'],)\r\nRetaining cwd: /g/g0/lee218/src/python/scipy-0.17.0\r\n_preserve_environment([])\r\n_update_environment(...)\r\n_exec_command_posix(...)\r\nRunning os.system('( /collab/usr/gapps/python/build/spack-python-3.5.1/lib/spack/env/gcc/gcc -pthread -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/apps/python3.5.1/lib/python3.5/site-packages/numpy/core/include -I/usr/apps/python3.5.1/lib/python3.5/site-packages/numpy/core/include -I/usr/apps/python3.5.1/include/python3.5m -c scipy/cluster/_hierarchy.c -o build/temp.linux-x86_64-3.5/scipy/cluster/_hierarchy.o ; echo $? > /var/tmp/lee218/tmp87yy_gfd/jclr35pl ) 2>&1 | tee /var/tmp/lee218/tmp87yy_gfd/xsk06kuy ')\r\nSpack compiler must be run from spack!  Input SPACK_PREFIX was missing!\r\n_update_environment(...)\r\nSpack compiler must be run from spack!  Input SPACK_PREFIX was missing!\r\nerror: Command \"/collab/usr/gapps/python/build/spack-python-3.5.1/lib/spack/env/gcc/gcc -pthread -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/apps/python3.5.1/lib/python3.5/site-packages/numpy/core/include -I/usr/apps/python3.5.1/lib/python3.5/site-packages/numpy/core/include -I/usr/apps/python3.5.1/include/python3.5m -c scipy/cluster/_hierarchy.c -o build/temp.linux-x86_64-3.5/scipy/cluster/_hierarchy.o\" failed with exit status 1\r\n"}}