Error building stat
Closed this issue · 4 comments
I am getting this error when running ./bin/spack install stat:
on my local machine:
==> Error: An unsatisfiable variant constraint has been detected for spec:
binutils@2.36.1%gcc@9.3.0~gas+gold~headers~interwork~ld~libiberty~lto+nls~plugins arch=linux-ubuntu20.04-skylake
^diffutils@3.7%gcc@9.3.0 arch=linux-ubuntu20.04-skylake
^libiconv@1.16%gcc@9.3.0 arch=linux-ubuntu20.04-skylake
^gettext@0.21%gcc@9.3.0+bzip2+curses+git~libunistring+libxml2+tar+xz arch=linux-ubuntu20.04-skylake
^bzip2@1.0.8%gcc@9.3.0+shared arch=linux-ubuntu20.04-skylake
^libxml2@2.9.10%gcc@9.3.0~python arch=linux-ubuntu20.04-skylake
^pkgconf@1.7.4%gcc@9.3.0 arch=linux-ubuntu20.04-skylake
^xz@5.2.5%gcc@9.3.0~pic arch=linux-ubuntu20.04-skylake
^zlib@1.2.11%gcc@9.3.0+optimize+pic+shared arch=linux-ubuntu20.04-skylake
^ncurses@6.2%gcc@9.3.0~symlinks+termlib abi=none arch=linux-ubuntu20.04-skylake
^tar@1.34%gcc@9.3.0 arch=linux-ubuntu20.04-skylake
while trying to concretize the partial spec:
llvm@12.0.0%gcc@9.3.0~all_targets+clang~code_signing+compiler-rt~cuda~flang+gold+internal_unwind~ipo+libcxx+lld+lldb~llvm_dylib~mlir~omp_debug~omp_tsan+polly~python~shared_libs~split_dwarf build_type=Release cuda_arch=none arch=linux-ubuntu20.04-skylake
^cmake@3.20.1%gcc@9.3.0~doc+ncurses+openssl+ownlibs~qt build_type=Release arch=linux-ubuntu20.04-skylake
^ncurses@6.2%gcc@9.3.0~symlinks+termlib abi=none arch=linux-ubuntu20.04-skylake
^pkgconf@1.7.4%gcc@9.3.0 arch=linux-ubuntu20.04-skylake
^openssl@1.1.1k%gcc@9.3.0~docs+systemcerts arch=linux-ubuntu20.04-skylake
^perl@5.32.1%gcc@9.3.0+cpanm+shared+threads arch=linux-ubuntu20.04-skylake
^berkeley-db@18.1.40%gcc@9.3.0+cxx~docs+stl arch=linux-ubuntu20.04-skylake
^gdbm@1.19%gcc@9.3.0 arch=linux-ubuntu20.04-skylake
^readline@8.1%gcc@9.3.0 arch=linux-ubuntu20.04-skylake
^zlib@1.2.11%gcc@9.3.0+optimize+pic+shared arch=linux-ubuntu20.04-skylake
^hwloc@2.4.1%gcc@9.3.0~cairo~cuda~gl~libudev+libxml2~netloc~nvml+pci+shared arch=linux-ubuntu20.04-skylake
^libpciaccess@0.16%gcc@9.3.0 arch=linux-ubuntu20.04-skylake
^libtool@2.4.6%gcc@9.3.0 arch=linux-ubuntu20.04-skylake
^m4@1.4.18%gcc@9.3.0+sigsegv arch=linux-ubuntu20.04-skylake
^libsigsegv@2.13%gcc@9.3.0 arch=linux-ubuntu20.04-skylake
^util-macros@1.19.1%gcc@9.3.0 arch=linux-ubuntu20.04-skylake
^libxml2@2.9.10%gcc@9.3.0~python arch=linux-ubuntu20.04-skylake
^libiconv@1.16%gcc@9.3.0 arch=linux-ubuntu20.04-skylake
^xz@5.2.5%gcc@9.3.0~pic arch=linux-ubuntu20.04-skylake
^libedit@3.1-20210216%gcc@9.3.0 arch=linux-ubuntu20.04-skylake
^perl-data-dumper@2.173%gcc@9.3.0 arch=linux-ubuntu20.04-skylake
^python@3.8.9%gcc@9.3.0+bz2+ctypes+dbm~debug+libxml2+lzma~nis~optimizations+pic+pyexpat+pythoncmd+readline+shared+sqlite3+ssl~tix~tkinter~ucs4+uuid+zlib arch=linux-ubuntu20.04-skylake
^bzip2@1.0.8%gcc@9.3.0+shared arch=linux-ubuntu20.04-skylake
^diffutils@3.7%gcc@9.3.0 arch=linux-ubuntu20.04-skylake
^expat@2.3.0%gcc@9.3.0+libbsd arch=linux-ubuntu20.04-skylake
^libbsd@0.11.3%gcc@9.3.0 arch=linux-ubuntu20.04-skylake
^libmd@1.0.3%gcc@9.3.0 arch=linux-ubuntu20.04-skylake
^gettext@0.21%gcc@9.3.0+bzip2+curses+git~libunistring+libxml2+tar+xz arch=linux-ubuntu20.04-skylake
^tar@1.34%gcc@9.3.0 arch=linux-ubuntu20.04-skylake
^libffi@3.3%gcc@9.3.0 arch=linux-ubuntu20.04-skylake
^sqlite@3.35.4%gcc@9.3.0+column_metadata+fts~functions~rtree arch=linux-ubuntu20.04-skylake
^util-linux-uuid@2.36.2%gcc@9.3.0 arch=linux-ubuntu20.04-skylake
^swig@4.0.2%gcc@9.3.0 arch=linux-ubuntu20.04-skylake
^pcre@8.44%gcc@9.3.0~jit+multibyte+utf arch=linux-ubuntu20.04-skylake
^z3
llvm requires binutils variant +plugins, but spec asked for ~plugins
What packages should I install/edit here?
Was this a recent checkout of spack? Can you do a git pull
in your spack directory and see if that fixes it? If not, then can you please submit an issue to the spack github project and assign it to me? This is more of a spack dependency issue that a STAT one. Thanks.
I can reproduce the problem. You can work around this with:
./bin/spack install stat ^binutils+plugins
@abhaasgoyal I submitted an issue to the Spack project. Please let me know if the workaround works for you in the meantime.
@lee218llnl it's installing successfully now, this workaround works for me as of now.. thank you very much for clarifying.