From 89bf1edb6e60bd018bd4c0ffc090c01235429427 Mon Sep 17 00:00:00 2001 From: Massimiliano Culpo Date: Fri, 3 May 2024 04:16:02 +0200 Subject: Spec.satisfies: fix a bug with concrete spec from JSON (#43968) Fix a bug triggered by missing a virtual on some transitive edge, in a subdag of a pure build dependency. --- var/spack/repos/builtin.mock/packages/dtbuild1/package.py | 2 +- var/spack/repos/builtin.mock/packages/dtbuild2/package.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'var') diff --git a/var/spack/repos/builtin.mock/packages/dtbuild1/package.py b/var/spack/repos/builtin.mock/packages/dtbuild1/package.py index 0f9c6e2e99..cb83bbc9f1 100644 --- a/var/spack/repos/builtin.mock/packages/dtbuild1/package.py +++ b/var/spack/repos/builtin.mock/packages/dtbuild1/package.py @@ -16,6 +16,6 @@ class Dtbuild1(Package): version("1.0", md5="0123456789abcdef0123456789abcdef") version("0.5", md5="fedcba9876543210fedcba9876543210") - depends_on("dtbuild2", type="build") + depends_on("vdtbuild2", type="build") depends_on("dtlink2") depends_on("dtrun2", type="run") diff --git a/var/spack/repos/builtin.mock/packages/dtbuild2/package.py b/var/spack/repos/builtin.mock/packages/dtbuild2/package.py index 7aae2109ce..59316434f8 100644 --- a/var/spack/repos/builtin.mock/packages/dtbuild2/package.py +++ b/var/spack/repos/builtin.mock/packages/dtbuild2/package.py @@ -13,3 +13,5 @@ class Dtbuild2(Package): url = "http://www.example.com/dtbuild2-1.0.tar.gz" version("1.0", md5="0123456789abcdef0123456789abcdef") + + provides("vdtbuild2") -- cgit v1.2.3-70-g09d2