summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeth R. Johnson <johnsonsr@ornl.gov>2022-11-10 20:22:37 -0500
committerGitHub <noreply@github.com>2022-11-11 02:22:37 +0100
commitb9f69a8dfa14349d7b13456f9ac3d1ff4bfc0acf (patch)
tree6ed4f91f17810f17a8d4d759a52014e07364e5a0
parentc3e9aeeed0b756428b1495b720388f6438f78494 (diff)
downloadspack-b9f69a8dfa14349d7b13456f9ac3d1ff4bfc0acf.tar.gz
spack-b9f69a8dfa14349d7b13456f9ac3d1ff4bfc0acf.tar.bz2
spack-b9f69a8dfa14349d7b13456f9ac3d1ff4bfc0acf.tar.xz
spack-b9f69a8dfa14349d7b13456f9ac3d1ff4bfc0acf.zip
go-bootstrap: improve error message for Monterey (#31800)
Co-authored-by: Seth R. Johnson <johnsonsr@ornl.gov>
-rw-r--r--var/spack/repos/builtin/packages/go-bootstrap/package.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/go-bootstrap/package.py b/var/spack/repos/builtin/packages/go-bootstrap/package.py
index a622ffd72a..2e86d6b999 100644
--- a/var/spack/repos/builtin/packages/go-bootstrap/package.py
+++ b/var/spack/repos/builtin/packages/go-bootstrap/package.py
@@ -46,7 +46,11 @@ class GoBootstrap(Package):
depends_on("git", type=("build", "link", "run"))
- conflicts("os=monterey", msg="go-bootstrap won't build on new macOS")
+ conflicts(
+ "os=monterey",
+ msg="go-bootstrap won't build on MacOS Monterey: "
+ "try `brew install go` and `spack external find go`",
+ )
conflicts("target=aarch64:", msg="Go bootstrap doesn't support aarch64 architectures")
# This virtual package allows a fallback to gccgo for aarch64,