On Wed, Dec 12, 2018 at 4:13 PM Hasan Ç. <[email protected]> wrote:
>
> Hello,
>
> Any idea?
>
>  * Package:    sys-process/audit-2.8.3
>  * Repository: gentoo
>  * Maintainer: [email protected] [email protected]
>  * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux python 
> python_targets_python2_7 python_targets_python3_6 userland_GNU
>  * FEATURES:   preserve-libs sandbox userpriv usersandbox
>  * Determining the location of the kernel source code
>  * Found kernel source directory:
>  *     /usr/src/linux
>  * Found sources for kernel version:
>  *     4.19.8-gentoo
>  * Checking for suitable kernel configuration options...
>  [ ok ]
>  * Applying audit-2.4.3-python.patch ...
>  [ ok ]
>  * Applying audit-2.1.3-ia64-compile-fix.patch ...
>  [ ok ]
>  * Running eautoreconf in 
> '/var/tmp/portage/sys-process/audit-2.8.3/work/audit-2.8.3' ...
>  * Running libtoolize --install --copy --force --automake ...
>  [ ok ]
>  * Running aclocal ...
>  [ ok ]
>  * Running autoconf --force ...
>  [ ok ]
>  * Running autoheader ...
>  [ ok ]
>  * Running automake --add-missing --copy --force-missing ...
>  [ ok ]
>  * Running elibtoolize in: audit-2.8.3/
>  *   Applying portage/1.2.0 patch ...
>  *   Applying sed/1.5.6 patch ...
>  *   Applying as-needed/2.4.3 patch ...
>  * abi_x86_64.amd64: running multilib-minimal_abi_src_configure
> Configuring auditd
> checking build system type... x86_64-pc-linux-gnu
> checking host system type... x86_64-pc-linux-gnu
> checking target system type... x86_64-pc-linux-gnu
> checking for a BSD-compatible install... 
> /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... /bin/mkdir -p
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking whether make supports nested variables... yes
> checking how to print strings... printf
> checking for style of include used by make... GNU
> checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables...
> checking whether we are cross compiling... no
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
> checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
> checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes
> checking dependency style of x86_64-pc-linux-gnu-gcc... none
> checking for a sed that does not truncate output... /bin/sed
> checking for grep that handles long lines and -e... /bin/grep
> checking for egrep... /bin/grep -E
> checking for fgrep... /bin/grep -F
> checking for ld used by x86_64-pc-linux-gnu-gcc... 
> /usr/x86_64-pc-linux-gnu/bin/ld
> checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
> checking for BSD- or MS-compatible name lister (nm)... 
> /usr/bin/x86_64-pc-linux-gnu-nm -B
> checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... 
> BSD nm
> checking whether ln -s works... yes
> checking the maximum length of command line arguments... 201326592
> checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu 
> format... func_convert_file_noop
> checking how to convert x86_64-pc-linux-gnu file names to toolchain format... 
> func_convert_file_noop
> checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... 
> -r
> checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump
> checking how to recognize dependent libraries... pass_all
> checking for x86_64-pc-linux-gnu-dlltool... no
> checking for dlltool... no
> checking how to associate runtime and link libraries... printf %s\n
> checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
> checking for archiver @FILE support... @
> checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
> checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
> checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from 
> x86_64-pc-linux-gnu-gcc object... ok
> checking for sysroot... no
> checking for a working dd... /bin/dd
> checking how to truncate binary pipes... /bin/dd bs=4096 count=1
> checking for x86_64-pc-linux-gnu-mt... no
> checking for mt... no
> checking if : is a manifest tool... no
> checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking for dlfcn.h... yes
> checking for objdir... .libs
> checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
> checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
> checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
> checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes
> checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes
> checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
> checking whether the x86_64-pc-linux-gnu-gcc linker 
> (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... 
> yes
> checking whether -lc should be explicitly linked in... no
> checking dynamic linker characteristics... GNU/Linux ld.so
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... yes
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... no
> checking sys/inotify.h usability... yes
> checking sys/inotify.h presence... yes
> checking for sys/inotify.h... yes
> checking sys/epoll.h usability... yes
> checking sys/epoll.h presence... yes
> checking for sys/epoll.h... yes
> checking sys/event.h usability... no
> checking sys/event.h presence... no
> checking for sys/event.h... no
> checking port.h usability... no
> checking port.h presence... no
> checking for port.h... no
> checking poll.h usability... yes
> checking poll.h presence... yes
> checking for poll.h... yes
> checking sys/select.h usability... yes
> checking sys/select.h presence... yes
> checking for sys/select.h... yes
> checking sys/eventfd.h usability... yes
> checking sys/eventfd.h presence... yes
> checking for sys/eventfd.h... yes
> checking sys/signalfd.h usability... yes
> checking sys/signalfd.h presence... yes
> checking for sys/signalfd.h... yes
> checking for inotify_init... yes
> checking for epoll_ctl... yes
> checking for kqueue... no
> checking for port_create... no
> checking for poll... yes
> checking for select... yes
> checking for eventfd... yes
> checking for signalfd... yes
> checking for clock_gettime... yes
> checking for nanosleep... yes
> checking for library containing floor... -lm
> .
> Checking for programs
> checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc
> checking whether we are using the GNU C compiler... (cached) yes
> checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes
> checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) 
> none needed
> checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... 
> (cached) yes
> checking dependency style of x86_64-pc-linux-gnu-gcc... (cached) none
> checking for gawk... (cached) gawk
> checking for gcc... x86_64-pc-linux-gnu-gcc
> checking whether we are using the GNU C compiler... (cached) yes
> checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
> checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) 
> none needed
> checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... 
> (cached) yes
> checking dependency style of x86_64-pc-linux-gnu-gcc... (cached) none
> checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
> .
> Checking for header files
> checking for ANSI C header files... (cached) yes
> checking whether time.h and sys/time.h may both be included... yes
> checking for an ANSI C-conforming const... yes
> checking for inline... inline
> checking size of unsigned int... 4
> checking size of unsigned long... 8
> checking whether AUDIT_FEATURE_VERSION is declared... yes
> checking for struct audit_status.feature_bitmap... yes
> checking whether AUDIT_VERSION_BACKLOG_WAIT_TIME is declared... yes
> checking whether AUDIT_STATUS_BACKLOG_WAIT_TIME is declared... yes
> checking whether ADDR_NO_RANDOMIZE is declared... yes
> checking for posix_fallocate... yes
> checking for signalfd... (cached) yes
> checking whether to create python bindings... no
> checking whether to create python3 bindings... no
> checking whether to create Go language bindings... testing
> checking for go... no
> configure: WARNING: "Go not found - go bindings will not be made"
> /var/tmp/portage/sys-process/audit-2.8.3/work/audit-2.8.3/configure: line 
> 15198: test: =: unary operator expected
> checking whether to include auditd network listener support... yes
> checking whether to include audisp ZOS remote plugin... yes
> checking asm/ptrace.h usability... yes
> checking asm/ptrace.h presence... yes
> checking for asm/ptrace.h... yes
> checking linux/ptrace.h usability... yes
> checking linux/ptrace.h presence... yes
> checking for linux/ptrace.h... yes
> checking linux/fanotify.h usability... yes
> checking linux/fanotify.h presence... yes
> checking for linux/fanotify.h... yes
> checking whether to include alpha processor support... no
> checking whether to include arm eabi processor support... no
> checking whether to include aarch64 processor support... no
> checking whether to use apparmor... no
> checking whether to use prelude... no
> checking whether to use libwrap... no
> checking cap-ng.h usability... yes
> checking cap-ng.h presence... yes
> checking for cap-ng.h... yes
> checking for capng_clear in -lcap-ng... yes
> checking whether to use libcap-ng... yes
> checking that generated files are newer than configure... done
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating lib/Makefile
> config.status: creating lib/audit.pc
> config.status: creating lib/test/Makefile
> config.status: creating auparse/Makefile
> config.status: creating auparse/test/Makefile
> config.status: creating auparse/auparse.pc
> config.status: creating src/Makefile
> config.status: creating src/libev/Makefile
> config.status: creating src/test/Makefile
> config.status: creating docs/Makefile
> config.status: creating rules/Makefile
> config.status: creating init.d/Makefile
> config.status: creating audisp/Makefile
> config.status: creating audisp/plugins/Makefile
> config.status: creating audisp/plugins/builtins/Makefile
> config.status: creating audisp/plugins/prelude/Makefile
> config.status: creating audisp/plugins/remote/Makefile
> config.status: creating bindings/Makefile
> config.status: creating bindings/python/Makefile
> config.status: creating bindings/python/python2/Makefile
> config.status: creating bindings/python/python3/Makefile
> config.status: creating bindings/golang/Makefile
> config.status: creating bindings/swig/Makefile
> config.status: creating bindings/swig/src/Makefile
> config.status: creating bindings/swig/python/Makefile
> config.status: creating bindings/swig/python3/Makefile
> config.status: creating tools/Makefile
> config.status: creating tools/aulast/Makefile
> config.status: creating tools/aulastlog/Makefile
> config.status: creating tools/ausyscall/Makefile
> config.status: creating tools/auvirt/Makefile
> config.status: creating m4/Makefile
> config.status: creating config.h
> config.status: executing depfiles commands
> config.status: executing libtool commands
> .
>
>
>   Auditd Version:         2.8.3
>   Target:                 x86_64-pc-linux-gnu
>   Installation prefix:    /usr
>   Compiler:               x86_64-pc-linux-gnu-gcc
>   Compiler flags:
>                           -march=native -O2 -pipe
>
>  * python2_7: running python_configure
> Configuring auditd
> checking build system type... x86_64-pc-linux-gnu
> checking host system type... x86_64-pc-linux-gnu
> checking target system type... x86_64-pc-linux-gnu
> checking for a BSD-compatible install... 
> /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... /bin/mkdir -p
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking whether make supports nested variables... yes
> checking how to print strings... printf
> checking for style of include used by make... GNU
> checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables...
> checking whether we are cross compiling... no
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
> checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
> checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes
> checking dependency style of x86_64-pc-linux-gnu-gcc... none
> checking for a sed that does not truncate output... /bin/sed
> checking for grep that handles long lines and -e... /bin/grep
> checking for egrep... /bin/grep -E
> checking for fgrep... /bin/grep -F
> checking for ld used by x86_64-pc-linux-gnu-gcc... 
> /usr/x86_64-pc-linux-gnu/bin/ld
> checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
> checking for BSD- or MS-compatible name lister (nm)... 
> /usr/bin/x86_64-pc-linux-gnu-nm -B
> checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... 
> BSD nm
> checking whether ln -s works... yes
> checking the maximum length of command line arguments... 201326592
> checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu 
> format... func_convert_file_noop
> checking how to convert x86_64-pc-linux-gnu file names to toolchain format... 
> func_convert_file_noop
> checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... 
> -r
> checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump
> checking how to recognize dependent libraries... pass_all
> checking for x86_64-pc-linux-gnu-dlltool... no
> checking for dlltool... no
> checking how to associate runtime and link libraries... printf %s\n
> checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
> checking for archiver @FILE support... @
> checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
> checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
> checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from 
> x86_64-pc-linux-gnu-gcc object... ok
> checking for sysroot... no
> checking for a working dd... /bin/dd
> checking how to truncate binary pipes... /bin/dd bs=4096 count=1
> checking for x86_64-pc-linux-gnu-mt... no
> checking for mt... no
> checking if : is a manifest tool... no
> checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking for dlfcn.h... yes
> checking for objdir... .libs
> checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
> checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
> checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
> checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes
> checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes
> checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
> checking whether the x86_64-pc-linux-gnu-gcc linker 
> (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... 
> yes
> checking whether -lc should be explicitly linked in... no
> checking dynamic linker characteristics... GNU/Linux ld.so
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... yes
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... yes
> checking sys/inotify.h usability... yes
> checking sys/inotify.h presence... yes
> checking for sys/inotify.h... yes
> checking sys/epoll.h usability... yes
> checking sys/epoll.h presence... yes
> checking for sys/epoll.h... yes
> checking sys/event.h usability... no
> checking sys/event.h presence... no
> checking for sys/event.h... no
> checking port.h usability... no
> checking port.h presence... no
> checking for port.h... no
> checking poll.h usability... yes
> checking poll.h presence... yes
> checking for poll.h... yes
> checking sys/select.h usability... yes
> checking sys/select.h presence... yes
> checking for sys/select.h... yes
> checking sys/eventfd.h usability... yes
> checking sys/eventfd.h presence... yes
> checking for sys/eventfd.h... yes
> checking sys/signalfd.h usability... yes
> checking sys/signalfd.h presence... yes
> checking for sys/signalfd.h... yes
> checking for inotify_init... yes
> checking for epoll_ctl... yes
> checking for kqueue... no
> checking for port_create... no
> checking for poll... yes
> checking for select... yes
> checking for eventfd... yes
> checking for signalfd... yes
> checking for clock_gettime... yes
> checking for nanosleep... yes
> checking for library containing floor... -lm
> .
> Checking for programs
> checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc
> checking whether we are using the GNU C compiler... (cached) yes
> checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes
> checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) 
> none needed
> checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... 
> (cached) yes
> checking dependency style of x86_64-pc-linux-gnu-gcc... (cached) none
> checking for gawk... (cached) gawk
> checking for gcc... x86_64-pc-linux-gnu-gcc
> checking whether we are using the GNU C compiler... (cached) yes
> checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
> checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) 
> none needed
> checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... 
> (cached) yes
> checking dependency style of x86_64-pc-linux-gnu-gcc... (cached) none
> checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
> .
> Checking for header files
> checking for ANSI C header files... (cached) yes
> checking whether time.h and sys/time.h may both be included... yes
> checking for an ANSI C-conforming const... yes
> checking for inline... inline
> checking size of unsigned int... 4
> checking size of unsigned long... 8
> checking whether AUDIT_FEATURE_VERSION is declared... yes
> checking for struct audit_status.feature_bitmap... yes
> checking whether AUDIT_VERSION_BACKLOG_WAIT_TIME is declared... yes
> checking whether AUDIT_STATUS_BACKLOG_WAIT_TIME is declared... yes
> checking whether ADDR_NO_RANDOMIZE is declared... yes
> checking for posix_fallocate... yes
> checking for signalfd... (cached) yes
> checking whether to create python bindings... testing
> checking for python version... 2.7
> checking for python platform... linux2
> checking for python script directory... 
> ${prefix}/lib64/python2.7/site-packages
> checking for python extension module directory... 
> ${exec_prefix}/lib64/python2.7/site-packages
> configure: Python bindings will be built
> checking whether to create python3 bindings... no
> checking whether to create Go language bindings... testing
> checking for go... no
> configure: WARNING: "Go not found - go bindings will not be made"
> /var/tmp/portage/sys-process/audit-2.8.3/work/audit-2.8.3/configure: line 
> 15198: test: =: unary operator expected
> checking whether to include auditd network listener support... yes
> checking whether to include audisp ZOS remote plugin... yes
> checking asm/ptrace.h usability... yes
> checking asm/ptrace.h presence... yes
> checking for asm/ptrace.h... yes
> checking linux/ptrace.h usability... yes
> checking linux/ptrace.h presence... yes
> checking for linux/ptrace.h... yes
> checking linux/fanotify.h usability... yes
> checking linux/fanotify.h presence... yes
> checking for linux/fanotify.h... yes
> checking whether to include alpha processor support... no
> checking whether to include arm eabi processor support... no
> checking whether to include aarch64 processor support... no
> checking whether to use apparmor... no
> checking whether to use prelude... no
> checking whether to use libwrap... no
> checking cap-ng.h usability... yes
> checking cap-ng.h presence... yes
> checking for cap-ng.h... yes
> checking for capng_clear in -lcap-ng... yes
> checking whether to use libcap-ng... yes
> checking that generated files are newer than configure... done
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating lib/Makefile
> config.status: creating lib/audit.pc
> config.status: creating lib/test/Makefile
> config.status: creating auparse/Makefile
> config.status: creating auparse/test/Makefile
> config.status: creating auparse/auparse.pc
> config.status: creating src/Makefile
> config.status: creating src/libev/Makefile
> config.status: creating src/test/Makefile
> config.status: creating docs/Makefile
> config.status: creating rules/Makefile
> config.status: creating init.d/Makefile
> config.status: creating audisp/Makefile
> config.status: creating audisp/plugins/Makefile
> config.status: creating audisp/plugins/builtins/Makefile
> config.status: creating audisp/plugins/prelude/Makefile
> config.status: creating audisp/plugins/remote/Makefile
> config.status: creating bindings/Makefile
> config.status: creating bindings/python/Makefile
> config.status: creating bindings/python/python2/Makefile
> config.status: creating bindings/python/python3/Makefile
> config.status: creating bindings/golang/Makefile
> config.status: creating bindings/swig/Makefile
> config.status: creating bindings/swig/src/Makefile
> config.status: creating bindings/swig/python/Makefile
> config.status: creating bindings/swig/python3/Makefile
> config.status: creating tools/Makefile
> config.status: creating tools/aulast/Makefile
> config.status: creating tools/aulastlog/Makefile
> config.status: creating tools/ausyscall/Makefile
> config.status: creating tools/auvirt/Makefile
> config.status: creating m4/Makefile
> config.status: creating config.h
> config.status: executing depfiles commands
> config.status: executing libtool commands
> .
>
>
>   Auditd Version:         2.8.3
>   Target:                 x86_64-pc-linux-gnu
>   Installation prefix:    /usr
>   Compiler:               x86_64-pc-linux-gnu-gcc
>   Compiler flags:
>                           -march=native -O2 -pipe
>
>  * python3_6: running python_configure
> Configuring auditd
> checking build system type... x86_64-pc-linux-gnu
> checking host system type... x86_64-pc-linux-gnu
> checking target system type... x86_64-pc-linux-gnu
> checking for a BSD-compatible install... 
> /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... /bin/mkdir -p
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking whether make supports nested variables... yes
> checking how to print strings... printf
> checking for style of include used by make... GNU
> checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables...
> checking whether we are cross compiling... no
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
> checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
> checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes
> checking dependency style of x86_64-pc-linux-gnu-gcc... none
> checking for a sed that does not truncate output... /bin/sed
> checking for grep that handles long lines and -e... /bin/grep
> checking for egrep... /bin/grep -E
> checking for fgrep... /bin/grep -F
> checking for ld used by x86_64-pc-linux-gnu-gcc... 
> /usr/x86_64-pc-linux-gnu/bin/ld
> checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
> checking for BSD- or MS-compatible name lister (nm)... 
> /usr/bin/x86_64-pc-linux-gnu-nm -B
> checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... 
> BSD nm
> checking whether ln -s works... yes
> checking the maximum length of command line arguments... 201326592
> checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu 
> format... func_convert_file_noop
> checking how to convert x86_64-pc-linux-gnu file names to toolchain format... 
> func_convert_file_noop
> checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... 
> -r
> checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump
> checking how to recognize dependent libraries... pass_all
> checking for x86_64-pc-linux-gnu-dlltool... no
> checking for dlltool... no
> checking how to associate runtime and link libraries... printf %s\n
> checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
> checking for archiver @FILE support... @
> checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
> checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
> checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from 
> x86_64-pc-linux-gnu-gcc object... ok
> checking for sysroot... no
> checking for a working dd... /bin/dd
> checking how to truncate binary pipes... /bin/dd bs=4096 count=1
> checking for x86_64-pc-linux-gnu-mt... no
> checking for mt... no
> checking if : is a manifest tool... no
> checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking for dlfcn.h... yes
> checking for objdir... .libs
> checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
> checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
> checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
> checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes
> checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes
> checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
> checking whether the x86_64-pc-linux-gnu-gcc linker 
> (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... 
> yes
> checking whether -lc should be explicitly linked in... no
> checking dynamic linker characteristics... GNU/Linux ld.so
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... yes
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... yes
> checking sys/inotify.h usability... yes
> checking sys/inotify.h presence... yes
> checking for sys/inotify.h... yes
> checking sys/epoll.h usability... yes
> checking sys/epoll.h presence... yes
> checking for sys/epoll.h... yes
> checking sys/event.h usability... no
> checking sys/event.h presence... no
> checking for sys/event.h... no
> checking port.h usability... no
> checking port.h presence... no
> checking for port.h... no
> checking poll.h usability... yes
> checking poll.h presence... yes
> checking for poll.h... yes
> checking sys/select.h usability... yes
> checking sys/select.h presence... yes
> checking for sys/select.h... yes
> checking sys/eventfd.h usability... yes
> checking sys/eventfd.h presence... yes
> checking for sys/eventfd.h... yes
> checking sys/signalfd.h usability... yes
> checking sys/signalfd.h presence... yes
> checking for sys/signalfd.h... yes
> checking for inotify_init... yes
> checking for epoll_ctl... yes
> checking for kqueue... no
> checking for port_create... no
> checking for poll... yes
> checking for select... yes
> checking for eventfd... yes
> checking for signalfd... yes
> checking for clock_gettime... yes
> checking for nanosleep... yes
> checking for library containing floor... -lm
> .
> Checking for programs
> checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc
> checking whether we are using the GNU C compiler... (cached) yes
> checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes
> checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) 
> none needed
> checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... 
> (cached) yes
> checking dependency style of x86_64-pc-linux-gnu-gcc... (cached) none
> checking for gawk... (cached) gawk
> checking for gcc... x86_64-pc-linux-gnu-gcc
> checking whether we are using the GNU C compiler... (cached) yes
> checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
> checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) 
> none needed
> checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... 
> (cached) yes
> checking dependency style of x86_64-pc-linux-gnu-gcc... (cached) none
> checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
> .
> Checking for header files
> checking for ANSI C header files... (cached) yes
> checking whether time.h and sys/time.h may both be included... yes
> checking for an ANSI C-conforming const... yes
> checking for inline... inline
> checking size of unsigned int... 4
> checking size of unsigned long... 8
> checking whether AUDIT_FEATURE_VERSION is declared... yes
> checking for struct audit_status.feature_bitmap... yes
> checking whether AUDIT_VERSION_BACKLOG_WAIT_TIME is declared... yes
> checking whether AUDIT_STATUS_BACKLOG_WAIT_TIME is declared... yes
> checking whether ADDR_NO_RANDOMIZE is declared... yes
> checking for posix_fallocate... yes
> checking for signalfd... (cached) yes
> checking whether to create python bindings... no
> checking whether to create python3 bindings... investigating
> checking for python3-config... 
> /var/tmp/portage/sys-process/audit-2.8.3/temp/python3.6/bin/python3-config
> Python3 bindings WILL be built
> checking for python3... 
> /var/tmp/portage/sys-process/audit-2.8.3/temp/python3.6/bin/python3
> checking whether to create Go language bindings... testing
> checking for go... no
> configure: WARNING: "Go not found - go bindings will not be made"
> /var/tmp/portage/sys-process/audit-2.8.3/work/audit-2.8.3/configure: line 
> 15198: test: =: unary operator expected
> checking whether to include auditd network listener support... yes
> checking whether to include audisp ZOS remote plugin... yes
> checking asm/ptrace.h usability... yes
> checking asm/ptrace.h presence... yes
> checking for asm/ptrace.h... yes
> checking linux/ptrace.h usability... yes
> checking linux/ptrace.h presence... yes
> checking for linux/ptrace.h... yes
> checking linux/fanotify.h usability... yes
> checking linux/fanotify.h presence... yes
> checking for linux/fanotify.h... yes
> checking whether to include alpha processor support... no
> checking whether to include arm eabi processor support... no
> checking whether to include aarch64 processor support... no
> checking whether to use apparmor... no
> checking whether to use prelude... no
> checking whether to use libwrap... no
> checking cap-ng.h usability... yes
> checking cap-ng.h presence... yes
> checking for cap-ng.h... yes
> checking for capng_clear in -lcap-ng... yes
> checking whether to use libcap-ng... yes
> checking that generated files are newer than configure... done
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating lib/Makefile
> config.status: creating lib/audit.pc
> config.status: creating lib/test/Makefile
> config.status: creating auparse/Makefile
> config.status: creating auparse/test/Makefile
> config.status: creating auparse/auparse.pc
> config.status: creating src/Makefile
> config.status: creating src/libev/Makefile
> config.status: creating src/test/Makefile
> config.status: creating docs/Makefile
> config.status: creating rules/Makefile
> config.status: creating init.d/Makefile
> config.status: creating audisp/Makefile
> config.status: creating audisp/plugins/Makefile
> config.status: creating audisp/plugins/builtins/Makefile
> config.status: creating audisp/plugins/prelude/Makefile
> config.status: creating audisp/plugins/remote/Makefile
> config.status: creating bindings/Makefile
> config.status: creating bindings/python/Makefile
> config.status: creating bindings/python/python2/Makefile
> config.status: creating bindings/python/python3/Makefile
> config.status: creating bindings/golang/Makefile
> config.status: creating bindings/swig/Makefile
> config.status: creating bindings/swig/src/Makefile
> config.status: creating bindings/swig/python/Makefile
> config.status: creating bindings/swig/python3/Makefile
> config.status: creating tools/Makefile
> config.status: creating tools/aulast/Makefile
> config.status: creating tools/aulastlog/Makefile
> config.status: creating tools/ausyscall/Makefile
> config.status: creating tools/auvirt/Makefile
> config.status: creating m4/Makefile
> config.status: creating config.h
> config.status: executing depfiles commands
> config.status: executing libtool commands
> .
>
>
>   Auditd Version:         2.8.3
>   Target:                 x86_64-pc-linux-gnu
>   Installation prefix:    /usr
>   Compiler:               x86_64-pc-linux-gnu-gcc
>   Compiler flags:
>                           -march=native -O2 -pipe
>
>  * abi_x86_64.amd64: running multilib-minimal_abi_src_compile
> make  all-recursive
> make[1]: Entering directory 
> '/var/tmp/portage/sys-process/audit-2.8.3/work/audit-2.8.3-abi_x86_64.amd64'
> Making all in lib
> make[2]: Entering directory 
> '/var/tmp/portage/sys-process/audit-2.8.3/work/audit-2.8.3-abi_x86_64.amd64/lib'
> x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. 
> -I/var/tmp/portage/sys-process/audit-2.8.3/work/audit-2.8.3/lib -I..  -I. 
> -I/var/tmp/portage/sys-process/audit-2.8.3/work/audit-2.8.3 
> -I/var/tmp/portage/sys-process/audit-2.8.3/work/audit-2.8.3/auparse  
> '-DTABLE_H="actiontab.h"' -march=native -O2 -pipe -c -o 
> gen_actiontabs_h-gen_tables.o `test -f 'gen_tables.c' || echo 
> '/var/tmp/portage/sys-process/audit-2.8.3/work/audit-2.8.3/lib/'`gen_tables.c
> In file included from 
> /var/tmp/portage/sys-process/audit-2.8.3/work/audit-2.8.3/lib/gen_tables.c:40:
> /var/tmp/portage/sys-process/audit-2.8.3/work/audit-2.8.3/lib/libaudit.h:292: 
> warning: "AUDIT_FILTER_EXCLUDE" redefined
>  #define AUDIT_FILTER_EXCLUDE AUDIT_FILTER_TYPE
>
> In file included from 
> /var/tmp/portage/sys-process/audit-2.8.3/work/audit-2.8.3/lib/libaudit.h:35,
>                  from 
> /var/tmp/portage/sys-process/audit-2.8.3/work/audit-2.8.3/lib/gen_tables.c:40:
> /usr/include/linux/audit.h:161: note: this is the location of the previous 
> definition
>  #define AUDIT_FILTER_EXCLUDE 0x05 /* Apply rule before record creation */
>
> /bin/sh ../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc 
> '-DTABLE_H="actiontab.h"' -march=native -O2 -pipe  -Wl,-O1 -Wl,--as-needed -o 
> gen_actiontabs_h gen_actiontabs_h-gen_tables.o
> libtool: link: x86_64-pc-linux-gnu-gcc -DTABLE_H=\"actiontab.h\" 
> -march=native -O2 -pipe -Wl,-O1 -o gen_actiontabs_h 
> gen_actiontabs_h-gen_tables.o  -Wl,--as-needed
> ./gen_actiontabs_h --lowercase --i2s --s2i action > actiontabs.h
> x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. 
> -I/var/tmp/portage/sys-process/audit-2.8.3/work/audit-2.8.3/lib -I..  -I. 
> -I/var/tmp/portage/sys-process/audit-2.8.3/work/audit-2.8.3 
> -I/var/tmp/portage/sys-process/audit-2.8.3/work/audit-2.8.3/auparse  
> '-DTABLE_H="errtab.h"' -march=native -O2 -pipe -c -o 
> gen_errtabs_h-gen_tables.o `test -f 'gen_tables.c' || echo 
> '/var/tmp/portage/sys-process/audit-2.8.3/work/audit-2.8.3/lib/'`gen_tables.c
> In file included from 
> /var/tmp/portage/sys-process/audit-2.8.3/work/audit-2.8.3/lib/gen_tables.c:40:
> /var/tmp/portage/sys-process/audit-2.8.3/work/audit-2.8.3/lib/libaudit.h:292: 
> warning: "AUDIT_FILTER_EXCLUDE" redefined
>  #define AUDIT_FILTER_EXCLUDE AUDIT_FILTER_TYPE
>
> In file included from 
> /var/tmp/portage/sys-process/audit-2.8.3/work/audit-2.8.3/lib/libaudit.h:35,
>                  from 
> /var/tmp/portage/sys-process/audit-2.8.3/work/audit-2.8.3/lib/gen_tables.c:40:
> /usr/include/linux/audit.h:161: note: this is the location of the previous 
> definition
>  #define AUDIT_FILTER_EXCLUDE 0x05 /* Apply rule before record creation */
>
> /bin/sh ../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc 
> '-DTABLE_H="errtab.h"' -march=native -O2 -pipe  -Wl,-O1 -Wl,--as-needed -o 
> gen_errtabs_h gen_errtabs_h-gen_tables.o
> libtool: link: x86_64-pc-linux-gnu-gcc -DTABLE_H=\"errtab.h\" -march=native 
> -O2 -pipe -Wl,-O1 -o gen_errtabs_h gen_errtabs_h-gen_tables.o  -Wl,--as-needed
> ./gen_errtabs_h --duplicate-ints --uppercase --i2s --s2i err > errtabs.h
> x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. 
> -I/var/tmp/portage/sys-process/audit-2.8.3/work/audit-2.8.3/lib -I..  -I. 
> -I/var/tmp/portage/sys-process/audit-2.8.3/work/audit-2.8.3 
> -I/var/tmp/portage/sys-process/audit-2.8.3/work/audit-2.8.3/auparse  
> '-DTABLE_H="fieldtab.h"' -march=native -O2 -pipe -c -o 
> gen_fieldtabs_h-gen_tables.o `test -f 'gen_tables.c' || echo 
> '/var/tmp/portage/sys-process/audit-2.8.3/work/audit-2.8.3/lib/'`gen_tables.c
> In file included from 
> /var/tmp/portage/sys-process/audit-2.8.3/work/audit-2.8.3/lib/gen_tables.c:40:
> /var/tmp/portage/sys-process/audit-2.8.3/work/audit-2.8.3/lib/libaudit.h:292: 
> warning: "AUDIT_FILTER_EXCLUDE" redefined
>  #define AUDIT_FILTER_EXCLUDE AUDIT_FILTER_TYPE
>
> In file included from 
> /var/tmp/portage/sys-process/audit-2.8.3/work/audit-2.8.3/lib/libaudit.h:35,
>                  from 
> /var/tmp/portage/sys-process/audit-2.8.3/work/audit-2.8.3/lib/gen_tables.c:40:
> /usr/include/linux/audit.h:161: note: this is the location of the previous 
> definition
>  #define AUDIT_FILTER_EXCLUDE 0x05 /* Apply rule before record creation */
>
> /bin/sh ../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc 
> '-DTABLE_H="fieldtab.h"' -march=native -O2 -pipe  -Wl,-O1 -Wl,--as-needed -o 
> gen_fieldtabs_h gen_fieldtabs_h-gen_tables.o
> libtool: link: x86_64-pc-linux-gnu-gcc -DTABLE_H=\"fieldtab.h\" -march=native 
> -O2 -pipe -Wl,-O1 -o gen_fieldtabs_h gen_fieldtabs_h-gen_tables.o  
> -Wl,--as-needed
> ./gen_fieldtabs_h --duplicate-ints --lowercase --i2s --s2i field > fieldtabs.h
> x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. 
> -I/var/tmp/portage/sys-process/audit-2.8.3/work/audit-2.8.3/lib -I..  -I. 
> -I/var/tmp/portage/sys-process/audit-2.8.3/work/audit-2.8.3 
> -I/var/tmp/portage/sys-process/audit-2.8.3/work/audit-2.8.3/auparse  
> '-DTABLE_H="flagtab.h"' -march=native -O2 -pipe -c -o 
> gen_flagtabs_h-gen_tables.o `test -f 'gen_tables.c' || echo 
> '/var/tmp/portage/sys-process/audit-2.8.3/work/audit-2.8.3/lib/'`gen_tables.c

See the commentaries inline:
> In file included from 
> /var/tmp/portage/sys-process/audit-2.8.3/work/audit-2.8.3/lib/gen_tables.c:40:
> /var/tmp/portage/sys-process/audit-2.8.3/work/audit-2.8.3/lib/libaudit.h:292: 
> warning: "AUDIT_FILTER_EXCLUDE" redefined
>  #define AUDIT_FILTER_EXCLUDE AUDIT_FILTER_TYPE
>
> In file included from 
> /var/tmp/portage/sys-process/audit-2.8.3/work/audit-2.8.3/lib/libaudit.h:35,
>                  from 
> /var/tmp/portage/sys-process/audit-2.8.3/work/audit-2.8.3/lib/gen_tables.c:40:
> /usr/include/linux/audit.h:161: note: this is the location of the previous 
> definition <<< AUDIT_FILTER_EXCLUDE is already defined here; linux/audit.h is 
> included in lib/libaudit.h
>  #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) <<< This 
> header attempts to redefine AUDIT_FILTER_EXCLUDE, which is considered an 
> error by the C preprocessor.
>  #define AUDIT_FILTER_EXCLUDE AUDIT_FILTER_TYPE
>                               ^~~~~~~~~~~~~~~~~

You could either try updating the linux headers package that installed
/usr/include/linux/audit.h, e.g. version 4.17.11 leaves out this
macro's definition.
Or try upgrading the audit package, which introduced a safeguard
against this sort of thing in commit
https://github.com/linux-audit/audit-userspace/commit/6b99375dc1a4fd0f337a82ec1707e75fcf369824#diff-9715c6d7c816871357b2a138fb8d4565,
by making the AUDIT_FILTER_EXCLUDE definition optional.



> /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’
>  #define _S(VAL, S) { (VAL), (S), 0, 0 },
>                        ^~~
> /var/tmp/portage/sys-process/audit-2.8.3/work/audit-2.8.3/lib/flagtab.h:26:4: 
> note: in expansion of macro ‘AUDIT_FILTER_EXCLUDE’
>  _S(AUDIT_FILTER_EXCLUDE, "exclude"   )
>     ^~~~~~~~~~~~~~~~~~~~
> make[2]: *** [Makefile:973: gen_flagtabs_h-gen_tables.o] Error 1
> make[2]: Leaving directory 
> '/var/tmp/portage/sys-process/audit-2.8.3/work/audit-2.8.3-abi_x86_64.amd64/lib'
> make[1]: *** [Makefile:468: all-recursive] Error 1
> make[1]: Leaving directory 
> '/var/tmp/portage/sys-process/audit-2.8.3/work/audit-2.8.3-abi_x86_64.amd64'
> make: *** [Makefile:400: all] Error 2
>  * ERROR: sys-process/audit-2.8.3::gentoo failed (compile phase):
>  *   emake failed
>  *
>  * If you need support, post the output of `emerge --info 
> '=sys-process/audit-2.8.3::gentoo'`,
>  * the complete build log and the output of `emerge -pqv 
> '=sys-process/audit-2.8.3::gentoo'`.
>  * The complete build log is located at 
> '/var/tmp/portage/sys-process/audit-2.8.3/temp/build.log'.
>  * The ebuild environment file is located at 
> '/var/tmp/portage/sys-process/audit-2.8.3/temp/environment'.
>  * Working directory: 
> '/var/tmp/portage/sys-process/audit-2.8.3/work/audit-2.8.3-abi_x86_64.amd64'
>  * S: '/var/tmp/portage/sys-process/audit-2.8.3/work/audit-2.8.3'
>

Reply via email to