From ed6c9e8ed80ba909ea7e6b0407eb821157b37010 Mon Sep 17 00:00:00 2001 From: Glenn Johnson Date: Sat, 31 Aug 2019 14:09:51 -0500 Subject: Add conflicts statement to mariadb (#12670) The mariadb-5.5 series can not be compiled with gcc-9.1.0 and above. Add a conflicts statement to reflect that. The error is due to -Werror=address-of-packed-member, a warning that is new in gcc-9. --- var/spack/repos/builtin/packages/mariadb/package.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/var/spack/repos/builtin/packages/mariadb/package.py b/var/spack/repos/builtin/packages/mariadb/package.py index 54489486a5..f389e7d55f 100644 --- a/var/spack/repos/builtin/packages/mariadb/package.py +++ b/var/spack/repos/builtin/packages/mariadb/package.py @@ -35,3 +35,5 @@ class Mariadb(CMakePackage): depends_on('libevent', when='+nonblocking') depends_on('ncurses') depends_on('zlib') + + conflicts('%gcc@9.1.0:', when='@:5.5') -- cgit v1.2.3-70-g09d2