Skip to content

[email protected]: ctffind dependency missing version constraint #2878

@vphan13

Description

@vphan13

Description

The relion package has an unconditional dependency on ctffind@:4 (line 107) that applies to all RELION versions, causing concretization failures for RELION 5.0.1.

Steps to Reproduce

   spack install [email protected] +cuda cuda_arch=61 +double +gui purpose=cluster

Error

   Cannot select a single "version" for package "relion"
   Cannot satisfy 'relion@:4' 2(5.0.1)

Root Cause

Line 107 in packages/relion/package.py:

   depends_on("ctffind@:4", type="run")

This dependency has no when clause, so it applies to ALL relion versions including 5.0.1, creating a conflict with line 106:

   depends_on("[email protected]:4", type="run", when="@5")

Proposed Fix

Add a version constraint to line 107:

   depends_on("ctffind@:4", type="run", when="@:4")

Environment

Additional Context

This issue affects RELION 5.x installations. The fix ensures that:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions