Applying ./patches/001-daemon_set_verbosity.patch using plaintext: 
patching file libdaemon/dlog.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-i386_pentium-mmx_musl/host/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/hostpkg/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium-mmx_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 '.'.
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: 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'
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-i386_pentium-mmx_musl/host/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/hostpkg/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium-mmx_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-i386_pentium-mmx_musl/host/share/aclocal --include=/builder/shared-workdir/build/sdk/staging_dir/hostpkg/share/aclocal --include=/builder/shared-workdir/build/sdk/staging_dir/target-i386_pentium-mmx_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/i386
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-i386_pentium-mmx_musl/libdaemon-0.14/missing: No such file or directory
configure: WARNING: `missing' script is too old or missing
checking for i486-openwrt-linux-strip... i486-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 for i486-openwrt-linux-gcc... i486-openwrt-linux-musl-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i486-openwrt-linux-musl-gcc accepts -g... yes
checking for i486-openwrt-linux-musl-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of i486-openwrt-linux-musl-gcc... none
checking for i486-openwrt-linux-musl-gcc option to accept ISO C99... none needed
checking whether i486-openwrt-linux-musl-gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... i486-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 for a BSD-compatible install... /builder/shared-workdir/build/sdk/staging_dir/host/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... i486-openwrt-linux-gnu
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 i486-openwrt-linux-musl-gcc... i486-openwrt-linux-musl-ld
checking if the linker (i486-openwrt-linux-musl-ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... i486-openwrt-linux-musl-gcc-nm
checking the name lister (i486-openwrt-linux-musl-gcc-nm) interface... BSD nm
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 for i486-openwrt-linux-musl-ld option to reload object files... -r
checking for i486-openwrt-linux-objdump... i486-openwrt-linux-musl-objdump
checking how to recognize dependent libraries... pass_all
checking for i486-openwrt-linux-ar... i486-openwrt-linux-musl-gcc-ar
checking for i486-openwrt-linux-strip... (cached) i486-openwrt-linux-musl-strip
checking for i486-openwrt-linux-ranlib... i486-openwrt-linux-musl-gcc-ranlib
checking command to parse i486-openwrt-linux-musl-gcc-nm output from i486-openwrt-linux-musl-gcc object... ok
checking for dlfcn.h... yes
checking for objdir... .libs
checking if i486-openwrt-linux-musl-gcc supports -fno-rtti -fno-exceptions... no
checking for i486-openwrt-linux-musl-gcc option to produce PIC... -fPIC -DPIC
checking if i486-openwrt-linux-musl-gcc PIC flag -fPIC -DPIC works... yes
checking if i486-openwrt-linux-musl-gcc static flag -static works... yes
checking if i486-openwrt-linux-musl-gcc supports -c -o file.o... yes
checking if i486-openwrt-linux-musl-gcc supports -c -o file.o... (cached) yes
checking whether the i486-openwrt-linux-musl-gcc linker (i486-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 if i486-openwrt-linux-musl-gcc supports -pipe flag... yes
checking if i486-openwrt-linux-musl-gcc supports -Wall flag... yes
checking if i486-openwrt-linux-musl-gcc supports -W flag... yes
checking if i486-openwrt-linux-musl-gcc supports -Wextra flag... yes
checking if i486-openwrt-linux-musl-gcc supports -pedantic flag... yes
checking if i486-openwrt-linux-musl-gcc supports -Wformat flag... yes
checking if i486-openwrt-linux-musl-gcc supports -Wold-style-definition flag... yes
checking if i486-openwrt-linux-musl-gcc supports -Wdeclaration-after-statement flag... yes
checking if i486-openwrt-linux-musl-gcc supports -Wfloat-equal flag... yes
checking if i486-openwrt-linux-musl-gcc supports -Wmissing-declarations flag... yes
checking if i486-openwrt-linux-musl-gcc supports -Wmissing-prototypes flag... yes
checking if i486-openwrt-linux-musl-gcc supports -Wstrict-prototypes flag... yes
checking if i486-openwrt-linux-musl-gcc supports -Wredundant-decls flag... yes
checking if i486-openwrt-linux-musl-gcc supports -Wmissing-noreturn flag... yes
checking if i486-openwrt-linux-musl-gcc supports -Wshadow flag... yes
checking if i486-openwrt-linux-musl-gcc supports -Wendif-labels flag... yes
checking if i486-openwrt-linux-musl-gcc supports -Wpointer-arith flag... yes
checking if i486-openwrt-linux-musl-gcc supports -Wbad-function-cast flag... yes
checking if i486-openwrt-linux-musl-gcc supports -Wcast-qual flag... yes
checking if i486-openwrt-linux-musl-gcc supports -Wcast-align flag... yes
checking if i486-openwrt-linux-musl-gcc supports -Wwrite-strings flag... yes
checking if i486-openwrt-linux-musl-gcc supports -Winline flag... yes
checking if i486-openwrt-linux-musl-gcc supports -Wno-unused-parameter flag... yes
checking if i486-openwrt-linux-musl-gcc supports -Wstrict-aliasing flag... yes
checking whether to enable assertions... yes
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for an ANSI C-conforming const... yes
checking for pid_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for working volatile... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... cross
configure: WARNING: result yes guessed because of cross compilation
checking for working vfork... (cached) yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for vprintf... yes
checking for _doprnt... no
checking for select... yes
checking for strerror... (cached) yes
checking for dup2... yes
checking for memset... yes
checking for strrchr... yes
checking for asprintf... yes
checking for mode_t... yes
checking whether setpgrp takes no argument... (cached) yes
checking return type of signal handlers... void
checking for size_t... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking if i486-openwrt-linux-musl-gcc supports -Wl,--no-undefined flag... yes
configure: creating ./config.status
config.status: creating libdaemon/Makefile
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating doc/README.html
config.status: creating doc/doxygen.conf
config.status: creating examples/Makefile
config.status: creating pkgconfig/libdaemon.pc
config.status: creating pkgconfig/libdaemon-uninstalled.pc
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-i386_pentium-mmx_musl/libdaemon-0.14'
 cd . && automake-1.11 --foreign
/bin/bash: line 4: automake-1.11: command not found
make[4]: *** [Makefile:293: Makefile.in] Error 1
make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_musl/libdaemon-0.14'
make[3]: *** [Makefile:75: /builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_musl/libdaemon-0.14/.built] Error 2
time: package/feeds/packages/libdaemon/compile#26.60#5.06#59.59