[Pkg-javascript-devel] Bug#1006246: nodejs: FTBFS with OpenSSL 3.0
Sebastian Andrzej Siewior
sebastian at breakpoint.cc
Mon Feb 21 21:20:29 GMT 2022
Source: nodejs
Version: 12.22.9~dfsg-1
Severity: important
Tags: bookworm sid
User: pkg-openssl-devel at lists.alioth.debian.org
Usertags: ftbfs-3.0
Your package is failing to build using OpenSSL 3.0 with the
following error:
| ../src/node_crypto.cc: In function ‘unsigned int node::crypto::GetBytesOfRS(const node::crypto::ManagedEVPPKey&)’:
| ../src/node_crypto.cc:4607:37: warning: ‘const dsa_st* EVP_PKEY_get0_DSA(const EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
| 4607 | DSA* dsa_key = EVP_PKEY_get0_DSA(pkey.get());
| | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
| In file included from /usr/include/openssl/x509.h:29,
| from /usr/include/openssl/ssl.h:31,
| from ../src/node_crypto.h:38,
| from ../src/node_crypto.cc:22:
| /usr/include/openssl/evp.h:1355:22: note: declared here
| 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey);
| | ^~~~~~~~~~~~~~~~~
| ../src/node_crypto.cc:4607:37: error: invalid conversion from ‘const dsa_st*’ to ‘DSA*’ {aka ‘dsa_st*’} [-fpermissive]
| 4607 | DSA* dsa_key = EVP_PKEY_get0_DSA(pkey.get());
| | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
| | |
| | const dsa_st*
| ../src/node_crypto.cc:4609:34: warning: ‘const BIGNUM* DSA_get0_q(const DSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
| 4609 | bits = BN_num_bits(DSA_get0_q(dsa_key));
| | ~~~~~~~~~~^~~~~~~~~
| In file included from /usr/include/openssl/x509.h:37,
| from /usr/include/openssl/ssl.h:31,
| from ../src/node_crypto.h:38,
| from ../src/node_crypto.cc:22:
| /usr/include/openssl/dsa.h:209:37: note: declared here
| 209 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *DSA_get0_q(const DSA *d);
| | ^~~~~~~~~~
| ../src/node_crypto.cc:4611:42: warning: ‘const ec_key_st* EVP_PKEY_get0_EC_KEY(const EVP_PKEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
| 4611 | EC_KEY* ec_key = EVP_PKEY_get0_EC_KEY(pkey.get());
| | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
| In file included from /usr/include/openssl/x509.h:29,
| from /usr/include/openssl/ssl.h:31,
| from ../src/node_crypto.h:38,
| from ../src/node_crypto.cc:22:
| /usr/include/openssl/evp.h:1372:25: note: declared here
| 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey);
| | ^~~~~~~~~~~~~~~~~~~~
| ../src/node_crypto.cc:4611:42: error: invalid conversion from ‘const ec_key_st*’ to ‘EC_KEY*’ {aka ‘ec_key_st*’} [-fpermissive]
| 4611 | EC_KEY* ec_key = EVP_PKEY_get0_EC_KEY(pkey.get());
| | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
| | |
| | const ec_key_st*
For more information see:
https://www.openssl.org/docs/man3.0/man7/migration_guide.html
Sebastian
More information about the Pkg-javascript-devel
mailing list