Description of problem: When building the audit package for the RHEL5.1 release, swig dies like this: make[2]: Entering directory `/builddir/build/BUILD/audit-1.5.4/swig' swig -o audit_wrap.c -python -I. -I.. -I../lib -I/usr/include/python2.4 ./auditswig.i /usr/include/asm/types.h:51: Error: Syntax error in input(3). Version-Release number of selected component (if applicable): kernel-headers-2.6.18-29.el5.ppc How reproducible: every time Steps to Reproduce: 1. make build 2. watch brew Actual results: ppc fails, other arches do not. Expected results: audit to build like other arches do. Additional info: This is blocking the audit errata completion for RHEL5.1.
This was caused by swig, which can't parse __attribute(...).