From e22ac814b02b2440d9f656f8091bf28942af3273 Mon Sep 17 00:00:00 2001 From: Dan Lipsa Date: Fri, 7 Feb 2020 19:55:04 -0500 Subject: [PATCH] Align default libxml2 settings for gettext and Python (#14795) Python depends on gettext. Packages that depend on gettext and Python together will encounter a concretizer bug which incorrectly detects a constraint conflict. This sets the default value of +libxml2 in Python to be the same as gettext so that packages which depend on both (like mesa) can successfully concretize without adding manual constraints. --- var/spack/repos/builtin/packages/python/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/python/package.py b/var/spack/repos/builtin/packages/python/package.py index f666d4dd4d..37d65c54c0 100644 --- a/var/spack/repos/builtin/packages/python/package.py +++ b/var/spack/repos/builtin/packages/python/package.py @@ -71,7 +71,7 @@ class Python(AutotoolsPackage): extendable = True # Variants to avoid cyclical dependencies for concretizer - variant('libxml2', default=False, + variant('libxml2', default=True, description='Use a gettext library build with libxml2') variant(