Applying /builder/shared-workdir/build/sdk/feeds/packages/net/hs20/patches/050-use-dm_ddf-v1_3_dtd.patch using plaintext: patching file hs20/server/spp_server.c Applying /builder/shared-workdir/build/sdk/feeds/packages/net/hs20/patches/100-fix-hs20_spp_server-path.patch using plaintext: patching file hs20/server/www/spp.php Applying /builder/shared-workdir/build/sdk/feeds/packages/net/hs20/patches/200-adapt-config-php.patch using plaintext: patching file hs20/server/www/config.php Applying /builder/shared-workdir/build/sdk/feeds/packages/net/hs20/patches/300-paths-in-ca-setup-sh.patch using plaintext: patching file hs20/server/ca/setup.sh make[4]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a53_musl/hs20/hostapd-2020-06-08-5a8b3662/hostapd' CC main.c CC config_file.c CC ../src/ap/hostapd.c CC ../src/ap/wpa_auth_glue.c CC ../src/ap/drv_callbacks.c CC ../src/ap/ap_drv_ops.c CC ../src/ap/utils.c CC ../src/ap/authsrv.c CC ../src/ap/ieee802_1x.c CC ../src/ap/ap_config.c CC ../src/ap/eap_user_db.c CC ../src/ap/ieee802_11_auth.c CC ../src/ap/sta_info.c CC ../src/ap/wpa_auth.c CC ../src/ap/tkip_countermeasures.c CC ../src/ap/ap_mlme.c CC ../src/ap/wpa_auth_ie.c CC ../src/ap/preauth_auth.c CC ../src/ap/pmksa_cache_auth.c CC ../src/ap/ieee802_11_shared.c CC ../src/ap/beacon.c CC ../src/ap/bss_load.c CC ../src/ap/neighbor_db.c CC ../src/ap/rrm.c CC ../src/drivers/drivers.c CC ../src/utils/eloop.c CC ../src/utils/common.c CC ../src/utils/wpa_debug.c CC ../src/utils/wpabuf.c CC ../src/utils/os_unix.c CC ../src/utils/ip_addr.c CC ../src/utils/crc32.c CC ../src/common/ieee802_11_common.c CC ../src/common/wpa_common.c CC ../src/common/hw_features_common.c CC ../src/eapol_auth/eapol_auth_sm.c CC ../src/eapol_auth/eapol_auth_dump.c CC ../src/radius/radius.c CC ../src/radius/radius_client.c CC ../src/radius/radius_das.c CC ../src/ap/accounting.c CC ../src/ap/vlan_init.c CC ../src/ap/vlan_ifconfig.c CC ../src/ap/vlan.c CC ../src/common/ctrl_iface_common.c CC ctrl_iface.c CC ../src/ap/ctrl_iface_ap.c CC ../src/drivers/driver_none.c CC ../src/l2_packet/l2_packet_linux.c CC ../src/eap_server/eap_server_tls.c CC ../src/eap_server/eap_server_peap.c CC ../src/eap_common/eap_peap_common.c CC ../src/eap_server/eap_server_ttls.c CC ../src/eap_server/eap_server_mschapv2.c CC ../src/eap_server/eap_server_gtc.c CC ../src/eap_server/eap_server_sim.c CC ../src/eap_server/eap_server_aka.c CC ../src/eap_common/eap_sim_common.c CC ../src/eap_server/eap_sim_db.c CC ../src/utils/uuid.c CC ../src/ap/wps_hostapd.c CC ../src/eap_server/eap_server_wsc.c CC ../src/eap_common/eap_wsc_common.c CC ../src/wps/wps.c CC ../src/wps/wps_common.c CC ../src/wps/wps_attr_parse.c CC ../src/wps/wps_attr_build.c CC ../src/wps/wps_attr_process.c CC ../src/wps/wps_dev_attr.c CC ../src/wps/wps_enrollee.c CC ../src/wps/wps_registrar.c CC eap_register.c CC ../src/eap_server/eap_server.c CC ../src/eap_common/eap_common.c CC ../src/eap_server/eap_server_methods.c CC ../src/eap_server/eap_server_identity.c CC ../src/crypto/ms_funcs.c CC ../src/eap_common/chap.c CC ../src/eap_server/eap_server_tls_common.c ../src/crypto/tls_openssl.c: In function 'tls_connection_private_key': ../src/crypto/tls_openssl.c:3752:17: warning: 'SSL_use_RSAPrivateKey_ASN1' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3752 | if (SSL_use_RSAPrivateKey_ASN1(conn->ssl, | ^~ In file included from ../src/crypto/tls_openssl.c:19: /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/include/openssl/ssl.h:1669:12: note: declared here 1669 | __owur int SSL_use_RSAPrivateKey_ASN1(SSL *ssl, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/crypto/tls_openssl.c: In function 'tls_connection_dh': ../src/crypto/tls_openssl.c:3869:9: warning: 'PEM_read_bio_DHparams' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3869 | dh = PEM_read_bio_DHparams(bio, NULL, NULL, NULL); | ^~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/include/openssl/ssl.h:36: /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/include/openssl/pem.h:469:1: note: declared here 469 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) | ^~~~~~~~~~~~~~~~~~~ ../src/crypto/tls_openssl.c:3880:17: warning: 'PEM_read_bio_DSAparams' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3880 | dsa = PEM_read_bio_DSAparams(bio, NULL, NULL, NULL); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/include/openssl/pem.h:455:1: note: declared here 455 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DSAparams, DSA) | ^~~~~~~~~~~~~~~~~~~ ../src/crypto/tls_openssl.c:3890:17: warning: 'DSA_dup_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3890 | dh = DSA_dup_DH(dsa); | ^~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/include/openssl/x509.h:37, from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/include/openssl/ssl.h:31: /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/include/openssl/dsa.h:198:27: note: declared here 198 | OSSL_DEPRECATEDIN_3_0 DH *DSA_dup_DH(const DSA *r); | ^~~~~~~~~~ ../src/crypto/tls_openssl.c:3891:17: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3891 | DSA_free(dsa); | ^~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/include/openssl/dsa.h:127:28: note: declared here 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ ../src/crypto/tls_openssl.c:3910:17: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3910 | DH_free(dh); | ^~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/include/openssl/dsa.h:51: /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/include/openssl/dh.h:204:28: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ ../src/crypto/tls_openssl.c:3913:9: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3913 | DH_free(dh); | ^~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/include/openssl/dh.h:204:28: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ ../src/crypto/tls_openssl.c: In function 'tls_global_dh': ../src/crypto/tls_openssl.c:3944:9: warning: 'PEM_read_bio_DHparams' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3944 | dh = PEM_read_bio_DHparams(bio, NULL, NULL, NULL); | ^~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/include/openssl/pem.h:469:1: note: declared here 469 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) | ^~~~~~~~~~~~~~~~~~~ ../src/crypto/tls_openssl.c:3955:17: warning: 'PEM_read_bio_DSAparams' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3955 | dsa = PEM_read_bio_DSAparams(bio, NULL, NULL, NULL); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/include/openssl/pem.h:455:1: note: declared here 455 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DSAparams, DSA) | ^~~~~~~~~~~~~~~~~~~ ../src/crypto/tls_openssl.c:3965:17: warning: 'DSA_dup_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3965 | dh = DSA_dup_DH(dsa); | ^~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/include/openssl/dsa.h:198:27: note: declared here 198 | OSSL_DEPRECATEDIN_3_0 DH *DSA_dup_DH(const DSA *r); | ^~~~~~~~~~ ../src/crypto/tls_openssl.c:3966:17: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3966 | DSA_free(dsa); | ^~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/include/openssl/dsa.h:127:28: note: declared here 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ ../src/crypto/tls_openssl.c:3985:17: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3985 | DH_free(dh); | ^~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/include/openssl/dh.h:204:28: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ ../src/crypto/tls_openssl.c:3988:9: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3988 | DH_free(dh); | ^~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/include/openssl/dh.h:204:28: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ CC ../src/crypto/tls_openssl.c CC ../src/crypto/tls_openssl_ocsp.c ../src/crypto/crypto_openssl.c: In function 'des_encrypt': ../src/crypto/crypto_openssl.c:219:9: warning: 'DES_set_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 219 | DES_set_key((DES_cblock *) &pkey, &ks); | ^~~~~~~~~~~ In file included from ../src/crypto/crypto_openssl.c:12: /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/include/openssl/des.h:186:5: note: declared here 186 | int DES_set_key(const_DES_cblock *key, DES_key_schedule *schedule); | ^~~~~~~~~~~ ../src/crypto/crypto_openssl.c:220:9: warning: 'DES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 220 | DES_ecb_encrypt((DES_cblock *) clear, (DES_cblock *) cypher, &ks, | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/include/openssl/des.h:105:6: note: declared here 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, | ^~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c: In function 'aes_wrap': ../src/crypto/crypto_openssl.c:447:9: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 447 | if (AES_set_encrypt_key(kek, kek_len << 3, &actx)) | ^~ In file included from ../src/crypto/crypto_openssl.c:13: /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:449:9: warning: 'AES_wrap_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 449 | res = AES_wrap_key(&actx, NULL, cipher, plain, n * 8); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/include/openssl/aes.h:97:5: note: declared here 97 | int AES_wrap_key(AES_KEY *key, const unsigned char *iv, | ^~~~~~~~~~~~ ../src/crypto/crypto_openssl.c: In function 'aes_unwrap': ../src/crypto/crypto_openssl.c:463:9: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 463 | if (AES_set_decrypt_key(kek, kek_len << 3, &actx)) | ^~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/include/openssl/aes.h:54:5: note: declared here 54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:465:9: warning: 'AES_unwrap_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 465 | res = AES_unwrap_key(&actx, NULL, plain, cipher, (n + 1) * 8); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/include/openssl/aes.h:101:5: note: declared here 101 | int AES_unwrap_key(AES_KEY *key, const unsigned char *iv, | ^~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c: In function 'dh5_init': ../src/crypto/crypto_openssl.c:820:9: warning: 'DH_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 820 | dh = DH_new(); | ^~ In file included from ../src/crypto/crypto_openssl.c:16: /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/include/openssl/dh.h:203:27: note: declared here 203 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); | ^~~~~~ ../src/crypto/crypto_openssl.c:828:13: warning: 'DH_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 828 | DH_set0_pqg(dh, p, q, g) != 1) | ^~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/include/openssl/dh.h:259:27: note: declared here 259 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~ ../src/crypto/crypto_openssl.c:834:9: warning: 'DH_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 834 | if (DH_generate_key(dh) != 1) | ^~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/include/openssl/dh.h:227:27: note: declared here 227 | OSSL_DEPRECATEDIN_3_0 int DH_generate_key(DH *dh); | ^~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:837:9: warning: 'DH_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 837 | DH_get0_key(dh, &pub_key, &priv_key); | ^~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/include/openssl/dh.h:260:28: note: declared here 260 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, | ^~~~~~~~~~~ ../src/crypto/crypto_openssl.c:860:9: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 860 | DH_free(dh); | ^~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/include/openssl/dh.h:204:28: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ ../src/crypto/crypto_openssl.c: In function 'dh5_init_fixed': ../src/crypto/crypto_openssl.c:905:9: warning: 'DH_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 905 | dh = DH_new(); | ^~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/include/openssl/dh.h:203:27: note: declared here 203 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); | ^~~~~~ ../src/crypto/crypto_openssl.c:912:13: warning: 'DH_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 912 | DH_set0_pqg(dh, p, NULL, g) != 1) | ^~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/include/openssl/dh.h:259:27: note: declared here 259 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~ ../src/crypto/crypto_openssl.c:919:9: warning: 'DH_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 919 | if (!priv_key || !pub_key || DH_set0_key(dh, pub_key, priv_key) != 1) | ^~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/include/openssl/dh.h:262:27: note: declared here 262 | OSSL_DEPRECATEDIN_3_0 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key); | ^~~~~~~~~~~ ../src/crypto/crypto_openssl.c:924:9: warning: 'DH_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 924 | if (DH_generate_key(dh) != 1) | ^~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/include/openssl/dh.h:227:27: note: declared here 227 | OSSL_DEPRECATEDIN_3_0 int DH_generate_key(DH *dh); | ^~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:934:9: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 934 | DH_free(dh); | ^~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/include/openssl/dh.h:204:28: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ ../src/crypto/crypto_openssl.c: In function 'dh5_derive_shared': ../src/crypto/crypto_openssl.c:957:9: warning: 'DH_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 957 | rlen = DH_size(dh); | ^~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/include/openssl/dh.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int DH_size(const DH *dh); | ^~~~~~~ ../src/crypto/crypto_openssl.c:962:9: warning: 'DH_compute_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 962 | keylen = DH_compute_key(wpabuf_mhead(res), pub_key, dh); | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/include/openssl/dh.h:228:27: note: declared here 228 | OSSL_DEPRECATEDIN_3_0 int DH_compute_key(unsigned char *key, | ^~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c: In function 'dh5_free': ../src/crypto/crypto_openssl.c:983:9: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 983 | DH_free(dh); | ^~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/include/openssl/dh.h:204:28: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ ../src/crypto/crypto_openssl.c: In function 'crypto_hash_init': ../src/crypto/crypto_openssl.c:1023:9: warning: 'HMAC_CTX_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1023 | ctx->ctx = HMAC_CTX_new(); | ^~~ In file included from ../src/crypto/crypto_openssl.c:17: /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:1029:9: warning: 'HMAC_Init_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1029 | if (HMAC_Init_ex(ctx->ctx, key, key_len, md, NULL) != 1) { | ^~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:1030:17: warning: 'HMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1030 | HMAC_CTX_free(ctx->ctx); | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c: In function 'crypto_hash_update': ../src/crypto/crypto_openssl.c:1043:9: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1043 | HMAC_Update(ctx->ctx, data, len); | ^~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ ../src/crypto/crypto_openssl.c: In function 'crypto_hash_finish': ../src/crypto/crypto_openssl.c:1056:17: warning: 'HMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1056 | HMAC_CTX_free(ctx->ctx); | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:1062:9: warning: 'HMAC_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1062 | res = HMAC_Final(ctx->ctx, mac, &mdlen); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ ../src/crypto/crypto_openssl.c:1063:9: warning: 'HMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1063 | HMAC_CTX_free(ctx->ctx); | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c: In function 'openssl_hmac_vector': ../src/crypto/crypto_openssl.c:1090:9: warning: 'HMAC_CTX_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1090 | ctx = HMAC_CTX_new(); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:1093:9: warning: 'HMAC_Init_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1093 | res = HMAC_Init_ex(ctx, key, key_len, type, NULL); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:1098:17: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1098 | HMAC_Update(ctx, addr[i], len[i]); | ^~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ ../src/crypto/crypto_openssl.c:1100:9: warning: 'HMAC_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1100 | res = HMAC_Final(ctx, mac, &mdlen); | ^~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ ../src/crypto/crypto_openssl.c:1102:9: warning: 'HMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1102 | HMAC_CTX_free(ctx); | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ CC ../src/crypto/crypto_openssl.c ../src/crypto/fips_prf_openssl.c: In function 'sha1_transform': ../src/crypto/fips_prf_openssl.c:38:9: warning: 'SHA1_Transform' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 38 | SHA1_Transform(&context, data); | ^~~~~~~~~~~~~~ In file included from ../src/crypto/fips_prf_openssl.c:10: /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/include/openssl/sha.h:52:28: note: declared here 52 | OSSL_DEPRECATEDIN_3_0 void SHA1_Transform(SHA_CTX *c, const unsigned char *data); | ^~~~~~~~~~~~~~ CC ../src/crypto/fips_prf_openssl.c CC ../src/crypto/aes-omac1.c CC ../src/crypto/sha1-prf.c CC ../src/crypto/sha1-tlsprf.c CC ../src/crypto/sha256-prf.c CC ../src/crypto/sha256-tlsprf.c CC ../src/crypto/dh_groups.c CC ../src/crypto/random.c CC ../src/radius/radius_server.c CC ../src/utils/base64.c CC ../src/ap/ieee802_11_ht.c CC ../src/ap/hs20.c CC ../src/common/gas.c CC ../src/ap/gas_serv.c CC ../src/ap/x_snoop.c CC ../src/ap/dhcp_snoop.c CC ../src/drivers/driver_common.c LD hostapd CC hlr_auc_gw.c CC ../src/crypto/milenage.c CC ../src/crypto/aes-encblock.c LD hlr_auc_gw make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a53_musl/hs20/hostapd-2020-06-08-5a8b3662/hostapd' make[4]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a53_musl/hs20/hostapd-2020-06-08-5a8b3662/hs20/server' aarch64-openwrt-linux-musl-gcc -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include/fortify -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a53_musl/hs20/hostapd-2020-06-08-5a8b3662=hostapd-2020-06-08-5a8b3662 -Wformat -Werror=format-security -DPIC -fPIC -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../../src -I../../src/utils -I../../src/crypto -I/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/include/libxml2 -c -o spp_server.o spp_server.c aarch64-openwrt-linux-musl-gcc -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include/fortify -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a53_musl/hs20/hostapd-2020-06-08-5a8b3662=hostapd-2020-06-08-5a8b3662 -Wformat -Werror=format-security -DPIC -fPIC -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../../src -I../../src/utils -I../../src/crypto -I/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/include/libxml2 -c -o hs20_spp_server.o hs20_spp_server.c aarch64-openwrt-linux-musl-gcc -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include/fortify -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a53_musl/hs20/hostapd-2020-06-08-5a8b3662=hostapd-2020-06-08-5a8b3662 -Wformat -Werror=format-security -DPIC -fPIC -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../../src -I../../src/utils -I../../src/crypto -I/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/include/libxml2 -c -o ../../src/utils/xml-utils.o ../../src/utils/xml-utils.c aarch64-openwrt-linux-musl-gcc -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include/fortify -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a53_musl/hs20/hostapd-2020-06-08-5a8b3662=hostapd-2020-06-08-5a8b3662 -Wformat -Werror=format-security -DPIC -fPIC -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../../src -I../../src/utils -I../../src/crypto -I/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/include/libxml2 -c -o ../../src/crypto/md5-internal.o ../../src/crypto/md5-internal.c aarch64-openwrt-linux-musl-gcc -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.3.0_musl/include/fortify -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a53_musl/hs20/hostapd-2020-06-08-5a8b3662=hostapd-2020-06-08-5a8b3662 -Wformat -Werror=format-security -DPIC -fPIC -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I../../src -I../../src/utils -I../../src/crypto -I/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/include/libxml2 -c -o ../../src/utils/xml_libxml2.o ../../src/utils/xml_libxml2.c ../../src/utils/xml_libxml2.c: In function 'xml_validate_dtd': ../../src/utils/xml_libxml2.c:120:9: error: unknown type name 'xmlValidCtxt' 120 | xmlValidCtxt vctx; | ^~~~~~~~~~~~ ../../src/utils/xml_libxml2.c:140:15: warning: implicit declaration of function 'xmlParseDTD' [-Wimplicit-function-declaration] 140 | dtd = xmlParseDTD(NULL, (const xmlChar *) dtd_fname); | ^~~~~~~~~~~ ../../src/utils/xml_libxml2.c:140:13: warning: assignment to 'xmlDtdPtr' {aka 'struct _xmlDtd *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 140 | dtd = xmlParseDTD(NULL, (const xmlChar *) dtd_fname); | ^ ../../src/utils/xml_libxml2.c:147:13: error: request for member 'userData' in something not a structure or union 147 | vctx.userData = &errors; | ^ ../../src/utils/xml_libxml2.c:148:13: error: request for member 'error' in something not a structure or union 148 | vctx.error = add_str; | ^ ../../src/utils/xml_libxml2.c:149:13: error: request for member 'warning' in something not a structure or union 149 | vctx.warning = add_str; | ^ ../../src/utils/xml_libxml2.c:150:15: warning: implicit declaration of function 'xmlValidateDtd'; did you mean 'xml_validate_dtd'? [-Wimplicit-function-declaration] 150 | ret = xmlValidateDtd(&vctx, doc, dtd); | ^~~~~~~~~~~~~~ | xml_validate_dtd ../../src/utils/xml_libxml2.c: In function 'xml_node_from_buf': ../../src/utils/xml_libxml2.c:184:15: warning: implicit declaration of function 'xmlParseMemory' [-Wimplicit-function-declaration] 184 | doc = xmlParseMemory(buf, strlen(buf)); | ^~~~~~~~~~~~~~ ../../src/utils/xml_libxml2.c:184:13: warning: assignment to 'xmlDocPtr' {aka 'struct _xmlDoc *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 184 | doc = xmlParseMemory(buf, strlen(buf)); | ^ ../../src/utils/xml_libxml2.c: In function 'xml_node_deinit_ctx': ../../src/utils/xml_libxml2.c:455:9: warning: 'xmlSchemaCleanupTypes' is deprecated [-Wdeprecated-declarations] 455 | xmlSchemaCleanupTypes(); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/utils/xml_libxml2.c:12: /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/include/libxml2/libxml/xmlschemastypes.h:37:17: note: declared here 37 | xmlSchemaCleanupTypes (void); | ^~~~~~~~~~~~~~~~~~~~~ ../../src/utils/xml_libxml2.c:456:9: warning: implicit declaration of function 'xmlCleanupParser' [-Wimplicit-function-declaration] 456 | xmlCleanupParser(); | ^~~~~~~~~~~~~~~~ make[4]: *** [: ../../src/utils/xml_libxml2.o] Error 1 make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a53_musl/hs20/hostapd-2020-06-08-5a8b3662/hs20/server' make[3]: *** [Makefile:151: /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a53_musl/hs20/hostapd-2020-06-08-5a8b3662/.built] Error 2 time: package/feeds/packages/hs20/compile#52.55#4.75#63.62