Applying ./patches/003-libintl-compatibility.patch using plaintext: 
patching file config/libelf.pc.in
patching file configure.ac

Applying ./patches/005-build_only_libs.patch using plaintext: 
patching file Makefile.am

Applying ./patches/006-Fix-build-on-aarch64-musl.patch using plaintext: 
patching file backends/aarch64_initreg.c
patching file backends/arm_initreg.c

Applying ./patches/100-musl-compat.patch using plaintext: 
patching file libdw/libdw_alloc.c
patching file libdwfl/dwfl_error.c

Applying ./patches/101-no-fts.patch using plaintext: 
patching file libdwfl/argp-std.c
patching file libdwfl/Makefile.am
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: running: true --force
autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/target-mips_mips32_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_mips32_musl/usr/share/aclocal -I m4 -I . --force -I m4
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/autoconf --include=/builder/shared-workdir/build/sdk/staging_dir/target-mips_mips32_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_mips32_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: loading site script /builder/shared-workdir/build/sdk/include/site/mips
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 mips-openwrt-linux-strip... mips-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 whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports nested variables... (cached) yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... mips-openwrt-linux-gnu
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 the compiler supports GNU C... yes
checking whether mips-openwrt-linux-musl-gcc accepts -g... yes
checking for mips-openwrt-linux-musl-gcc option to enable C11 features... none needed
checking whether mips-openwrt-linux-musl-gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of mips-openwrt-linux-musl-gcc... none
checking whether the compiler supports GNU C++... yes
checking whether mips-openwrt-linux-musl-g++ accepts -g... yes
checking for mips-openwrt-linux-musl-g++ option to enable C++11 features... none needed
checking dependency style of mips-openwrt-linux-musl-g++... none
checking for mips-openwrt-linux-ranlib... mips-openwrt-linux-musl-gcc-ranlib
checking for bison... bison -y
checking for flex... flex
checking for lex output file root... lex.yy
checking for lex library... none needed
checking whether yytext is a pointer... yes
checking for mips-openwrt-linux-ar... mips-openwrt-linux-musl-gcc-ar
checking the archiver (mips-openwrt-linux-musl-gcc-ar) interface... ar
checking for mips-openwrt-linux-readelf... mips-openwrt-linux-readelf
checking for mips-openwrt-linux-nm... mips-openwrt-linux-musl-gcc-nm
checking whether gcc supports __attribute__((visibility()))... yes
checking whether gcc supports __attribute__((gcc_struct))... no
checking whether gcc supports -fPIC... yes
checking whether gcc supports -fPIE... yes
checking whether gcc supports -Wl,-z,defs... yes
checking whether the compiler generates build-ids... no
configure: WARNING: compiler doesn't generate build-id by default
checking whether gcc supports -Wl,-z,relro... yes
checking for __thread support... yes
checking whether gcc provides stdatomic.h... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether fts.h is bad when included (with LFS)... yes
checking whether to add -D_FORTIFY_SOURCE=2 or =3 to CFLAGS... no, already there
checking for library containing gzdirect... -lz
checking for mips-openwrt-linux-musl-gcc options needed to detect all undeclared functions... none needed
checking whether memrchr is declared... yes
checking whether rawmemchr is declared... no
checking whether powerof2 is declared... yes
checking whether mempcpy is declared... yes
checking whether reallocarray is declared... yes
checking for process_vm_readv... yes
checking for mremap... yes
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 error.h... no
checking for err.h... yes
checking for sched.h... yes
checking for sched_getaffinity... yes
checking for sys/resource.h... yes
checking for getrlimit... yes
checking whether strerror_r is declared... yes
checking whether strerror_r returns char *... no
checking for __cxa_demangle in -lstdc++... yes
checking whether symbol versioning is supported... yes
checking whether gcc accepts -Wstack-usage... yes
checking whether gcc has a sane -Wlogical-op... yes
checking whether gcc accepts -Wduplicated-cond... yes
checking whether gcc accepts -Wnull-dereference... yes
checking whether gcc accepts -Wimplicit-fallthrough... yes
checking whether the compiler accepts -Wimplicit-fallthrough=5... yes
checking whether the compiler accepts -Wtrampolines... yes
checking whether the compiler accepts -Wno-packed-not-aligned... yes
checking whether the compiler accepts -Wuse-after-free=3... yes
checking whether the compiler accepts -fno-addrsig... no
checking for library containing argp_parse... -largp
checking for library containing fts_close... no
configure: error: in `/builder/shared-workdir/build/sdk/build_dir/target-mips_mips32_musl/elfutils-0.189':
configure: error: failed to find fts_close
See `config.log' for more details
make[3]: *** [Makefile:128: /builder/shared-workdir/build/sdk/build_dir/target-mips_mips32_musl/elfutils-0.189/.configured_a17fb5ef857664f03cd0ce37cc5ea591] Error 1
time: package/feeds/base/elfutils/compile#10.08#1.72#34.82