Applying ./patches/001-compile.patch using plaintext: 
File configure.in is read-only; trying to patch anyway
patching file configure.in

Applying ./patches/002-fix_include.patch using plaintext: 
File configure.in is read-only; trying to patch anyway
patching file configure.in

Applying ./patches/003-include-tirpc.patch using plaintext: 
patching file src/dynamic-preprocessors/appid/service_plugins/service_rpc.c
autoreconf: export WARNINGS=
autoreconf: warning: autoconf input should be named 'configure.ac', not 'configure.in'
autoreconf: Entering directory '.'
autoreconf: configure.in: 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_arm926ej-s_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_arm926ej-s_musl_eabi/usr/share/aclocal -I m4 -I . --force 
aclocal.real: warning: autoconf input should be named 'configure.ac', not 'configure.in'
autoreconf: configure.in: 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: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.in,
OpenWrt-libtoolize: and rerunning libtoolize and aclocal.
OpenWrt-libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
OpenWrt-libtoolize: 'AC_PROG_RANLIB' is rendered obsolete by 'LT_INIT'
autoreconf: configure.in: not using Intltool
autoreconf: configure.in: 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_arm926ej-s_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_arm926ej-s_musl_eabi/usr/share/aclocal -I m4 -I . --force 
aclocal.real: warning: autoconf input should be named 'configure.ac', not 'configure.in'
autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/autoconf --include=/builder/shared-workdir/build/sdk/staging_dir/target-arm_arm926ej-s_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_arm926ej-s_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, --enable-flexresp
configure: loading site script /builder/shared-workdir/build/sdk/include/site/arm
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_arm926ej-s_musl_eabi/snort/snort-2.9.19/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 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 arm-openwrt-linux-muslgnueabi-gcc option to accept ISO C99... none needed
checking for arm-openwrt-linux-muslgnueabi-gcc option to accept ISO Standard C... (cached) none needed
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 build system type... x86_64-pc-linux-gnu
checking host system type... arm-openwrt-linux-gnu
checking how to print strings... printf
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 for arm-openwrt-linux-ranlib... (cached) arm-openwrt-linux-muslgnueabi-gcc-ranlib
checking whether byte ordering is bigendian... (cached) no
checking for inline... inline
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for bison... bison
checking for flex... flex
checking for inttypes.h... (cached) yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for unistd.h... (cached) yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking for floor in -lm... yes
checking for ceil in -lm... yes
checking uuid/uuid.h usability... yes
checking uuid/uuid.h presence... yes
checking for uuid/uuid.h... yes
checking for uuid_parse in -luuid... yes
checking for inet_ntoa in -lnsl... no
checking for socket in -lsocket... no
checking whether printf must be declared... no
checking whether fprintf must be declared... no
checking whether syslog must be declared... no
checking whether puts must be declared... no
checking whether fputs must be declared... no
checking whether fputc must be declared... no
checking whether fopen must be declared... no
checking whether fclose must be declared... no
checking whether fwrite must be declared... no
checking whether fflush must be declared... no
checking whether getopt must be declared... no
checking whether bzero must be declared... no
checking whether bcopy must be declared... no
checking whether memset must be declared... no
checking whether strtol must be declared... no
checking whether strcasecmp must be declared... no
checking whether strncasecmp must be declared... no
checking whether strerror must be declared... no
checking whether perror must be declared... no
checking whether socket must be declared... no
checking whether sendto must be declared... no
checking whether vsnprintf must be declared... no
checking whether snprintf must be declared... no
checking whether strtoul must be declared... no
checking for sigaction... yes
checking for strlcpy... yes
checking for strlcat... yes
checking for strerror... (cached) yes
checking for vswprintf... yes
checking for wprintf... yes
checking for memrchr... yes
checking for inet_ntop... yes
checking for gettid... yes
checking for snprintf... yes
checking for malloc_trim... no
checking for mallinfo... no
checking size of char... (cached) 1
checking size of short... (cached) 2
checking size of int... (cached) 4
checking size of long int... (cached) 4
checking size of long long int... 8
checking size of unsigned int... (cached) 4
checking size of unsigned long int... 4
checking size of unsigned long long int... 8
checking for u_int8_t... yes
checking for u_int16_t... yes
checking for u_int32_t... yes
checking for u_int64_t... yes
checking for uint8_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for int8_t... yes
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for boolean... no
checking for INADDR_NONE... configure: error: in `/builder/shared-workdir/build/sdk/build_dir/target-arm_arm926ej-s_musl_eabi/snort/snort-2.9.19':
configure: error: cannot run test program while cross compiling
See `config.log' for more details
make[3]: *** [Makefile:163: /builder/shared-workdir/build/sdk/build_dir/target-arm_arm926ej-s_musl_eabi/snort/snort-2.9.19/.configured_68b329da9893e34099c7d8ad5cb9c940] Error 1
time: package/feeds/packages/snort/compile#14.95#3.14#39.32