autotools.mk: Found libtool v1.5 - applying patch to ./ltmain.sh
bash: /build/lede-17.01/slaves/phase2/mipsel_24kc/build/sdk/tools/libtool/files/libtool-v1.5.patch: No such file or directory
configure: loading site script /build/lede-17.01/slaves/phase2/mipsel_24kc/build/sdk/include/site/mipsel
checking build system type... x86_64-pc-linux-gnu
checking host system type... mipsel-openwrt-linux-gnu
checking target system type... mipsel-openwrt-linux-gnu
configure: WARNING: Trying libtool.  If the following fails install libtool
checking for mipsel-openwrt-linux-gcc... ccache_cc
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 ccache_cc accepts -g... yes
checking for ccache_cc option to accept ISO C89... none needed
checking for a sed that does not truncate output... /build/lede-17.01/slaves/phase2/mipsel_24kc/build/sdk/staging_dir/host/bin/sed
checking for grep that handles long lines and -e... /build/lede-17.01/slaves/phase2/mipsel_24kc/build/sdk/staging_dir/host/bin/grep
checking for egrep... /build/lede-17.01/slaves/phase2/mipsel_24kc/build/sdk/staging_dir/host/bin/grep -E
checking for ld used by ccache_cc... mipsel-openwrt-linux-musl-ld
checking if the linker (mipsel-openwrt-linux-musl-ld) is GNU ld... yes
checking for mipsel-openwrt-linux-musl-ld option to reload object files... -r
checking for BSD-compatible nm... mipsel-openwrt-linux-musl-gcc-nm
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... ccache_cc -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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... yes
checking whether ccache_cxx accepts -g... yes
checking how to run the C++ preprocessor... ccache_cxx -E
checking for mipsel-openwrt-linux-g77... no
checking for mipsel-openwrt-linux-xlf... no
checking for mipsel-openwrt-linux-f77... no
checking for mipsel-openwrt-linux-frt... no
checking for mipsel-openwrt-linux-pgf77... no
checking for mipsel-openwrt-linux-cf77... no
checking for mipsel-openwrt-linux-fort77... no
checking for mipsel-openwrt-linux-fl32... no
checking for mipsel-openwrt-linux-af77... no
checking for mipsel-openwrt-linux-xlf90... no
checking for mipsel-openwrt-linux-f90... no
checking for mipsel-openwrt-linux-pgf90... no
checking for mipsel-openwrt-linux-pghpf... no
checking for mipsel-openwrt-linux-epcf90... no
checking for mipsel-openwrt-linux-gfortran... no
checking for mipsel-openwrt-linux-g95... no
checking for mipsel-openwrt-linux-xlf95... no
checking for mipsel-openwrt-linux-f95... no
checking for mipsel-openwrt-linux-fort... no
checking for mipsel-openwrt-linux-ifort... no
checking for mipsel-openwrt-linux-ifc... no
checking for mipsel-openwrt-linux-efc... no
checking for mipsel-openwrt-linux-pgf95... no
checking for mipsel-openwrt-linux-lf95... no
checking for mipsel-openwrt-linux-ftn... no
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse mipsel-openwrt-linux-musl-gcc-nm output from ccache_cc object... ok
checking for objdir... .libs
checking for mipsel-openwrt-linux-ar... mipsel-openwrt-linux-musl-gcc-ar
checking for mipsel-openwrt-linux-ranlib... mipsel-openwrt-linux-musl-gcc-ranlib
checking for mipsel-openwrt-linux-strip... mipsel-openwrt-linux-musl-strip
checking if ccache_cc static flag  works... yes
checking if ccache_cc supports -fno-rtti -fno-exceptions... no
checking for ccache_cc option to produce PIC... -fPIC
checking if ccache_cc PIC flag -fPIC works... yes
checking if ccache_cc supports -c -o file.o... yes
checking whether the ccache_cc linker (mipsel-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... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by ccache_cxx... mipsel-openwrt-linux-musl-ld
checking if the linker (mipsel-openwrt-linux-musl-ld) is GNU ld... yes
checking whether the ccache_cxx linker (mipsel-openwrt-linux-musl-ld) supports shared libraries... yes
checking for ccache_cxx option to produce PIC... -fPIC
checking if ccache_cxx PIC flag -fPIC works... yes
checking if ccache_cxx supports -c -o file.o... yes
checking whether the ccache_cxx linker (mipsel-openwrt-linux-musl-ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for mipsel-openwrt-linux-strip... (cached) mipsel-openwrt-linux-musl-strip
checking dependency style of ccache_cc... none
checking dependency style of ccache_cxx... none
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/fcntl.h usability... yes
checking sys/fcntl.h presence... yes
checking for sys/fcntl.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/signal.h usability... yes
checking sys/signal.h presence... yes
checking for sys/signal.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking whether ccache_cc needs -traditional... no
checking whether to enable maintainer-specific portions of Makefiles... no
no
checking for xcode-select... no
./configure: line 21836: javac: command not found
checking java.home  ./configure: line 21846: java: command not found

configure: error: Make sure java is in your path before running configure
Makefile:49: recipe for target '/build/lede-17.01/slaves/phase2/mipsel_24kc/build/sdk/build_dir/target-mipsel_24kc_musl-1.1.16/rxtx-2.2pre2/.configured_9a76d100fc328ea49af0fd3ab8f05a2f' failed
make[3]: *** [/build/lede-17.01/slaves/phase2/mipsel_24kc/build/sdk/build_dir/target-mipsel_24kc_musl-1.1.16/rxtx-2.2pre2/.configured_9a76d100fc328ea49af0fd3ab8f05a2f] Error 1