Steps to reproduce
I am getting an error for ca-certificates-mozilla when I am trying to install it with spack install --source. I don't care about the sources for this package specifically, rather I am kicking off an install for an entire environment with spack install --source and it fails almost immediately in ca-certificates-mozilla in the install phase. The error is that directory shared in the install prefix already exists. This is because of:
I think this needs a test if the directory already exists, which it apparently does when the sources get installed by
spack install --source.
Error message
Not needed, stated above and the error and solution are obvious.
Information on your system
$ spack debug report
* **Spack:** 0.19.0.dev0 (32598f6cb8a32bf004f8066e28c63b3477ae2e9a)
* **Python:** 3.8.10
* **Platform:** linux-ubuntu20.04-cascadelake
* **Concretizer:** clingo
$ uname -a
Linux c6i-32xlarge-dy-c6i-32xlarge-1 5.13.0-1031-aws #35~20.04.1-Ubuntu SMP Mon Jun 13 22:30:30 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
General information
Steps to reproduce
I am getting an error for
ca-certificates-mozillawhen I am trying to install it withspack install --source. I don't care about the sources for this package specifically, rather I am kicking off an install for an entire environment withspack install --sourceand it fails almost immediately inca-certificates-mozillain theinstallphase. The error is that directorysharedin the install prefix already exists. This is because of:spack/var/spack/repos/builtin/packages/ca-certificates-mozilla/package.py
Line 124 in 5a0f497
I think this needs a test if the directory already exists, which it apparently does when the sources get installed by
spack install --source.Error message
Not needed, stated above and the error and solution are obvious.
Information on your system
General information
spack debug reportand reported the version of Spack/Python/Platform