summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorbernhardkaindl <43588962+bernhardkaindl@users.noreply.github.com>2021-09-08 15:28:52 +0200
committerGitHub <noreply@github.com>2021-09-08 07:28:52 -0600
commit0ac751b27b559101d536c981af4e1932a7c4899e (patch)
tree16aa21ed0688e4e7cc61d1b8e15affcd45b1052d /var
parent9ef1dbd0ef3b80a172fb59dd2885ada7c45e2d3e (diff)
downloadspack-0ac751b27b559101d536c981af4e1932a7c4899e.tar.gz
spack-0ac751b27b559101d536c981af4e1932a7c4899e.tar.bz2
spack-0ac751b27b559101d536c981af4e1932a7c4899e.tar.xz
spack-0ac751b27b559101d536c981af4e1932a7c4899e.zip
perl: Bind us to @gdbm:1.19 due to API change in gdbm@1.20: (#25819)
By changing return values from C #defines to enums, gdbm-1.20 breaks a kludge: #ifndef GDBM_ITEM_NOT_FOUND # define GDBM_ITEM_NOT_FOUND GDBM_NO_ERROR #endif The absence of the #define causes perl to #define GDBM_ITEM_NOT_FOUND as GDBM_NO_ERROR which incorrect for gdbm@1.20:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/perl/package.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/perl/package.py b/var/spack/repos/builtin/packages/perl/package.py
index af77de008a..7ca4b70fcc 100644
--- a/var/spack/repos/builtin/packages/perl/package.py
+++ b/var/spack/repos/builtin/packages/perl/package.py
@@ -63,7 +63,8 @@ class Perl(Package): # Perl doesn't use Autotools, it should subclass Package
extendable = True
- depends_on('gdbm')
+ # Bind us below gdbm-1.20 due to API change: https://github.com/Perl/perl5/issues/18915
+ depends_on('gdbm@:1.19')
# :5.28 needs gdbm@:1:14.1: https://rt-archive.perl.org/perl5/Ticket/Display.html?id=133295
depends_on('gdbm@:1.14.1', when='@:5.28.0')
depends_on('berkeley-db')