Applying /builder/shared-workdir/build/sdk/feeds/packages/net/openvpn/patches/100-mbedtls-disable-runtime-version-check.patch using plaintext: patching file src/openvpn/ssl_mbedtls.c Applying /builder/shared-workdir/build/sdk/feeds/packages/net/openvpn/patches/101-Fix-EVP_PKEY_CTX_-compilation-with-wolfSSL.patch using plaintext: patching file src/openvpn/crypto_openssl.c Applying /builder/shared-workdir/build/sdk/feeds/packages/net/openvpn/patches/102-Disable-external-ec-key-support-when-building-with-wolfSSL.patch using plaintext: patching file src/openvpn/ssl_openssl.c Applying /builder/shared-workdir/build/sdk/feeds/packages/net/openvpn/patches/103-define-LN_serialNumber-for-wolfSSL.patch using plaintext: patching file src/openvpn/ssl_verify_openssl.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-loongarch64_generic_musl/host/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/hostpkg/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/target-loongarch64_generic_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 --copy --force OpenWrt-libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, '.'. OpenWrt-libtoolize: copying file './config.guess' OpenWrt-libtoolize: copying file './config.sub' OpenWrt-libtoolize: copying file './install-sh' OpenWrt-libtoolize: copying file './ltmain.sh' OpenWrt-libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. OpenWrt-libtoolize: copying file 'm4/libtool.m4' OpenWrt-libtoolize: You should add the contents of 'm4/libtool.m4' to 'aclocal.m4'. OpenWrt-libtoolize: copying file 'm4/ltoptions.m4' OpenWrt-libtoolize: copying file 'm4/ltsugar.m4' OpenWrt-libtoolize: copying file 'm4/ltversion.m4' OpenWrt-libtoolize: copying file 'm4/lt~obsolete.m4' OpenWrt-libtoolize: Remember to add 'LT_INIT' to configure.ac. 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-loongarch64_generic_musl/host/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/hostpkg/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/target-loongarch64_generic_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-loongarch64_generic_musl/host/share/aclocal --include=/builder/shared-workdir/build/sdk/staging_dir/hostpkg/share/aclocal --include=/builder/shared-workdir/build/sdk/staging_dir/target-loongarch64_generic_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-loongarch64_generic_musl/host/share/aclocal --include=/builder/shared-workdir/build/sdk/staging_dir/hostpkg/share/aclocal --include=/builder/shared-workdir/build/sdk/staging_dir/target-loongarch64_generic_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 --copy --force-missing configure.ac:74: installing './compile' configure.ac:72: installing './missing' src/compat/Makefile.am: installing './depcomp' autoreconf: Leaving directory '.' configure: WARNING: unrecognized options: --disable-nls configure: loading site script /builder/shared-workdir/build/sdk/include/site/loongarch64 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 loongarch64-openwrt-linux-strip... loongarch64-openwrt-linux-musl-strip checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking build system type... x86_64-pc-linux-gnu checking host system type... loongarch64-openwrt-linux-gnu checking whether make supports the include directive... yes (GNU style) checking for loongarch64-openwrt-linux-gcc... loongarch64-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 loongarch64-openwrt-linux-musl-gcc accepts -g... yes checking for loongarch64-openwrt-linux-musl-gcc option to enable C11 features... none needed checking whether loongarch64-openwrt-linux-musl-gcc understands -c and -o together... yes checking dependency style of loongarch64-openwrt-linux-musl-gcc... none 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 for wchar.h... yes checking for minix/config.h... no checking for vfork.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking pkg-config is at least version 0.9.0... yes checking how to run the C preprocessor... loongarch64-openwrt-linux-musl-gcc -E checking whether ln -s works... yes checking for a sed that does not truncate output... /builder/shared-workdir/build/sdk/staging_dir/host/bin/sed checking whether make sets $(MAKE)... (cached) yes checking for ifconfig... no checking for route... no checking for ip... /sbin/ip checking for systemd-ask-password... no checking for netstat... /sbin/netstat checking for git... git checking for rst2man... no checking for rst2man.py... no checking for rst2html... no checking for rst2html.py... 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 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 loongarch64-openwrt-linux-musl-gcc... loongarch64-openwrt-linux-musl-ld.bfd checking if the linker (loongarch64-openwrt-linux-musl-ld.bfd) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... loongarch64-openwrt-linux-musl-gcc-nm checking the name lister (loongarch64-openwrt-linux-musl-gcc-nm) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to loongarch64-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 loongarch64-openwrt-linux-musl-ld.bfd option to reload object files... -r checking for loongarch64-openwrt-linux-file... no checking for file... file configure: WARNING: using cross tools not prefixed with host triplet checking for loongarch64-openwrt-linux-objdump... loongarch64-openwrt-linux-musl-objdump checking how to recognize dependent libraries... pass_all checking for loongarch64-openwrt-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for loongarch64-openwrt-linux-ar... loongarch64-openwrt-linux-musl-gcc-ar checking for archiver @FILE support... @ checking for loongarch64-openwrt-linux-strip... (cached) loongarch64-openwrt-linux-musl-strip checking for loongarch64-openwrt-linux-ranlib... loongarch64-openwrt-linux-musl-gcc-ranlib checking command to parse loongarch64-openwrt-linux-musl-gcc-nm output from loongarch64-openwrt-linux-musl-gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for loongarch64-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 loongarch64-openwrt-linux-musl-gcc supports -fno-rtti -fno-exceptions... no checking for loongarch64-openwrt-linux-musl-gcc option to produce PIC... -fPIC -DPIC checking if loongarch64-openwrt-linux-musl-gcc PIC flag -fPIC -DPIC works... yes checking if loongarch64-openwrt-linux-musl-gcc static flag -static works... yes checking if loongarch64-openwrt-linux-musl-gcc supports -c -o file.o... yes checking if loongarch64-openwrt-linux-musl-gcc supports -c -o file.o... (cached) yes checking whether the loongarch64-openwrt-linux-musl-gcc linker (loongarch64-openwrt-linux-musl-ld.bfd) 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 loongarch64-openwrt-linux-windres... no checking for windres... no checking for an ANSI C-conforming const... yes checking for inline... inline checking for working volatile... yes checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking for uid_t in sys/types.h... yes checking for socklen_t... yes checking size of unsigned int... (cached) 4 checking size of unsigned long... (cached) 8 checking for fcntl.h... yes checking for io.h... no checking for sys/types.h... (cached) yes checking for sys/socket.h... yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for netinet/in.h... yes checking for netinet/in_systm.h... yes checking for netinet/tcp.h... yes checking for arpa/inet.h... yes checking for netdb.h... yes checking for sys/time.h... yes checking for sys/ioctl.h... yes checking for sys/stat.h... (cached) yes checking for sys/mman.h... yes checking for sys/file.h... yes checking for sys/wait.h... yes checking for unistd.h... (cached) yes checking for libgen.h... yes checking for stropts.h... yes checking for syslog.h... yes checking for pwd.h... yes checking for grp.h... yes checking for termios.h... yes checking for sys/sockio.h... no checking for sys/uio.h... yes checking for linux/sockios.h... yes checking for linux/types.h... yes checking for linux/errqueue.h... yes checking for poll.h... yes checking for sys/epoll.h... yes checking for err.h... yes checking for net/if.h... yes checking for netinet/ip.h... yes checking for resolv.h... yes checking for sys/un.h... yes checking for net/if_utun.h... no checking for sys/kern_control.h... no checking for in_addr_t... yes checking for in_port_t... yes checking for struct iphdr... yes checking for struct msghdr... yes checking for struct cmsghdr... yes checking for struct in_pktinfo... yes checking for sa_family_t... yes checking for struct in_pktinfo.ipi_spec_dst... yes checking for struct sockaddr_in6... yes checking for loongarch64-openwrt-linux-musl-gcc options needed to detect all undeclared functions... none needed checking whether SO_MARK is declared... yes checking anonymous union support... yes checking linker supports --wrap... yes checking whether SIGHUP is declared... yes checking whether SIGINT is declared... yes checking whether SIGUSR1 is declared... yes checking whether SIGUSR2 is declared... yes checking whether SIGTERM is declared... yes 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 for daemon... yes checking for chroot... yes checking for getpwnam... yes checking for setuid... yes checking for nice... yes checking for system... yes checking for dup... yes checking for dup2... yes checking for syslog... yes checking for openlog... yes checking for mlockall... yes checking for getrlimit... yes checking for getgrnam... yes checking for setgid... yes checking for setgroups... yes checking for flock... yes checking for readv... yes checking for writev... yes checking for time... yes checking for gettimeofday... (cached) yes checking for setsid... yes checking for chdir... yes checking for chsize... no checking for ftruncate... yes checking for execve... yes checking for getpeereid... no checking for basename... yes checking for dirname... yes checking for access... yes checking for epoll_create... yes checking for strsep... yes checking for dlopen in -ldl... yes checking for inet_ntoa in -lnsl... no checking for socket in -lsocket... no checking for gethostbyname in -lresolv... yes checking for sendmsg... yes checking for recvmsg... yes checking for library containing __res_init... no checking for library containing res_9_init... no checking for library containing res_init... none required checking for net/if_tun.h... no checking for net/tun/if_tun.h... no checking for linux/if_tun.h... yes checking for tap-windows.h... no checking whether TUNSETPERSIST is declared... yes checking for setcon in -lselinux... yes checking for pam_start in -lpam... yes checking for libpkcs11-helper-1 >= 1.11... no checking for libcap-ng... yes checking for sys/prctl.h... yes checking for wolfssl... no configure: error: Could not find wolfSSL using pkg-config (/builder/shared-workdir/build/sdk/staging_dir/host/bin/pkg-config) make[3]: *** [Makefile:150: /builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/openvpn-wolfssl/openvpn-2.6.12/.configured_68b329da9893e34099c7d8ad5cb9c940] Error 1 time: package/feeds/packages/openvpn/wolfssl/compile#27.20#9.68#47.26