Applying ./patches/001-fix-build-with-musl.patch using plaintext: 
patching file ibrcommon/data/File.cpp

Applying ./patches/010-build-with-openssl-1.1.patch using plaintext: 
patching file ibrcommon/ssl/HMacStream.cpp
patching file ibrcommon/ssl/HMacStream.h
patching file ibrcommon/ssl/RSASHA256Stream.cpp
patching file ibrcommon/ssl/RSASHA256Stream.h
patching file ibrcommon/ssl/iostreamBIO.cpp
patching file ibrcommon/ssl/openssl_compat.h

Applying ./patches/020-openssl-deprecated.patch using plaintext: 
patching file ibrcommon/ssl/TLSStream.cpp
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_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: 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: You should add the contents of 'm4/ltoptions.m4' to 'aclocal.m4'.
OpenWrt-libtoolize: linking file 'm4/ltsugar.m4'
OpenWrt-libtoolize: You should add the contents of 'm4/ltsugar.m4' to 'aclocal.m4'.
OpenWrt-libtoolize: linking file 'm4/ltversion.m4'
OpenWrt-libtoolize: linking file 'm4/lt~obsolete.m4'
OpenWrt-libtoolize: You should add the contents of 'm4/lt~obsolete.m4' to 'aclocal.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-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: 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: WARNING: unrecognized options: --disable-nls
configure: loading site script /builder/shared-workdir/build/sdk/include/site/mips
checking build system type... x86_64-pc-linux-gnu
checking host system type... mips-openwrt-linux-gnu
checking how to print strings... printf
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 whether mips-openwrt-linux-musl-gcc understands -c and -o together... yes
checking for a sed that does not truncate output... /builder/shared-workdir/build/sdk/staging_dir/host/bin/sed
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 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... mips-openwrt-linux-musl-strip
checking for mips-openwrt-linux-ranlib... mips-openwrt-linux-musl-gcc-ranlib
checking for gawk... gawk
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 how to run the C preprocessor... mips-openwrt-linux-musl-gcc -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 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 for cppunit-config... no
checking for Cppunit - version >= 1.9.6... no
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_mips32_musl/ibrcommon-1.0.1/missing: No such file or directory
configure: WARNING: 'missing' script is too old or missing
checking for mips-openwrt-linux-strip... (cached) mips-openwrt-linux-musl-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking whether make supports nested variables... yes
checking dependency style of mips-openwrt-linux-musl-gcc... none
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports nested variables... (cached) yes
checking whether we are using the GNU C++ compiler... yes
checking whether mips-openwrt-linux-musl-g++ accepts -g... yes
checking how to run the C++ preprocessor... mips-openwrt-linux-musl-g++ -E
checking for ld used by mips-openwrt-linux-musl-g++... mips-openwrt-linux-musl-ld
checking if the linker (mips-openwrt-linux-musl-ld) is GNU ld... yes
checking whether the mips-openwrt-linux-musl-g++ linker (mips-openwrt-linux-musl-ld) supports shared libraries... yes
checking for mips-openwrt-linux-musl-g++ option to produce PIC... -fPIC -DPIC
checking if mips-openwrt-linux-musl-g++ PIC flag -fPIC -DPIC works... yes
checking if mips-openwrt-linux-musl-g++ static flag -static works... yes
checking if mips-openwrt-linux-musl-g++ supports -c -o file.o... yes
checking if mips-openwrt-linux-musl-g++ supports -c -o file.o... (cached) yes
checking whether the mips-openwrt-linux-musl-g++ linker (mips-openwrt-linux-musl-ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking dependency style of mips-openwrt-linux-musl-g++... none
checking for mips-openwrt-linux-gcc... (cached) mips-openwrt-linux-musl-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether mips-openwrt-linux-musl-gcc accepts -g... (cached) yes
checking for mips-openwrt-linux-musl-gcc option to accept ISO C89... (cached) none needed
checking whether mips-openwrt-linux-musl-gcc understands -c and -o together... (cached) yes
checking whether build environment is sane... yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for alarm... yes
checking pkg-config is at least version 0.9.0... yes
checking for clock_gettime in -lrt... yes
checking for bzero... (cached) yes
checking for clock_gettime... yes
checking for gethostname... yes
checking for gettimeofday... (cached) yes
checking for inet_ntoa... yes
checking for memset... yes
checking for mkdir... yes
checking for pow... yes
checking for rmdir... yes
checking for socket... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for sys/time.h... (cached) yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking features.h usability... yes
checking features.h presence... yes
checking for features.h... yes
checking mach/mach_time.h usability... no
checking mach/mach_time.h presence... no
checking for mach/mach_time.h... no
checking sys/semaphore.h usability... no
checking sys/semaphore.h presence... no
checking for sys/semaphore.h... no
checking semaphore.h usability... yes
checking semaphore.h presence... yes
checking for semaphore.h... yes
checking for sys/semaphore.h... (cached) no
checking for inline... inline
checking for error_at_line... no
checking for working mktime... no
checking for stdbool.h that conforms to C99... no
checking for _Bool... no
checking for int64_t... yes
checking for size_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint8_t... yes
checking if compiling with clang... no
checking for NL... no
checking for NL... no
checking for NL... no
checking for main in -lpthread... yes
checking for pthread_condattr_setclock... yes
checking for pthread_setconcurrency... yes
checking for pthread_yield... no
checking for pthread_delay... no
checking for pthread_delay_np... no
checking for pthread_setschedprio... yes
checking for OPENSSL... yes
checking that generated files are newer than configure... done
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating ibrcommon.pc
config.status: creating ibrcommon/Makefile
config.status: creating ibrcommon/data/Makefile
config.status: creating ibrcommon/link/Makefile
config.status: creating ibrcommon/net/Makefile
config.status: creating ibrcommon/thread/Makefile
config.status: creating ibrcommon/ssl/Makefile
config.status: creating ibrcommon/ssl/gcm/Makefile
config.status: creating ibrcommon/xml/Makefile
config.status: creating tests/Makefile
config.status: creating tests/unittests/Makefile
config.status: creating tests/stress/Makefile
config.status: creating ibrcommon/config.h
config.status: creating ibrcommon/ibrcommon.h
config.status: executing libtool commands
config.status: executing depfiles commands
configure: WARNING: unrecognized options: --disable-nls
make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-mips_mips32_musl/ibrcommon-1.0.1'
Making all in ibrcommon
make[5]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-mips_mips32_musl/ibrcommon-1.0.1/ibrcommon'
make  all-recursive
make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-mips_mips32_musl/ibrcommon-1.0.1/ibrcommon'
Making all in data
make[7]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-mips_mips32_musl/ibrcommon-1.0.1/ibrcommon/data'
  CXX      BLOB.lo
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[7]: *** [Makefile:486: BLOB.lo] Error 63
make[7]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-mips_mips32_musl/ibrcommon-1.0.1/ibrcommon/data'
make[6]: *** [Makefile:644: all-recursive] Error 1
make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-mips_mips32_musl/ibrcommon-1.0.1/ibrcommon'
make[5]: *** [Makefile:460: all] Error 2
make[5]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-mips_mips32_musl/ibrcommon-1.0.1/ibrcommon'
make[4]: *** [Makefile:483: all-recursive] Error 1
make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-mips_mips32_musl/ibrcommon-1.0.1'
make[3]: *** [Makefile:54: /builder/shared-workdir/build/sdk/build_dir/target-mips_mips32_musl/ibrcommon-1.0.1/.built] Error 2
time: package/feeds/packages/ibrcommon/compile#38.47#6.60#77.91