gdb: fix run issue with v9.2 (#30491)

This commit is contained in:
WYF 2022-05-06 21:53:40 +08:00 committed by GitHub
parent d8e010a9f5
commit ad1391db75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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')