Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 675116 - sys-process/audit-2.8.3 with sys-kernel/linux-headers-4.19 - lib/libaudit.h:292:30: error: 'AUDIT_FILTER_EXCLUDE' undeclared here
Summary: sys-process/audit-2.8.3 with sys-kernel/linux-headers-4.19 - lib/libaudit.h:2...
Status: RESOLVED DUPLICATE of bug 669532
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: SE Linux Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-10 15:42 UTC by segmentation fault
Modified: 2019-01-22 21:29 UTC (History)
1 user (show)

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


Attachments
build.log (file_675116.txt,68.81 KB, text/plain)
2019-01-10 15:52 UTC, segmentation fault
Details

Note You need to log in before you can comment on or make changes to this bug.
Description segmentation fault 2019-01-10 15:42:54 UTC
I had linux-headers-4.13 and, since I installed kernel 4.19.8 from gentoo-sources, I decided to upgrade to linux-headers-4.19, so that both /usr/src/linux and /usr/include/linux are in sync, as far as headers are concerned.

After that, I re-merged all packages that explicitly depend on linux-headers. Two packages refused to rebuild: 

 - dev-util/strace-4.23-r1
 - sys-process/audit-2.8.3

For strace, I switched to (currently testing for amd64) version 4.25 and all is well. But for audit there is no higher version available (testing or stable). Version 2.8.3 is still installed, compiled against linux-headers 4.13. But trying to rebuild it, this time with linux-headers-4.19 in place, brings up the following error:

/host2/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
                              ^

There are other 'notes' that can be seen in the build log I will try to attach.

System info:
  
Portage 2.3.51 (python 3.6.5-final-0, hardened/linux/amd64, gcc-7.3.0, glibc-2.27-r6, 4.19.8-gentoo x86_64)
=================================================================
System uname: Linux-4.19.8-gentoo-x86_64-Intel-R-_Core-TM-_i7-6700HQ_CPU_@_2.60GHz-with-gentoo-2.6
KiB Mem:    40976340 total,  14367800 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Thu, 13 Dec 2018 12:15:01 +0000
Head commit of repository gentoo: 057645ffcdb86bd24e7c965f6e1aa03db33abb4c
sh bash 4.4_p12
ld GNU ld (Gentoo 2.30 p5) 2.30.0
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.15::gentoo, 3.4.8::gentoo, 3.5.5::gentoo, 3.6.5::gentoo
dev-util/cmake:           3.12.3::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.38.3-r1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.12.6::gentoo, 1.13.4-r2::gentoo, 1.14.1::gentoo, 1.15.1-r2::gentoo
sys-devel/binutils:       2.30-r4::gentoo
sys-devel/gcc:            7.3.0-r3::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.27-r6::gentoo
Comment 1 segmentation fault 2019-01-10 15:52:27 UTC
Created attachment 560616 [details]
build.log
Comment 2 Matt Turner gentoo-dev 2019-01-22 21:29:51 UTC

*** This bug has been marked as a duplicate of bug 669532 ***