Applying ./patches/0001-Add-substitue-functions-for-strndupa-rawmemchr.patch using plaintext: patching file auparse/auparse.c patching file auparse/interpret.c patching file configure.ac patching file src/ausearch-lol.c Applying ./patches/0002-fix-gcc-10.patch using plaintext: patching file src/ausearch-common.h autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a7+vfpv4_musl_eabi/host/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/hostpkg/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a7+vfpv4_musl_eabi/usr/share/aclocal -I m4 -I . --force autoreconf: configure.ac: tracing autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/libtoolize --install --force OpenWrt-libtoolize: putting auxiliary files in '.'. OpenWrt-libtoolize: linking file './config.guess' OpenWrt-libtoolize: linking file './config.sub' OpenWrt-libtoolize: linking file './install-sh' OpenWrt-libtoolize: linking file './ltmain.sh' OpenWrt-libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. OpenWrt-libtoolize: linking file 'm4/libtool.m4' OpenWrt-libtoolize: linking file 'm4/ltoptions.m4' OpenWrt-libtoolize: linking file 'm4/ltsugar.m4' OpenWrt-libtoolize: linking file 'm4/ltversion.m4' OpenWrt-libtoolize: linking file 'm4/lt~obsolete.m4' OpenWrt-libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a7+vfpv4_musl_eabi/host/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/hostpkg/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a7+vfpv4_musl_eabi/usr/share/aclocal -I m4 -I . --force autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/autoconf --include=/builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a7+vfpv4_musl_eabi/host/share/aclocal --include=/builder/shared-workdir/build/sdk/staging_dir/hostpkg/share/aclocal --include=/builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a7+vfpv4_musl_eabi/usr/share/aclocal --include=m4 --include=. --prepend-include=/builder/shared-workdir/build/sdk/staging_dir/host/share/aclocal --force autom4te: error: /builder/shared-workdir/build/staging_dir/host/share/autoconf/autoconf/trailer.m4: no such file or directory autoreconf: error: /builder/shared-workdir/build/sdk/staging_dir/host/bin/autoconf failed with exit status: 1 configure: WARNING: unrecognized options: --disable-nls configure: loading site script /builder/shared-workdir/build/sdk/include/site/arm Configuring auditd checking build system type... x86_64-pc-linux-gnu checking host system type... arm-openwrt-linux-gnu checking target system type... arm-openwrt-linux-gnu checking for a BSD-compatible install... /builder/shared-workdir/build/sdk/staging_dir/host/bin/install -c checking whether build environment is sane... yes /bin/bash: /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/audit-2.8.5/missing: No such file or directory configure: WARNING: 'missing' script is too old or missing checking for arm-openwrt-linux-strip... arm-openwrt-linux-muslgnueabi-strip 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 whether make supports the include directive... yes (GNU style) checking for arm-openwrt-linux-gcc... arm-openwrt-linux-muslgnueabi-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... yes checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether arm-openwrt-linux-muslgnueabi-gcc accepts -g... yes checking for arm-openwrt-linux-muslgnueabi-gcc option to accept ISO C89... none needed checking whether arm-openwrt-linux-muslgnueabi-gcc understands -c and -o together... yes checking dependency style of arm-openwrt-linux-muslgnueabi-gcc... none checking for a sed that does not truncate output... /builder/shared-workdir/build/sdk/staging_dir/host/bin/sed checking for grep that handles long lines and -e... /builder/shared-workdir/build/sdk/staging_dir/host/bin/grep checking for egrep... /builder/shared-workdir/build/sdk/staging_dir/host/bin/grep -E checking for fgrep... /builder/shared-workdir/build/sdk/staging_dir/host/bin/grep -F checking for ld used by arm-openwrt-linux-muslgnueabi-gcc... arm-openwrt-linux-muslgnueabi-ld checking if the linker (arm-openwrt-linux-muslgnueabi-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... arm-openwrt-linux-muslgnueabi-gcc-nm checking the name lister (arm-openwrt-linux-muslgnueabi-gcc-nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to arm-openwrt-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 arm-openwrt-linux-muslgnueabi-ld option to reload object files... -r checking for arm-openwrt-linux-objdump... arm-openwrt-linux-muslgnueabi-objdump checking how to recognize dependent libraries... pass_all checking for arm-openwrt-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for arm-openwrt-linux-ar... arm-openwrt-linux-muslgnueabi-gcc-ar checking for archiver @FILE support... @ checking for arm-openwrt-linux-strip... (cached) arm-openwrt-linux-muslgnueabi-strip checking for arm-openwrt-linux-ranlib... arm-openwrt-linux-muslgnueabi-gcc-ranlib checking command to parse arm-openwrt-linux-muslgnueabi-gcc-nm output from arm-openwrt-linux-muslgnueabi-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 arm-openwrt-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... arm-openwrt-linux-muslgnueabi-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 arm-openwrt-linux-muslgnueabi-gcc supports -fno-rtti -fno-exceptions... no checking for arm-openwrt-linux-muslgnueabi-gcc option to produce PIC... -fPIC -DPIC checking if arm-openwrt-linux-muslgnueabi-gcc PIC flag -fPIC -DPIC works... yes checking if arm-openwrt-linux-muslgnueabi-gcc static flag -static works... yes checking if arm-openwrt-linux-muslgnueabi-gcc supports -c -o file.o... yes checking if arm-openwrt-linux-muslgnueabi-gcc supports -c -o file.o... (cached) yes checking whether the arm-openwrt-linux-muslgnueabi-gcc linker (arm-openwrt-linux-muslgnueabi-ld) 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... none required . Checking for programs checking for arm-openwrt-linux-gcc... (cached) arm-openwrt-linux-muslgnueabi-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether arm-openwrt-linux-muslgnueabi-gcc accepts -g... (cached) yes checking for arm-openwrt-linux-muslgnueabi-gcc option to accept ISO C89... (cached) none needed checking whether arm-openwrt-linux-muslgnueabi-gcc understands -c and -o together... (cached) yes checking dependency style of arm-openwrt-linux-muslgnueabi-gcc... (cached) none checking for gawk... (cached) gawk checking for gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking how to run the C preprocessor... 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... (cached) 4 checking size of unsigned long... (cached) 4 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... go configure: Go bindings will be built checking whether to include auditd network listener support... yes checking whether to include audisp ZOS remote plugin... no 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... yes 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 whether to use libcap-ng... no 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 audisp/plugins/zos-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 configure: WARNING: unrecognized options: --disable-nls . Auditd Version: 2.8.5 Target: arm-openwrt-linux-gnu Installation prefix: /usr Compiler: arm-openwrt-linux-muslgnueabi-gcc Compiler flags: -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/audit-2.8.5=audit-2.8.5 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/audit-2.8.5/lib' make[5]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/audit-2.8.5' cd . && automake-1.16 --gnu configure.ac:41: error: required file './compile' not found configure.ac:41: 'automake --add-missing' can install 'compile' configure.ac:40: error: required file './missing' not found configure.ac:40: 'automake --add-missing' can install 'missing' audisp/Makefile.am: error: required file './depcomp' not found audisp/Makefile.am: 'automake --add-missing' can install 'depcomp' auparse/Makefile.am:90: warning: source file '../lib/gen_tables.c' is in a subdirectory, auparse/Makefile.am:90: but option 'subdir-objects' is disabled automake-1.16: warning: possible forward-incompatibility. automake-1.16: At least one source file is in a subdirectory, but the 'subdir-objects' automake-1.16: automake option hasn't been enabled. For now, the corresponding output automake-1.16: object file(s) will be placed in the top-level directory. However, this automake-1.16: behavior may change in a future Automake major version, with object automake-1.16: files being placed in the same subdirectory as the corresponding sources. automake-1.16: You are advised to start using 'subdir-objects' option throughout your automake-1.16: project, to avoid future incompatibilities. auparse/Makefile.am:103: warning: source file '../lib/gen_tables.c' is in a subdirectory, auparse/Makefile.am:103: but option 'subdir-objects' is disabled auparse/Makefile.am:116: warning: source file '../lib/gen_tables.c' is in a subdirectory, auparse/Makefile.am:116: but option 'subdir-objects' is disabled auparse/Makefile.am:129: warning: source file '../lib/gen_tables.c' is in a subdirectory, auparse/Makefile.am:129: but option 'subdir-objects' is disabled auparse/Makefile.am:143: warning: source file '../lib/gen_tables.c' is in a subdirectory, auparse/Makefile.am:143: but option 'subdir-objects' is disabled auparse/Makefile.am:156: warning: source file '../lib/gen_tables.c' is in a subdirectory, auparse/Makefile.am:156: but option 'subdir-objects' is disabled auparse/Makefile.am:183: warning: source file '../lib/gen_tables.c' is in a subdirectory, auparse/Makefile.am:183: but option 'subdir-objects' is disabled auparse/Makefile.am:169: warning: source file '../lib/gen_tables.c' is in a subdirectory, auparse/Makefile.am:169: but option 'subdir-objects' is disabled auparse/Makefile.am:197: warning: source file '../lib/gen_tables.c' is in a subdirectory, auparse/Makefile.am:197: but option 'subdir-objects' is disabled auparse/Makefile.am:575: warning: source file '../lib/gen_tables.c' is in a subdirectory, auparse/Makefile.am:575: but option 'subdir-objects' is disabled auparse/Makefile.am:210: warning: source file '../lib/gen_tables.c' is in a subdirectory, auparse/Makefile.am:210: but option 'subdir-objects' is disabled auparse/Makefile.am:262: warning: source file '../lib/gen_tables.c' is in a subdirectory, auparse/Makefile.am:262: but option 'subdir-objects' is disabled auparse/Makefile.am:236: warning: source file '../lib/gen_tables.c' is in a subdirectory, auparse/Makefile.am:236: but option 'subdir-objects' is disabled auparse/Makefile.am:223: warning: source file '../lib/gen_tables.c' is in a subdirectory, auparse/Makefile.am:223: but option 'subdir-objects' is disabled auparse/Makefile.am:249: warning: source file '../lib/gen_tables.c' is in a subdirectory, auparse/Makefile.am:249: but option 'subdir-objects' is disabled auparse/Makefile.am:275: warning: source file '../lib/gen_tables.c' is in a subdirectory, auparse/Makefile.am:275: but option 'subdir-objects' is disabled auparse/Makefile.am:288: warning: source file '../lib/gen_tables.c' is in a subdirectory, auparse/Makefile.am:288: but option 'subdir-objects' is disabled auparse/Makefile.am:588: warning: source file '../lib/gen_tables.c' is in a subdirectory, auparse/Makefile.am:588: but option 'subdir-objects' is disabled auparse/Makefile.am:301: warning: source file '../lib/gen_tables.c' is in a subdirectory, auparse/Makefile.am:301: but option 'subdir-objects' is disabled auparse/Makefile.am:640: warning: source file '../lib/gen_tables.c' is in a subdirectory, auparse/Makefile.am:640: but option 'subdir-objects' is disabled auparse/Makefile.am:627: warning: source file '../lib/gen_tables.c' is in a subdirectory, auparse/Makefile.am:627: but option 'subdir-objects' is disabled auparse/Makefile.am:601: warning: source file '../lib/gen_tables.c' is in a subdirectory, auparse/Makefile.am:601: but option 'subdir-objects' is disabled auparse/Makefile.am:614: warning: source file '../lib/gen_tables.c' is in a subdirectory, auparse/Makefile.am:614: but option 'subdir-objects' is disabled auparse/Makefile.am:314: warning: source file '../lib/gen_tables.c' is in a subdirectory, auparse/Makefile.am:314: but option 'subdir-objects' is disabled auparse/Makefile.am:328: warning: source file '../lib/gen_tables.c' is in a subdirectory, auparse/Makefile.am:328: but option 'subdir-objects' is disabled auparse/Makefile.am:367: warning: source file '../lib/gen_tables.c' is in a subdirectory, auparse/Makefile.am:367: but option 'subdir-objects' is disabled auparse/Makefile.am:354: warning: source file '../lib/gen_tables.c' is in a subdirectory, auparse/Makefile.am:354: but option 'subdir-objects' is disabled auparse/Makefile.am:380: warning: source file '../lib/gen_tables.c' is in a subdirectory, auparse/Makefile.am:380: but option 'subdir-objects' is disabled auparse/Makefile.am:341: warning: source file '../lib/gen_tables.c' is in a subdirectory, auparse/Makefile.am:341: but option 'subdir-objects' is disabled auparse/Makefile.am:393: warning: source file '../lib/gen_tables.c' is in a subdirectory, auparse/Makefile.am:393: but option 'subdir-objects' is disabled auparse/Makefile.am:406: warning: source file '../lib/gen_tables.c' is in a subdirectory, auparse/Makefile.am:406: but option 'subdir-objects' is disabled auparse/Makefile.am:419: warning: source file '../lib/gen_tables.c' is in a subdirectory, auparse/Makefile.am:419: but option 'subdir-objects' is disabled auparse/Makefile.am:432: warning: source file '../lib/gen_tables.c' is in a subdirectory, auparse/Makefile.am:432: but option 'subdir-objects' is disabled auparse/Makefile.am:445: warning: source file '../lib/gen_tables.c' is in a subdirectory, auparse/Makefile.am:445: but option 'subdir-objects' is disabled auparse/Makefile.am:458: warning: source file '../lib/gen_tables.c' is in a subdirectory, auparse/Makefile.am:458: but option 'subdir-objects' is disabled auparse/Makefile.am:471: warning: source file '../lib/gen_tables.c' is in a subdirectory, auparse/Makefile.am:471: but option 'subdir-objects' is disabled auparse/Makefile.am:484: warning: source file '../lib/gen_tables.c' is in a subdirectory, auparse/Makefile.am:484: but option 'subdir-objects' is disabled auparse/Makefile.am:497: warning: source file '../lib/gen_tables.c' is in a subdirectory, auparse/Makefile.am:497: but option 'subdir-objects' is disabled auparse/Makefile.am:510: warning: source file '../lib/gen_tables.c' is in a subdirectory, auparse/Makefile.am:510: but option 'subdir-objects' is disabled auparse/Makefile.am:523: warning: source file '../lib/gen_tables.c' is in a subdirectory, auparse/Makefile.am:523: but option 'subdir-objects' is disabled auparse/Makefile.am:536: warning: source file '../lib/gen_tables.c' is in a subdirectory, auparse/Makefile.am:536: but option 'subdir-objects' is disabled auparse/Makefile.am:549: warning: source file '../lib/gen_tables.c' is in a subdirectory, auparse/Makefile.am:549: but option 'subdir-objects' is disabled auparse/Makefile.am:562: warning: source file '../lib/gen_tables.c' is in a subdirectory, auparse/Makefile.am:562: but option 'subdir-objects' is disabled bindings/python/python2/Makefile.am:30: warning: source file '$(top_srcdir)/bindings/python/auparse_python.c' is in a subdirectory, bindings/python/python2/Makefile.am:30: but option 'subdir-objects' is disabled bindings/python/python3/Makefile.am:29: warning: source file '$(top_srcdir)/bindings/python/auparse_python.c' is in a subdirectory, bindings/python/python3/Makefile.am:29: but option 'subdir-objects' is disabled tools/auvirt/Makefile.am:38: warning: source file '${top_srcdir}/src/ausearch-time.c' is in a subdirectory, tools/auvirt/Makefile.am:38: but option 'subdir-objects' is disabled make[5]: *** [Makefile:405: Makefile.in] Error 1 make[5]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/audit-2.8.5' make[4]: *** [Makefile:704: Makefile.in] Error 1 make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/audit-2.8.5/lib' make[3]: *** [Makefile:112: /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a7+vfpv4_musl_eabi/audit-2.8.5/.built] Error 2 time: package/feeds/base/libaudit/compile#34.13#6.66#55.56