Bug 245822

Summary: ppc /usr/include/asm/types.h is broken
Product: Red Hat Enterprise Linux 5 Reporter: Steve Grubb <sgrubb>
Component: kernelAssignee: Red Hat Kernel Manager <kernel-mgr>
Status: CLOSED NOTABUG QA Contact: Martin Jenner <mjenner>
Severity: high Docs Contact:
Priority: urgent    
Version: 5.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-06-27 09:44:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Steve Grubb 2007-06-26 20:48:25 UTC
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.

Comment 2 Miloslav Trmač 2007-06-27 09:44:26 UTC
This was caused by swig, which can't parse __attribute(...).