Applying /builder/shared-workdir/build/sdk/feeds/packages/net/xtables-addons/patches/001-fix-kernel-version-detection.patch using plaintext: patching file configure.ac Applying /builder/shared-workdir/build/sdk/feeds/packages/net/xtables-addons/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 /builder/shared-workdir/build/sdk/feeds/packages/net/xtables-addons/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 /builder/shared-workdir/build/sdk/feeds/packages/net/xtables-addons/patches/201-fix-lua-packetscript.patch using plaintext: patching file extensions/LUA/Kbuild 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 /builder/shared-workdir/build/sdk/feeds/packages/net/xtables-addons/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-x86_64_musl/host/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/hostpkg/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/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-x86_64_musl/host/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/hostpkg/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/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-x86_64_musl/host/share/aclocal --include=/builder/shared-workdir/build/sdk/staging_dir/hostpkg/share/aclocal --include=/builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/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/autoheader --include=/builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/host/share/aclocal --include=/builder/shared-workdir/build/sdk/staging_dir/hostpkg/share/aclocal --include=/builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/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:28: warning: ':='-style assignments are not portable Makefile.am:28: warning: shell mktemp -dtu: non-POSIX variable name Makefile.am:28: (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/x86_64 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 x86_64-openwrt-linux-strip... x86_64-openwrt-linux-musl-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 x86_64-openwrt-linux-gcc... x86_64-openwrt-linux-musl-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 x86_64-openwrt-linux-musl-gcc accepts -g... yes checking for x86_64-openwrt-linux-musl-gcc option to enable C11 features... none needed checking whether x86_64-openwrt-linux-musl-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of x86_64-openwrt-linux-musl-gcc... none checking for x86_64-openwrt-linux-ar... x86_64-openwrt-linux-musl-gcc-ar checking the archiver (x86_64-openwrt-linux-musl-gcc-ar) interface... ar checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-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 x86_64-openwrt-linux-musl-gcc... x86_64-openwrt-linux-musl-ld.bfd checking if the linker (x86_64-openwrt-linux-musl-ld.bfd) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... x86_64-openwrt-linux-musl-gcc-nm checking the name lister (x86_64-openwrt-linux-musl-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 x86_64-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 x86_64-openwrt-linux-musl-ld.bfd option to reload object files... -r checking for x86_64-openwrt-linux-file... no checking for file... file configure: WARNING: using cross tools not prefixed with host triplet checking for x86_64-openwrt-linux-objdump... x86_64-openwrt-linux-musl-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-openwrt-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-openwrt-linux-ar... (cached) x86_64-openwrt-linux-musl-gcc-ar checking for archiver @FILE support... @ checking for x86_64-openwrt-linux-strip... (cached) x86_64-openwrt-linux-musl-strip checking for x86_64-openwrt-linux-ranlib... x86_64-openwrt-linux-musl-gcc-ranlib checking command to parse x86_64-openwrt-linux-musl-gcc-nm output from x86_64-openwrt-linux-musl-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-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 x86_64-openwrt-linux-musl-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-openwrt-linux-musl-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-openwrt-linux-musl-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-openwrt-linux-musl-gcc static flag -static works... yes checking if x86_64-openwrt-linux-musl-gcc supports -c -o file.o... yes checking if x86_64-openwrt-linux-musl-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-openwrt-linux-musl-gcc linker (x86_64-openwrt-linux-musl-ld.bfd -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 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... 6.6.35.0 in /builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.35 WARNING: That kernel version is not officially supported yet. Continue at own luck. 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 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-x86_64_musl/linux-x86_64/xtables-addons-3.24' make all-recursive make[5]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/linux-x86_64/xtables-addons-3.24' Making all in extensions make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/linux-x86_64/xtables-addons-3.24/extensions' Xtables-addons 3.24 - Linux 6.6.35 if [ -n "/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.35" ]; then make -C /builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.35 M=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/linux-x86_64/xtables-addons-3.24/extensions modules; fi; make[7]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.35' CC [M] /builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/linux-x86_64/xtables-addons-3.24/extensions/ACCOUNT/xt_ACCOUNT.o CC [M] /builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/linux-x86_64/xtables-addons-3.24/extensions/pknock/xt_pknock.o CC [M] /builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/linux-x86_64/xtables-addons-3.24/extensions/rtsp/nf_nat_rtsp.o CC [M] /builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/linux-x86_64/xtables-addons-3.24/extensions/rtsp/nf_conntrack_rtsp.o CC [M] /builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/linux-x86_64/xtables-addons-3.24/extensions/LUA/xt_LUA_target.o CC [M] /builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/linux-x86_64/xtables-addons-3.24/extensions/LUA/nf_lua.o CC [M] /builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/linux-x86_64/xtables-addons-3.24/extensions/LUA/prot_buf_helpers.o CC [M] /builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/linux-x86_64/xtables-addons-3.24/extensions/LUA/byte_array.o CC [M] /builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/linux-x86_64/xtables-addons-3.24/extensions/LUA/controller.o CC [M] /builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/linux-x86_64/xtables-addons-3.24/extensions/LUA/prot_buf_ethernet.o CC [M] /builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/linux-x86_64/xtables-addons-3.24/extensions/LUA/prot_buf_icmp.o CC [M] /builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/linux-x86_64/xtables-addons-3.24/extensions/LUA/prot_buf_ip.o In file included from /builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/linux-x86_64/xtables-addons-3.24/extensions/LUA/prot_buf_ip.c:20: ./include/net/checksum.h: In function 'csum_shift': ./include/net/checksum.h:90:40: error: implicit declaration of function 'ror32' [-Werror=implicit-function-declaration] 90 | return (__force __wsum)ror32((__force u32)sum, 8); | ^~~~~ In file included from ./include/linux/kernel.h:22, from ./include/linux/skbuff.h:13, from ./include/linux/tcp.h:17, from ./include/net/tcp.h:20, from /builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/linux-x86_64/xtables-addons-3.24/extensions/LUA/prot_buf_ip.c:21: ./include/linux/bitops.h: At top level: ./include/linux/bitops.h:135:21: error: conflicting types for 'ror32'; have '__u32(__u32, unsigned int)' {aka 'unsigned int(unsigned int, unsigned int)'} 135 | static inline __u32 ror32(__u32 word, unsigned int shift) | ^~~~~ ./include/net/checksum.h:90:40: note: previous implicit declaration of 'ror32' with type 'int()' 90 | return (__force __wsum)ror32((__force u32)sum, 8); | ^~~~~ cc1: all warnings being treated as errors make[10]: *** [scripts/Makefile.build:243: /builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/linux-x86_64/xtables-addons-3.24/extensions/LUA/prot_buf_ip.o] Error 1 make[9]: *** [scripts/Makefile.build:480: /builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/linux-x86_64/xtables-addons-3.24/extensions/LUA] Error 2 make[8]: *** [/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.35/Makefile:1921: /builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/linux-x86_64/xtables-addons-3.24/extensions] Error 2 make[7]: *** [Makefile:234: __sub-make] Error 2 make[7]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.35' make[6]: *** [Makefile:465: modules] Error 2 make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/linux-x86_64/xtables-addons-3.24/extensions' make[5]: *** [Makefile:622: all-recursive] Error 1 make[5]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/linux-x86_64/xtables-addons-3.24' make[4]: *** [Makefile:394: all] Error 2 make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/linux-x86_64/xtables-addons-3.24' make[3]: *** [Makefile:203: /builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/linux-x86_64/xtables-addons-3.24/.built] Error 2 time: package/feeds/packages/xtables-addons/compile#41.94#5.08#58.34