Skip to content

having an opengl dependency fails with a confusing error message #17512

@cyrush

Description

@cyrush

Running on linux, trying to test installing visit, I hit the following error:

Steps to reproduce the issue

$ spack spec visit  ^python+shared ^[email protected] ^[email protected]

Error Message

==> Error: There are no valid versions for opengl that match ':'

@becker33 informed me this is b/c opengl is a non-buildable virtual package, to solve this we can inject the mesa as opengl:

$ spack spec visit  ^python+shared ^[email protected] ^[email protected]  ^mesa+opengl

Information on your system

This was on pascal @ LLNL.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions