Issue Disambiguation
Note: this is primarily intended for consumption by Spack developers.
This page was created with the intention of tracking common issues. There are a number of issues in Spack that are commonly the culprit when a user reports "I tried to build package X and encountered an error Y". We can keep track of the core issue for each problem here and use it to close issues that are redundant (or keep track of when they ought to be fixed).
- https://github.com/spack/spack/issues/267
- https://github.com/LLNL/spack/issues/5465
- See also: https://github.com/LLNL/spack/issues/2632
- See also: https://github.com/spack/spack/issues/9753
- See also: https://github.com/spack/spack/issues/9839
- See also: https://github.com/spack/spack/issues/12240
- See also: https://github.com/spack/spack/issues/14793
- See also: https://github.com/spack/spack/issues/18940
(2) spack spec X ^Y
reports ==> Error: X does not depend on Y
even though spack spec X
includes Y
as a dependency:
- (UPDATE 6/6/18): this should be addressed by https://github.com/spack/spack/pull/8162
- A newer report of this issue: https://github.com/LLNL/spack/issues/5707
- https://github.com/LLNL/spack/issues/4913
- https://github.com/LLNL/spack/issues/5110
- (TODO: there are additional issues related to this)
- See also: https://github.com/LLNL/spack/issues/646
- See also: https://github.com/LLNL/spack/issues/5241
- See also: https://github.com/LLNL/spack/issues/5167
- See also: https://github.com/LLNL/spack/issues/4610
- Recent report of this issue: https://github.com/LLNL/spack/issues/5839
- https://github.com/spack/spack/issues/7986
- https://github.com/spack/spack/issues/7339
- https://github.com/spack/spack/issues/8133
- https://github.com/spack/spack/issues/9408
- https://github.com/spack/spack/issues/11987
Note that the following issues appear similar but actually occur because Spack does not allow multiple packages which provide the same virtual:
These are actually in the same class of problems as (1). Now that https://github.com/spack/spack/pull/8162 has been merged, specifying a provider explicitly on the command line will generally circumvent this problem.
Most systems fail when you try spack install gcc+binutils
. A few systems need it though. The exact reason why merits some investigation. See:
- https://github.com/spack/spack/issues/8852
- (This may be the most useful, suggests static c libs may not be available everywhere) https://github.com/spack/spack/issues/6080
- https://github.com/spack/spack/issues/5397
- (Merged PR which turns off
binutils
variant by default) https://github.com/spack/spack/pull/4973 - https://github.com/spack/spack/pull/15075 as relates to macOS platform
-
https://github.com/spack/spack/pull/14706 regarding
+binutils
as necessary for gcc7+, rhel6, and OpenBLAS
Currently Spack requires exactly one version of each package (even if the other version would only be needed for build). There have been a few attempts at adding this behavior to Spack, most recently https://github.com/spack/spack/pull/4595. It is a priority but the exact timeline when this will be addressed is unknown.
See also: