CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. Not searching for unused variables given on the command line. -- The CXX compiler identification is GNU 12.3.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_4kec_gcc-12.3.0_musl/bin/mips-openwrt-linux-musl-g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring done (1.0s) -- Generating done (0.0s) -- Build files have been written to: /builder/shared-workdir/build/sdk/build_dir/target-mips_4kec_musl/nginx-util-1.6 ninja: Entering directory `/builder/shared-workdir/build/sdk/build_dir/target-mips_4kec_musl/nginx-util-1.6' [1/4] Building CXX object CMakeFiles/nginx-ssl-util.dir/nginx-util.cpp.o FAILED: CMakeFiles/nginx-ssl-util.dir/nginx-util.cpp.o /builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_4kec_gcc-12.3.0_musl/bin/mips-openwrt-linux-musl-g++ -DVERSION=1.6 -Os -pipe -mno-branch-likely -mips32r2 -mtune=4kec -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips_4kec_musl/nginx-util-1.6=nginx-util-1.6 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wno-error=deprecated-declarations -mips16 -minterlink-mips16 -DNDEBUG -std=gnu++17 -Os -Wall -Werror -Wextra -g3 -Wno-unused-parameter -Wmissing-declarations -Wshadow -MD -MT CMakeFiles/nginx-ssl-util.dir/nginx-util.cpp.o -MF CMakeFiles/nginx-ssl-util.dir/nginx-util.cpp.o.d -o CMakeFiles/nginx-ssl-util.dir/nginx-util.cpp.o -c /builder/shared-workdir/build/sdk/build_dir/target-mips_4kec_musl/nginx-util-1.6/nginx-util.cpp In file included from /builder/shared-workdir/build/sdk/staging_dir/target-mips_4kec_musl/usr/include/libubus.h:24, from /builder/shared-workdir/build/sdk/build_dir/target-mips_4kec_musl/nginx-util-1.6/ubus-cxx.hpp:4, from /builder/shared-workdir/build/sdk/build_dir/target-mips_4kec_musl/nginx-util-1.6/nginx-util.hpp:19, from /builder/shared-workdir/build/sdk/build_dir/target-mips_4kec_musl/nginx-util-1.6/nginx-ssl-util.hpp:11, from /builder/shared-workdir/build/sdk/build_dir/target-mips_4kec_musl/nginx-util-1.6/nginx-util.cpp:4: /builder/shared-workdir/build/sdk/staging_dir/target-mips_4kec_musl/usr/include/libubox/uloop.h:101:10: error: expected ';' after union definition 101 | } private; | ^ | ; /builder/shared-workdir/build/sdk/staging_dir/target-mips_4kec_musl/usr/include/libubox/uloop.h:101:18: error: expected ':' before ';' token 101 | } private; | ^ | : In file included from /builder/shared-workdir/build/sdk/build_dir/target-mips_4kec_musl/nginx-util-1.6/nginx-ssl-util.hpp:12: /builder/shared-workdir/build/sdk/build_dir/target-mips_4kec_musl/nginx-util-1.6/px5g-openssl.hpp: In function 'EVP_PKEY_ptr gen_eckey(int)': /builder/shared-workdir/build/sdk/build_dir/target-mips_4kec_musl/nginx-util-1.6/px5g-openssl.hpp:94:29: warning: 'EC_KEY* EC_KEY_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 94 | auto* eckey = EC_KEY_new(); | ~~~~~~~~~~^~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-mips_4kec_musl/usr/include/openssl/x509.h:33, from /builder/shared-workdir/build/sdk/staging_dir/target-mips_4kec_musl/usr/include/openssl/pem.h:23, from /builder/shared-workdir/build/sdk/build_dir/target-mips_4kec_musl/nginx-util-1.6/px5g-openssl.hpp:8: /builder/shared-workdir/build/sdk/staging_dir/target-mips_4kec_musl/usr/include/openssl/ec.h:968:31: note: declared here 968 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void); | ^~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mips_4kec_musl/nginx-util-1.6/px5g-openssl.hpp:97:30: warning: 'int EC_KEY_set_group(EC_KEY*, const EC_GROUP*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 97 | if ((EC_KEY_set_group(eckey, group) == 0) || (EC_KEY_generate_key(eckey) == 0)) { | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-mips_4kec_musl/usr/include/openssl/ec.h:1042:27: note: declared here 1042 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group); | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mips_4kec_musl/nginx-util-1.6/px5g-openssl.hpp:97:74: warning: 'int EC_KEY_generate_key(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 97 | if ((EC_KEY_set_group(eckey, group) == 0) || (EC_KEY_generate_key(eckey) == 0)) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-mips_4kec_musl/usr/include/openssl/ec.h:1101:27: note: declared here 1101 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mips_4kec_musl/nginx-util-1.6/px5g-openssl.hpp:98:24: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 98 | EC_KEY_free(eckey); | ~~~~~~~~~~~^~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-mips_4kec_musl/usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mips_4kec_musl/nginx-util-1.6/px5g-openssl.hpp:117:20: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 117 | EC_KEY_free(eckey); | ~~~~~~~~~~~^~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-mips_4kec_musl/usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mips_4kec_musl/nginx-util-1.6/px5g-openssl.hpp: In function 'EVP_PKEY_ptr gen_rsakey(int, unsigned int)': /builder/shared-workdir/build/sdk/build_dir/target-mips_4kec_musl/nginx-util-1.6/px5g-openssl.hpp:142:24: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 142 | auto* rsa = RSA_new(); | ~~~~~~~^~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-mips_4kec_musl/usr/include/openssl/x509.h:36: /builder/shared-workdir/build/sdk/staging_dir/target-mips_4kec_musl/usr/include/openssl/rsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mips_4kec_musl/nginx-util-1.6/px5g-openssl.hpp:146:33: warning: 'int RSA_generate_key_ex(RSA*, int, BIGNUM*, BN_GENCB*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | (RSA_generate_key_ex(rsa, keysize, bignum, nullptr) == 0)) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-mips_4kec_musl/usr/include/openssl/rsa.h:260:27: note: declared here 260 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, | ^~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mips_4kec_musl/nginx-util-1.6/px5g-openssl.hpp:148:21: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 148 | RSA_free(rsa); | ~~~~~~~~^~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-mips_4kec_musl/usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mips_4kec_musl/nginx-util-1.6/px5g-openssl.hpp:168:17: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 168 | RSA_free(rsa); | ~~~~~~~~^~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-mips_4kec_musl/usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mips_4kec_musl/nginx-util-1.6/px5g-openssl.hpp: In function 'void write_key(const EVP_PKEY_ptr&, const std::string&, bool)': /builder/shared-workdir/build/sdk/build_dir/target-mips_4kec_musl/nginx-util-1.6/px5g-openssl.hpp:222:81: warning: 'const ec_key_st* EVP_PKEY_get0_EC_KEY(const EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 222 | len = use_pem ? PEM_write_bio_ECPrivateKey(bio, EVP_PKEY_get0_EC_KEY(key), nullptr, | ~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-mips_4kec_musl/usr/include/openssl/pem.h:22: /builder/shared-workdir/build/sdk/staging_dir/target-mips_4kec_musl/usr/include/openssl/evp.h:1374:25: note: declared here 1374 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mips_4kec_musl/nginx-util-1.6/px5g-openssl.hpp:222:55: warning: 'int PEM_write_bio_ECPrivateKey(BIO*, const EC_KEY*, const EVP_CIPHER*, const unsigned char*, int, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 222 | len = use_pem ? PEM_write_bio_ECPrivateKey(bio, EVP_PKEY_get0_EC_KEY(key), nullptr, | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 223 | nullptr, 0, nullptr, nullptr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-mips_4kec_musl/usr/include/openssl/pem.h:462:1: note: declared here 462 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY) | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mips_4kec_musl/nginx-util-1.6/px5g-openssl.hpp:224:75: warning: 'const ec_key_st* EVP_PKEY_get0_EC_KEY(const EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 224 | : i2d_ECPrivateKey_bio(bio, EVP_PKEY_get0_EC_KEY(key)); | ~~~~~~~~~~~~~~~~~~~~^~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-mips_4kec_musl/usr/include/openssl/evp.h:1374:25: note: declared here 1374 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mips_4kec_musl/nginx-util-1.6/px5g-openssl.hpp:224:49: warning: 'int i2d_ECPrivateKey_bio(BIO*, const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 224 | : i2d_ECPrivateKey_bio(bio, EVP_PKEY_get0_EC_KEY(key)); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-mips_4kec_musl/usr/include/openssl/x509.h:637:27: note: declared here 637 | OSSL_DEPRECATEDIN_3_0 int i2d_ECPrivateKey_bio(BIO *bp, const EC_KEY *eckey); | ^~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mips_4kec_musl/nginx-util-1.6/px5g-openssl.hpp:227:79: warning: 'const rsa_st* EVP_PKEY_get0_RSA(const EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 227 | len = use_pem ? PEM_write_bio_RSAPrivateKey(bio, EVP_PKEY_get0_RSA(key), nullptr, | ~~~~~~~~~~~~~~~~~^~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-mips_4kec_musl/usr/include/openssl/evp.h:1348:22: note: declared here 1348 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mips_4kec_musl/nginx-util-1.6/px5g-openssl.hpp:227:56: warning: 'int PEM_write_bio_RSAPrivateKey(BIO*, const RSA*, const EVP_CIPHER*, const unsigned char*, int, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 227 | len = use_pem ? PEM_write_bio_RSAPrivateKey(bio, EVP_PKEY_get0_RSA(key), nullptr, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | nullptr, 0, nullptr, nullptr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-mips_4kec_musl/usr/include/openssl/pem.h:447:1: note: declared here 447 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA) | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mips_4kec_musl/nginx-util-1.6/px5g-openssl.hpp:229:73: warning: 'const rsa_st* EVP_PKEY_get0_RSA(const EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 229 | : i2d_RSAPrivateKey_bio(bio, EVP_PKEY_get0_RSA(key)); | ~~~~~~~~~~~~~~~~~^~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-mips_4kec_musl/usr/include/openssl/evp.h:1348:22: note: declared here 1348 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mips_4kec_musl/nginx-util-1.6/px5g-openssl.hpp:229:50: warning: 'int i2d_RSAPrivateKey_bio(BIO*, const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 229 | : i2d_RSAPrivateKey_bio(bio, EVP_PKEY_get0_RSA(key)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-mips_4kec_musl/usr/include/openssl/x509.h:617:27: note: declared here 617 | OSSL_DEPRECATEDIN_3_0 int i2d_RSAPrivateKey_bio(BIO *bp, const RSA *rsa); | ^~~~~~~~~~~~~~~~~~~~~ ninja: build stopped: subcommand failed. make[3]: *** [Makefile:134: /builder/shared-workdir/build/sdk/build_dir/target-mips_4kec_musl/nginx-util-1.6/.built] Error 1 time: package/feeds/packages/nginx-util/compile#4.14#1.00#7.14