Skip to content

Specifying a toolchain more than once in the same root spec doesn't work correctly if it contains unconditional dependencies #51606

@jgraciahlrs

Description

@jgraciahlrs

Steps to reproduce

Trying to concretize an environment I got the error mentioned above.

Error message and files mentioned therein are attached below.

Error message

eval $(spack -C $SPACK_ROOT/../config-hlrs env activate hlrs-error --sh)
spack --debug --stacktrace -C $SPACK_ROOT/../config-hlrs concretize --force --fresh &> $SPACK_ENV/concretize.log

The file concretize.log is attached.

Files mentioned in the error message:
input-1.json
input-2.json
input-3.json
input-4.json
input-5.json
input-6.json
output-1.json
output-2.json
output-3.json
output-4.json
output-5.json
output-6.json

Information on your system

spack debug report
* **Spack:** 1.1.0 (https://github.com/spack/spack/commit/0c2be44e4ece21eb091ad5de4c97716b7c6d4c87)
* **Builtin repo:** not available
* **Python:** 3.11.7
* **Platform:** linux-rhel9-zen4

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

Assignees

Type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions