Applying ./patches/001-fix-kernel-version-detection.patch using plaintext: patching file configure.ac Applying ./patches/100-add-rtsp-conntrack.patch using plaintext: patching file extensions/rtsp/Kbuild patching file extensions/rtsp/netfilter_helpers.h patching file extensions/rtsp/netfilter_mime.h patching file extensions/rtsp/nf_conntrack_rtsp.c patching file extensions/rtsp/nf_conntrack_rtsp.h patching file extensions/rtsp/nf_nat_rtsp.c patching file extensions/Kbuild patching file mconfig Applying ./patches/200-add-lua-packetscript.patch using plaintext: patching file extensions/LUA/byte_array.c patching file extensions/LUA/controller.c patching file extensions/LUA/controller.h patching file extensions/LUA/Kbuild patching file extensions/LUA/libxt_LUA.c patching file extensions/LUA/libxt_LUA.man patching file extensions/LUA/lua/include/ctype.h patching file extensions/LUA/lua/include/errno.h patching file extensions/LUA/lua/include/locale.h patching file extensions/LUA/lua/include/setjmp.h patching file extensions/LUA/lua/include/stdio.h patching file extensions/LUA/lua/include/stdlib.h patching file extensions/LUA/lua/include/string.h patching file extensions/LUA/lua/lapi.c patching file extensions/LUA/lua/lapi.h patching file extensions/LUA/lua/lauxlib.c patching file extensions/LUA/lua/lauxlib.h patching file extensions/LUA/lua/lbaselib.c patching file extensions/LUA/lua/lcode.c patching file extensions/LUA/lua/lcode.h patching file extensions/LUA/lua/ldebug.c patching file extensions/LUA/lua/ldebug.h patching file extensions/LUA/lua/ldo.c patching file extensions/LUA/lua/ldo.h patching file extensions/LUA/lua/ldump.c patching file extensions/LUA/lua/lfunc.c patching file extensions/LUA/lua/lfunc.h patching file extensions/LUA/lua/lgc.c patching file extensions/LUA/lua/lgc.h patching file extensions/LUA/lua/llex.c patching file extensions/LUA/lua/llex.h patching file extensions/LUA/lua/llimits.h patching file extensions/LUA/lua/lmem.c patching file extensions/LUA/lua/lmem.h patching file extensions/LUA/lua/lobject.c patching file extensions/LUA/lua/lobject.h patching file extensions/LUA/lua/lopcodes.c patching file extensions/LUA/lua/lopcodes.h patching file extensions/LUA/lua/lparser.c patching file extensions/LUA/lua/lparser.h patching file extensions/LUA/lua/lstate.c patching file extensions/LUA/lua/lstate.h patching file extensions/LUA/lua/lstring.c patching file extensions/LUA/lua/lstring.h patching file extensions/LUA/lua/lstrlib.c patching file extensions/LUA/lua/ltable.c patching file extensions/LUA/lua/ltable.h patching file extensions/LUA/lua/ltablib.c patching file extensions/LUA/lua/ltm.c patching file extensions/LUA/lua/ltm.h patching file extensions/LUA/lua/luaconf.h patching file extensions/LUA/lua/lua.h patching file extensions/LUA/lua/lualib.h patching file extensions/LUA/lua/lundump.c patching file extensions/LUA/lua/lundump.h patching file extensions/LUA/lua/lvm.c patching file extensions/LUA/lua/lvm.h patching file extensions/LUA/lua/lzio.c patching file extensions/LUA/lua/lzio.h patching file extensions/LUA/Makefile patching file extensions/LUA/Makefile.am patching file extensions/LUA/Makefile.in patching file extensions/LUA/Mbuild patching file extensions/LUA/nf_lua.c patching file extensions/LUA/prot_buf_dynamic.c patching file extensions/LUA/prot_buf_ethernet.c patching file extensions/LUA/prot_buf_helpers.c patching file extensions/LUA/prot_buf_icmp.c patching file extensions/LUA/prot_buf_ip.c patching file extensions/LUA/prot_buf_raw.c patching file extensions/LUA/prot_buf_tcp.c patching file extensions/LUA/prot_buf_tftp.c patching file extensions/LUA/prot_buf_udp.c patching file extensions/LUA/xt_LUA.h patching file extensions/LUA/xt_LUA_target.c patching file extensions/Kbuild patching file extensions/Mbuild patching file mconfig Applying ./patches/201-fix-lua-packetscript.patch using plaintext: patching file extensions/LUA/xt_LUA_target.c patching file extensions/LUA/lua/llimits.h patching file extensions/LUA/lua/lapi.c patching file extensions/LUA/lua/ltable.c patching file extensions/LUA/lua/luaconf.h patching file extensions/LUA/lua/llex.h Applying ./patches/210-freebsd-build-fix.patch using plaintext: patching file extensions/LUA/Makefile 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-a5+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-a5+vfpv4_musl_eabi/usr/share/aclocal -I m4 -I . --force -I m4 autoreconf: configure.ac: tracing autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/libtoolize --install --force OpenWrt-libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'. OpenWrt-libtoolize: linking file 'build-aux/config.guess' OpenWrt-libtoolize: linking file 'build-aux/config.sub' OpenWrt-libtoolize: linking file 'build-aux/install-sh' OpenWrt-libtoolize: linking file 'build-aux/ltmain.sh' OpenWrt-libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. OpenWrt-libtoolize: linking file 'm4/libtool.m4' OpenWrt-libtoolize: You should add the contents of 'm4/libtool.m4' to 'aclocal.m4'. OpenWrt-libtoolize: linking file 'm4/ltoptions.m4' OpenWrt-libtoolize: You should add the contents of 'm4/ltoptions.m4' to 'aclocal.m4'. OpenWrt-libtoolize: linking file 'm4/ltsugar.m4' OpenWrt-libtoolize: You should add the contents of 'm4/ltsugar.m4' to 'aclocal.m4'. OpenWrt-libtoolize: linking file 'm4/ltversion.m4' OpenWrt-libtoolize: linking file 'm4/lt~obsolete.m4' OpenWrt-libtoolize: You should add the contents of 'm4/lt~obsolete.m4' to 'aclocal.m4'. 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-a5+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-a5+vfpv4_musl_eabi/usr/share/aclocal -I m4 -I . --force -I m4 autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/autoconf --include=/builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a5+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-a5+vfpv4_musl_eabi/usr/share/aclocal --include=m4 --include=. --prepend-include=/builder/shared-workdir/build/sdk/staging_dir/host/share/aclocal --force configure.ac:11: warning: The macro `AC_PROG_LIBTOOL' is obsolete. configure.ac:11: You should run autoupdate. aclocal.m4:1310: AC_PROG_LIBTOOL is expanded from... configure.ac:11: the top level autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/autoheader --include=/builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a5+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-a5+vfpv4_musl_eabi/usr/share/aclocal --include=m4 --include=. --prepend-include=/builder/shared-workdir/build/sdk/staging_dir/host/share/aclocal --force autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/automake --add-missing --force-missing configure.ac:7: installing 'build-aux/compile' configure.ac:6: installing 'build-aux/missing' Makefile.am:6: warning: ':='-style assignments are not portable Makefile.am:21: warning: ':='-style assignments are not portable Makefile.am:21: warning: shell mktemp -dtu: non-POSIX variable name Makefile.am:21: (probably a GNU make extension) extensions/ACCOUNT/Makefile.am: installing 'build-aux/depcomp' autoreconf: Leaving directory '.' configure: WARNING: unrecognized options: --disable-nls 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 checking for arm-openwrt-linux-strip... arm-openwrt-linux-muslgnueabi-strip checking for a race-free mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes 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 the compiler supports GNU C... yes checking whether arm-openwrt-linux-muslgnueabi-gcc accepts -g... yes checking for arm-openwrt-linux-muslgnueabi-gcc option to enable C11 features... none needed checking whether arm-openwrt-linux-muslgnueabi-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of arm-openwrt-linux-muslgnueabi-gcc... none checking for arm-openwrt-linux-ar... arm-openwrt-linux-muslgnueabi-gcc-ar checking the archiver (arm-openwrt-linux-muslgnueabi-gcc-ar) interface... ar 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-file... no checking for file... file configure: WARNING: using cross tools not prefixed with host triplet 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... (cached) 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 for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.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... no checking for linux/netfilter/x_tables.h... yes checking pkg-config is at least version 0.9.0... yes checking for xtables >= 1.6.0... yes checking Xtables module directory... /usr/lib/iptables checking kernel version that we will build against... Makefile:718: arch/x86/Makefile: No such file or directory make[4]: *** No rule to make target 'arch/x86/Makefile'. Stop. 0.0.0.0 in /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a5+vfpv4_musl_eabi/linux-at91_sama5/linux-5.15.110 WARNING: That kernel version is not officially supported. checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating Makefile.iptrules config.status: creating Makefile.mans config.status: creating geoip/Makefile config.status: creating extensions/Makefile config.status: creating extensions/ACCOUNT/Makefile config.status: creating extensions/pknock/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-nls make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a5+vfpv4_musl_eabi/linux-at91_sama5/xtables-addons-3.21' make all-recursive make[5]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a5+vfpv4_musl_eabi/linux-at91_sama5/xtables-addons-3.21' Making all in extensions make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a5+vfpv4_musl_eabi/linux-at91_sama5/xtables-addons-3.21/extensions' Xtables-addons 3.21 - Linux 5.15.110 if [ -n "/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a5+vfpv4_musl_eabi/linux-at91_sama5/linux-5.15.110" ]; then make -C /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a5+vfpv4_musl_eabi/linux-at91_sama5/linux-5.15.110 M=/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a5+vfpv4_musl_eabi/linux-at91_sama5/xtables-addons-3.21/extensions modules; fi; make[7]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a5+vfpv4_musl_eabi/linux-at91_sama5/linux-5.15.110' CC [M] /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a5+vfpv4_musl_eabi/linux-at91_sama5/xtables-addons-3.21/extensions/ACCOUNT/xt_ACCOUNT.o CC [M] /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a5+vfpv4_musl_eabi/linux-at91_sama5/xtables-addons-3.21/extensions/pknock/xt_pknock.o CC [M] /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a5+vfpv4_musl_eabi/linux-at91_sama5/xtables-addons-3.21/extensions/rtsp/nf_nat_rtsp.o CC [M] /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a5+vfpv4_musl_eabi/linux-at91_sama5/xtables-addons-3.21/extensions/rtsp/nf_conntrack_rtsp.o CC [M] /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a5+vfpv4_musl_eabi/linux-at91_sama5/xtables-addons-3.21/extensions/LUA/xt_LUA_target.o CC [M] /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a5+vfpv4_musl_eabi/linux-at91_sama5/xtables-addons-3.21/extensions/LUA/nf_lua.o CC [M] /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a5+vfpv4_musl_eabi/linux-at91_sama5/xtables-addons-3.21/extensions/LUA/prot_buf_helpers.o CC [M] /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a5+vfpv4_musl_eabi/linux-at91_sama5/xtables-addons-3.21/extensions/LUA/byte_array.o /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a5+vfpv4_musl_eabi/linux-at91_sama5/xtables-addons-3.21/extensions/LUA/byte_array.c: In function 'byte_array_to_string': /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a5+vfpv4_musl_eabi/linux-at91_sama5/xtables-addons-3.21/extensions/LUA/byte_array.c:110:9: error: ISO C90 forbids variable length array 'buf' [-Werror=vla] 110 | uint8_t buf[(array->length * 3) + 255]; | ^~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a5+vfpv4_musl_eabi/linux-at91_sama5/xtables-addons-3.21/extensions/LUA/byte_array.c:112:9: error: ISO C90 forbids variable length array 'res' [-Werror=vla] 112 | char res[255 + (array->length * 3)]; /* make sure the buffer is big enough*/ | ^~~~ cc1: all warnings being treated as errors make[9]: *** [scripts/Makefile.build:289: /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a5+vfpv4_musl_eabi/linux-at91_sama5/xtables-addons-3.21/extensions/LUA/byte_array.o] Error 1 make[8]: *** [scripts/Makefile.build:552: /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a5+vfpv4_musl_eabi/linux-at91_sama5/xtables-addons-3.21/extensions/LUA] Error 2 make[7]: *** [Makefile:1906: /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a5+vfpv4_musl_eabi/linux-at91_sama5/xtables-addons-3.21/extensions] Error 2 make[7]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a5+vfpv4_musl_eabi/linux-at91_sama5/linux-5.15.110' make[6]: *** [Makefile:465: modules] Error 2 make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a5+vfpv4_musl_eabi/linux-at91_sama5/xtables-addons-3.21/extensions' make[5]: *** [Makefile:496: all-recursive] Error 1 make[5]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a5+vfpv4_musl_eabi/linux-at91_sama5/xtables-addons-3.21' make[4]: *** [Makefile:381: all] Error 2 make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a5+vfpv4_musl_eabi/linux-at91_sama5/xtables-addons-3.21' make[3]: *** [Makefile:177: /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a5+vfpv4_musl_eabi/linux-at91_sama5/xtables-addons-3.21/.built] Error 2 time: package/feeds/packages/xtables-addons/compile#64.82#3.15#78.61