From 9817593c1cb363dc5924099de4fe23ea0a704ee9 Mon Sep 17 00:00:00 2001 From: Bernhard Kaindl <43588962+bernhardkaindl@users.noreply.github.com> Date: Sat, 17 Dec 2022 01:11:11 +0100 Subject: Automake requires Thread::Queue, but it is only provided with in perl+threads. (#34076) Update the depends_on("perl") to depends_on("perl+threads"). This and #34074 is needed to properly handle e.g. the perl-Thread-Queue rpm package: It may not be installed on RedHat-based hosts, which can lead to automake build failures when `spack external find perl` or `spack external find --all` was used to use the system-provided perl install. --- var/spack/repos/builtin/packages/automake/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/automake/package.py b/var/spack/repos/builtin/packages/automake/package.py index 68fe69bc16..40982ecc28 100644 --- a/var/spack/repos/builtin/packages/automake/package.py +++ b/var/spack/repos/builtin/packages/automake/package.py @@ -24,7 +24,7 @@ class Automake(AutotoolsPackage, GNUMirrorPackage): version("1.11.6", sha256="53dbf1945401c43f4ce19c1971baecdbf8bc32e0f37fa3f49fe7b6992d0d2030") depends_on("autoconf", type="build") - depends_on("perl", type=("build", "run")) + depends_on("perl+threads", type=("build", "run")) build_directory = "spack-build" -- cgit v1.2.3-70-g09d2