diff options
author | WYF <w.y.ff@163.com> | 2022-05-06 21:53:40 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-06 07:53:40 -0600 |
commit | ad1391db7523285b7b58d29e026ec0add1412e39 (patch) | |
tree | 030b9f2c88e9c118c26d934c15e476e99b0cb2ea /var | |
parent | d8e010a9f5dff9d9555bfc38e158153f1e7c5989 (diff) | |
download | spack-ad1391db7523285b7b58d29e026ec0add1412e39.tar.gz spack-ad1391db7523285b7b58d29e026ec0add1412e39.tar.bz2 spack-ad1391db7523285b7b58d29e026ec0add1412e39.tar.xz spack-ad1391db7523285b7b58d29e026ec0add1412e39.zip |
gdb: fix run issue with v9.2 (#30491)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/gdb/package.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/gdb/package.py b/var/spack/repos/builtin/packages/gdb/package.py index b003baa255..3408f0a9ad 100644 --- a/var/spack/repos/builtin/packages/gdb/package.py +++ b/var/spack/repos/builtin/packages/gdb/package.py @@ -68,6 +68,9 @@ class Gdb(AutotoolsPackage, GNUMirrorPackage): # Optional dependencies depends_on('python', when='+python', type=('build', 'link', 'run')) depends_on('python@:3.6', when='@:8.1+python', type=('build', 'link', 'run')) + # gdb@9.2 will segmentation fault if it builds with python@3.9. + # https://bugzilla.redhat.com/show_bug.cgi?id=1829702 + depends_on('python@:3.8', when='@:9.2+python', type=('build', 'link', 'run')) depends_on('xz', when='+xz') depends_on('source-highlight', when='+source-highlight') depends_on('ncurses', when='+tui') |