Applying ./patches/0900-src-Patch-for-building-with-musl-on-openwrt-taken-ve.patch using plaintext: 
patching file src/libcharon/plugins/kernel_netlink/kernel_netlink_ipsec.c
patching file src/libcharon/plugins/kernel_netlink/kernel_netlink_net.c
patching file src/libcharon/plugins/kernel_netlink/kernel_netlink_shared.c
patching file src/libstrongswan/library.h
patching file src/libstrongswan/musl.h
patching file src/libstrongswan/plugins/bliss/bliss_huffman.c

Applying ./patches/0901-uci-verbatim-patch-from-openwrt-package-sources.patch using plaintext: 
patching file src/libcharon/plugins/uci/uci_parser.c

Applying ./patches/0902-ipsec-Patch-ipsec-script-to-work-with-musl-sleep-.-P.patch using plaintext: 
patching file src/ipsec/_ipsec.in

Applying ./patches/0903-updown-Call-sbin-hotplug-call-ipsec-1-in-updown-scri.patch using plaintext: 
patching file src/_updown/_updown.in

Applying ./patches/0904-gmpdh-Plugin-that-implements-gmp-DH-functions-in-an-.patch using plaintext: 
patching file configure.ac
patching file src/libstrongswan/Makefile.am
patching file src/libstrongswan/plugins/gmpdh/Makefile.am
patching file src/libstrongswan/plugins/gmpdh/gmpdh_plugin.c
patching file src/libstrongswan/plugins/gmpdh/gmpdh_plugin.h

Applying ./patches/0905-undef-wolfssl-RNG.patch using plaintext: 
patching file src/libstrongswan/plugins/wolfssl/wolfssl_plugin.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/config
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/config'.
OpenWrt-libtoolize: linking file 'm4/config/libtool.m4'
OpenWrt-libtoolize: You should add the contents of 'm4/config/libtool.m4' to 'aclocal.m4'.
OpenWrt-libtoolize: linking file 'm4/config/ltoptions.m4'
OpenWrt-libtoolize: You should add the contents of 'm4/config/ltoptions.m4' to 'aclocal.m4'.
OpenWrt-libtoolize: linking file 'm4/config/ltsugar.m4'
OpenWrt-libtoolize: You should add the contents of 'm4/config/ltsugar.m4' to 'aclocal.m4'.
OpenWrt-libtoolize: linking file 'm4/config/ltversion.m4'
OpenWrt-libtoolize: linking file 'm4/config/lt~obsolete.m4'
OpenWrt-libtoolize: You should add the contents of 'm4/config/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-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/config
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
autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/autoheader --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
autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/automake --add-missing --force-missing
configure.ac:374: installing './compile'
configure.ac:24: installing './missing'
fuzz/Makefile.am: installing './depcomp'
autoreconf: Leaving directory '.'
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
checking for i486-openwrt-linux-strip... i486-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 UID '1000' is supported by ustar format... yes
checking whether GID '1000' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether make supports nested variables... (cached) yes
checking pkg-config is at least version 0.9.0... yes
checking for a sed that does not truncate output... /builder/shared-workdir/build/sdk/staging_dir/host/bin/sed
checking configured UDP ports (500, 4500)... ok
checking for i486-openwrt-linux-gcc... i486-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 i486-openwrt-linux-musl-gcc accepts -g... yes
checking for i486-openwrt-linux-musl-gcc option to enable C11 features... none needed
checking whether i486-openwrt-linux-musl-gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of i486-openwrt-linux-musl-gcc... none
checking build system type... x86_64-pc-linux-gnu
checking host system type... i486-openwrt-linux-gnu
checking 32-bit host C ABI... 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 ELF binary format... yes
checking for the common suffixes of directories in the library search path... lib,lib32,lib
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 whether byte ordering is bigendian... (cached) no
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /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 whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to i486-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 i486-openwrt-linux-musl-ld option to reload object files... -r
checking for i486-openwrt-linux-file... no
checking for file... file
configure: WARNING: using cross tools not prefixed with host triplet
checking for i486-openwrt-linux-objdump... i486-openwrt-linux-musl-objdump
checking how to recognize dependent libraries... pass_all
checking for i486-openwrt-linux-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for i486-openwrt-linux-ar... i486-openwrt-linux-musl-gcc-ar
checking for archiver @FILE support... @
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 sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for i486-openwrt-linux-mt... no
checking for mt... no
checking if : is a manifest tool... no
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... no
checking for egrep... (cached) /builder/shared-workdir/build/sdk/staging_dir/host/bin/grep -E
checking for gawk... (cached) gawk
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 bison... bison -y
checking for python... /builder/shared-workdir/build/sdk/staging_dir/host/bin/python
checking for python version... 3.7
checking for python platform... linux
checking for GNU default python prefix... ${prefix}
checking for GNU default python exec_prefix... ${exec_prefix}
checking for python script directory (pythondir)... ${PYTHON_PREFIX}/lib/python3.7/site-packages
checking for python extension module directory (pyexecdir)... ${PYTHON_EXEC_PREFIX}/lib/python3.7/site-packages
checking for perl... /builder/shared-workdir/build/sdk/staging_dir/host/bin/perl
checking for gperf... /builder/shared-workdir/build/sdk/staging_dir/hostpkg/bin/gperf
checking gperf len type... size_t
checking for _Bool... yes
checking for stdbool.h that conforms to C99... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for i486-openwrt-linux-musl-gcc options needed to detect all undeclared functions... none needed
checking whether strerror_r is declared... yes
checking whether strerror_r returns char *... no
checking for library containing dlopen... none required
checking for library containing backtrace... no
checking for backtrace... no
checking for library containing socket... none required
checking for library containing pthread_create... none required
checking for library containing __atomic_and_fetch... none required
checking for dladdr... yes
checking for pthread_condattr_setclock(CLOCK_MONOTONIC)... unknown
checking for pthread_condattr_setclock... yes
checking for pthread_condattr_init... yes
checking for pthread_cond_timedwait_monotonic... no
checking for pthread_cancel... yes
checking for pthread_rwlock_init... yes
checking for pthread_spin_init... yes
checking for sem_timedwait... yes
checking for gettid... yes
checking for qsort_r... yes
checking for GNU-style qsort_r... yes
checking for prctl... yes
checking for mallinfo... no
checking for mallinfo2... no
checking for getpass... yes
checking for closefrom... no
checking for getpwnam_r... yes
checking for getgrnam_r... yes
checking for getpwuid_r... (cached) yes
checking for chown... yes
checking for fmemopen... yes
checking for funopen... no
checking for mmap... yes
checking for memrchr... yes
checking for setlinebuf... yes
checking for strptime... yes
checking for dirfd... yes
checking for sigwaitinfo... yes
checking for explicit_bzero... yes
checking for syslog... yes
checking for sys/sockio.h... no
checking for sys/syscall.h... yes
checking for sys/param.h... yes
checking for glob.h... yes
checking for net/if_tun.h... no
checking for net/pfkeyv2.h... no
checking for netipsec/ipsec.h... no
checking for netinet6/ipsec.h... no
checking for linux/udp.h... yes
checking for netinet/ip6.h... yes
checking for linux/fib_rules.h... yes
checking for struct sockaddr.sa_len... no
checking for struct sadb_x_policy.sadb_x_policy_priority... yes
checking for in6addr_any... yes
checking for in6_pktinfo... yes
checking for RTM_IFANNOUNCE... no
checking for IPSEC_MODE_BEET... yes
checking for IPSEC_DIR_FWD... yes
checking for RTA_TABLE... yes
checking for __int128... no
checking for GCC __sync operations... no
checking for register_printf_specifier... no
checking for register_printf_function... no
configure: printf(3) does not support custom format specifiers!
checking for Windows target... no
checking for library containing clock_gettime... none required
checking for clock_gettime... yes
checking for working __attribute__((packed))... yes
checking clang... no
checking x86/x64 target... yes
checking for __gmpz_init in -lgmp... yes
checking mpz_powm_sec... yes
checking gmp.h version >= 4.1.4... yes
checking for ldap_init in -lldap... no
configure: error: LDAP library ldap not found
make[3]: *** [Makefile:643: /builder/shared-workdir/build/sdk/build_dir/target-i386_pentium-mmx_musl/strongswan-5.9.10/.configured_679096e493a4a39c8c0f74420b413471] Error 1
time: package/feeds/packages/strongswan/compile#84.07#6.97#202.27