From 5cea4a75d70b5dbfedb081f486b64ba9878b04c9 Mon Sep 17 00:00:00 2001 From: Michael Kuhn Date: Wed, 28 Nov 2018 10:06:17 +0100 Subject: [PATCH] glib: disable SELinux explicitly (#9956) --- var/spack/repos/builtin/packages/glib/package.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/var/spack/repos/builtin/packages/glib/package.py b/var/spack/repos/builtin/packages/glib/package.py index fe57bc83b60..d27fd86b199 100644 --- a/var/spack/repos/builtin/packages/glib/package.py +++ b/var/spack/repos/builtin/packages/glib/package.py @@ -73,6 +73,8 @@ def configure_args(self): os.path.basename(self.spec['python'].command.path)) ) args.extend(self.enable_or_disable('tracing')) + # SELinux is not available in Spack, so glib should not use it. + args.append('--disable-selinux') # glib should not use the globally installed gtk-doc. Otherwise, # gtk-doc can fail with Python errors such as "ImportError: No module # named site". This is due to the fact that Spack sets PYTHONHOME,