From d05f25a4d02bae5dd7910a0eb2473abd792d4a7c Mon Sep 17 00:00:00 2001 From: Paul Ferrell <51765748+Paul-Ferrell@users.noreply.github.com> Date: Wed, 8 Apr 2020 21:07:00 -0600 Subject: [PATCH] Fixed bad expand option for openjdk versions. (#15956) The most recent change to the openjdk package set expand=False for all versions of the package. This means only the unexpanded archive will be installed, which is not correct. --- var/spack/repos/builtin/packages/openjdk/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/openjdk/package.py b/var/spack/repos/builtin/packages/openjdk/package.py index 437c1701dd..1ad068936c 100644 --- a/var/spack/repos/builtin/packages/openjdk/package.py +++ b/var/spack/repos/builtin/packages/openjdk/package.py @@ -42,7 +42,7 @@ class Openjdk(Package): key = "{0}-{1}".format(platform.system(), platform.machine()) pkg = packages.get(key) if pkg: - version(ver, sha256=pkg[0], url=pkg[1], expand=False) + version(ver, sha256=pkg[0], url=pkg[1]) provides('java@8', when='@1.8.0:1.8.999') provides('java@11', when='@11.0:11.99')