Open skylerpaulus opened 3 years ago
Try:
$ spack install qgis@3.18.2 ^py-pyqt5+qsci_api
$ spack install qgis@3.18.2 ^py-pyqt5+qsci_api
==> Error: An unsatisfiable variant constraint has been detected for spec:
cairo@1.16.0%gcc@9.2.0~X~fc~ft~gobject~pdf~png~svg arch=linux-centos7-x86_64
^autoconf@2.69%gcc@9.2.0 arch=linux-centos7-x86_64
^m4@1.4.18%gcc@9.2.0+sigsegv arch=linux-centos7-x86_64
^libsigsegv
^perl@5.32.1%gcc@9.2.0+cpanm+shared+threads arch=linux-centos7-x86_64
^berkeley-db@18.1.40%gcc@9.2.0 arch=linux-centos7-x86_64
^gdbm@1.18.1%gcc@9.2.0 arch=linux-centos7-x86_64
^readline@8.0%gcc@9.2.0 arch=linux-centos7-x86_64
^ncurses@6.2%gcc@9.2.0~symlinks+termlib arch=linux-centos7-x86_64
^pkgconf@1.7.3%gcc@9.2.0 arch=linux-centos7-x86_64
^automake@1.16.3%gcc@9.2.0 arch=linux-centos7-x86_64
^glib@2.66.2%gcc@9.2.0~libmount tracing=none arch=linux-centos7-x86_64
^gettext@0.21%gcc@9.2.0+bzip2+curses+git~libunistring+libxml2+tar+xz arch=linux-centos7-x86_64
^bzip2@1.0.8%gcc@9.2.0+shared arch=linux-centos7-x86_64
^diffutils@3.7%gcc@9.2.0 arch=linux-centos7-x86_64
^libiconv@1.16%gcc@9.2.0 arch=linux-centos7-x86_64
^libxml2@2.9.10%gcc@9.2.0~python arch=linux-centos7-x86_64
^xz@5.2.5%gcc@9.2.0~pic arch=linux-centos7-x86_64
^zlib@1.2.11%gcc@9.2.0+optimize+pic+shared arch=linux-centos7-x86_64
^tar
^libffi@3.3%gcc@9.2.0 arch=linux-centos7-x86_64
^meson@0.52:
^cmake@3.19.2%gcc@9.2.0~doc+ncurses+openssl+ownlibs~qt arch=linux-centos7-x86_64
^openssl@1.1.1i%gcc@9.2.0+systemcerts arch=linux-centos7-x86_64
^ninja
^python@3.8.7%gcc@9.2.0+bz2+ctypes+dbm~debug+libxml2+lzma~nis~optimizations+pic+pyexpat+pythoncmd+readline+shared+sqlite3+ssl~tix~tkinter~ucs4+uuid+zlib arch=linux-centos7-x86_64
^expat@2.2.10%gcc@9.2.0+libbsd arch=linux-centos7-x86_64
^libbsd
^sqlite@3.34.0%gcc@9.2.0+column_metadata+fts~functions+rtree arch=linux-centos7-x86_64
^uuid
^py-setuptools@50.3.2%gcc@9.2.0 arch=linux-centos7-x86_64
^pcre+utf
^libtool@2.4.6%gcc@9.2.0 arch=linux-centos7-x86_64
^pixman@0.40.0%gcc@9.2.0 arch=linux-centos7-x86_64
^libpng@1.6.37%gcc@9.2.0 arch=linux-centos7-x86_64
while trying to concretize the partial spec:
gobject-introspection
^python@3.8.7%gcc@9.2.0+bz2+ctypes+dbm~debug+libxml2+lzma~nis~optimizations+pic+pyexpat+pythoncmd+readline+shared+sqlite3+ssl~tix~tkinter~ucs4+uuid+zlib arch=linux-centos7-x86_64
^bzip2@1.0.8%gcc@9.2.0+shared arch=linux-centos7-x86_64
^diffutils@3.7%gcc@9.2.0 arch=linux-centos7-x86_64
^libiconv@1.16%gcc@9.2.0 arch=linux-centos7-x86_64
^expat@2.2.10%gcc@9.2.0+libbsd arch=linux-centos7-x86_64
^libbsd
^gdbm@1.18.1%gcc@9.2.0 arch=linux-centos7-x86_64
^readline@8.0%gcc@9.2.0 arch=linux-centos7-x86_64
^ncurses@6.2%gcc@9.2.0~symlinks+termlib arch=linux-centos7-x86_64
^pkgconf@1.7.3%gcc@9.2.0 arch=linux-centos7-x86_64
^gettext@0.21%gcc@9.2.0+bzip2+curses+git~libunistring+libxml2+tar+xz arch=linux-centos7-x86_64
^libxml2@2.9.10%gcc@9.2.0~python arch=linux-centos7-x86_64
^xz@5.2.5%gcc@9.2.0~pic arch=linux-centos7-x86_64
^zlib@1.2.11%gcc@9.2.0+optimize+pic+shared arch=linux-centos7-x86_64
^tar
^libffi@3.3%gcc@9.2.0 arch=linux-centos7-x86_64
^openssl@1.1.1i%gcc@9.2.0+systemcerts arch=linux-centos7-x86_64
^perl@5.32.1%gcc@9.2.0+cpanm+shared+threads arch=linux-centos7-x86_64
^berkeley-db@18.1.40%gcc@9.2.0 arch=linux-centos7-x86_64
^sqlite@3.34.0%gcc@9.2.0+column_metadata+fts~functions+rtree arch=linux-centos7-x86_64
^uuid
gobject-introspection requires cairo variant +gobject, but spec asked for ~gobject
@adamjstewart
$ spack install qgis@3.18.2 ^py-pyqt5+qsci_api ^cairo+gobject
There may be other variants you need to explicitly enable as well. You can also try the new clingo concretizer which is smart enough to figure all of this out.
@adamjstewart How do we use clingo
exactly? Is it just sifficient to indicate it in config.yaml
and spack will automatically bootstrap it? It is not clear from documentation.
@alalazo can correct me if I'm wrong, but I think Spack now automatically bootstraps clingo for you. If not, just run spack install clingo && spack load clingo
.
Manually installing, even clingo-boostrap
didn't work for me. What happens is after adding clingo
to config yaml, it seems spack installs it in the first opportunity when running a concretization related command like spack spec ..
or spack install ...
etc.
Manual installation would likely require you to use the original concretizer. But it sounds like bootstrapping is working.
@Sinan81
How do we use clingo exactly? Is it just sifficient to indicate it in config.yaml and spack will automatically bootstrap it? It is not clear from documentation.
Curious what is not clear in the docs here and what can we do to improve clarity.
@Sinan81
How do we use clingo exactly? Is it just sifficient to indicate it in config.yaml and spack will automatically bootstrap it? It is not clear from documentation.
Curious what is not clear in the docs here and what can we do to improve clarity.
I think it would be useful to mention there one needs to edit config.yaml
first to enable clingo
since when I search clingo in spack docs, "optional: bootstrap clingo" is the first page that shows up.
Also in the given example, it would be useful to show the step where clingo is installed and then spack moves on to solve
step like
$ spack solve zlib
[+] /usr (external bison-3.0.4-wu5pgjchxzemk5ya2l3ddqug2d7jv6eb)
[+] /usr (external cmake-3.19.4-a4kmcfzxxy45mzku4ipmj5kdiiz5a57b)
[+] /usr (external python-3.6.9-x4fou4iqqlh5ydwddx3pvfcwznfrqztv)
==> Installing re2c-1.2.1-e3x6nxtk3ahgd63ykgy44mpuva6jhtdt
[ ... ]
==> installing clingo-bootstrap...
[...]
==> Optimization: [0, 0, 0, 0, 0, 1, 0, 0, 0]
zlib@1.2.11%gcc@10.1.0+optimize+pic+shared arch=linux-ubuntu18.04-broadwell
Steps to reproduce the issue
Information on your system
Additional information
No logs were created.
@Sinan81 @adamjstewart
General information
spack debug report
and reported the version of Spack/Python/Platformspack maintainers <name-of-the-package>
and @mentioned any maintainers