gyp info it worked if it ends with ok
gyp info using node-gyp@9.1.0
gyp info using node@16.20.0 | linux | x64
gyp info find Python using Python version 3.8.10 found at "/usr/bin/python3"
gyp http GET https://nodejs.org/download/release/v16.20.0/node-v16.20.0-headers.tar.gz
gyp http 200 https://nodejs.org/download/release/v16.20.0/node-v16.20.0-headers.tar.gz
gyp http GET https://nodejs.org/download/release/v16.20.0/SHASUMS256.txt
gyp http 200 https://nodejs.org/download/release/v16.20.0/SHASUMS256.txt
gyp info spawn /usr/bin/python3
gyp info spawn args [
gyp info spawn args '/usr/lib/node_modules/npm/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 '/var/www/myprog.com.ua/server/node/node_modules/ws/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/root/.cache/node-gyp/16.20.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=/root/.cache/node-gyp/16.20.0',
gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/root/.cache/node-gyp/16.20.0/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/var/www/myprog.com.ua/server/node/node_modules/ws',
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' ]
In file included from ../src/bufferutil.cc:15:
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h:107:11: error: ‘v8::Handle’ has not been declared
107 | , v8::Handle opt, bool def) {
| ^~~~~~
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h:107:17: error: expected ‘,’ or ‘...’ before ‘<’ token
107 | , v8::Handle opt, bool def) {
| ^
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h: In function ‘bool NanBooleanOptionValue(v8::Local, int)’:
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h:109:7: error: ‘def’ was not declared in this scope
109 | if (def) {
| ^~~
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h:111:27: error: ‘opt’ was not declared in this scope
111 | || !optionsObj->Has(opt)
| ^~~
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h:115:26: error: ‘opt’ was not declared in this scope
115 | && optionsObj->Has(opt)
| ^~~
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h: At global scope:
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h:122:11: error: ‘v8::Handle’ has not been declared
122 | , v8::Handle opt) {
| ^~~~~~
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h:122:17: error: expected ‘,’ or ‘...’ before ‘<’ token
122 | , v8::Handle opt) {
| ^
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h:120:20: error: redefinition of ‘bool NanBooleanOptionValue(v8::Local, int)’
120 | static inline bool NanBooleanOptionValue(
| ^~~~~~~~~~~~~~~~~~~~~
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h:105:20: note: ‘bool NanBooleanOptionValue(v8::Local, int)’ previously defined here
105 | static inline bool NanBooleanOptionValue(
| ^~~~~~~~~~~~~~~~~~~~~
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h: In function ‘bool NanBooleanOptionValue(v8::Local, int)’:
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h:123:44: error: ‘opt’ was not declared in this scope
123 | return NanBooleanOptionValue(optionsObj, opt, false);
| ^~~
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h: At global scope:
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h:128:11: error: ‘v8::Handle’ has not been declared
128 | , v8::Handle opt
| ^~~~~~
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h:128:17: error: expected ‘,’ or ‘...’ before ‘<’ token
128 | , v8::Handle opt
| ^
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h: In function ‘uint32_t NanUInt32OptionValue(v8::Local, int)’:
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h:132:24: error: ‘opt’ was not declared in this scope
132 | && optionsObj->Has(opt)
| ^~~
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h:135:9: error: ‘def’ was not declared in this scope
135 | : def;
| ^~~
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h: In function ‘void NanThrowError(const char*)’:
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h:209:11: error: ‘ThrowException’ is not a member of ‘v8’; did you mean ‘Exception’?
209 | v8::ThrowException(fun(v8::String::New(errmsg))); \
| ^~~~~~~~~~~~~~
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h:213:5: note: in expansion of macro ‘_NAN_THROW_ERROR’
213 | _NAN_THROW_ERROR(v8::Exception::Error, errmsg);
| ^~~~~~~~~~~~~~~~
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h:209:42: error: ‘New’ is not a member of ‘v8::String’
209 | v8::ThrowException(fun(v8::String::New(errmsg))); \
| ^~~
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h:213:5: note: in expansion of macro ‘_NAN_THROW_ERROR’
213 | _NAN_THROW_ERROR(v8::Exception::Error, errmsg);
| ^~~~~~~~~~~~~~~~
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h: At global scope:
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h:216:40: error: variable or field ‘NanThrowError’ declared void
216 | inline static void NanThrowError(v8::Handle error) {
| ^~~~~~
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h:216:40: error: ‘Handle’ is not a member of ‘v8’; did you mean ‘JobHandle’?
216 | inline static void NanThrowError(v8::Handle error) {
| ^~~~~~
| JobHandle
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h:216:56: error: expected primary-expression before ‘>’ token
216 | inline static void NanThrowError(v8::Handle error) {
| ^
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h:216:58: error: ‘error’ was not declared in this scope; did you mean ‘perror’?
216 | inline static void NanThrowError(v8::Handle error) {
| ^~~~~
| perror
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h: In function ‘void NanThrowError(const char*, int)’:
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h:222:65: error: ‘New’ is not a member of ‘v8::String’
222 | v8::Local err = v8::Exception::Error(v8::String::New(msg));
| ^~~
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h:224:26: error: ‘New’ is not a member of ‘v8::String’
224 | obj->Set(v8::String::New("code"), v8::Int32::New(errorNumber));
| ^~~
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h:224:65: error: no matching function for call to ‘v8::Int32::New(const int&)’
224 | obj->Set(v8::String::New("code"), v8::Int32::New(errorNumber));
| ^
In file included from ../src/bufferutil.cc:7:
/root/.cache/node-gyp/16.20.0/include/node/v8.h:3758:25: note: candidate: ‘static v8::Local v8::Integer::New(v8::Isolate*, int32_t)’
3758 | static Local New(Isolate* isolate, int32_t value);
| ^~~
/root/.cache/node-gyp/16.20.0/include/node/v8.h:3758:25: note: candidate expects 2 arguments, 1 provided
In file included from ../src/bufferutil.cc:15:
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h:225:22: error: no matching function for call to ‘NanThrowError(v8::Local&)’
225 | NanThrowError(err);
| ^
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h:212:22: note: candidate: ‘void NanThrowError(const char*)’
212 | inline static void NanThrowError(const char* errmsg) {
| ^~~~~~~~~~~~~
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h:212:48: note: no known conversion for argument 1 from ‘v8::Local’ to ‘const char*’
212 | inline static void NanThrowError(const char* errmsg) {
| ~~~~~~~~~~~~^~~~~~
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h:221:22: note: candidate: ‘void NanThrowError(const char*, int)’
221 | inline static void NanThrowError(const char *msg, const int errorNumber) {
| ^~~~~~~~~~~~~
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h:221:22: note: candidate expects 2 arguments, 1 provided
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h: In function ‘void NanThrowTypeError(const char*)’:
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h:209:11: error: ‘ThrowException’ is not a member of ‘v8’; did you mean ‘Exception’?
209 | v8::ThrowException(fun(v8::String::New(errmsg))); \
| ^~~~~~~~~~~~~~
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h:229:5: note: in expansion of macro ‘_NAN_THROW_ERROR’
229 | _NAN_THROW_ERROR(v8::Exception::TypeError, errmsg);
| ^~~~~~~~~~~~~~~~
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h:209:42: error: ‘New’ is not a member of ‘v8::String’
209 | v8::ThrowException(fun(v8::String::New(errmsg))); \
| ^~~
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h:229:5: note: in expansion of macro ‘_NAN_THROW_ERROR’
229 | _NAN_THROW_ERROR(v8::Exception::TypeError, errmsg);
| ^~~~~~~~~~~~~~~~
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h: In function ‘void NanThrowRangeError(const char*)’:
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h:209:11: error: ‘ThrowException’ is not a member of ‘v8’; did you mean ‘Exception’?
209 | v8::ThrowException(fun(v8::String::New(errmsg))); \
| ^~~~~~~~~~~~~~
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h:233:5: note: in expansion of macro ‘_NAN_THROW_ERROR’
233 | _NAN_THROW_ERROR(v8::Exception::RangeError, errmsg);
| ^~~~~~~~~~~~~~~~
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h:209:42: error: ‘New’ is not a member of ‘v8::String’
209 | v8::ThrowException(fun(v8::String::New(errmsg))); \
| ^~~
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h:233:5: note: in expansion of macro ‘_NAN_THROW_ERROR’
233 | _NAN_THROW_ERROR(v8::Exception::RangeError, errmsg);
| ^~~~~~~~~~~~~~~~
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h: At global scope:
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h:244:13: error: ‘node::smalloc’ has not been declared
244 | node::smalloc::FreeCallback callback,
| ^~~~~~~
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h:244:35: error: expected ‘,’ or ‘...’ before ‘callback’
244 | node::smalloc::FreeCallback callback,
| ^~~~~~~~
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h: In function ‘v8::Local NanNewBufferHandle(char*, size_t, int)’:
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h:246:44: error: ‘callback’ was not declared in this scope; did you mean ‘calloc’?
246 | return node::Buffer::New(data, length, callback, hint);
| ^~~~~~~~
| calloc
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h:246:54: error: ‘hint’ was not declared in this scope; did you mean ‘uint’?
246 | return node::Buffer::New(data, length, callback, hint);
| ^~~~
| uint
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h: In function ‘v8::Local NanNewBufferHandle(char*, uint32_t)’:
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h:251:40: error: no matching function for call to ‘New(char*&, uint32_t&)’
251 | return node::Buffer::New(data, size);
| ^
In file included from ../src/bufferutil.cc:9:
/root/.cache/node-gyp/16.20.0/include/node/node_buffer.h:49:40: note: candidate: ‘v8::MaybeLocal node::Buffer::New(v8::Isolate*, size_t)’
49 | NODE_EXTERN v8::MaybeLocal New(v8::Isolate* isolate, size_t length);
| ^~~
/root/.cache/node-gyp/16.20.0/include/node/node_buffer.h:49:57: note: no known conversion for argument 1 from ‘char*’ to ‘v8::Isolate*’
49 | NODE_EXTERN v8::MaybeLocal New(v8::Isolate* isolate, size_t length);
| ~~~~~~~~~~~~~^~~~~~~
/root/.cache/node-gyp/16.20.0/include/node/node_buffer.h:52:40: note: candidate: ‘v8::MaybeLocal node::Buffer::New(v8::Isolate*, v8::Local, node::encoding)’
52 | NODE_EXTERN v8::MaybeLocal New(v8::Isolate* isolate,
| ^~~
/root/.cache/node-gyp/16.20.0/include/node/node_buffer.h:52:57: note: no known conversion for argument 1 from ‘char*’ to ‘v8::Isolate*’
52 | NODE_EXTERN v8::MaybeLocal New(v8::Isolate* isolate,
| ~~~~~~~~~~~~~^~~~~~~
/root/.cache/node-gyp/16.20.0/include/node/node_buffer.h:57:40: note: candidate: ‘v8::MaybeLocal node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*)’
57 | NODE_EXTERN v8::MaybeLocal New(v8::Isolate* isolate,
| ^~~
/root/.cache/node-gyp/16.20.0/include/node/node_buffer.h:57:40: note: candidate expects 5 arguments, 2 provided
/root/.cache/node-gyp/16.20.0/include/node/node_buffer.h:64:40: note: candidate: ‘v8::MaybeLocal node::Buffer::New(v8::Isolate*, char*, size_t)’
64 | NODE_EXTERN v8::MaybeLocal New(v8::Isolate* isolate,
| ^~~
/root/.cache/node-gyp/16.20.0/include/node/node_buffer.h:64:40: note: candidate expects 3 arguments, 2 provided
/root/.cache/node-gyp/16.20.0/include/node/node_buffer.h:69:44: note: candidate: ‘v8::MaybeLocal node::Buffer::New(v8::Isolate*, v8::Local, size_t, size_t)’
69 | NODE_EXTERN v8::MaybeLocal New(v8::Isolate* isolate,
| ^~~
/root/.cache/node-gyp/16.20.0/include/node/node_buffer.h:69:44: note: candidate expects 4 arguments, 2 provided
In file included from ../src/bufferutil.cc:15:
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h: In function ‘v8::Local NanNewBufferHandle(uint32_t)’:
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h:255:34: error: no matching function for call to ‘New(uint32_t&)’
255 | return node::Buffer::New(size);
| ^
In file included from ../src/bufferutil.cc:9:
/root/.cache/node-gyp/16.20.0/include/node/node_buffer.h:49:40: note: candidate: ‘v8::MaybeLocal node::Buffer::New(v8::Isolate*, size_t)’
49 | NODE_EXTERN v8::MaybeLocal New(v8::Isolate* isolate, size_t length);
| ^~~
/root/.cache/node-gyp/16.20.0/include/node/node_buffer.h:49:40: note: candidate expects 2 arguments, 1 provided
/root/.cache/node-gyp/16.20.0/include/node/node_buffer.h:52:40: note: candidate: ‘v8::MaybeLocal node::Buffer::New(v8::Isolate*, v8::Local, node::encoding)’
52 | NODE_EXTERN v8::MaybeLocal New(v8::Isolate* isolate,
| ^~~
/root/.cache/node-gyp/16.20.0/include/node/node_buffer.h:52:40: note: candidate expects 3 arguments, 1 provided
/root/.cache/node-gyp/16.20.0/include/node/node_buffer.h:57:40: note: candidate: ‘v8::MaybeLocal node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*)’
57 | NODE_EXTERN v8::MaybeLocal New(v8::Isolate* isolate,
| ^~~
/root/.cache/node-gyp/16.20.0/include/node/node_buffer.h:57:40: note: candidate expects 5 arguments, 1 provided
/root/.cache/node-gyp/16.20.0/include/node/node_buffer.h:64:40: note: candidate: ‘v8::MaybeLocal node::Buffer::New(v8::Isolate*, char*, size_t)’
64 | NODE_EXTERN v8::MaybeLocal New(v8::Isolate* isolate,
| ^~~
/root/.cache/node-gyp/16.20.0/include/node/node_buffer.h:64:40: note: candidate expects 3 arguments, 1 provided
/root/.cache/node-gyp/16.20.0/include/node/node_buffer.h:69:44: note: candidate: ‘v8::MaybeLocal node::Buffer::New(v8::Isolate*, v8::Local, size_t, size_t)’
69 | NODE_EXTERN v8::MaybeLocal New(v8::Isolate* isolate,
| ^~~
/root/.cache/node-gyp/16.20.0/include/node/node_buffer.h:69:44: note: candidate expects 4 arguments, 1 provided
In file included from ../src/bufferutil.cc:15:
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h: In function ‘v8::Local NanBufferUse(char*, uint32_t)’:
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h:259:26: error: ‘Use’ is not a member of ‘node::Buffer’
259 | return node::Buffer::Use(data, size);
| ^~~
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h: At global scope:
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h:275:13: error: ‘v8::Handle’ has not been declared
275 | , v8::Handle value) {
| ^~~~~~
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h:275:19: error: expected ‘,’ or ‘...’ before ‘<’ token
275 | , v8::Handle value) {
| ^
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h: In function ‘bool NanHasInstance(v8::Persistent&, int)’:
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h:276:65: error: ‘value’ was not declared in this scope
276 | return NanPersistentToLocal(function_template)->HasInstance(value);
| ^~~~~
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h: At global scope:
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h:281:9: error: ‘v8::Handle’ has not been declared
281 | v8::Handle tmpl = v8::Handle(),
| ^~~~~~
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h:281:15: error: expected ‘,’ or ‘...’ before ‘<’ token
281 | v8::Handle tmpl = v8::Handle(),
| ^
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h:281:5: error: default argument missing for parameter 2 of ‘v8::Local NanNewContextHandle(v8::ExtensionConfiguration*, int)’
281 | v8::Handle tmpl = v8::Handle(),
| ^~~~~~~~~~
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h:280:33: note: ...following parameter 1 which has a default argument
280 | v8::ExtensionConfiguration* extensions = NULL,
| ^
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h: In function ‘v8::Local NanNewContextHandle(v8::ExtensionConfiguration*, int)’:
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h:284:36: error: ‘tmpl’ was not declared in this scope; did you mean ‘tm’?
284 | nan_isolate, extensions, tmpl, obj));
| ^~~~
| tm
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h:284:42: error: ‘obj’ was not declared in this scope
284 | nan_isolate, extensions, tmpl, obj));
| ^~~
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h: In constructor ‘NanCallback::NanCallback(const v8::Local&)’:
/var/www/myprog.com.ua/server/node/node_modules/nan/nan.h:450:49: error: no matching function for call to ‘v8::Object::New()’
450 | v8::Local obj = v8::Object::New();
| ^
In file included from ../src/bufferutil.cc:7:
/root/.cache/node-gyp/16.20.0/include/node/v8.h:4391:24: note: candidate: ‘static v8::Local v8::Object::New(v8::Isolate*)’
4391 | static Local