Applying ./patches/010-musl.patch using plaintext: 
patching file src/ptunnel.h
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-arm_xscale_musl_eabi/host/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/hostpkg/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/target-arm_xscale_musl_eabi/usr/share/aclocal -I m4 -I . --force 
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-arm_xscale_musl_eabi/host/share/aclocal --include=/builder/shared-workdir/build/sdk/staging_dir/hostpkg/share/aclocal --include=/builder/shared-workdir/build/sdk/staging_dir/target-arm_xscale_musl_eabi/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/arm
checking build system type... x86_64-pc-linux-gnu
checking host system type... arm-openwrt-linux-gnu
checking whether make supports nested variables... yes
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 arm-openwrt-linux-strip... arm-openwrt-linux-muslgnueabi-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for arm-openwrt-linux-gcc... arm-openwrt-linux-muslgnueabi-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 arm-openwrt-linux-muslgnueabi-gcc accepts -g... yes
checking for arm-openwrt-linux-muslgnueabi-gcc option to accept ISO C89... none needed
checking whether arm-openwrt-linux-muslgnueabi-gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of arm-openwrt-linux-muslgnueabi-gcc... none
checking for arm-openwrt-linux-muslgnueabi-gcc option to accept ISO C99... none needed
checking for arm-openwrt-linux-muslgnueabi-gcc option to accept ISO Standard C... (cached) none needed
checking how to run the C preprocessor... arm-openwrt-linux-muslgnueabi-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 an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for vprintf... yes
checking for _doprnt... no
checking for working memcmp... (cached) yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for unistd.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for stdint.h... (cached) yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking sys/unistd.h usability... no
checking sys/unistd.h presence... no
checking for sys/unistd.h... no
checking for sys/types.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking net/ethernet.h usability... yes
checking net/ethernet.h presence... yes
checking for net/ethernet.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking for library containing pthread_create... none required
checking for signal... yes
checking for pthread_mutex_init... yes
checking for pthread_mutex_lock... yes
checking for pthread_mutex_unlock... yes
checking for syslog... yes
checking for getaddrinfo... (cached) yes
checking for freeaddrinfo... yes
checking for gai_strerror... yes
checking for GNU getopt_long... yes
checking for struct timeval.tv_sec... yes
checking for struct timeval.tv_usec... yes
checking size of char... (cached) 1
checking size of uint8_t... 1
checking size of uint16_t... (cached) 2
checking size of uint32_t... (cached) 4
checking size of int... (cached) 4
checking for __attribute__ ((packed))... yes
checking for malloc... yes
checking for calloc... yes
checking for free... yes
checking for memcpy... yes
checking for memset... yes
checking for printf... yes
checking for sprintf... yes
checking for vsnprintf... (cached) yes
checking for strerror... (cached) yes
checking for strlen... yes
checking for strncmp... yes
checking for strstr... yes
checking for strtol... yes
checking for strtoul... yes
checking for fopen... yes
checking for fprintf... yes
checking for gettimeofday... (cached) yes
checking for close... yes
checking for fclose... yes
checking for exit... yes
checking for getopt_long... yes
checking for inet_ntoa... yes
checking for random device... /dev/urandom
checking for working ICMP_FILTER... yes
checking for library containing __android_log_vprint... no
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 src/config.h
config.status: executing depfiles commands
configure: WARNING: unrecognized options: --disable-nls
make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_xscale_musl_eabi/ptunnel-ng-1.42'
 cd . && /bin/bash /builder/shared-workdir/build/sdk/build_dir/target-arm_xscale_musl_eabi/ptunnel-ng-1.42/missing automake-1.15 --gnu
/builder/shared-workdir/build/sdk/build_dir/target-arm_xscale_musl_eabi/ptunnel-ng-1.42/missing: line 81: automake-1.15: command not found
WARNING: 'automake-1.15' is missing on your system.
         You should only need it if you modified 'Makefile.am' or
         'configure.ac' or m4 files included by 'configure.ac'.
         The 'automake' program is part of the GNU Automake package:
         <http://www.gnu.org/software/automake>
         It also requires GNU Autoconf, GNU m4 and Perl in order to run:
         <http://www.gnu.org/software/autoconf>
         <http://www.gnu.org/software/m4/>
         <http://www.perl.org/>
make[4]: *** [Makefile:308: Makefile.in] Error 1
make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_xscale_musl_eabi/ptunnel-ng-1.42'
make[3]: *** [Makefile:44: /builder/shared-workdir/build/sdk/build_dir/target-arm_xscale_musl_eabi/ptunnel-ng-1.42/.built] Error 2
time: package/feeds/packages/ptunnel-ng/compile#9.66#4.62#40.20