Applying ./patches/010-nanosleep.patch using plaintext: 
patching file programs/pluto/send.c

Applying ./patches/020-limits.patch using plaintext: 
patching file programs/pluto/connections.c
patching file programs/pluto/rcv_whack.c

Applying ./patches/040-disable_man.patch using plaintext: 
patching file mk/targets.mk
make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-mipsel_74kc_musl/libreswan-4.9'
Package nss was not found in the pkg-config search path.
Perhaps you should add the directory containing `nss.pc'
to the PKG_CONFIG_PATH environment variable
Package 'nss', required by 'virtual:world', not found
make[5]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-mipsel_74kc_musl/libreswan-4.9/lib'
Package nss was not found in the pkg-config search path.
Perhaps you should add the directory containing `nss.pc'
to the PKG_CONFIG_PATH environment variable
Package 'nss', required by 'virtual:world', not found
make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-mipsel_74kc_musl/libreswan-4.9/lib/libswan'
Package nss was not found in the pkg-config search path.
Perhaps you should add the directory containing `nss.pc'
to the PKG_CONFIG_PATH environment variable
Package 'nss', required by 'virtual:world', not found
mkdir -p ../../OBJ.linux..31e285d6063e/lib/libswan
set -e ; \
for f in x509dn.o asn1.o oid.o authby.o rnd.o constants.o id.o initaddr.o lex.o lswconf.o lswfips.o sameaddr.o subnettypeof.o ttodata.o ttosaid.o ttosubnet.o ttoul.o secitem_chunk.o lswnss.o alg_byname.o cloexec_socket.o secret_pubkey_stuff_to_pubkey_der.o pubkey_der_to_pubkey_content.o clone_shunk_tokens.o secrets.o pubkey_rsa.o pubkey_ecdsa.o sparse_names.o ttoaddress.o ttoaddress_list_num.o ttoprotocol.o ttobinary-iec-60027-2.o binaryscale-iec-60027-2.o alloc.o alloc_printf.o diag.o passert.o pexpect.o nss_cert_load.o certs.o reqid.o keyid.o kernel_netlink_reply.o kernel_netlink_query.o netlink_attrib.o resolve_default_route_linux.o log_ip.o fd.o role.o datatot.o ultot.o vendorid.o proposals.o v1_proposals.o v2_proposals.o esp_info.o ah_info.o ike_info.o ckaid.o chunk.o shunk.o hunk.o ip_bytes.o ip_address.o ip_cidr.o ip_encap.o ip_endpoint.o ip_info.o ip_port.o ip_port_range.o ip_protocol.o ip_protoport.o ip_range.o ip_said.o ip_selector.o ip_sockaddr.o ip_subnet.o ip_packet.o lmod.o lset.o timescale.o deltatime.o realtime.o monotime.o ttodeltatime.o refcnt.o debug.o impair.o keywords.o DBG_dump.o DBG_log.o DBG_va_list.o llog_base64_bytes.o llog_pem_bytes.o llog_errno.o log_error.o fatal.o libreswan_bad_case.o lswglob.o global_logger.o jambuf.o jam_humber.o jam_bytes.o jam_base64_bytes.o llog.o llog_dump.o llog_va_list.o log_nss_error.o jam_nss_cka.o jam_nss_ckf.o jam_nss_ckm.o jam_nss_error.o jam_nss_oid.o jam_nss_secitem.o test_buffer.o ike_alg.o ike_alg_dh.o ike_alg_hash_identity.o ike_alg_ipcomp.o ike_alg_test.o ike_alg_dh_nss_ecp_ops.o ike_alg_dh_nss_modp_ops.o ike_alg_hash_nss_ops.o ike_alg_prf_mac_hmac_ops.o ike_alg_prf_mac_nss_ops.o ike_alg_prf_mac_xcbc_ops.o ike_alg_prf_ikev1_mac_ops.o ike_alg_prf_ikev2_mac_ops.o ike_alg_prf_ikev1_nss_ops.o ike_alg_prf_ikev2_nss_ops.o ike_alg_encrypt_chacha20_poly1305.o ike_alg_encrypt_nss_aead_ops.o ike_alg_encrypt_nss_cbc_ops.o ike_alg_encrypt_nss_ctr_ops.o ike_alg_encrypt_nss_gcm_ops.o ike_alg_desc.o ike_alg_3des.o ike_alg_aes.o ike_alg_camellia.o ike_alg_hash_md5.o ike_alg_md5.o ike_alg_none.o ike_alg_hash_sha1.o ike_alg_sha1.o ike_alg_hash_sha2_256.o ike_alg_sha2.o ike_alg_encrypt_cbc_test_vectors.o ike_alg_encrypt_ctr_test_vectors.o ike_alg_encrypt_gcm_test_vectors.o ike_alg_prf_test_vectors.o crypt_mac.o crypt_hash.o crypt_prf.o crypt_symkey.o ikev1_prf.o ikev2_prf.o unbound.o enum_names.o pluto_exit_code_names.o ipseckey_algorithm_type_names.o ipseckey_algorithm_config_names.o xfrm_policy_names.o /builder/shared-workdir/build/sdk/build_dir/target-mipsel_74kc_musl/libreswan-4.9/OBJ.linux..31e285d6063e/lib/libswan/version.o ; do \
	case $f in \
		*.c ) echo "-include \$(builddir)/$(basename $f .c).d # $f" ;; \
		*.o ) echo "-include \$(builddir)/$(basename $f .o).d # $f" ;; \
		* ) echo "# $f ignored by Makefile.dep" ;; \
	esac ; \
done > ../../OBJ.linux..31e285d6063e/lib/libswan/Makefile.depend.mk.tmp
mv ../../OBJ.linux..31e285d6063e/lib/libswan/Makefile.depend.mk.tmp ../../OBJ.linux..31e285d6063e/lib/libswan/Makefile.depend.mk
Package nss was not found in the pkg-config search path.
Perhaps you should add the directory containing `nss.pc'
to the PKG_CONFIG_PATH environment variable
Package 'nss', required by 'virtual:world', not found
Package nss was not found in the pkg-config search path.
Perhaps you should add the directory containing `nss.pc'
to the PKG_CONFIG_PATH environment variable
Package 'nss', required by 'virtual:world', not found
mipsel-openwrt-linux-musl-gcc -pthread -std=gnu99 -g  -Wall -Wextra -Wformat -Wformat-nonliteral -Wformat-security -Wundef -Wmissing-declarations -Wredundant-decls -Wnested-externs -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-all -fno-strict-aliasing -fPIE -DPIE -DNSS_IPSEC_PROFILE -DUSE_IKEv1 -DKERNEL_XFRM -DUSE_XFRM_INTERFACE -DXFRM_LIFETIME_DEFAULT=30 -DUSE_DNSSEC -DDEFAULT_DNSSEC_ROOTKEY_FILE=\"/etc/unbound/root.key\" -DUSE_3DES -DUSE_AES -DUSE_CAMELLIA -DUSE_CHACHA -DUSE_DH31 -DUSE_MD5 -DUSE_SHA1 -DUSE_SHA2 -DUSE_PRF_AES_XCBC -DUSE_NSS_KDF -DDEFAULT_RUNDIR=\"/var/run/pluto\" -DIPSEC_CONF=\"/etc/ipsec.conf\" -DIPSEC_CONFDDIR=\"/etc/ipsec.d\" -DIPSEC_NSSDIR=\"/etc/ipsec.d\" -DIPSEC_CONFDIR=\"/etc\" -DIPSEC_EXECDIR=\"/usr/libexec/ipsec\" -DIPSEC_SBINDIR=\"/usr/sbin\" -DIPSEC_VARDIR=\"/var\" -DPOLICYGROUPSDIR=\"/etc/ipsec.d/policies\" -DIPSEC_SECRETS_FILE=\"/etc/ipsec.secrets\" -DFORCE_PR_ASSERT -DHAVE_IPTABLES -DUSE_FORK=1 -DUSE_VFORK=0 -DUSE_DAEMON=0 -DUSE_PTHREAD_SETSCHEDPRIO=1 -DGCC_LINT -DHAVE_LIBCAP_NG \
	-I../../OBJ.linux..31e285d6063e/lib/libswan -I../../include  \
	-DHERE_FILENAME=\"/lib/libswan/x509dn.c\" \
	-Os -pipe -mno-branch-likely -mips32r2 -mtune=74kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -mips16 -minterlink-mips16 -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mipsel_74kc_musl/libreswan-4.9=libreswan-4.9 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -flto  -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mipsel_74kc_gcc-12.2.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mipsel_74kc_gcc-12.2.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mipsel_74kc_gcc-12.2.0_musl/include  \
	-MF ../../OBJ.linux..31e285d6063e/lib/libswan/x509dn.d \
	-MP -MMD -MT x509dn.o \
	-o ../../OBJ.linux..31e285d6063e/lib/libswan/x509dn.o \
	-c /builder/shared-workdir/build/sdk/build_dir/target-mipsel_74kc_musl/libreswan-4.9/lib/libswan/x509dn.c
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
In file included from /builder/shared-workdir/build/sdk/build_dir/target-mipsel_74kc_musl/libreswan-4.9/lib/libswan/x509dn.c:29:
../../include/x509.h:28:10: fatal error: cert.h: No such file or directory
   28 | #include <cert.h>               /* dep:libnss3-dev */
      |          ^~~~~~~~
compilation terminated.
make[7]: *** [../../mk/rules.mk:63: x509dn.o] Error 1
make[6]: *** [../../mk/targets.mk:82: all] Error 2
make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-mipsel_74kc_musl/libreswan-4.9/lib/libswan'
make[5]: *** [../mk/targets.mk:82: recursive-all] Error 2
make[5]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-mipsel_74kc_musl/libreswan-4.9/lib'
make[4]: *** [/builder/shared-workdir/build/sdk/build_dir/target-mipsel_74kc_musl/libreswan-4.9/mk/targets.mk:82: recursive-all] Error 2
make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-mipsel_74kc_musl/libreswan-4.9'
make[3]: *** [Makefile:125: /builder/shared-workdir/build/sdk/build_dir/target-mipsel_74kc_musl/libreswan-4.9/.built] Error 2
time: package/feeds/packages/libreswan/compile#0.70#0.72#1.89