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: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: /mnt/immortalwrt-18.06/staging_dir/host/bin/aclocal -I /mnt/immortalwrt-18.06/staging_dir/target-mipsel_74kc_musl/host/share/aclocal -I /mnt/immortalwrt-18.06/staging_dir/hostpkg/share/aclocal -I /mnt/immortalwrt-18.06/staging_dir/target-mipsel_74kc_musl/usr/share/aclocal -I m4 -I . --force -I m4 autoreconf: configure.ac: tracing autoreconf: running: /mnt/immortalwrt-18.06/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_DIR, `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: running: /mnt/immortalwrt-18.06/staging_dir/host/bin/autoconf --include=/mnt/immortalwrt-18.06/staging_dir/target-mipsel_74kc_musl/host/share/aclocal --include=/mnt/immortalwrt-18.06/staging_dir/hostpkg/share/aclocal --include=/mnt/immortalwrt-18.06/staging_dir/target-mipsel_74kc_musl/usr/share/aclocal --include=m4 --include=. --prepend-include=/mnt/immortalwrt-18.06/staging_dir/host/share/aclocal --force autoreconf: running: /mnt/immortalwrt-18.06/staging_dir/host/bin/autoheader --include=/mnt/immortalwrt-18.06/staging_dir/target-mipsel_74kc_musl/host/share/aclocal --include=/mnt/immortalwrt-18.06/staging_dir/hostpkg/share/aclocal --include=/mnt/immortalwrt-18.06/staging_dir/target-mipsel_74kc_musl/usr/share/aclocal --include=m4 --include=. --prepend-include=/mnt/immortalwrt-18.06/staging_dir/host/share/aclocal --force autoreconf: running: /mnt/immortalwrt-18.06/staging_dir/host/bin/automake --add-missing --force-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) autoreconf: Leaving directory `.' configure: WARNING: unrecognized options: --disable-nls configure: loading site script /mnt/immortalwrt-18.06/include/site/mipsel checking for a BSD-compatible install... /mnt/immortalwrt-18.06/staging_dir/host/bin/install -c checking whether build environment is sane... yes checking for mipsel-openwrt-linux-strip... mipsel-openwrt-linux-musl-strip checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for mipsel-openwrt-linux-gcc... ccache_cc 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 ccache_cc accepts -g... yes checking for ccache_cc option to accept ISO C89... none needed checking whether ccache_cc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of ccache_cc... gcc3 checking for mipsel-openwrt-linux-ar... mipsel-openwrt-linux-musl-gcc-ar checking the archiver (mipsel-openwrt-linux-musl-gcc-ar) interface... ar checking build system type... x86_64-pc-linux-gnu checking host system type... mipsel-openwrt-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /mnt/immortalwrt-18.06/staging_dir/host/bin/sed checking for grep that handles long lines and -e... /mnt/immortalwrt-18.06/staging_dir/host/bin/grep checking for egrep... /mnt/immortalwrt-18.06/staging_dir/host/bin/grep -E checking for fgrep... /mnt/immortalwrt-18.06/staging_dir/host/bin/grep -F checking for ld used by ccache_cc... mipsel-openwrt-linux-musl-ld checking if the linker (mipsel-openwrt-linux-musl-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... mipsel-openwrt-linux-musl-gcc-nm checking the name lister (mipsel-openwrt-linux-musl-gcc-nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-pc-linux-gnu file names to mipsel-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 mipsel-openwrt-linux-musl-ld option to reload object files... -r checking for mipsel-openwrt-linux-objdump... mipsel-openwrt-linux-musl-objdump checking how to recognize dependent libraries... pass_all checking for mipsel-openwrt-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for mipsel-openwrt-linux-ar... (cached) mipsel-openwrt-linux-musl-gcc-ar checking for archiver @FILE support... @ checking for mipsel-openwrt-linux-strip... (cached) mipsel-openwrt-linux-musl-strip checking for mipsel-openwrt-linux-ranlib... mipsel-openwrt-linux-musl-gcc-ranlib checking command to parse mipsel-openwrt-linux-musl-gcc-nm output from ccache_cc object... ok checking for sysroot... no checking for mipsel-openwrt-linux-mt... no checking for mt... mt configure: WARNING: using cross tools not prefixed with host triplet checking if mt is a manifest tool... no checking how to run the C preprocessor... ccache_cc -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 ccache_cc supports -fno-rtti -fno-exceptions... no checking for ccache_cc option to produce PIC... -fPIC -DPIC checking if ccache_cc PIC flag -fPIC -DPIC works... yes checking if ccache_cc static flag -static works... yes checking if ccache_cc supports -c -o file.o... yes checking if ccache_cc supports -c -o file.o... (cached) yes checking whether the ccache_cc linker (mipsel-openwrt-linux-musl-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 linux/netfilter/x_tables.h usability... yes checking linux/netfilter/x_tables.h presence... yes checking for linux/netfilter/x_tables.h... yes checking pkg-config is at least version 0.9.0... yes checking for libxtables... yes checking Xtables module directory... /usr/lib/iptables checking kernel version that we will build against... 4.14.282.0 in /mnt/immortalwrt-18.06/build_dir/target-mipsel_74kc_musl/linux-ramips_rt3883/linux-4.14.282 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[3]: Entering directory '/mnt/immortalwrt-18.06/build_dir/target-mipsel_74kc_musl/linux-ramips_rt3883/xtables-addons-3.13' make all-recursive make[4]: Entering directory '/mnt/immortalwrt-18.06/build_dir/target-mipsel_74kc_musl/linux-ramips_rt3883/xtables-addons-3.13' Making all in extensions make[5]: Entering directory '/mnt/immortalwrt-18.06/build_dir/target-mipsel_74kc_musl/linux-ramips_rt3883/xtables-addons-3.13/extensions' Xtables-addons 3.13 - Linux 4.14.282 if [ -n "/mnt/immortalwrt-18.06/build_dir/target-mipsel_74kc_musl/linux-ramips_rt3883/linux-4.14.282" ]; then make -C /mnt/immortalwrt-18.06/build_dir/target-mipsel_74kc_musl/linux-ramips_rt3883/linux-4.14.282 M=/mnt/immortalwrt-18.06/build_dir/target-mipsel_74kc_musl/linux-ramips_rt3883/xtables-addons-3.13/extensions modules; fi; make[6]: Entering directory '/mnt/immortalwrt-18.06/build_dir/target-mipsel_74kc_musl/linux-ramips_rt3883/linux-4.14.282' CC [M] /mnt/immortalwrt-18.06/build_dir/target-mipsel_74kc_musl/linux-ramips_rt3883/xtables-addons-3.13/extensions/compat_xtables.o CC [M] /mnt/immortalwrt-18.06/build_dir/target-mipsel_74kc_musl/linux-ramips_rt3883/xtables-addons-3.13/extensions/xt_CHAOS.o In file included from /mnt/immortalwrt-18.06/build_dir/target-mipsel_74kc_musl/linux-ramips_rt3883/xtables-addons-3.13/extensions/xt_CHAOS.c:24: /mnt/immortalwrt-18.06/build_dir/target-mipsel_74kc_musl/linux-ramips_rt3883/xtables-addons-3.13/extensions/compat_xtables.h:12:3: warning: #warning Kernels below 4.15 not supported. [-Wcpp] # warning Kernels below 4.15 not supported. ^~~~~~~ CC [M] /mnt/immortalwrt-18.06/build_dir/target-mipsel_74kc_musl/linux-ramips_rt3883/xtables-addons-3.13/extensions/xt_DELUDE.o In file included from /mnt/immortalwrt-18.06/build_dir/target-mipsel_74kc_musl/linux-ramips_rt3883/xtables-addons-3.13/extensions/xt_DELUDE.c:25: /mnt/immortalwrt-18.06/build_dir/target-mipsel_74kc_musl/linux-ramips_rt3883/xtables-addons-3.13/extensions/compat_xtables.h:12:3: warning: #warning Kernels below 4.15 not supported. [-Wcpp] # warning Kernels below 4.15 not supported. ^~~~~~~ In file included from /mnt/immortalwrt-18.06/build_dir/target-mipsel_74kc_musl/linux-ramips_rt3883/xtables-addons-3.13/extensions/xt_DELUDE.c:25: /mnt/immortalwrt-18.06/build_dir/target-mipsel_74kc_musl/linux-ramips_rt3883/xtables-addons-3.13/extensions/xt_DELUDE.c: In function 'delude_send_reset': /mnt/immortalwrt-18.06/build_dir/target-mipsel_74kc_musl/linux-ramips_rt3883/xtables-addons-3.13/extensions/compat_xtables.h:29:84: error: passing argument 2 of 'ip_route_me_harder' from incompatible pointer type [-Werror=incompatible-pointer-types] # define ip_route_me_harder(xnet, xsk, xskb, xaddrtype) ip_route_me_harder((xnet), (xskb), (xaddrtype)) ^~~~~~ /mnt/immortalwrt-18.06/build_dir/target-mipsel_74kc_musl/linux-ramips_rt3883/xtables-addons-3.13/extensions/xt_DELUDE.c:124:6: note: in expansion of macro 'ip_route_me_harder' if (ip_route_me_harder(net, nskb->sk, nskb, addr_type)) ^~~~~~~~~~~~~~~~~~ In file included from ./include/linux/netfilter/x_tables.h:245, from /mnt/immortalwrt-18.06/build_dir/target-mipsel_74kc_musl/linux-ramips_rt3883/xtables-addons-3.13/extensions/xt_DELUDE.c:20: ./include/linux/netfilter_ipv4.h:19:54: note: expected 'struct sock *' but argument is of type 'struct sk_buff *' int ip_route_me_harder(struct net *net, struct sock *sk, struct sk_buff *skb, unsigned addr_type); ~~~~~~~~~~~~~^~ In file included from /mnt/immortalwrt-18.06/build_dir/target-mipsel_74kc_musl/linux-ramips_rt3883/xtables-addons-3.13/extensions/xt_DELUDE.c:25: /mnt/immortalwrt-18.06/build_dir/target-mipsel_74kc_musl/linux-ramips_rt3883/xtables-addons-3.13/extensions/compat_xtables.h:29:92: warning: passing argument 3 of 'ip_route_me_harder' makes pointer from integer without a cast [-Wint-conversion] # define ip_route_me_harder(xnet, xsk, xskb, xaddrtype) ip_route_me_harder((xnet), (xskb), (xaddrtype)) ^~~~~~~~~~~ /mnt/immortalwrt-18.06/build_dir/target-mipsel_74kc_musl/linux-ramips_rt3883/xtables-addons-3.13/extensions/xt_DELUDE.c:124:6: note: in expansion of macro 'ip_route_me_harder' if (ip_route_me_harder(net, nskb->sk, nskb, addr_type)) ^~~~~~~~~~~~~~~~~~ In file included from ./include/linux/netfilter/x_tables.h:245, from /mnt/immortalwrt-18.06/build_dir/target-mipsel_74kc_musl/linux-ramips_rt3883/xtables-addons-3.13/extensions/xt_DELUDE.c:20: ./include/linux/netfilter_ipv4.h:19:74: note: expected 'struct sk_buff *' but argument is of type 'unsigned int' int ip_route_me_harder(struct net *net, struct sock *sk, struct sk_buff *skb, unsigned addr_type); ~~~~~~~~~~~~~~~~^~~ In file included from /mnt/immortalwrt-18.06/build_dir/target-mipsel_74kc_musl/linux-ramips_rt3883/xtables-addons-3.13/extensions/xt_DELUDE.c:25: /mnt/immortalwrt-18.06/build_dir/target-mipsel_74kc_musl/linux-ramips_rt3883/xtables-addons-3.13/extensions/compat_xtables.h:29:57: error: too few arguments to function 'ip_route_me_harder' # define ip_route_me_harder(xnet, xsk, xskb, xaddrtype) ip_route_me_harder((xnet), (xskb), (xaddrtype)) ^~~~~~~~~~~~~~~~~~ /mnt/immortalwrt-18.06/build_dir/target-mipsel_74kc_musl/linux-ramips_rt3883/xtables-addons-3.13/extensions/xt_DELUDE.c:124:6: note: in expansion of macro 'ip_route_me_harder' if (ip_route_me_harder(net, nskb->sk, nskb, addr_type)) ^~~~~~~~~~~~~~~~~~ In file included from ./include/linux/netfilter/x_tables.h:245, from /mnt/immortalwrt-18.06/build_dir/target-mipsel_74kc_musl/linux-ramips_rt3883/xtables-addons-3.13/extensions/xt_DELUDE.c:20: ./include/linux/netfilter_ipv4.h:19:5: note: declared here int ip_route_me_harder(struct net *net, struct sock *sk, struct sk_buff *skb, unsigned addr_type); ^~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors make[7]: *** [scripts/Makefile.build:335: /mnt/immortalwrt-18.06/build_dir/target-mipsel_74kc_musl/linux-ramips_rt3883/xtables-addons-3.13/extensions/xt_DELUDE.o] Error 1 make[6]: *** [Makefile:1550: _module_/mnt/immortalwrt-18.06/build_dir/target-mipsel_74kc_musl/linux-ramips_rt3883/xtables-addons-3.13/extensions] Error 2 make[6]: Leaving directory '/mnt/immortalwrt-18.06/build_dir/target-mipsel_74kc_musl/linux-ramips_rt3883/linux-4.14.282' make[5]: *** [Makefile:458: modules] Error 2 make[5]: Leaving directory '/mnt/immortalwrt-18.06/build_dir/target-mipsel_74kc_musl/linux-ramips_rt3883/xtables-addons-3.13/extensions' make[4]: *** [Makefile:492: all-recursive] Error 1 make[4]: Leaving directory '/mnt/immortalwrt-18.06/build_dir/target-mipsel_74kc_musl/linux-ramips_rt3883/xtables-addons-3.13' make[3]: *** [Makefile:377: all] Error 2 make[3]: Leaving directory '/mnt/immortalwrt-18.06/build_dir/target-mipsel_74kc_musl/linux-ramips_rt3883/xtables-addons-3.13' make[2]: *** [Makefile:178: /mnt/immortalwrt-18.06/build_dir/target-mipsel_74kc_musl/linux-ramips_rt3883/xtables-addons-3.13/.built] Error 2 time: package/feeds/packages/xtables-addons/compile#10.46#1.32#14.71