mmdevries / eiows

Other
78 stars 4 forks source link

Build failed on node v18.17.0 #17

Closed apydo closed 1 year ago

apydo commented 1 year ago

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:

gyp info it worked if it ends with ok
gyp info using node-gyp@8.4.1
gyp info using node@18.17.0 | linux | x64
gyp info find Python using Python version 3.9.2 found at "/usr/bin/python3"
gyp http GET https://nodejs.org/download/release/v18.17.0/node-v18.17.0-headers.tar.gz
gyp http 200 https://nodejs.org/download/release/v18.17.0/node-v18.17.0-headers.tar.gz
gyp http GET https://nodejs.org/download/release/v18.17.0/SHASUMS256.txt
gyp http 200 https://nodejs.org/download/release/v18.17.0/SHASUMS256.txt
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.17.0/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.17.0',
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.17.0/<(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/../../uWebSockets/src/WebSocket.h:5,
                 from ../nodejs/src/../../uWebSockets/src/Group.h:4,
                 from ../nodejs/src/../../uWebSockets/src/Hub.h:4,
                 from ../nodejs/src/addon.cpp:1:
../nodejs/src/../../uWebSockets/src/Socket.h: In static member function ‘static void uS::Socket::sslIoHandler(uS::Poll*, int, int)’:
../nodejs/src/../../uWebSockets/src/Socket.h:114:85: error: there are no arguments to ‘SSL_want’ that depend on a template parameter, so a declaration of ‘SSL_want’ must be available [-fpermissive]
  114 |                     if (!socket->messageQueue.empty() && ((events & UV_WRITABLE) || SSL_want(socket->ssl) == SSL_READING)) {
      |                                                                                     ^~~~~~~~
../nodejs/src/../../uWebSockets/src/Socket.h:114:85: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
../nodejs/src/../../uWebSockets/src/Socket.h:114:110: error: ‘SSL_READING’ was not declared in this scope
  114 |                     if (!socket->messageQueue.empty() && ((events & UV_WRITABLE) || SSL_want(socket->ssl) == SSL_READING)) {
      |                                                                                                              ^~~~~~~~~~~
../nodejs/src/../../uWebSockets/src/Socket.h:114:110: note: the macro ‘SSL_READING’ had not yet been defined
In file included from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/./ssl_asm.h:11,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/ssl.h:4,
                 from ../nodejs/src/addon.h:4,
                 from ../nodejs/src/addon.cpp:2:
/home/user/.cache/node-gyp/18.17.0/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/ssl.h:909: note: it was later defined here
  909 | # define SSL_READING            3
      | 
In file included from ../nodejs/src/../../uWebSockets/src/WebSocket.h:5,
                 from ../nodejs/src/../../uWebSockets/src/Group.h:4,
                 from ../nodejs/src/../../uWebSockets/src/Hub.h:4,
                 from ../nodejs/src/addon.cpp:1:
../nodejs/src/../../uWebSockets/src/Socket.h:117:44: error: there are no arguments to ‘SSL_write’ that depend on a template parameter, so a declaration of ‘SSL_write’ must be available [-fpermissive]
  117 |                             ssize_t sent = SSL_write(socket->ssl, messagePtr->data, (int) messagePtr->length);
      |                                            ^~~~~~~~~
../nodejs/src/../../uWebSockets/src/Socket.h:124:79: error: there are no arguments to ‘SSL_want’ that depend on a template parameter, so a declaration of ‘SSL_want’ must be available [-fpermissive]
  124 |                                     if ((socket->state.poll & UV_WRITABLE) && SSL_want(socket->ssl) != SSL_WRITING) {
      |                                                                               ^~~~~~~~
../nodejs/src/../../uWebSockets/src/Socket.h:124:104: error: ‘SSL_WRITING’ was not declared in this scope
  124 |                                     if ((socket->state.poll & UV_WRITABLE) && SSL_want(socket->ssl) != SSL_WRITING) {
      |                                                                                                        ^~~~~~~~~~~
../nodejs/src/../../uWebSockets/src/Socket.h:124:104: note: the macro ‘SSL_WRITING’ had not yet been defined
In file included from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/./ssl_asm.h:11,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/ssl.h:4,
                 from ../nodejs/src/addon.h:4,
                 from ../nodejs/src/addon.cpp:2:
/home/user/.cache/node-gyp/18.17.0/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/ssl.h:908: note: it was later defined here
  908 | # define SSL_WRITING            2
      | 
In file included from ../nodejs/src/../../uWebSockets/src/WebSocket.h:5,
                 from ../nodejs/src/../../uWebSockets/src/Group.h:4,
                 from ../nodejs/src/../../uWebSockets/src/Hub.h:4,
                 from ../nodejs/src/addon.cpp:1:
../nodejs/src/../../uWebSockets/src/Socket.h:130:41: error: there are no arguments to ‘SSL_get_error’ that depend on a template parameter, so a declaration of ‘SSL_get_error’ must be available [-fpermissive]
  130 |                                 switch (SSL_get_error(socket->ssl, sent)) {
      |                                         ^~~~~~~~~~~~~
../nodejs/src/../../uWebSockets/src/Socket.h:131:42: error: ‘SSL_ERROR_WANT_READ’ was not declared in this scope
  131 |                                     case SSL_ERROR_WANT_READ:
      |                                          ^~~~~~~~~~~~~~~~~~~
../nodejs/src/../../uWebSockets/src/Socket.h:131:42: note: the macro ‘SSL_ERROR_WANT_READ’ had not yet been defined
In file included from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/./ssl_asm.h:11,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/ssl.h:4,
                 from ../nodejs/src/addon.h:4,
                 from ../nodejs/src/addon.cpp:2:
/home/user/.cache/node-gyp/18.17.0/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/ssl.h:1254: note: it was later defined here
 1254 | # define SSL_ERROR_WANT_READ             2
      | 
In file included from ../nodejs/src/../../uWebSockets/src/WebSocket.h:5,
                 from ../nodejs/src/../../uWebSockets/src/Group.h:4,
                 from ../nodejs/src/../../uWebSockets/src/Hub.h:4,
                 from ../nodejs/src/addon.cpp:1:
../nodejs/src/../../uWebSockets/src/Socket.h:133:42: error: ‘SSL_ERROR_WANT_WRITE’ was not declared in this scope
  133 |                                     case SSL_ERROR_WANT_WRITE:
      |                                          ^~~~~~~~~~~~~~~~~~~~
../nodejs/src/../../uWebSockets/src/Socket.h:133:42: note: the macro ‘SSL_ERROR_WANT_WRITE’ had not yet been defined
In file included from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/./ssl_asm.h:11,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/ssl.h:4,
                 from ../nodejs/src/addon.h:4,
                 from ../nodejs/src/addon.cpp:2:
/home/user/.cache/node-gyp/18.17.0/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/ssl.h:1255: note: it was later defined here
 1255 | # define SSL_ERROR_WANT_WRITE            3
      | 
In file included from ../nodejs/src/../../uWebSockets/src/WebSocket.h:5,
                 from ../nodejs/src/../../uWebSockets/src/Group.h:4,
                 from ../nodejs/src/../../uWebSockets/src/Hub.h:4,
                 from ../nodejs/src/addon.cpp:1:
../nodejs/src/../../uWebSockets/src/Socket.h:138:42: error: ‘SSL_ERROR_SSL’ was not declared in this scope
  138 |                                     case SSL_ERROR_SSL:
      |                                          ^~~~~~~~~~~~~
../nodejs/src/../../uWebSockets/src/Socket.h:138:42: note: the macro ‘SSL_ERROR_SSL’ had not yet been defined
In file included from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/./ssl_asm.h:11,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/ssl.h:4,
                 from ../nodejs/src/addon.h:4,
                 from ../nodejs/src/addon.cpp:2:
/home/user/.cache/node-gyp/18.17.0/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/ssl.h:1253: note: it was later defined here
 1253 | # define SSL_ERROR_SSL                   1
      | 
In file included from ../nodejs/src/../../uWebSockets/src/WebSocket.h:5,
                 from ../nodejs/src/../../uWebSockets/src/Group.h:4,
                 from ../nodejs/src/../../uWebSockets/src/Hub.h:4,
                 from ../nodejs/src/addon.cpp:1:
../nodejs/src/../../uWebSockets/src/Socket.h:139:42: error: ‘SSL_ERROR_SYSCALL’ was not declared in this scope
  139 |                                     case SSL_ERROR_SYSCALL:
      |                                          ^~~~~~~~~~~~~~~~~
../nodejs/src/../../uWebSockets/src/Socket.h:139:42: note: the macro ‘SSL_ERROR_SYSCALL’ had not yet been defined
In file included from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/./ssl_asm.h:11,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/ssl.h:4,
                 from ../nodejs/src/addon.h:4,
                 from ../nodejs/src/addon.cpp:2:
/home/user/.cache/node-gyp/18.17.0/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/ssl.h:1257: note: it was later defined here
 1257 | # define SSL_ERROR_SYSCALL               5/* look at error stack/return
      | 
In file included from ../nodejs/src/../../uWebSockets/src/WebSocket.h:5,
                 from ../nodejs/src/../../uWebSockets/src/Group.h:4,
                 from ../nodejs/src/../../uWebSockets/src/Hub.h:4,
                 from ../nodejs/src/addon.cpp:1:
../nodejs/src/../../uWebSockets/src/Socket.h:154:42: error: there are no arguments to ‘SSL_read’ that depend on a template parameter, so a declaration of ‘SSL_read’ must be available [-fpermissive]
  154 |                             int length = SSL_read(socket->ssl, socket->nodeData->recvBuffer, socket->nodeData->recvLength);
      |                                          ^~~~~~~~
../nodejs/src/../../uWebSockets/src/Socket.h:156:41: error: there are no arguments to ‘SSL_get_error’ that depend on a template parameter, so a declaration of ‘SSL_get_error’ must be available [-fpermissive]
  156 |                                 switch (SSL_get_error(socket->ssl, length)) {
      |                                         ^~~~~~~~~~~~~
../nodejs/src/../../uWebSockets/src/Socket.h:157:42: error: ‘SSL_ERROR_WANT_READ’ was not declared in this scope
  157 |                                     case SSL_ERROR_WANT_READ:
      |                                          ^~~~~~~~~~~~~~~~~~~
../nodejs/src/../../uWebSockets/src/Socket.h:157:42: note: the macro ‘SSL_ERROR_WANT_READ’ had not yet been defined
In file included from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/./ssl_asm.h:11,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/ssl.h:4,
                 from ../nodejs/src/addon.h:4,
                 from ../nodejs/src/addon.cpp:2:
/home/user/.cache/node-gyp/18.17.0/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/ssl.h:1254: note: it was later defined here
 1254 | # define SSL_ERROR_WANT_READ             2
      | 
In file included from ../nodejs/src/../../uWebSockets/src/WebSocket.h:5,
                 from ../nodejs/src/../../uWebSockets/src/Group.h:4,
                 from ../nodejs/src/../../uWebSockets/src/Hub.h:4,
                 from ../nodejs/src/addon.cpp:1:
../nodejs/src/../../uWebSockets/src/Socket.h:159:42: error: ‘SSL_ERROR_WANT_WRITE’ was not declared in this scope
  159 |                                     case SSL_ERROR_WANT_WRITE:
      |                                          ^~~~~~~~~~~~~~~~~~~~
../nodejs/src/../../uWebSockets/src/Socket.h:159:42: note: the macro ‘SSL_ERROR_WANT_WRITE’ had not yet been defined
In file included from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/./ssl_asm.h:11,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/ssl.h:4,
                 from ../nodejs/src/addon.h:4,
                 from ../nodejs/src/addon.cpp:2:
/home/user/.cache/node-gyp/18.17.0/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/ssl.h:1255: note: it was later defined here
 1255 | # define SSL_ERROR_WANT_WRITE            3
      | 
In file included from ../nodejs/src/../../uWebSockets/src/WebSocket.h:5,
                 from ../nodejs/src/../../uWebSockets/src/Group.h:4,
                 from ../nodejs/src/../../uWebSockets/src/Hub.h:4,
                 from ../nodejs/src/addon.cpp:1:
../nodejs/src/../../uWebSockets/src/Socket.h:164:42: error: ‘SSL_ERROR_SSL’ was not declared in this scope
  164 |                                     case SSL_ERROR_SSL:
      |                                          ^~~~~~~~~~~~~
../nodejs/src/../../uWebSockets/src/Socket.h:164:42: note: the macro ‘SSL_ERROR_SSL’ had not yet been defined
In file included from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/./ssl_asm.h:11,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/ssl.h:4,
                 from ../nodejs/src/addon.h:4,
                 from ../nodejs/src/addon.cpp:2:
/home/user/.cache/node-gyp/18.17.0/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/ssl.h:1253: note: it was later defined here
 1253 | # define SSL_ERROR_SSL                   1
      | 
In file included from ../nodejs/src/../../uWebSockets/src/WebSocket.h:5,
                 from ../nodejs/src/../../uWebSockets/src/Group.h:4,
                 from ../nodejs/src/../../uWebSockets/src/Hub.h:4,
                 from ../nodejs/src/addon.cpp:1:
../nodejs/src/../../uWebSockets/src/Socket.h:165:42: error: ‘SSL_ERROR_SYSCALL’ was not declared in this scope
  165 |                                     case SSL_ERROR_SYSCALL:
      |                                          ^~~~~~~~~~~~~~~~~
../nodejs/src/../../uWebSockets/src/Socket.h:165:42: note: the macro ‘SSL_ERROR_SYSCALL’ had not yet been defined
In file included from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/./ssl_asm.h:11,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/ssl.h:4,
                 from ../nodejs/src/addon.h:4,
                 from ../nodejs/src/addon.cpp:2:
/home/user/.cache/node-gyp/18.17.0/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/ssl.h:1257: note: it was later defined here
 1257 | # define SSL_ERROR_SYSCALL               5/* look at error stack/return
      | 
In file included from ../nodejs/src/../../uWebSockets/src/WebSocket.h:5,
                 from ../nodejs/src/../../uWebSockets/src/Group.h:4,
                 from ../nodejs/src/../../uWebSockets/src/Hub.h:4,
                 from ../nodejs/src/addon.cpp:1:
../nodejs/src/../../uWebSockets/src/Socket.h:181:34: error: there are no arguments to ‘SSL_pending’ that depend on a template parameter, so a declaration of ‘SSL_pending’ must be available [-fpermissive]
  181 |                         } while (SSL_pending(socket->ssl));
      |                                  ^~~~~~~~~~~
../nodejs/src/../../uWebSockets/src/Socket.h: In member function ‘bool uS::Socket::write(uS::Socket::Queue::Message*, bool&)’:
../nodejs/src/../../uWebSockets/src/Socket.h:275:32: error: ‘SSL_write’ was not declared in this scope; did you mean ‘BIO_write’?
  275 |                         sent = SSL_write(ssl, message->data, (int) message->length);
      |                                ^~~~~~~~~
      |                                BIO_write
../nodejs/src/../../uWebSockets/src/Socket.h:280:37: error: ‘SSL_get_error’ was not declared in this scope; did you mean ‘ERR_get_error’?
  280 |                             switch (SSL_get_error(ssl, (int) sent)) {
      |                                     ^~~~~~~~~~~~~
      |                                     ERR_get_error
../nodejs/src/../../uWebSockets/src/Socket.h:281:38: error: ‘SSL_ERROR_WANT_READ’ was not declared in this scope
  281 |                                 case SSL_ERROR_WANT_READ:
      |                                      ^~~~~~~~~~~~~~~~~~~
../nodejs/src/../../uWebSockets/src/Socket.h:281:38: note: the macro ‘SSL_ERROR_WANT_READ’ had not yet been defined
In file included from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/./ssl_asm.h:11,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/ssl.h:4,
                 from ../nodejs/src/addon.h:4,
                 from ../nodejs/src/addon.cpp:2:
/home/user/.cache/node-gyp/18.17.0/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/ssl.h:1254: note: it was later defined here
 1254 | # define SSL_ERROR_WANT_READ             2
      | 
In file included from ../nodejs/src/../../uWebSockets/src/WebSocket.h:5,
                 from ../nodejs/src/../../uWebSockets/src/Group.h:4,
                 from ../nodejs/src/../../uWebSockets/src/Hub.h:4,
                 from ../nodejs/src/addon.cpp:1:
../nodejs/src/../../uWebSockets/src/Socket.h:283:38: error: ‘SSL_ERROR_WANT_WRITE’ was not declared in this scope
  283 |                                 case SSL_ERROR_WANT_WRITE:
      |                                      ^~~~~~~~~~~~~~~~~~~~
../nodejs/src/../../uWebSockets/src/Socket.h:283:38: note: the macro ‘SSL_ERROR_WANT_WRITE’ had not yet been defined
In file included from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/./ssl_asm.h:11,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/ssl.h:4,
                 from ../nodejs/src/addon.h:4,
                 from ../nodejs/src/addon.cpp:2:
/home/user/.cache/node-gyp/18.17.0/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/ssl.h:1255: note: it was later defined here
 1255 | # define SSL_ERROR_WANT_WRITE            3
      | 
In file included from ../nodejs/src/../../uWebSockets/src/WebSocket.h:5,
                 from ../nodejs/src/../../uWebSockets/src/Group.h:4,
                 from ../nodejs/src/../../uWebSockets/src/Hub.h:4,
                 from ../nodejs/src/addon.cpp:1:
../nodejs/src/../../uWebSockets/src/Socket.h:289:38: error: ‘SSL_ERROR_SSL’ was not declared in this scope
  289 |                                 case SSL_ERROR_SSL:
      |                                      ^~~~~~~~~~~~~
../nodejs/src/../../uWebSockets/src/Socket.h:289:38: note: the macro ‘SSL_ERROR_SSL’ had not yet been defined
In file included from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/./ssl_asm.h:11,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/ssl.h:4,
                 from ../nodejs/src/addon.h:4,
                 from ../nodejs/src/addon.cpp:2:
/home/user/.cache/node-gyp/18.17.0/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/ssl.h:1253: note: it was later defined here
 1253 | # define SSL_ERROR_SSL                   1
      | 
In file included from ../nodejs/src/../../uWebSockets/src/WebSocket.h:5,
                 from ../nodejs/src/../../uWebSockets/src/Group.h:4,
                 from ../nodejs/src/../../uWebSockets/src/Hub.h:4,
                 from ../nodejs/src/addon.cpp:1:
../nodejs/src/../../uWebSockets/src/Socket.h:290:38: error: ‘SSL_ERROR_SYSCALL’ was not declared in this scope
  290 |                                 case SSL_ERROR_SYSCALL:
      |                                      ^~~~~~~~~~~~~~~~~
../nodejs/src/../../uWebSockets/src/Socket.h:290:38: note: the macro ‘SSL_ERROR_SYSCALL’ had not yet been defined
In file included from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/./ssl_asm.h:11,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/ssl.h:4,
                 from ../nodejs/src/addon.h:4,
                 from ../nodejs/src/addon.cpp:2:
/home/user/.cache/node-gyp/18.17.0/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/ssl.h:1257: note: it was later defined here
 1257 | # define SSL_ERROR_SYSCALL               5/* look at error stack/return
      | 
In file included from ../nodejs/src/../../uWebSockets/src/WebSocket.h:5,
                 from ../nodejs/src/../../uWebSockets/src/Group.h:4,
                 from ../nodejs/src/../../uWebSockets/src/Hub.h:4,
                 from ../nodejs/src/addon.cpp:1:
../nodejs/src/../../uWebSockets/src/Socket.h: In constructor ‘uS::Socket::Socket(uS::NodeData*, uS::Loop*, uv_os_sock_t, SSL*)’:
../nodejs/src/../../uWebSockets/src/Socket.h:387:21: error: ‘SSL_set_fd’ was not declared in this scope; did you mean ‘BIO_set_fd’?
  387 |                     SSL_set_fd(ssl, (int) fd);
      |                     ^~~~~~~~~~
      |                     BIO_set_fd
../nodejs/src/../../uWebSockets/src/Socket.h:388:39: error: ‘SSL_MODE_RELEASE_BUFFERS’ was not declared in this scope
  388 |                     SSL_set_mode(ssl, SSL_MODE_RELEASE_BUFFERS);
      |                                       ^~~~~~~~~~~~~~~~~~~~~~~~
../nodejs/src/../../uWebSockets/src/Socket.h:388:39: note: the macro ‘SSL_MODE_RELEASE_BUFFERS’ had not yet been defined
In file included from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/./ssl_asm.h:11,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/ssl.h:4,
                 from ../nodejs/src/addon.h:4,
                 from ../nodejs/src/addon.cpp:2:
/home/user/.cache/node-gyp/18.17.0/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/ssl.h:492: note: it was later defined here
  492 | # define SSL_MODE_RELEASE_BUFFERS 0x00000010U
      | 
In file included from ../nodejs/src/../../uWebSockets/src/WebSocket.h:5,
                 from ../nodejs/src/../../uWebSockets/src/Group.h:4,
                 from ../nodejs/src/../../uWebSockets/src/Hub.h:4,
                 from ../nodejs/src/addon.cpp:1:
../nodejs/src/../../uWebSockets/src/Socket.h:388:21: error: ‘SSL_set_mode’ was not declared in this scope
  388 |                     SSL_set_mode(ssl, SSL_MODE_RELEASE_BUFFERS);
      |                     ^~~~~~~~~~~~
../nodejs/src/../../uWebSockets/src/Socket.h:388:21: note: the macro ‘SSL_set_mode’ had not yet been defined
In file included from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/./ssl_asm.h:11,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/ssl.h:4,
                 from ../nodejs/src/addon.h:4,
                 from ../nodejs/src/addon.cpp:2:
/home/user/.cache/node-gyp/18.17.0/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/ssl.h:616: note: it was later defined here
  616 | # define SSL_set_mode(ssl,op) \
      | 
In file included from ../nodejs/src/../../uWebSockets/src/WebSocket.h:5,
                 from ../nodejs/src/../../uWebSockets/src/Group.h:4,
                 from ../nodejs/src/../../uWebSockets/src/Hub.h:4,
                 from ../nodejs/src/addon.cpp:1:
../nodejs/src/../../uWebSockets/src/Socket.h: In member function ‘void uS::Socket::shutdown()’:
../nodejs/src/../../uWebSockets/src/Socket.h:421:21: error: ‘SSL_shutdown’ was not declared in this scope; did you mean ‘uv_shutdown’?
  421 |                     SSL_shutdown(ssl);
      |                     ^~~~~~~~~~~~
      |                     uv_shutdown
../nodejs/src/../../uWebSockets/src/Socket.h: In member function ‘void uS::Socket::closeSocket()’:
../nodejs/src/../../uWebSockets/src/Socket.h:435:21: error: there are no arguments to ‘SSL_free’ that depend on a template parameter, so a declaration of ‘SSL_free’ must be available [-fpermissive]
  435 |                     SSL_free(ssl);
      |                     ^~~~~~~~
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: At global scope:
../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.17.0/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/x509.h:36,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/./x509_asm.h:11,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/x509.h:4,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/ssl.h:31,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/./ssl_asm.h:11,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/ssl.h:4,
                 from ../nodejs/src/addon.h:4,
                 from ../nodejs/src/addon.cpp:2:
/home/user/.cache/node-gyp/18.17.0/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.17.0/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/x509.h:36,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/./x509_asm.h:11,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/x509.h:4,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/ssl.h:31,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/./ssl_asm.h:11,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/ssl.h:4,
                 from ../nodejs/src/addon.h:4,
                 from ../nodejs/src/addon.cpp:2:
/home/user/.cache/node-gyp/18.17.0/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.17.0/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/x509.h:33,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/./x509_asm.h:11,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/x509.h:4,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/ssl.h:31,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/./ssl_asm.h:11,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/ssl.h:4,
                 from ../nodejs/src/addon.h:4,
                 from ../nodejs/src/addon.cpp:2:
/home/user/.cache/node-gyp/18.17.0/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.17.0/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/x509.h:33,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/./x509_asm.h:11,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/x509.h:4,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/ssl.h:31,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/./ssl_asm.h:11,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/ssl.h:4,
                 from ../nodejs/src/addon.h:4,
                 from ../nodejs/src/addon.cpp:2:
/home/user/.cache/node-gyp/18.17.0/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.17.0/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/x509.h:33,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/./x509_asm.h:11,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/x509.h:4,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/ssl.h:31,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/./ssl_asm.h:11,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/ssl.h:4,
                 from ../nodejs/src/addon.h:4,
                 from ../nodejs/src/addon.cpp:2:
/home/user/.cache/node-gyp/18.17.0/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.17.0/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/x509.h:33,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/./x509_asm.h:11,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/x509.h:4,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/ssl.h:31,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/./ssl_asm.h:11,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/ssl.h:4,
                 from ../nodejs/src/addon.h:4,
                 from ../nodejs/src/addon.cpp:2:
/home/user/.cache/node-gyp/18.17.0/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.17.0/include/node/openssl/dsa.h:51,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/x509.h:37,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/./x509_asm.h:11,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/x509.h:4,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/ssl.h:31,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/./ssl_asm.h:11,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/ssl.h:4,
                 from ../nodejs/src/addon.h:4,
                 from ../nodejs/src/addon.cpp:2:
/home/user/.cache/node-gyp/18.17.0/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.17.0/include/node/openssl/dsa.h:51,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/x509.h:37,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/./x509_asm.h:11,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/x509.h:4,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/ssl.h:31,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/./ssl_asm.h:11,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/ssl.h:4,
                 from ../nodejs/src/addon.h:4,
                 from ../nodejs/src/addon.cpp:2:
/home/user/.cache/node-gyp/18.17.0/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.17.0/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/ssl.h:37,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/./ssl_asm.h:11,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/ssl.h:4,
                 from ../nodejs/src/addon.h:4,
                 from ../nodejs/src/addon.cpp:2:
/home/user/.cache/node-gyp/18.17.0/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.17.0/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/ssl.h:37,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/./ssl_asm.h:11,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/ssl.h:4,
                 from ../nodejs/src/addon.h:4,
                 from ../nodejs/src/addon.cpp:2:
/home/user/.cache/node-gyp/18.17.0/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.17.0/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/x509.h:36,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/./x509_asm.h:11,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/x509.h:4,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/ssl.h:31,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/./ssl_asm.h:11,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/ssl.h:4,
                 from ../nodejs/src/addon.h:4,
                 from ../nodejs/src/addon.cpp:2:
/home/user/.cache/node-gyp/18.17.0/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.17.0/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/x509.h:36,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/./x509_asm.h:11,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/x509.h:4,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/ssl.h:31,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/./ssl_asm.h:11,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/ssl.h:4,
                 from ../nodejs/src/addon.h:4,
                 from ../nodejs/src/addon.cpp:2:
/home/user/.cache/node-gyp/18.17.0/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.17.0/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/x509.h:37,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/./x509_asm.h:11,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/x509.h:4,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/ssl.h:31,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/./ssl_asm.h:11,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/ssl.h:4,
                 from ../nodejs/src/addon.h:4,
                 from ../nodejs/src/addon.cpp:2:
/home/user/.cache/node-gyp/18.17.0/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.17.0/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/x509.h:37,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/./x509_asm.h:11,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/x509.h:4,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/././archs/linux-x86_64/asm/include/openssl/ssl.h:31,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/./ssl_asm.h:11,
                 from /home/user/.cache/node-gyp/18.17.0/include/node/openssl/ssl.h:4,
                 from ../nodejs/src/addon.h:4,
                 from ../nodejs/src/addon.cpp:2:
/home/user/.cache/node-gyp/18.17.0/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.17.0/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.17.0/include/node/openssl/engine.h:493:27: note: declared here
  493 | OSSL_DEPRECATEDIN_3_0 int ENGINE_free(ENGINE *e);
      |                           ^~~~~~~~~~~
make: *** [eiows.target.mk:123 : Release/obj.target/eiows/nodejs/src/addon.o] Erreur 1
make : on quitte le répertoire « /content/n/d3/node_modules/eiows/build »
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/content/n/d3/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (node:events:514:28)
gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:291:12)
gyp ERR! System Linux 5.15.90.1-microsoft-standard-WSL2
gyp ERR! command "/usr/local/bin/node" "/content/n/d3/node_modules/.bin/node-gyp" "rebuild"
gyp ERR! cwd /content/n/d3/node_modules/eiows
gyp ERR! node -v v18.17.0
gyp ERR! node-gyp -v v8.4.1
gyp ERR! not ok 
mmdevries commented 1 year ago

Are you sure you have installed the libssl-dev package?

apydo commented 1 year ago

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...

mmdevries commented 1 year ago

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: @.***>

apydo commented 1 year ago

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.

mmdevries commented 1 year ago

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: @.***>

apydo commented 1 year ago

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.