Skip to content

"Cannot satisfy glibc@..." when multiple compilers at the same version with different glibc #51556

@haampie

Description

@haampie

Steps to reproduce

If you have a build cache with multiple GCCs at the same version, but built with a different glibc, Spack ultimately always errors during concretization with

Cannot satisfy 'glibc@=X.Y'

The reason is likely that the compiler is identified by name@version somewhere, and that this translates into multiple requirements on glibc for the node that depends on this compiler.

Error message

No response

Information on your system

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

Labels

Type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions