Applying ./patches/100-musl-compat.patch using plaintext: 
patching file src/libnet_link_linux.c
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-mips_4kec_musl/host/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/hostpkg/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/target-mips_4kec_musl/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: You should add the contents of 'm4/libtool.m4' to 'aclocal.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-mips_4kec_musl/host/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/hostpkg/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/target-mips_4kec_musl/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-mips_4kec_musl/host/share/aclocal --include=/builder/shared-workdir/build/sdk/staging_dir/hostpkg/share/aclocal --include=/builder/shared-workdir/build/sdk/staging_dir/target-mips_4kec_musl/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/mips
beginning autoconfiguration process for libnet-1.2-rc3 ...
checking build system type... x86_64-pc-linux-gnu
checking host system type... mips-openwrt-linux-gnu
checking target system type... mips-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-mips_4kec_musl/libnet-1.2-rc3/missing: No such file or directory
configure: WARNING: 'missing' script is too old or missing
checking for mips-openwrt-linux-strip... mips-openwrt-linux-musl-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 to enable maintainer-specific portions of Makefiles... no
checking for mips-openwrt-linux-gcc... mips-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 we are using the GNU C compiler... yes
checking whether mips-openwrt-linux-musl-gcc accepts -g... yes
checking for mips-openwrt-linux-musl-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of mips-openwrt-linux-musl-gcc... none
checking how to run the C preprocessor... mips-openwrt-linux-musl-gcc -E
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 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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
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 fgrep... /builder/shared-workdir/build/sdk/staging_dir/host/bin/grep -F
checking for ld used by mips-openwrt-linux-musl-gcc... mips-openwrt-linux-musl-ld
checking if the linker (mips-openwrt-linux-musl-ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... mips-openwrt-linux-musl-gcc-nm
checking the name lister (mips-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 mips-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 mips-openwrt-linux-musl-ld option to reload object files... -r
checking for mips-openwrt-linux-objdump... mips-openwrt-linux-musl-objdump
checking how to recognize dependent libraries... pass_all
checking for mips-openwrt-linux-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for mips-openwrt-linux-ar... mips-openwrt-linux-musl-gcc-ar
checking for archiver @FILE support... @
checking for mips-openwrt-linux-strip... (cached) mips-openwrt-linux-musl-strip
checking for mips-openwrt-linux-ranlib... mips-openwrt-linux-musl-gcc-ranlib
checking command to parse mips-openwrt-linux-musl-gcc-nm output from mips-openwrt-linux-musl-gcc object... ok
checking for sysroot... no
checking for mips-openwrt-linux-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if mips-openwrt-linux-musl-gcc supports -fno-rtti -fno-exceptions... no
checking for mips-openwrt-linux-musl-gcc option to produce PIC... -fPIC -DPIC
checking if mips-openwrt-linux-musl-gcc PIC flag -fPIC -DPIC works... yes
checking if mips-openwrt-linux-musl-gcc static flag -static works... yes
checking if mips-openwrt-linux-musl-gcc supports -c -o file.o... yes
checking if mips-openwrt-linux-musl-gcc supports -c -o file.o... (cached) yes
checking whether the mips-openwrt-linux-musl-gcc linker (mips-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... yes
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking for gethostbyname2... yes
checking for getifaddrs... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for socklen_t... yes
checking whether byte ordering is bigendian... (cached) yes
checking net/pfilt.h usability... no
checking net/pfilt.h presence... no
checking for net/pfilt.h... no
checking sys/net/nit.h usability... no
checking sys/net/nit.h presence... no
checking for sys/net/nit.h... no
checking net/raw.h usability... no
checking net/raw.h presence... no
checking for net/raw.h... no
checking sys/dlpi.h usability... no
checking sys/dlpi.h presence... no
checking for sys/dlpi.h... no
checking linux/socket.h usability... yes
checking linux/socket.h presence... yes
checking for linux/socket.h... yes
checking link-layer packet interface type... found link layer linux
checking for packet socket (PF_PACKET)... (cached) checking for Linux proc filesystem... yes
scanning available packet construction modules: 802.1q 802.1x 802.2 802.3 arp bgp cdp data dhcp dns ethernet fddi gre hsrp icmp igmp ip ipsec isl link mpls ntp ospf rip rpc sebek snmp stp tcp token_ring udp vrrp 
checking net/ethernet.h usability... yes
checking net/ethernet.h presence... yes
checking for net/ethernet.h... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating include/Makefile
config.status: creating include/libnet/Makefile
config.status: creating win32/Makefile
config.status: creating sample/Makefile
config.status: creating doc/Makefile
config.status: creating doc/man/Makefile
config.status: creating doc/man/man3/Makefile
config.status: creating doc/html/Makefile
config.status: creating include/libnet.h
config.status: creating libnet-config
config.status: creating include/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-mips_4kec_musl/libnet-1.2-rc3'
Making all in include
make[5]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-mips_4kec_musl/libnet-1.2-rc3/include'
make  all-recursive
make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-mips_4kec_musl/libnet-1.2-rc3/include'
Making all in libnet
make[7]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-mips_4kec_musl/libnet-1.2-rc3/include/libnet'
make[7]: Nothing to be done for 'all'.
make[7]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-mips_4kec_musl/libnet-1.2-rc3/include/libnet'
make[7]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-mips_4kec_musl/libnet-1.2-rc3/include'
make[7]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-mips_4kec_musl/libnet-1.2-rc3/include'
make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-mips_4kec_musl/libnet-1.2-rc3/include'
make[5]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-mips_4kec_musl/libnet-1.2-rc3/include'
Making all in src
make[5]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-mips_4kec_musl/libnet-1.2-rc3/src'
/bin/bash ../libtool  --tag=CC   --mode=compile mips-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../include  -I../include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_4kec_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_4kec_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_4kec_gcc-12.2.0_musl/include   -Os -pipe -mno-branch-likely -mips32r2 -mtune=4kec -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -mips16 -minterlink-mips16 -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips_4kec_musl/libnet-1.2-rc3=libnet-1.2-rc3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic  -c -o libnet_asn1.lo libnet_asn1.c
libtool: Version mismatch error.  This is libtool 2.4.7, but the
libtool: definition of this LT_INIT comes from libtool 2.4.2.
libtool: You should recreate aclocal.m4 with macros from libtool 2.4.7
libtool: and run autoconf again.
make[5]: *** [Makefile:530: libnet_asn1.lo] Error 63
make[5]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-mips_4kec_musl/libnet-1.2-rc3/src'
make[4]: *** [Makefile:468: all-recursive] Error 1
make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-mips_4kec_musl/libnet-1.2-rc3'
make[3]: *** [Makefile:78: /builder/shared-workdir/build/sdk/build_dir/target-mips_4kec_musl/libnet-1.2-rc3/.built] Error 2
time: package/feeds/packages/libnet-1.2.x/compile#18.62#2.06#27.41