Closed apydo closed 1 year ago
Are you sure you have installed the libssl-dev package?
Yes, version 1.1.1n-0+deb11u5.
eiows compiles well with node 18.16.1. However I can see some deprecation warnings in the build log :
gyp info it worked if it ends with ok
gyp info using node-gyp@8.4.1
gyp info using node@18.16.1 | linux | x64
gyp info find Python using Python version 3.9.2 found at "/usr/bin/python3"
gyp info spawn /usr/bin/python3
gyp info spawn args [
gyp info spawn args '/content/n/d3/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/content/n/d3/node_modules/eiows/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/content/n/d3/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/home/user/.cache/node-gyp/18.16.1/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/home/user/.cache/node-gyp/18.16.1',
gyp info spawn args '-Dnode_gyp_dir=/content/n/d3/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/home/user/.cache/node-gyp/18.16.1/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/content/n/d3/node_modules/eiows',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.'
gyp info spawn args ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make : on entre dans le répertoire « /content/n/d3/node_modules/eiows/build »
CXX(target) Release/obj.target/eiows/nodejs/src/addon.o
In file included from ../nodejs/src/node/src/crypto/crypto_keys.h:6,
from ../nodejs/src/node/src/crypto/crypto_context.h:7,
from ../nodejs/src/node/src/crypto/crypto_tls.h:27,
from ../nodejs/src/addon.h:9,
from ../nodejs/src/addon.cpp:2:
../nodejs/src/node/src/crypto/crypto_util.h:66:37: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
66 | using RSAPointer = DeleteFnPtr<RSA, RSA_free>;
| ^~~~~~~~
In file included from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/x509.h:36,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/./x509_asm.h:11,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/x509.h:4,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/ssl.h:31,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/./ssl_asm.h:11,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/ssl.h:4,
from ../nodejs/src/../../uWebSockets/src/Networking.h:29,
from ../nodejs/src/../../uWebSockets/src/WebSocketProtocol.h:5,
from ../nodejs/src/../../uWebSockets/src/WebSocket.h:4,
from ../nodejs/src/../../uWebSockets/src/Group.h:4,
from ../nodejs/src/../../uWebSockets/src/Hub.h:4,
from ../nodejs/src/addon.cpp:1:
/home/user/.cache/node-gyp/18.16.1/include/node/openssl/rsa.h:293:28: note: declared here
293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
| ^~~~~~~~
In file included from ../nodejs/src/node/src/crypto/crypto_keys.h:6,
from ../nodejs/src/node/src/crypto/crypto_context.h:7,
from ../nodejs/src/node/src/crypto/crypto_tls.h:27,
from ../nodejs/src/addon.h:9,
from ../nodejs/src/addon.cpp:2:
../nodejs/src/node/src/crypto/crypto_util.h:66:45: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
66 | using RSAPointer = DeleteFnPtr<RSA, RSA_free>;
| ^
In file included from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/x509.h:36,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/./x509_asm.h:11,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/x509.h:4,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/ssl.h:31,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/./ssl_asm.h:11,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/ssl.h:4,
from ../nodejs/src/../../uWebSockets/src/Networking.h:29,
from ../nodejs/src/../../uWebSockets/src/WebSocketProtocol.h:5,
from ../nodejs/src/../../uWebSockets/src/WebSocket.h:4,
from ../nodejs/src/../../uWebSockets/src/Group.h:4,
from ../nodejs/src/../../uWebSockets/src/Hub.h:4,
from ../nodejs/src/addon.cpp:1:
/home/user/.cache/node-gyp/18.16.1/include/node/openssl/rsa.h:293:28: note: declared here
293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
| ^~~~~~~~
In file included from ../nodejs/src/node/src/crypto/crypto_keys.h:6,
from ../nodejs/src/node/src/crypto/crypto_context.h:7,
from ../nodejs/src/node/src/crypto/crypto_tls.h:27,
from ../nodejs/src/addon.h:9,
from ../nodejs/src/addon.cpp:2:
../nodejs/src/node/src/crypto/crypto_util.h:67:39: warning: ‘void EC_KEY_free(EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
67 | using ECPointer = DeleteFnPtr<EC_KEY, EC_KEY_free>;
| ^~~~~~~~~~~
In file included from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/x509.h:33,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/./x509_asm.h:11,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/x509.h:4,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/ssl.h:31,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/./ssl_asm.h:11,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/ssl.h:4,
from ../nodejs/src/../../uWebSockets/src/Networking.h:29,
from ../nodejs/src/../../uWebSockets/src/WebSocketProtocol.h:5,
from ../nodejs/src/../../uWebSockets/src/WebSocket.h:4,
from ../nodejs/src/../../uWebSockets/src/Group.h:4,
from ../nodejs/src/../../uWebSockets/src/Hub.h:4,
from ../nodejs/src/addon.cpp:1:
/home/user/.cache/node-gyp/18.16.1/include/node/openssl/ec.h:1003:28: note: declared here
1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
| ^~~~~~~~~~~
In file included from ../nodejs/src/node/src/crypto/crypto_keys.h:6,
from ../nodejs/src/node/src/crypto/crypto_context.h:7,
from ../nodejs/src/node/src/crypto/crypto_tls.h:27,
from ../nodejs/src/addon.h:9,
from ../nodejs/src/addon.cpp:2:
../nodejs/src/node/src/crypto/crypto_util.h:67:50: warning: ‘void EC_KEY_free(EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
67 | using ECPointer = DeleteFnPtr<EC_KEY, EC_KEY_free>;
| ^
In file included from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/x509.h:33,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/./x509_asm.h:11,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/x509.h:4,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/ssl.h:31,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/./ssl_asm.h:11,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/ssl.h:4,
from ../nodejs/src/../../uWebSockets/src/Networking.h:29,
from ../nodejs/src/../../uWebSockets/src/WebSocketProtocol.h:5,
from ../nodejs/src/../../uWebSockets/src/WebSocket.h:4,
from ../nodejs/src/../../uWebSockets/src/Group.h:4,
from ../nodejs/src/../../uWebSockets/src/Hub.h:4,
from ../nodejs/src/addon.cpp:1:
/home/user/.cache/node-gyp/18.16.1/include/node/openssl/ec.h:1003:28: note: declared here
1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
| ^~~~~~~~~~~
In file included from ../nodejs/src/node/src/crypto/crypto_keys.h:6,
from ../nodejs/src/node/src/crypto/crypto_context.h:7,
from ../nodejs/src/node/src/crypto/crypto_tls.h:27,
from ../nodejs/src/addon.h:9,
from ../nodejs/src/addon.cpp:2:
../nodejs/src/node/src/crypto/crypto_util.h:73:42: warning: ‘void EC_KEY_free(EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
73 | using ECKeyPointer = DeleteFnPtr<EC_KEY, EC_KEY_free>;
| ^~~~~~~~~~~
In file included from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/x509.h:33,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/./x509_asm.h:11,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/x509.h:4,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/ssl.h:31,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/./ssl_asm.h:11,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/ssl.h:4,
from ../nodejs/src/../../uWebSockets/src/Networking.h:29,
from ../nodejs/src/../../uWebSockets/src/WebSocketProtocol.h:5,
from ../nodejs/src/../../uWebSockets/src/WebSocket.h:4,
from ../nodejs/src/../../uWebSockets/src/Group.h:4,
from ../nodejs/src/../../uWebSockets/src/Hub.h:4,
from ../nodejs/src/addon.cpp:1:
/home/user/.cache/node-gyp/18.16.1/include/node/openssl/ec.h:1003:28: note: declared here
1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
| ^~~~~~~~~~~
In file included from ../nodejs/src/node/src/crypto/crypto_keys.h:6,
from ../nodejs/src/node/src/crypto/crypto_context.h:7,
from ../nodejs/src/node/src/crypto/crypto_tls.h:27,
from ../nodejs/src/addon.h:9,
from ../nodejs/src/addon.cpp:2:
../nodejs/src/node/src/crypto/crypto_util.h:73:53: warning: ‘void EC_KEY_free(EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
73 | using ECKeyPointer = DeleteFnPtr<EC_KEY, EC_KEY_free>;
| ^
In file included from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/x509.h:33,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/./x509_asm.h:11,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/x509.h:4,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/ssl.h:31,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/./ssl_asm.h:11,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/ssl.h:4,
from ../nodejs/src/../../uWebSockets/src/Networking.h:29,
from ../nodejs/src/../../uWebSockets/src/WebSocketProtocol.h:5,
from ../nodejs/src/../../uWebSockets/src/WebSocket.h:4,
from ../nodejs/src/../../uWebSockets/src/Group.h:4,
from ../nodejs/src/../../uWebSockets/src/Hub.h:4,
from ../nodejs/src/addon.cpp:1:
/home/user/.cache/node-gyp/18.16.1/include/node/openssl/ec.h:1003:28: note: declared here
1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
| ^~~~~~~~~~~
In file included from ../nodejs/src/node/src/crypto/crypto_keys.h:6,
from ../nodejs/src/node/src/crypto/crypto_context.h:7,
from ../nodejs/src/node/src/crypto/crypto_tls.h:27,
from ../nodejs/src/addon.h:9,
from ../nodejs/src/addon.cpp:2:
../nodejs/src/node/src/crypto/crypto_util.h:74:35: warning: ‘void DH_free(DH*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
74 | using DHPointer = DeleteFnPtr<DH, DH_free>;
| ^~~~~~~
In file included from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/dsa.h:51,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/x509.h:37,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/./x509_asm.h:11,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/x509.h:4,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/ssl.h:31,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/./ssl_asm.h:11,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/ssl.h:4,
from ../nodejs/src/../../uWebSockets/src/Networking.h:29,
from ../nodejs/src/../../uWebSockets/src/WebSocketProtocol.h:5,
from ../nodejs/src/../../uWebSockets/src/WebSocket.h:4,
from ../nodejs/src/../../uWebSockets/src/Group.h:4,
from ../nodejs/src/../../uWebSockets/src/Hub.h:4,
from ../nodejs/src/addon.cpp:1:
/home/user/.cache/node-gyp/18.16.1/include/node/openssl/dh.h:200:28: note: declared here
200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
| ^~~~~~~
In file included from ../nodejs/src/node/src/crypto/crypto_keys.h:6,
from ../nodejs/src/node/src/crypto/crypto_context.h:7,
from ../nodejs/src/node/src/crypto/crypto_tls.h:27,
from ../nodejs/src/addon.h:9,
from ../nodejs/src/addon.cpp:2:
../nodejs/src/node/src/crypto/crypto_util.h:74:42: warning: ‘void DH_free(DH*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
74 | using DHPointer = DeleteFnPtr<DH, DH_free>;
| ^
In file included from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/dsa.h:51,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/x509.h:37,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/./x509_asm.h:11,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/x509.h:4,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/ssl.h:31,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/./ssl_asm.h:11,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/ssl.h:4,
from ../nodejs/src/../../uWebSockets/src/Networking.h:29,
from ../nodejs/src/../../uWebSockets/src/WebSocketProtocol.h:5,
from ../nodejs/src/../../uWebSockets/src/WebSocket.h:4,
from ../nodejs/src/../../uWebSockets/src/Group.h:4,
from ../nodejs/src/../../uWebSockets/src/Hub.h:4,
from ../nodejs/src/addon.cpp:1:
/home/user/.cache/node-gyp/18.16.1/include/node/openssl/dh.h:200:28: note: declared here
200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
| ^~~~~~~
In file included from ../nodejs/src/node/src/crypto/crypto_keys.h:6,
from ../nodejs/src/node/src/crypto/crypto_context.h:7,
from ../nodejs/src/node/src/crypto/crypto_tls.h:27,
from ../nodejs/src/addon.h:9,
from ../nodejs/src/addon.cpp:2:
../nodejs/src/node/src/crypto/crypto_util.h:76:46: warning: ‘void HMAC_CTX_free(HMAC_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
76 | using HMACCtxPointer = DeleteFnPtr<HMAC_CTX, HMAC_CTX_free>;
| ^~~~~~~~~~~~~
In file included from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/ssl.h:37,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/./ssl_asm.h:11,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/ssl.h:4,
from ../nodejs/src/../../uWebSockets/src/Networking.h:29,
from ../nodejs/src/../../uWebSockets/src/WebSocketProtocol.h:5,
from ../nodejs/src/../../uWebSockets/src/WebSocket.h:4,
from ../nodejs/src/../../uWebSockets/src/Group.h:4,
from ../nodejs/src/../../uWebSockets/src/Hub.h:4,
from ../nodejs/src/addon.cpp:1:
/home/user/.cache/node-gyp/18.16.1/include/node/openssl/hmac.h:35:28: note: declared here
35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx);
| ^~~~~~~~~~~~~
In file included from ../nodejs/src/node/src/crypto/crypto_keys.h:6,
from ../nodejs/src/node/src/crypto/crypto_context.h:7,
from ../nodejs/src/node/src/crypto/crypto_tls.h:27,
from ../nodejs/src/addon.h:9,
from ../nodejs/src/addon.cpp:2:
../nodejs/src/node/src/crypto/crypto_util.h:76:59: warning: ‘void HMAC_CTX_free(HMAC_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
76 | using HMACCtxPointer = DeleteFnPtr<HMAC_CTX, HMAC_CTX_free>;
| ^
In file included from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/ssl.h:37,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/./ssl_asm.h:11,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/ssl.h:4,
from ../nodejs/src/../../uWebSockets/src/Networking.h:29,
from ../nodejs/src/../../uWebSockets/src/WebSocketProtocol.h:5,
from ../nodejs/src/../../uWebSockets/src/WebSocket.h:4,
from ../nodejs/src/../../uWebSockets/src/Group.h:4,
from ../nodejs/src/../../uWebSockets/src/Hub.h:4,
from ../nodejs/src/addon.cpp:1:
/home/user/.cache/node-gyp/18.16.1/include/node/openssl/hmac.h:35:28: note: declared here
35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx);
| ^~~~~~~~~~~~~
In file included from ../nodejs/src/node/src/crypto/crypto_keys.h:6,
from ../nodejs/src/node/src/crypto/crypto_context.h:7,
from ../nodejs/src/node/src/crypto/crypto_tls.h:27,
from ../nodejs/src/addon.h:9,
from ../nodejs/src/addon.cpp:2:
../nodejs/src/node/src/crypto/crypto_util.h:78:37: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
78 | using RsaPointer = DeleteFnPtr<RSA, RSA_free>;
| ^~~~~~~~
In file included from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/x509.h:36,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/./x509_asm.h:11,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/x509.h:4,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/ssl.h:31,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/./ssl_asm.h:11,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/ssl.h:4,
from ../nodejs/src/../../uWebSockets/src/Networking.h:29,
from ../nodejs/src/../../uWebSockets/src/WebSocketProtocol.h:5,
from ../nodejs/src/../../uWebSockets/src/WebSocket.h:4,
from ../nodejs/src/../../uWebSockets/src/Group.h:4,
from ../nodejs/src/../../uWebSockets/src/Hub.h:4,
from ../nodejs/src/addon.cpp:1:
/home/user/.cache/node-gyp/18.16.1/include/node/openssl/rsa.h:293:28: note: declared here
293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
| ^~~~~~~~
In file included from ../nodejs/src/node/src/crypto/crypto_keys.h:6,
from ../nodejs/src/node/src/crypto/crypto_context.h:7,
from ../nodejs/src/node/src/crypto/crypto_tls.h:27,
from ../nodejs/src/addon.h:9,
from ../nodejs/src/addon.cpp:2:
../nodejs/src/node/src/crypto/crypto_util.h:78:45: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
78 | using RsaPointer = DeleteFnPtr<RSA, RSA_free>;
| ^
In file included from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/x509.h:36,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/./x509_asm.h:11,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/x509.h:4,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/ssl.h:31,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/./ssl_asm.h:11,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/ssl.h:4,
from ../nodejs/src/../../uWebSockets/src/Networking.h:29,
from ../nodejs/src/../../uWebSockets/src/WebSocketProtocol.h:5,
from ../nodejs/src/../../uWebSockets/src/WebSocket.h:4,
from ../nodejs/src/../../uWebSockets/src/Group.h:4,
from ../nodejs/src/../../uWebSockets/src/Hub.h:4,
from ../nodejs/src/addon.cpp:1:
/home/user/.cache/node-gyp/18.16.1/include/node/openssl/rsa.h:293:28: note: declared here
293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
| ^~~~~~~~
In file included from ../nodejs/src/node/src/crypto/crypto_keys.h:6,
from ../nodejs/src/node/src/crypto/crypto_context.h:7,
from ../nodejs/src/node/src/crypto/crypto_tls.h:27,
from ../nodejs/src/addon.h:9,
from ../nodejs/src/addon.cpp:2:
../nodejs/src/node/src/crypto/crypto_util.h:79:37: warning: ‘void DSA_free(DSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
79 | using DsaPointer = DeleteFnPtr<DSA, DSA_free>;
| ^~~~~~~~
In file included from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/x509.h:37,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/./x509_asm.h:11,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/x509.h:4,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/ssl.h:31,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/./ssl_asm.h:11,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/ssl.h:4,
from ../nodejs/src/../../uWebSockets/src/Networking.h:29,
from ../nodejs/src/../../uWebSockets/src/WebSocketProtocol.h:5,
from ../nodejs/src/../../uWebSockets/src/WebSocket.h:4,
from ../nodejs/src/../../uWebSockets/src/Group.h:4,
from ../nodejs/src/../../uWebSockets/src/Hub.h:4,
from ../nodejs/src/addon.cpp:1:
/home/user/.cache/node-gyp/18.16.1/include/node/openssl/dsa.h:127:28: note: declared here
127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r);
| ^~~~~~~~
In file included from ../nodejs/src/node/src/crypto/crypto_keys.h:6,
from ../nodejs/src/node/src/crypto/crypto_context.h:7,
from ../nodejs/src/node/src/crypto/crypto_tls.h:27,
from ../nodejs/src/addon.h:9,
from ../nodejs/src/addon.cpp:2:
../nodejs/src/node/src/crypto/crypto_util.h:79:45: warning: ‘void DSA_free(DSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
79 | using DsaPointer = DeleteFnPtr<DSA, DSA_free>;
| ^
In file included from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/x509.h:37,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/./x509_asm.h:11,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/x509.h:4,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/ssl.h:31,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/./ssl_asm.h:11,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/ssl.h:4,
from ../nodejs/src/../../uWebSockets/src/Networking.h:29,
from ../nodejs/src/../../uWebSockets/src/WebSocketProtocol.h:5,
from ../nodejs/src/../../uWebSockets/src/WebSocket.h:4,
from ../nodejs/src/../../uWebSockets/src/Group.h:4,
from ../nodejs/src/../../uWebSockets/src/Hub.h:4,
from ../nodejs/src/addon.cpp:1:
/home/user/.cache/node-gyp/18.16.1/include/node/openssl/dsa.h:127:28: note: declared here
127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r);
| ^~~~~~~~
In file included from ../nodejs/src/node/src/util-inl.h:30,
from ../nodejs/src/node/src/aliased_buffer.h:7,
from ../nodejs/src/node/src/memory_tracker.h:5,
from ../nodejs/src/node/src/base_object.h:28,
from ../nodejs/src/node/src/crypto/crypto_context.h:6,
from ../nodejs/src/node/src/crypto/crypto_tls.h:27,
from ../nodejs/src/addon.h:9,
from ../nodejs/src/addon.cpp:2:
../nodejs/src/node/src/crypto/crypto_util.h: In member function ‘void node::crypto::EnginePointer::reset(ENGINE*, bool)’:
../nodejs/src/node/src/crypto/crypto_util.h:583:38: warning: ‘int ENGINE_finish(ENGINE*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
583 | CHECK_EQ(ENGINE_finish(engine), 1);
| ^
../nodejs/src/node/src/util.h:140:44: note: in definition of macro ‘UNLIKELY’
140 | #define UNLIKELY(expr) __builtin_expect(!!(expr), 0)
| ^~~~
../nodejs/src/node/src/util.h:158:24: note: in expansion of macro ‘CHECK’
158 | #define CHECK_EQ(a, b) CHECK((a) == (b))
| ^~~~~
../nodejs/src/node/src/crypto/crypto_util.h:583:9: note: in expansion of macro ‘CHECK_EQ’
583 | CHECK_EQ(ENGINE_finish(engine), 1);
| ^~~~~~~~
In file included from ../nodejs/src/node/src/crypto/crypto_util.h:24,
from ../nodejs/src/node/src/crypto/crypto_keys.h:6,
from ../nodejs/src/node/src/crypto/crypto_context.h:7,
from ../nodejs/src/node/src/crypto/crypto_tls.h:27,
from ../nodejs/src/addon.h:9,
from ../nodejs/src/addon.cpp:2:
/home/user/.cache/node-gyp/18.16.1/include/node/openssl/engine.h:628:27: note: declared here
628 | OSSL_DEPRECATEDIN_3_0 int ENGINE_finish(ENGINE *e);
| ^~~~~~~~~~~~~
In file included from ../nodejs/src/node/src/util-inl.h:30,
from ../nodejs/src/node/src/aliased_buffer.h:7,
from ../nodejs/src/node/src/memory_tracker.h:5,
from ../nodejs/src/node/src/base_object.h:28,
from ../nodejs/src/node/src/crypto/crypto_context.h:6,
from ../nodejs/src/node/src/crypto/crypto_tls.h:27,
from ../nodejs/src/addon.h:9,
from ../nodejs/src/addon.cpp:2:
../nodejs/src/node/src/crypto/crypto_util.h:585:36: warning: ‘int ENGINE_free(ENGINE*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
585 | CHECK_EQ(ENGINE_free(engine), 1);
| ^
../nodejs/src/node/src/util.h:140:44: note: in definition of macro ‘UNLIKELY’
140 | #define UNLIKELY(expr) __builtin_expect(!!(expr), 0)
| ^~~~
../nodejs/src/node/src/util.h:158:24: note: in expansion of macro ‘CHECK’
158 | #define CHECK_EQ(a, b) CHECK((a) == (b))
| ^~~~~
../nodejs/src/node/src/crypto/crypto_util.h:585:9: note: in expansion of macro ‘CHECK_EQ’
585 | CHECK_EQ(ENGINE_free(engine), 1);
| ^~~~~~~~
In file included from ../nodejs/src/node/src/crypto/crypto_util.h:24,
from ../nodejs/src/node/src/crypto/crypto_keys.h:6,
from ../nodejs/src/node/src/crypto/crypto_context.h:7,
from ../nodejs/src/node/src/crypto/crypto_tls.h:27,
from ../nodejs/src/addon.h:9,
from ../nodejs/src/addon.cpp:2:
/home/user/.cache/node-gyp/18.16.1/include/node/openssl/engine.h:493:27: note: declared here
493 | OSSL_DEPRECATEDIN_3_0 int ENGINE_free(ENGINE *e);
| ^~~~~~~~~~~
CXX(target) Release/obj.target/eiows/uWebSockets/src/Extensions.o
CXX(target) Release/obj.target/eiows/uWebSockets/src/Group.o
CXX(target) Release/obj.target/eiows/uWebSockets/src/Networking.o
CXX(target) Release/obj.target/eiows/uWebSockets/src/Hub.o
CXX(target) Release/obj.target/eiows/uWebSockets/src/Node.o
CXX(target) Release/obj.target/eiows/uWebSockets/src/WebSocket.o
CXX(target) Release/obj.target/eiows/uWebSockets/src/Socket.o
SOLINK_MODULE(target) Release/obj.target/eiows.node
COPY Release/eiows.node
ACTION binding_gyp_action_after_build_target_move_lib eiows
TOUCH Release/obj.target/action_after_build.stamp
make : on quitte le répertoire « /content/n/d3/node_modules/eiows/build »
gyp info ok
I will double check on Debian 12 as well...
Which eiows version do you use?Op 19 jul. 2023 om 13:24 heeft Artur @.> het volgende geschreven:
Yes, version 1.1.1n-0+deb11u5.
eiows compiles well with node 18.16.1. However I can see some deprecation warnings in the build log :
gyp info it worked if it ends with ok
gyp info using @.
gyp info using @.** | linux | x64
gyp info find Python using Python version 3.9.2 found at "/usr/bin/python3"
gyp info spawn /usr/bin/python3
gyp info spawn args [
gyp info spawn args '/content/n/d3/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/content/n/d3/node_modules/eiows/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/content/n/d3/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/home/user/.cache/node-gyp/18.16.1/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/home/user/.cache/node-gyp/18.16.1',
gyp info spawn args '-Dnode_gyp_dir=/content/n/d3/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/home/user/.cache/node-gyp/18.16.1/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/content/n/d3/node_modules/eiows',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.'
gyp info spawn args ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make : on entre dans le répertoire « /content/n/d3/node_modules/eiows/build »
CXX(target) Release/obj.target/eiows/nodejs/src/addon.o
In file included from ../nodejs/src/node/src/crypto/crypto_keys.h:6,
from ../nodejs/src/node/src/crypto/crypto_context.h:7,
from ../nodejs/src/node/src/crypto/crypto_tls.h:27,
from ../nodejs/src/addon.h:9,
from ../nodejs/src/addon.cpp:2:
../nodejs/src/node/src/crypto/crypto_util.h:66:37: warning: ‘void RSA_free(RSA)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
66 | using RSAPointer = DeleteFnPtr<RSA, RSA_free>;
| ^~~~
In file included from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/x509.h:36,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/./x509_asm.h:11,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/x509.h:4,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/ssl.h:31,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/./ssl_asm.h:11,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/ssl.h:4,
from ../nodejs/src/../../uWebSockets/src/Networking.h:29,
from ../nodejs/src/../../uWebSockets/src/WebSocketProtocol.h:5,
from ../nodejs/src/../../uWebSockets/src/WebSocket.h:4,
from ../nodejs/src/../../uWebSockets/src/Group.h:4,
from ../nodejs/src/../../uWebSockets/src/Hub.h:4,
from ../nodejs/src/addon.cpp:1:
/home/user/.cache/node-gyp/18.16.1/include/node/openssl/rsa.h:293:28: note: declared here
293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA r);
| ^~~~
In file included from ../nodejs/src/node/src/crypto/crypto_keys.h:6,
from ../nodejs/src/node/src/crypto/crypto_context.h:7,
from ../nodejs/src/node/src/crypto/crypto_tls.h:27,
from ../nodejs/src/addon.h:9,
from ../nodejs/src/addon.cpp:2:
../nodejs/src/node/src/crypto/crypto_util.h:66:45: warning: ‘void RSA_free(RSA)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
66 | using RSAPointer = DeleteFnPtr<RSA, RSA_free>;
| ^
In file included from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/x509.h:36,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/./x509_asm.h:11,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/x509.h:4,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/ssl.h:31,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/./ssl_asm.h:11,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/ssl.h:4,
from ../nodejs/src/../../uWebSockets/src/Networking.h:29,
from ../nodejs/src/../../uWebSockets/src/WebSocketProtocol.h:5,
from ../nodejs/src/../../uWebSockets/src/WebSocket.h:4,
from ../nodejs/src/../../uWebSockets/src/Group.h:4,
from ../nodejs/src/../../uWebSockets/src/Hub.h:4,
from ../nodejs/src/addon.cpp:1:
/home/user/.cache/node-gyp/18.16.1/include/node/openssl/rsa.h:293:28: note: declared here
293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA r);
| ^~~~
In file included from ../nodejs/src/node/src/crypto/crypto_keys.h:6,
from ../nodejs/src/node/src/crypto/crypto_context.h:7,
from ../nodejs/src/node/src/crypto/crypto_tls.h:27,
from ../nodejs/src/addon.h:9,
from ../nodejs/src/addon.cpp:2:
../nodejs/src/node/src/crypto/crypto_util.h:67:39: warning: ‘void EC_KEY_free(EC_KEY)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
67 | using ECPointer = DeleteFnPtr<EC_KEY, EC_KEY_free>;
| ^~~
In file included from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/x509.h:33,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/./x509_asm.h:11,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/x509.h:4,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/ssl.h:31,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/./ssl_asm.h:11,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/ssl.h:4,
from ../nodejs/src/../../uWebSockets/src/Networking.h:29,
from ../nodejs/src/../../uWebSockets/src/WebSocketProtocol.h:5,
from ../nodejs/src/../../uWebSockets/src/WebSocket.h:4,
from ../nodejs/src/../../uWebSockets/src/Group.h:4,
from ../nodejs/src/../../uWebSockets/src/Hub.h:4,
from ../nodejs/src/addon.cpp:1:
/home/user/.cache/node-gyp/18.16.1/include/node/openssl/ec.h:1003:28: note: declared here
1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY key);
| ^~~
In file included from ../nodejs/src/node/src/crypto/crypto_keys.h:6,
from ../nodejs/src/node/src/crypto/crypto_context.h:7,
from ../nodejs/src/node/src/crypto/crypto_tls.h:27,
from ../nodejs/src/addon.h:9,
from ../nodejs/src/addon.cpp:2:
../nodejs/src/node/src/crypto/crypto_util.h:67:50: warning: ‘void EC_KEY_free(EC_KEY)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
67 | using ECPointer = DeleteFnPtr<EC_KEY, EC_KEY_free>;
| ^
In file included from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/x509.h:33,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/./x509_asm.h:11,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/x509.h:4,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/ssl.h:31,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/./ssl_asm.h:11,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/ssl.h:4,
from ../nodejs/src/../../uWebSockets/src/Networking.h:29,
from ../nodejs/src/../../uWebSockets/src/WebSocketProtocol.h:5,
from ../nodejs/src/../../uWebSockets/src/WebSocket.h:4,
from ../nodejs/src/../../uWebSockets/src/Group.h:4,
from ../nodejs/src/../../uWebSockets/src/Hub.h:4,
from ../nodejs/src/addon.cpp:1:
/home/user/.cache/node-gyp/18.16.1/include/node/openssl/ec.h:1003:28: note: declared here
1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY key);
| ^~~
In file included from ../nodejs/src/node/src/crypto/crypto_keys.h:6,
from ../nodejs/src/node/src/crypto/crypto_context.h:7,
from ../nodejs/src/node/src/crypto/crypto_tls.h:27,
from ../nodejs/src/addon.h:9,
from ../nodejs/src/addon.cpp:2:
../nodejs/src/node/src/crypto/crypto_util.h:73:42: warning: ‘void EC_KEY_free(EC_KEY)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
73 | using ECKeyPointer = DeleteFnPtr<EC_KEY, EC_KEY_free>;
| ^~~
In file included from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/x509.h:33,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/./x509_asm.h:11,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/x509.h:4,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/ssl.h:31,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/./ssl_asm.h:11,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/ssl.h:4,
from ../nodejs/src/../../uWebSockets/src/Networking.h:29,
from ../nodejs/src/../../uWebSockets/src/WebSocketProtocol.h:5,
from ../nodejs/src/../../uWebSockets/src/WebSocket.h:4,
from ../nodejs/src/../../uWebSockets/src/Group.h:4,
from ../nodejs/src/../../uWebSockets/src/Hub.h:4,
from ../nodejs/src/addon.cpp:1:
/home/user/.cache/node-gyp/18.16.1/include/node/openssl/ec.h:1003:28: note: declared here
1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY key);
| ^~~
In file included from ../nodejs/src/node/src/crypto/crypto_keys.h:6,
from ../nodejs/src/node/src/crypto/crypto_context.h:7,
from ../nodejs/src/node/src/crypto/crypto_tls.h:27,
from ../nodejs/src/addon.h:9,
from ../nodejs/src/addon.cpp:2:
../nodejs/src/node/src/crypto/crypto_util.h:73:53: warning: ‘void EC_KEY_free(EC_KEY)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
73 | using ECKeyPointer = DeleteFnPtr<EC_KEY, EC_KEY_free>;
| ^
In file included from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/x509.h:33,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/./x509_asm.h:11,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/x509.h:4,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/ssl.h:31,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/./ssl_asm.h:11,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/ssl.h:4,
from ../nodejs/src/../../uWebSockets/src/Networking.h:29,
from ../nodejs/src/../../uWebSockets/src/WebSocketProtocol.h:5,
from ../nodejs/src/../../uWebSockets/src/WebSocket.h:4,
from ../nodejs/src/../../uWebSockets/src/Group.h:4,
from ../nodejs/src/../../uWebSockets/src/Hub.h:4,
from ../nodejs/src/addon.cpp:1:
/home/user/.cache/node-gyp/18.16.1/include/node/openssl/ec.h:1003:28: note: declared here
1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY key);
| ^~~
In file included from ../nodejs/src/node/src/crypto/crypto_keys.h:6,
from ../nodejs/src/node/src/crypto/crypto_context.h:7,
from ../nodejs/src/node/src/crypto/crypto_tls.h:27,
from ../nodejs/src/addon.h:9,
from ../nodejs/src/addon.cpp:2:
../nodejs/src/node/src/crypto/crypto_util.h:74:35: warning: ‘void DH_free(DH)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
74 | using DHPointer = DeleteFnPtr<DH, DH_free>;
| ^~~
In file included from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/dsa.h:51,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/x509.h:37,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/./x509_asm.h:11,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/x509.h:4,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/ssl.h:31,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/./ssl_asm.h:11,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/ssl.h:4,
from ../nodejs/src/../../uWebSockets/src/Networking.h:29,
from ../nodejs/src/../../uWebSockets/src/WebSocketProtocol.h:5,
from ../nodejs/src/../../uWebSockets/src/WebSocket.h:4,
from ../nodejs/src/../../uWebSockets/src/Group.h:4,
from ../nodejs/src/../../uWebSockets/src/Hub.h:4,
from ../nodejs/src/addon.cpp:1:
/home/user/.cache/node-gyp/18.16.1/include/node/openssl/dh.h:200:28: note: declared here
200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH dh);
| ^~~
In file included from ../nodejs/src/node/src/crypto/crypto_keys.h:6,
from ../nodejs/src/node/src/crypto/crypto_context.h:7,
from ../nodejs/src/node/src/crypto/crypto_tls.h:27,
from ../nodejs/src/addon.h:9,
from ../nodejs/src/addon.cpp:2:
../nodejs/src/node/src/crypto/crypto_util.h:74:42: warning: ‘void DH_free(DH)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
74 | using DHPointer = DeleteFnPtr<DH, DH_free>;
| ^
In file included from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/dsa.h:51,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/x509.h:37,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/./x509_asm.h:11,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/x509.h:4,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/ssl.h:31,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/./ssl_asm.h:11,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/ssl.h:4,
from ../nodejs/src/../../uWebSockets/src/Networking.h:29,
from ../nodejs/src/../../uWebSockets/src/WebSocketProtocol.h:5,
from ../nodejs/src/../../uWebSockets/src/WebSocket.h:4,
from ../nodejs/src/../../uWebSockets/src/Group.h:4,
from ../nodejs/src/../../uWebSockets/src/Hub.h:4,
from ../nodejs/src/addon.cpp:1:
/home/user/.cache/node-gyp/18.16.1/include/node/openssl/dh.h:200:28: note: declared here
200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH dh);
| ^~~
In file included from ../nodejs/src/node/src/crypto/crypto_keys.h:6,
from ../nodejs/src/node/src/crypto/crypto_context.h:7,
from ../nodejs/src/node/src/crypto/crypto_tls.h:27,
from ../nodejs/src/addon.h:9,
from ../nodejs/src/addon.cpp:2:
../nodejs/src/node/src/crypto/crypto_util.h:76:46: warning: ‘void HMAC_CTX_free(HMAC_CTX)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
76 | using HMACCtxPointer = DeleteFnPtr<HMAC_CTX, HMAC_CTX_free>;
| ^~~~~
In file included from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/ssl.h:37,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/./ssl_asm.h:11,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/ssl.h:4,
from ../nodejs/src/../../uWebSockets/src/Networking.h:29,
from ../nodejs/src/../../uWebSockets/src/WebSocketProtocol.h:5,
from ../nodejs/src/../../uWebSockets/src/WebSocket.h:4,
from ../nodejs/src/../../uWebSockets/src/Group.h:4,
from ../nodejs/src/../../uWebSockets/src/Hub.h:4,
from ../nodejs/src/addon.cpp:1:
/home/user/.cache/node-gyp/18.16.1/include/node/openssl/hmac.h:35:28: note: declared here
35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX ctx);
| ^~~~~
In file included from ../nodejs/src/node/src/crypto/crypto_keys.h:6,
from ../nodejs/src/node/src/crypto/crypto_context.h:7,
from ../nodejs/src/node/src/crypto/crypto_tls.h:27,
from ../nodejs/src/addon.h:9,
from ../nodejs/src/addon.cpp:2:
../nodejs/src/node/src/crypto/crypto_util.h:76:59: warning: ‘void HMAC_CTX_free(HMAC_CTX)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
76 | using HMACCtxPointer = DeleteFnPtr<HMAC_CTX, HMAC_CTX_free>;
| ^
In file included from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/ssl.h:37,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/./ssl_asm.h:11,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/ssl.h:4,
from ../nodejs/src/../../uWebSockets/src/Networking.h:29,
from ../nodejs/src/../../uWebSockets/src/WebSocketProtocol.h:5,
from ../nodejs/src/../../uWebSockets/src/WebSocket.h:4,
from ../nodejs/src/../../uWebSockets/src/Group.h:4,
from ../nodejs/src/../../uWebSockets/src/Hub.h:4,
from ../nodejs/src/addon.cpp:1:
/home/user/.cache/node-gyp/18.16.1/include/node/openssl/hmac.h:35:28: note: declared here
35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX ctx);
| ^~~~~
In file included from ../nodejs/src/node/src/crypto/crypto_keys.h:6,
from ../nodejs/src/node/src/crypto/crypto_context.h:7,
from ../nodejs/src/node/src/crypto/crypto_tls.h:27,
from ../nodejs/src/addon.h:9,
from ../nodejs/src/addon.cpp:2:
../nodejs/src/node/src/crypto/crypto_util.h:78:37: warning: ‘void RSA_free(RSA)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
78 | using RsaPointer = DeleteFnPtr<RSA, RSA_free>;
| ^~~~
In file included from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/x509.h:36,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/./x509_asm.h:11,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/x509.h:4,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/ssl.h:31,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/./ssl_asm.h:11,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/ssl.h:4,
from ../nodejs/src/../../uWebSockets/src/Networking.h:29,
from ../nodejs/src/../../uWebSockets/src/WebSocketProtocol.h:5,
from ../nodejs/src/../../uWebSockets/src/WebSocket.h:4,
from ../nodejs/src/../../uWebSockets/src/Group.h:4,
from ../nodejs/src/../../uWebSockets/src/Hub.h:4,
from ../nodejs/src/addon.cpp:1:
/home/user/.cache/node-gyp/18.16.1/include/node/openssl/rsa.h:293:28: note: declared here
293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA r);
| ^~~~
In file included from ../nodejs/src/node/src/crypto/crypto_keys.h:6,
from ../nodejs/src/node/src/crypto/crypto_context.h:7,
from ../nodejs/src/node/src/crypto/crypto_tls.h:27,
from ../nodejs/src/addon.h:9,
from ../nodejs/src/addon.cpp:2:
../nodejs/src/node/src/crypto/crypto_util.h:78:45: warning: ‘void RSA_free(RSA)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
78 | using RsaPointer = DeleteFnPtr<RSA, RSA_free>;
| ^
In file included from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/x509.h:36,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/./x509_asm.h:11,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/x509.h:4,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/ssl.h:31,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/./ssl_asm.h:11,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/ssl.h:4,
from ../nodejs/src/../../uWebSockets/src/Networking.h:29,
from ../nodejs/src/../../uWebSockets/src/WebSocketProtocol.h:5,
from ../nodejs/src/../../uWebSockets/src/WebSocket.h:4,
from ../nodejs/src/../../uWebSockets/src/Group.h:4,
from ../nodejs/src/../../uWebSockets/src/Hub.h:4,
from ../nodejs/src/addon.cpp:1:
/home/user/.cache/node-gyp/18.16.1/include/node/openssl/rsa.h:293:28: note: declared here
293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA r);
| ^~~~
In file included from ../nodejs/src/node/src/crypto/crypto_keys.h:6,
from ../nodejs/src/node/src/crypto/crypto_context.h:7,
from ../nodejs/src/node/src/crypto/crypto_tls.h:27,
from ../nodejs/src/addon.h:9,
from ../nodejs/src/addon.cpp:2:
../nodejs/src/node/src/crypto/crypto_util.h:79:37: warning: ‘void DSA_free(DSA)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
79 | using DsaPointer = DeleteFnPtr<DSA, DSA_free>;
| ^~~~
In file included from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/x509.h:37,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/./x509_asm.h:11,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/x509.h:4,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/ssl.h:31,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/./ssl_asm.h:11,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/ssl.h:4,
from ../nodejs/src/../../uWebSockets/src/Networking.h:29,
from ../nodejs/src/../../uWebSockets/src/WebSocketProtocol.h:5,
from ../nodejs/src/../../uWebSockets/src/WebSocket.h:4,
from ../nodejs/src/../../uWebSockets/src/Group.h:4,
from ../nodejs/src/../../uWebSockets/src/Hub.h:4,
from ../nodejs/src/addon.cpp:1:
/home/user/.cache/node-gyp/18.16.1/include/node/openssl/dsa.h:127:28: note: declared here
127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA r);
| ^~~~
In file included from ../nodejs/src/node/src/crypto/crypto_keys.h:6,
from ../nodejs/src/node/src/crypto/crypto_context.h:7,
from ../nodejs/src/node/src/crypto/crypto_tls.h:27,
from ../nodejs/src/addon.h:9,
from ../nodejs/src/addon.cpp:2:
../nodejs/src/node/src/crypto/crypto_util.h:79:45: warning: ‘void DSA_free(DSA)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
79 | using DsaPointer = DeleteFnPtr<DSA, DSA_free>;
| ^
In file included from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/x509.h:37,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/./x509_asm.h:11,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/x509.h:4,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/ssl.h:31,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/./ssl_asm.h:11,
from /home/user/.cache/node-gyp/18.16.1/include/node/openssl/ssl.h:4,
from ../nodejs/src/../../uWebSockets/src/Networking.h:29,
from ../nodejs/src/../../uWebSockets/src/WebSocketProtocol.h:5,
from ../nodejs/src/../../uWebSockets/src/WebSocket.h:4,
from ../nodejs/src/../../uWebSockets/src/Group.h:4,
from ../nodejs/src/../../uWebSockets/src/Hub.h:4,
from ../nodejs/src/addon.cpp:1:
/home/user/.cache/node-gyp/18.16.1/include/node/openssl/dsa.h:127:28: note: declared here
127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA r);
| ^~~~
In file included from ../nodejs/src/node/src/util-inl.h:30,
from ../nodejs/src/node/src/aliased_buffer.h:7,
from ../nodejs/src/node/src/memory_tracker.h:5,
from ../nodejs/src/node/src/base_object.h:28,
from ../nodejs/src/node/src/crypto/crypto_context.h:6,
from ../nodejs/src/node/src/crypto/crypto_tls.h:27,
from ../nodejs/src/addon.h:9,
from ../nodejs/src/addon.cpp:2:
../nodejs/src/node/src/crypto/crypto_util.h: In member function ‘void node::crypto::EnginePointer::reset(ENGINE, bool)’:
../nodejs/src/node/src/crypto/crypto_util.h:583:38: warning: ‘int ENGINE_finish(ENGINE)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
583 | CHECK_EQ(ENGINE_finish(engine), 1);
| ^
../nodejs/src/node/src/util.h:140:44: note: in definition of macro ‘UNLIKELY’
140 | #define UNLIKELY(expr) __builtin_expect(!!(expr), 0)
| ^~~~
../nodejs/src/node/src/util.h:158:24: note: in expansion of macro ‘CHECK’
158 | #define CHECK_EQ(a, b) CHECK((a) == (b))
| ^~~~~
../nodejs/src/node/src/crypto/crypto_util.h:583:9: note: in expansion of macro ‘CHECK_EQ’
583 | CHECK_EQ(ENGINE_finish(engine), 1);
| ^~~~
In file included from ../nodejs/src/node/src/crypto/crypto_util.h:24,
from ../nodejs/src/node/src/crypto/crypto_keys.h:6,
from ../nodejs/src/node/src/crypto/crypto_context.h:7,
from ../nodejs/src/node/src/crypto/crypto_tls.h:27,
from ../nodejs/src/addon.h:9,
from ../nodejs/src/addon.cpp:2:
/home/user/.cache/node-gyp/18.16.1/include/node/openssl/engine.h:628:27: note: declared here
628 | OSSL_DEPRECATEDIN_3_0 int ENGINE_finish(ENGINE e);
| ^~~~~
In file included from ../nodejs/src/node/src/util-inl.h:30,
from ../nodejs/src/node/src/aliased_buffer.h:7,
from ../nodejs/src/node/src/memory_tracker.h:5,
from ../nodejs/src/node/src/base_object.h:28,
from ../nodejs/src/node/src/crypto/crypto_context.h:6,
from ../nodejs/src/node/src/crypto/crypto_tls.h:27,
from ../nodejs/src/addon.h:9,
from ../nodejs/src/addon.cpp:2:
../nodejs/src/node/src/crypto/crypto_util.h:585:36: warning: ‘int ENGINE_free(ENGINE)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
585 | CHECK_EQ(ENGINE_free(engine), 1);
| ^
../nodejs/src/node/src/util.h:140:44: note: in definition of macro ‘UNLIKELY’
140 | #define UNLIKELY(expr) __builtin_expect(!!(expr), 0)
| ^~~~
../nodejs/src/node/src/util.h:158:24: note: in expansion of macro ‘CHECK’
158 | #define CHECK_EQ(a, b) CHECK((a) == (b))
| ^~~~~
../nodejs/src/node/src/crypto/crypto_util.h:585:9: note: in expansion of macro ‘CHECK_EQ’
585 | CHECK_EQ(ENGINE_free(engine), 1);
| ^~~~
In file included from ../nodejs/src/node/src/crypto/crypto_util.h:24,
from ../nodejs/src/node/src/crypto/crypto_keys.h:6,
from ../nodejs/src/node/src/crypto/crypto_context.h:7,
from ../nodejs/src/node/src/crypto/crypto_tls.h:27,
from ../nodejs/src/addon.h:9,
from ../nodejs/src/addon.cpp:2:
/home/user/.cache/node-gyp/18.16.1/include/node/openssl/engine.h:493:27: note: declared here
493 | OSSL_DEPRECATEDIN_3_0 int ENGINE_free(ENGINE e);
| ^~~
CXX(target) Release/obj.target/eiows/uWebSockets/src/Extensions.o
CXX(target) Release/obj.target/eiows/uWebSockets/src/Group.o
CXX(target) Release/obj.target/eiows/uWebSockets/src/Networking.o
CXX(target) Release/obj.target/eiows/uWebSockets/src/Hub.o
CXX(target) Release/obj.target/eiows/uWebSockets/src/Node.o
CXX(target) Release/obj.target/eiows/uWebSockets/src/WebSocket.o
CXX(target) Release/obj.target/eiows/uWebSockets/src/Socket.o
SOLINK_MODULE(target) Release/obj.target/eiows.node
COPY Release/eiows.node
ACTION binding_gyp_action_after_build_target_move_lib eiows
TOUCH Release/obj.target/action_after_build.stamp
make : on quitte le répertoire « /content/n/d3/node_modules/eiows/build »
gyp info ok
I will double check on Debian 12 as well...
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>
I tested on Debian 12, the build worked fine. I retested the build on Debian 11 (WSL) after global update of node-gyp to v9 and it also worked.
I close the issue. This must have been my local environment problem. Sorry to bother you.
No problem, thanks for the update.Op 19 jul. 2023 om 14:36 heeft Artur @.***> het volgende geschreven: I tested on Debian 12, the build worked fine. I retested the build on Debian 11 (WSL) after global update of node-gyp to v9 and it also worked. I close the issue. This must have been my local environment problem. Sorry to bother you.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>
FYI. I observed that the build always fails the first time after the node upgrade when the node headers get downloaded:
gyp http GET https://nodejs.org/download/release/v18.17.0/node-v18.17.0-headers.tar.gz
If you build once again there is no more error.
The node version 18.17.00 was released.
I don't know exactly if it is related to my own config (build on Debian under Windows WSL) however there is a lot of errors related to crypto library that changed (https://github.com/nodejs/node/blame/main/doc/changelogs/CHANGELOG_V18.md) in this node version and the build failed: