diff options
author | Bernhard Kaindl <43588962+bernhardkaindl@users.noreply.github.com> | 2021-11-01 02:22:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-31 21:22:15 -0400 |
commit | 6344d163b3c84eb65091fcc394258f3e976fedce (patch) | |
tree | c0db58dc79665c134dbd43491bbfb22d2003a82d /var | |
parent | 6c1f952bdaf864c588ecd1dc1a948953a9c97acb (diff) | |
download | spack-6344d163b3c84eb65091fcc394258f3e976fedce.tar.gz spack-6344d163b3c84eb65091fcc394258f3e976fedce.tar.bz2 spack-6344d163b3c84eb65091fcc394258f3e976fedce.tar.xz spack-6344d163b3c84eb65091fcc394258f3e976fedce.zip |
qt: @5.8:5.14.2 don't build with gcc@11, fix build of 5.6.3 (#27072)
5.14.2 fails with %gcc@11 with Error: 'numeric_limits' is not a class template
5.8.0 has multiple compile failures as well: Extend the conflict to those too.
- Fix also the confgigure of @5.6.3 (tested with %gcc@11)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/qt/package.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/qt/package.py b/var/spack/repos/builtin/packages/qt/package.py index 6ca0560e4c..3ae30033dc 100644 --- a/var/spack/repos/builtin/packages/qt/package.py +++ b/var/spack/repos/builtin/packages/qt/package.py @@ -143,7 +143,8 @@ class Qt(Package): working_dir='qtwebsockets', when='@5.14: %gcc@11:') conflicts('%gcc@10:', when='@5.9:5.12.6 +opengl') - conflicts('%gcc@11:', when='@5.9:5.13') + # Error: 'numeric_limits' is not a class template + conflicts('%gcc@11:', when='@5.8:5.14') # Build-only dependencies depends_on("pkgconfig", type='build') @@ -523,10 +524,10 @@ class Qt(Package): use_spack_dep('jpeg', 'libjpeg') use_spack_dep('zlib') - if '@:5.7.0' in spec: + if '@:5.5' in spec: config_args.extend([ # NIS is deprecated in more recent glibc, - # but qt-5.7.1 does not recognize this option + # but qt-5.6.3 does not recognize this option '-no-nis', ]) @@ -635,7 +636,7 @@ class Qt(Package): if '~webkit' in spec: config_args.extend([ '-skip', - 'webengine' if version >= Version('5.7') else 'qtwebkit', + 'webengine' if version >= Version('5.6') else 'qtwebkit', ]) if spec.satisfies('@5.7'): |