{"action":"reopened","issue":{"url":"https://api.github.com/repos/LLNL/spack/issues/2546","repository_url":"https://api.github.com/repos/LLNL/spack","labels_url":"https://api.github.com/repos/LLNL/spack/issues/2546/labels{/name}","comments_url":"https://api.github.com/repos/LLNL/spack/issues/2546/comments","events_url":"https://api.github.com/repos/LLNL/spack/issues/2546/events","html_url":"https://github.com/LLNL/spack/issues/2546","id":194713471,"number":2546,"title":"Spack cannot concretize R specs","user":{"login":"sknigh","id":18291531,"avatar_url":"https://avatars.githubusercontent.com/u/18291531?v=3","gravatar_id":"","url":"https://api.github.com/users/sknigh","html_url":"https://github.com/sknigh","followers_url":"https://api.github.com/users/sknigh/followers","following_url":"https://api.github.com/users/sknigh/following{/other_user}","gists_url":"https://api.github.com/users/sknigh/gists{/gist_id}","starred_url":"https://api.github.com/users/sknigh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sknigh/subscriptions","organizations_url":"https://api.github.com/users/sknigh/orgs","repos_url":"https://api.github.com/users/sknigh/repos","events_url":"https://api.github.com/users/sknigh/events{/privacy}","received_events_url":"https://api.github.com/users/sknigh/received_events","type":"User","site_admin":false},"labels":[{"id":446623646,"url":"https://api.github.com/repos/LLNL/spack/labels/concretization","name":"concretization","color":"006b75","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-12-09T22:33:27Z","updated_at":"2016-12-12T01:41:47Z","closed_at":null,"body":"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.\r\n\r\n``` bash\r\n$ spack spec R+X\r\nInput spec\r\n--------------------------------\r\nR+X\r\n...\r\nConcretized\r\n--------------------------------\r\n==> Error: Invalid spec: 'cairo@1.14.0%gcc@4.8.5+X'. Package cairo requires variant ~X, but spec asked for +X\r\n```\r\nI also tried this, same result\r\n``` bash\r\n$spack spec R ^tk+X\r\nInput spec\r\n--------------------------------\r\nR\r\n    ^tk+X\r\n...\r\nConcretized\r\n--------------------------------\r\n==> 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\r\n```\r\nThis too\r\n``` bash\r\n$ spack spec R ^tk+X ^cairo~X\r\nInput spec\r\n--------------------------------\r\nR\r\n    ^cairo~X\r\n    ^tk+X\r\n...\r\nConcretized\r\n--------------------------------\r\n==> 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\r\n```\r\nSpecing 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."}}
{"actor":{"display_login":"citibeth"}}