Steps to reproduce
I attempted to install apptainer on my cluster with spack. It failed when installing elfutils, it said it couldn't find a header file named archive.h. So I built libarchive to my environment and built again. I got the same error message, but now libarchive was installed. So I added elfutils as follows
spack add elfutils cppflags="-I$(spack location -i libarchive)/include"
Then I did a concretize -f and an install and everything worked.
So the bug is with the elfutils package. It doesn't handle the libarchive dependency correctly.
I should add that I always build my environments with
spack config add concretizer:unify:true
Error message
No response
Information on your system
Queen Bee 4 is a Redhat cluster with a Lustre file system.
Spack debug report:
* **Spack:** 1.2.0.dev0 (https://github.com/spack/spack/commit/b47619603d05fa41a20278af0ac190b2fd7b2540)
* **Builtin repo:** https://github.com/spack/spack-packages/commit/876d656ad17366f92e2233d843ba285d655150dd
* **Python:** 3.11.5
* **Platform:** linux-rhel8-icelake
General information
Steps to reproduce
I attempted to install apptainer on my cluster with spack. It failed when installing elfutils, it said it couldn't find a header file named archive.h. So I built libarchive to my environment and built again. I got the same error message, but now libarchive was installed. So I added elfutils as follows
Then I did a
concretize -fand an install and everything worked.So the bug is with the elfutils package. It doesn't handle the libarchive dependency correctly.
I should add that I always build my environments with
Error message
No response
Information on your system
Queen Bee 4 is a Redhat cluster with a Lustre file system.
Spack debug report:
General information
spack debug reportand reported the version of Spack/Python/Platform