>From dfe54892b74e0d0e7f160ec29123dc1b484547d3 Mon Sep 17 00:00:00 2001 Hi, Several architectures in Debian have moved to using gcc 4.3, and the current version of setools fails to build with that version. The Makefile in libseaudit/swig/python/ included an cpp directive: -D__attribute__\(x\)='' which makes large swaths of system header files in /usr/include behave very differently. With gcc 4.3, this causes a buid failure, with confusing error messages about symbols already being defined. Looking back at the original commit, there is no indication if this nullification of attributes is needed. On removing this directive, the build succeeds, and initial testing shows no regressions. Signed-off-by: Manoj Srivastava <srivasta@xxxxxxxxxx> --- libseaudit/swig/python/Makefile.am | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libseaudit/swig/python/Makefile.am b/libseaudit/swig/python/Makefile.am index c4d5faa..3d2ecf7 100644 --- a/libseaudit/swig/python/Makefile.am +++ b/libseaudit/swig/python/Makefile.am @@ -10,7 +10,7 @@ BUILT_SOURCES = seaudit_wrap.c AM_CFLAGS = @DEBUGCFLAGS@ @WARNCFLAGS@ @PROFILECFLAGS@ @SELINUX_CFLAGS@ \ @QPOL_CFLAGS@ @APOL_CFLAGS@ -I$(top_builddir) -fpic \ - -I$(top_srcdir)/libseaudit/include -D__attribute__\(x\)='' + -I$(top_srcdir)/libseaudit/include AM_LDFLAGS = @DEBUGLDFLAGS@ @WARNLDFLAGS@ @PROFILELDFLAGS@ \ @APOL_LIB_FLAG@ @QPOL_LIB_FLAG@ @SEAUDIT_LIB_FLAG@ @XML_LIBS@ DEPENDENCIES = $(top_builddir)/libqpol/src/libqpol.so \ -- 1.5.4.5 -- I wish you humans would leave me alone. Manoj Srivastava <manoj.srivastava@xxxxxxxx> <srivasta@xxxxxxx> 1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with the words "unsubscribe selinux" without quotes as the message.