I need to build tk+X for as a dependency for R. I can't create a spec to do this that does not produce a CLI error.
$ spack spec R+X
Input spec
--------------------------------
R+X
...
Concretized
--------------------------------
==> Error: Invalid spec: 'cairo@1.14.0%gcc@4.8.5+X'. Package cairo requires variant ~X, but spec asked for +X
I also tried this, same result
$spack spec R ^tk+X
Input spec
--------------------------------
R
^tk+X
...
Concretized
--------------------------------
==> Error: Invalid spec: 'cairo@1.14.0%gcc@4.8.5+X arch=linux-rhel7-x86_64'. Package cairo requires variant ~X, but spec asked for +X
This too
$ spack spec R ^tk+X ^cairo~X
Input spec
--------------------------------
R
^cairo~X
^tk+X
...
Concretized
--------------------------------
==> Error: Invalid spec: 'tk@8.6.5%gcc@4.8.5+X arch=linux-rhel7-x86_64'. Package tk requires variant ~X, but spec asked for +X
Specing cairo+X AND cairo~X does not produce errors. I was able to spack install tk+X, cairo~X and cairo+X independently. I'm also able to produce errors like these on Ubuntu with d7e9134.
I need to build tk+X for as a dependency for R. I can't create a spec to do this that does not produce a CLI error.
I also tried this, same result
This too
$ spack spec R ^tk+X ^cairo~X Input spec -------------------------------- R ^cairo~X ^tk+X ... Concretized -------------------------------- ==> Error: Invalid spec: 'tk@8.6.5%gcc@4.8.5+X arch=linux-rhel7-x86_64'. Package tk requires variant ~X, but spec asked for +XSpecing cairo+X AND cairo~X does not produce errors. I was able to
spack installtk+X, cairo~X and cairo+X independently. I'm also able to produce errors like these on Ubuntu with d7e9134.