#define AUDIT_FILTER_EXCLUDE 0x05 /* Apply rule before record creation */ /var/tmp/portage/sys-process/audit-2.8.3/work/audit-2.8.3/lib/libaudit.h:292:30: error: ‘AUDIT_FILTER_EXCLUDE’ undeclared here (not in a function) #define AUDIT_FILTER_EXCLUDE AUDIT_FILTER_TYPE ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sys-process/audit-2.8.3/work/audit-2.8.3/lib/gen_tables.c:89:23: note: in definition of macro ‘_S’ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0-systemd_libressl_20181019-202112 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.1 [2] x86_64-pc-linux-gnu-8.2.0 * Available Python interpreters, in order of preference: [1] python3.7 [2] python3.6 [3] python2.7 (fallback) [4] pypy (fallback) Available Ruby profiles: [1] ruby23 (with Rubygems) [2] ruby25 (with Rubygems) * emerge -qpvO sys-process/audit [ebuild N ] sys-process/audit-2.8.3 USE="-gssapi -ldap -python -static-libs" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python2_7 python3_6 -python3_4 -python3_5"
Created attachment 552790 [details] emerge-info.txt
Created attachment 552792 [details] emerge-history.txt
Created attachment 552794 [details] environment
Created attachment 552796 [details] etc.portage.tbz2
Created attachment 552798 [details] logs.tbz2
Created attachment 552800 [details] sys-process:audit-2.8.3:20181024-172012.log
Created attachment 552802 [details] temp.tbz2
Created attachment 553420 [details, diff] Corrects repeating #define AUDIT_FILTER_EXCLUDE AUDIT_FILTER_TYPE added: audit-2.8.3-libaudit.h.patch to local repository at /usr/local/portage/sys-process/audit/files/audit-2.8.3-libaudit.h.patch edited the ebuild /usr/local/portage/sys-process/audit/audit-2.8.3.ebuild to add eapply "${FILESDIR}"/${PN}-2.8.3-libaudit.h.patch after the existing eapply "${FILESDIR}"/${PN}-2.1.3-ia64-compile-fix.patch ran: ebuild /usr/local/portage/sys-process/audit/audit-2.8.3.ebuild manifest ran: emerge audit worked this problem is likely solved in version 2.8.4 but that version has problems with the old: audit-2.1.3-ia64-compile-fix.patch
I can confirm this. can also confirm The patch posted by drake fixes the issue. Seems to only happen with gcc8 though...built fine with gcc7.
I added audit-2.8.4 which contains an upstream fix the reported issue.
*** Bug 675116 has been marked as a duplicate of this bug. ***
robbat2 said to go ahead with sys-process/audit-2.8.4 stabilization.
ia64 stable
ppc stable
ppc64 stable
x86 stable
amd64 stable
hppa stable
sparc stable
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a25cde981ebb3b6d8ec80032fbb1ecc2f5fbede commit 4a25cde981ebb3b6d8ec80032fbb1ecc2f5fbede Author: Tobias Klausmann <klausman@gentoo.org> AuthorDate: 2019-01-30 13:19:57 +0000 Commit: Tobias Klausmann <klausman@gentoo.org> CommitDate: 2019-01-30 13:19:57 +0000 sys-process/audit-2.8.4-r0: alpha stable Bug: http://bugs.gentoo.org/669532 Signed-off-by: Tobias Klausmann <klausman@gentoo.org> sys-process/audit/audit-2.8.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arm stable
s390 stable