Red Hat Bugzilla – Bug 432173
mesa-source contains unconditional selinux references
Last modified: 2008-02-18 09:59:11 EST
Description of problem:
mesa-source contains unconditional selinux references, esp in main/execmem.c
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. try to compile xorg-servers without selinux
execmem.c contains unconditional selinux code (hauled in from mesa package).
meas should not have unconditional selinux code
The question is: should successful compilation of xorg-servers without selinux
be dependent on mesa build without selinux? Probably not.
One fix would be for mesa code to surround the selinux stuff with:
#if defined(WITH_SELINUX) || defined(USE_SELINUX) || defined(WITH_LIBSELINUX)
which would cover most cases (but it is alarming that there is such a variety of
conditionals for selinux ... goodness knows why autoconf stuff doesn't use a
more modular approach - like standard chunks of configure.ac to include).
The other solution would be for xorg-servers to link with a pre-compiled mesa
library which is the normal way to do things (rather than copy the mesa source
This is fixed in 7.1-0.11 and later. Admittedly, that's not built into rawhide
yet, but it will be just as soon as the buildsystem comes back up.