Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 171282 - sys-process/audit-1.2.9-r2 installs bad libaudit.h include file
Summary: sys-process/audit-1.2.9-r2 installs bad libaudit.h include file
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Robin Johnson
Depends on:
Reported: 2007-03-17 21:11 UTC by Bill "vaxbrat" Sharer
Modified: 2007-04-08 02:53 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Bill "vaxbrat" Sharer 2007-03-17 21:11:14 UTC
As reported here:

audit installs /usr/include/libaudit.h and /usr/include/linux/audit.h.  However line 35 of libaudit.h includes audit.h with:

#include "audit.h"

and not

#include <linux/audit.h>

Among other things, this breaks glibc2.5 emerge when attempting to use selinux.  This is probably a patch that should be submitted upstream to RedHat, but I haven't checked to see if it was found and fixed up there yet.

Reproducible: Always

Steps to Reproduce:
1.Use ~x86 and the 2006.1 selinux profile
2. emerge audit-1.2.9-r2 (probably present in other audit ebuilds as well)
3. attempt to emerge glibc with selinux USE flags

Actual Results:  
emerge fails when selinux code in glibc (don't have the log in front of me) attempts to include libaudit.h.  gcc is unable to find the audit.h include file

Expected Results:  
emerge glibc properly ;-)

This was found on ~x86 but is probably present in other platforms such as ~amd64
Comment 1 Chris PeBenito (RETIRED) gentoo-dev 2007-04-01 20:41:08 UTC
Audit 1.5.1 seems to be ok.  I just copied the 1.2.9-r2 ebuild and removed all of the stuff in src_unpack() except for the unpack and eautoreconf.  I have 2.6.20-r2 headers, if that makes a difference.
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2007-04-01 22:11:28 UTC
1.5.1 in cvs.