eic / eic-spack

Spack packages for the Electron Ion Collider
3 stars 6 forks source link

FTBFS: Error installing athena-eic without an environment #137

Open DraTeots opened 3 years ago

DraTeots commented 3 years ago

Steps to reproduce the issue

Running a new spack installation using eic/spack repository

git clone https://github.com/eic/spack.git
. spack/share/spack/setup-env.sh
git clone https://github.com/eic/eic-spack.git
spack repo add eic-spack
spack install -j25 athena-eic +reconstruction

The result is:

==> Error: An unsatisfiable variant constraint has been detected for spec:
    boost@1.74.0%gcc@9.3.0+atomic+chrono~clanglibcpp~container~context~coroutine+date_time~debug+exception~fiber+filesystem+graph~icu+iostreams+locale+log+math~mpi+multithreaded~numpy~pic+program_options~python+random+regex+serialization+shared+signals~singlethreaded+system~taggedlayout+test+thread+timer~versionedlayout+wave cxxstd=98 visibility=hidden arch=linux-linuxmint20-zen
        ^bzip2@1.0.8%gcc@9.3.0+shared arch=linux-linuxmint20-zen
            ^diffutils@3.7%gcc@9.3.0 arch=linux-linuxmint20-zen
                ^libiconv@1.16%gcc@9.3.0 arch=linux-linuxmint20-zen
        ^zlib@1.2.11%gcc@9.3.0+optimize+pic+shared arch=linux-linuxmint20-zen

while trying to concretize the partial spec:

    gaudi@36.0:36.99
        ^aida
        ^cmake@3.18.4%gcc@9.3.0~doc+ncurses+openssl+ownlibs~qt arch=linux-linuxmint20-zen
            ^ncurses@6.2%gcc@9.3.0~symlinks+termlib arch=linux-linuxmint20-zen
                ^pkgconf@1.7.3%gcc@9.3.0 arch=linux-linuxmint20-zen
            ^openssl@1.0.2:
                ^perl@5.32.0%gcc@9.3.0+cpanm+shared+threads arch=linux-linuxmint20-zen
                    ^berkeley-db@18.1.40%gcc@9.3.0 arch=linux-linuxmint20-zen
                    ^gdbm@1.18.1%gcc@9.3.0 arch=linux-linuxmint20-zen
                        ^readline@8.0%gcc@9.3.0 arch=linux-linuxmint20-zen
                ^zlib@1.2.11%gcc@9.3.0+optimize+pic+shared arch=linux-linuxmint20-zen

gaudi requires boost variant +python, but spec asked for ~python

Information on your system

> spack debug report

* **Spack:** 0.14.2-3925-ba7ec78af2
* **Python:** 3.8.10
* **Platform:** linux-linuxmint20-zen
wdconinc commented 3 years ago

Strongly recommend spack 0.16 , not 0.14.

DraTeots commented 3 years ago

Spack 0.16.3 fails with

spack concretize
Error: 'str' object has no attribute 'get'

Spack master fails - it can't find proper fastjet

Spack 0.16.0 fails with circular dependency

Trying spack 0.16.2 now... But it is hopeless. Sad to say, being an advocate for spack, the thing is not working outside of docker containers and HPC (Where one at least spends a lot of time debugging spack for all)

wdconinc commented 3 years ago

What is spack master? There is no master branch in the spack repo.

DraTeots commented 3 years ago

Looked at the branch name, it is develop. The default branch when one does:

git clone https://github.com/spack/spack.git

Actually I now on it. Removed pythia+fastjet.