From 0ca11d7033e36d4347ae5d274f809bd71dba55ac Mon Sep 17 00:00:00 2001 From: Stephan Grein Date: Wed, 12 Jul 2023 20:24:26 +0200 Subject: Fix fmt and spdlog versions for micromamba. (#38739) The spdlog project precisely states/depends which fmt version should be used for compatibility. Latest version 1.11.0 depends explictly on fmt 9.1.0. Without fixed version micromamba build fails when using spack install micromamba on e.g. Rockylinux 8.5. --- var/spack/repos/builtin/packages/micromamba/package.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/var/spack/repos/builtin/packages/micromamba/package.py b/var/spack/repos/builtin/packages/micromamba/package.py index 58523ccc95..71af405940 100644 --- a/var/spack/repos/builtin/packages/micromamba/package.py +++ b/var/spack/repos/builtin/packages/micromamba/package.py @@ -45,8 +45,8 @@ class Micromamba(CMakePackage): depends_on("yaml-cpp", type="link") depends_on("libreproc+cxx+shared", type="link") depends_on("tl-expected@2022-11-24", type="link") - depends_on("fmt", type="link") - depends_on("spdlog", type="link") + depends_on("fmt@9.1.0", type="link") + depends_on("spdlog@1.11.0", type="link") # https://github.com/mamba-org/mamba/blob/micromamba-1.0.0/libmamba/include/mamba/core/validate.hpp#L13 depends_on("nlohmann-json", type="link") @@ -78,8 +78,8 @@ class Micromamba(CMakePackage): depends_on("yaml-cpp", type="link") depends_on("libreproc+cxx", type="link") depends_on("tl-expected@2022-11-24", type="link") - depends_on("fmt", type="link") - depends_on("spdlog", type="link") + depends_on("fmt@9.1.0", type="link") + depends_on("spdlog@1.11.0", type="link") depends_on("nlohmann-json", type="link") depends_on("cpp-termcolor", type="link") depends_on("cli11@2.2:", type="link") -- cgit v1.2.3-70-g09d2