spack: spack install fails on macOS
spack install pkgconfig fails with
==> Installing pkgconf
==> Searching for binary cache of pkgconf
==> Warning: No Spack mirrors are currently configured
==> No binary for pkgconf found: installing from source
==> Error: [Errno 13] Permission denied: '/-'
I have a feeling it’s related to https://github.com/spack/spack/pull/9772
@becker33 @tgamblin @scheibelp ping.
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 28 (28 by maintainers)
Thanks @scheibelp . Given that this is not an issue for a fresh Spack install, should we close this?
FWIW, I removed
.misc_cache/providers/builtin-index.yamland re-ranspack install java(which had failed previously with the same type of error). After removing that, the java install worked (meaning spack recognized that jdk was already installed).I ran into this earlier on macOS, and vaguely remember a reboot being helpful.
Just a guess, but could it be due to some outdated
*.pycfile somewhere + changing or updating a branch?Let us know if you figure this out – I would like to ensure that this doesn’t bite anyone!
just tested on Mac OS 10.12.6, can’t seem to reproduce. Working from same spack commit. Output of my spack debug seems to move right from
No binary...toFetching...as expected.