Skip to content

Spack add parser: Unbounded version specifier followed by another spec  #40342

@rfeki

Description

@rfeki

Steps to reproduce

An error occur when running this command:

Error: 10.2:nccm is an empty range

You can reproduce this whenever you have 2 specs to add, use unbounded version specifier as last part of the first spec.
It seems like the parser does not treat nccl in this case as a new spec but as the upper bound of the version.

Also, for some reason the last character of the second spec is incremented like in this example: nccl become nccm.
When I used package opa-psm2 instead of nccl, the error would be: Error: 10.2:opa-psm3 is an empty range

Error message

No response

Information on your system

  • Spack: 0.21.0.dev0 (38dc3a6)
  • Python: 3.6.5
  • Platform: linux-rhel8-cascadelake
  • Concretizer: clingo

General information

  • I have run spack debug report and reported the version of Spack/Python/Platform
  • I have searched the issues of this repo and believe this is not a duplicate
  • I have run the failing commands in debug mode and reported the output

Metadata

Metadata

Labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions