Advertisement
Guest User

Untitled

a guest
Dec 25th, 2019
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 73.92 KB | None | 0 0
  1. $ ./iobroker add wetty --host raspberrypi4
  2. NPM version: 6.11.3
  3. npm install iobroker.wetty@0.1.1 --loglevel error --prefix "/opt/iobroker" (System call)
  4. In file included from ../node_modules/nan/nan.h:82, from ../src/bufferutil.cc:16:../node_modules/nan/nan_new.h: In function ‘v8::Local<T> NanIntern::To(v8::Handle<v8::Integer>) [with T = v8::Integer; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]’:../node_modules/nan/nan_new.h:29:66: warning: ‘v8::Local<v8::Integer> v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] To<v8::Integer>(v8::Handle<v8::Integer> i) { return i->ToInteger(); } ^In file included from ../src/bufferutil.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:10052:16: note: declared here Local<Integer> Value::ToInteger() const { ^~~~~
  5. In file included from ../node_modules/nan/nan.h:82, from ../src/bufferutil.cc:16:../node_modules/nan/nan_new.h: In function ‘v8::Local<T> NanIntern::To(v8::Handle<v8::Integer>) [with T = v8::Int32; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]’:../node_modules/nan/nan_new.h:34:64: error: no matching function for call to ‘v8::Integer::ToInt32()’ To<v8::Int32>(v8::Handle<v8::Integer> i) { return i->ToInt32(); } ^In file included from ../src/bufferutil.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2437:43: note: candidate: ‘v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const; ^~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 providedIn file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26, from ../src/bufferutil.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2450:30: note: candidate: ‘v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const’ Local<Int32> ToInt32(Isolate* isolate) const); ^~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided Local<Int32> ToInt32(Isolate* isolate) const); ^~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~
  6. In file included from ../node_modules/nan/nan.h:82, from ../src/bufferutil.cc:16:../node_modules/nan/nan_new.h: In function ‘v8::Local<T> NanIntern::To(v8::Handle<v8::Integer>) [with T = v8::Uint32; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]’:../node_modules/nan/nan_new.h:39:65: error: no matching function for call to ‘v8::Integer::ToUint32()’ To<v8::Uint32>(v8::Handle<v8::Integer> i) { return i->ToUint32(); } ^In file included from ../src/bufferutil.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2435:44: note: candidate: ‘v8::MaybeLocal<v8::Uint32> v8::Value::ToUint32(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT MaybeLocal<Uint32> ToUint32( ^~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2435:44: note: candidate expects 1 argument, 0 provided
  7. In file included from ../node_modules/nan/nan_new.h:189, from ../node_modules/nan/nan.h:82, from ../src/bufferutil.cc:16:../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::BooleanObject>::return_t NanIntern::Factory<v8::BooleanObject>::New(bool)’:../node_modules/nan/nan_implementation_12_inl.h:49:38: error: no matching function for call to ‘v8::BooleanObject::New(bool&)’ return v8::BooleanObject::New(value).As<v8::BooleanObject>(); ^
  8. In file included from ../src/bufferutil.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:5035:23: note: candidate: ‘static v8::Local<v8::Value> v8::BooleanObject::New(v8::Isolate*, bool)’ static Local<Value> New(Isolate* isolate, bool value); ^~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:5035:23: note: candidate expects 2 arguments, 1 providedIn file included from ../node_modules/nan/nan_new.h:189, from ../node_modules/nan/nan.h:82, from ../src/bufferutil.cc:16:../node_modules/nan/nan_implementation_12_inl.h:49:60: error: expected primary-expression before ‘>’ token return v8::BooleanObject::New(value).As<v8::BooleanObject>(); ^../node_modules/nan/nan_implementation_12_inl.h:49:62: error: expected primary-expression before ‘)’ token return v8::BooleanObject::New(value).As<v8::BooleanObject>(); ^
  9. ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::RegExp>::return_t NanIntern::Factory<v8::RegExp>::New(v8::Handle<v8::String>, v8::RegExp::Flags)’:../node_modules/nan/nan_implementation_12_inl.h:158:40: warning: ‘static v8::Local<v8::RegExp> v8::RegExp::New(v8::Local<v8::String>, v8::RegExp::Flags)’ is deprecated: Use maybe version [-Wdeprecated-declarations] return v8::RegExp::New(pattern, flags); ^
  10. In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26, from ../src/bufferutil.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:5110:38: note: declared here Local<RegExp> New(Local<String> pattern, Flags flags)); ^~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~In file included from ../node_modules/nan/nan_new.h:189, from ../node_modules/nan/nan.h:82, from ../src/bufferutil.cc:16:../node_modules/nan/nan_implementation_12_inl.h:158:40: warning: ‘static v8::Local<v8::RegExp> v8::RegExp::New(v8::Local<v8::String>, v8::RegExp::Flags)’ is deprecated: Use maybe version [-Wdeprecated-declarations] return v8::RegExp::New(pattern, flags); ^In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26, from ../src/bufferutil.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:5110:38: note: declared here Local<RegExp> New(Local<String> pattern, Flags flags)); ^~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~
  11. In file included from ../node_modules/nan/nan_new.h:189, from ../node_modules/nan/nan.h:82, from ../src/bufferutil.cc:16:../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::Script>::return_t NanIntern::Factory<v8::Script>::New(v8::Local<v8::String>)’:../node_modules/nan/nan_implementation_12_inl.h:166:69: error: no matching function for call to ‘v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*)’ return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src); ^In file included from ../src/bufferutil.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: candidate: ‘static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions, v8::ScriptCompiler::NoCacheReason)’ static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1537:51: note: candidate: ‘static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::StreamedSource*, v8::Local<v8::String>, const v8::ScriptOrigin&)’ static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1537:51: note: candidate expects 4 arguments, 2 provided
  12. In file included from ../node_modules/nan/nan_new.h:189, from ../node_modules/nan/nan.h:82, from ../src/bufferutil.cc:16:../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::Script>::return_t NanIntern::Factory<v8::Script>::New(v8::Local<v8::String>, const v8::ScriptOrigin&)’:../node_modules/nan/nan_implementation_12_inl.h:173:69: error: no matching function for call to ‘v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*)’ return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src); ^In file included from ../src/bufferutil.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: candidate: ‘static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions, v8::ScriptCompiler::NoCacheReason)’ static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1537:51: note: candidate: ‘static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::StreamedSource*, v8::Local<v8::String>, const v8::ScriptOrigin&)’ static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1537:51: note: candidate expects 4 arguments, 2 provided
  13. In file included from ../node_modules/nan/nan_new.h:189, from ../node_modules/nan/nan.h:82, from ../src/bufferutil.cc:16:../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::String>::return_t NanIntern::Factory<v8::String>::New(const uint8_t*, int)’:../node_modules/nan/nan_implementation_12_inl.h:206:42: error: no matching function for call to ‘v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*&, v8::String::NewStringType, int&)’ v8::String::kNormalString, length); ^In file included from ../src/bufferutil.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2802:51: note: candidate: ‘static v8::MaybeLocal<v8::String> v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::NewStringType, int)’ static V8_WARN_UNUSED_RESULT MaybeLocal<String> NewFromOneByte( ^~~~~~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2802:51: note: no known conversion for argument 3 from ‘v8::String::NewStringType’ to ‘v8::NewStringType’In file included from ../node_modules/nan/nan_new.h:189, from ../node_modules/nan/nan.h:82, from ../src/bufferutil.cc:16:../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::String>::return_t NanIntern::Factory<v8::String>::New(v8::String::ExternalStringResource*)’:../node_modules/nan/nan_implementation_12_inl.h:217:66: error: no matching function for call to ‘v8::String::NewExternal(v8::Isolate*, v8::String::ExternalStringResource*&)’ return v8::String::NewExternal(v8::Isolate::GetCurrent(), value); ^
  14. In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26, from ../src/bufferutil.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2861:21: note: candidate: ‘static v8::Local<v8::String> v8::String::NewExternal(v8::Isolate*, v8::String::ExternalOneByteStringResource*)’ Local<String> NewExternal(Isolate* isolate, ^~~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:346:48: note: in definition of macro ‘V8_DEPRECATE_SOON’ #define V8_DEPRECATE_SOON(message, declarator) declarator ^~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2861:21: note: no known conversion for argument 2 from ‘v8::String::ExternalStringResource*’ to ‘v8::String::ExternalOneByteStringResource*’ Local<String> NewExternal(Isolate* isolate, ^~~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:346:48: note: in definition of macro ‘V8_DEPRECATE_SOON’ #define V8_DEPRECATE_SOON(message, declarator) declarator ^~~~~~~~~~
  15. In file included from ../node_modules/nan/nan_new.h:189, from ../node_modules/nan/nan.h:82, from ../src/bufferutil.cc:16:../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::UnboundScript>::return_t NanIntern::Factory<v8::UnboundScript>::New(v8::Local<v8::String>)’:../node_modules/nan/nan_implementation_12_inl.h:237:30: error: ‘CompileUnbound’ is not a member of ‘v8::ScriptCompiler’ return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src); ^~~~~~~~~~~~~~
  16. ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static NanIntern::FactoryBase<v8::UnboundScript>::return_t NanIntern::Factory<v8::UnboundScript>::New(v8::Local<v8::String>, const v8::ScriptOrigin&)’:../node_modules/nan/nan_implementation_12_inl.h:244:30: error: ‘CompileUnbound’ is not a member of ‘v8::ScriptCompiler’ return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src); ^~~~~~~~~~~~~~
  17. In file included from ../src/bufferutil.cc:16:../node_modules/nan/nan.h: In function ‘uint32_t NanUInt32OptionValue(v8::Local<v8::Object>, v8::Handle<v8::String>, uint32_t)’:../node_modules/nan/nan.h:248:43: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] ? optionsObj->Get(opt)->Uint32Value() ^
  18. In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26, from ../src/bufferutil.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2477:47: note: declared here V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const); ^~~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~In file included from ../src/bufferutil.cc:16:../node_modules/nan/nan.h: At global scope:../node_modules/nan/nan.h:261:25: error: redefinition of ‘template<class T> v8::Local<T> _NanEnsureLocal(v8::Local<T>)’ NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Local<T> val) { ^~~~~~~~~~~~~~~../node_modules/nan/nan.h:256:25: note: ‘template<class T> v8::Local<T> _NanEnsureLocal(v8::Handle<T>)’ previously declared here NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Handle<T> val) { ^~~~~~~~~~~~~~~
  19. ../node_modules/nan/nan.h: In function ‘bool NanIdleNotification(int)’:../node_modules/nan/nan.h:289:39: error: ‘class v8::Isolate’ has no member named ‘IdleNotification’; did you mean ‘IdleNotificationDeadline’? return v8::Isolate::GetCurrent()->IdleNotification(idle_time_in_ms); ^~~~~~~~~~~~~~~~ IdleNotificationDeadline
  20. ../node_modules/nan/nan.h: At global scope:../node_modules/nan/nan.h:473:20: error: variable or field ‘NanAddGCEpilogueCallback’ declared void v8::Isolate::GCEpilogueCallback callback ^~~~~~~~~~~~~~~~~~../node_modules/nan/nan.h:473:20: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’
  21. ../node_modules/nan/nan.h:474:18: error: expected primary-expression before ‘gc_type_filter’ , v8::GCType gc_type_filter = v8::kGCTypeAll) { ^~~~~~~~~~~~~~../node_modules/nan/nan.h:479:20: error: variable or field ‘NanRemoveGCEpilogueCallback’ declared void v8::Isolate::GCEpilogueCallback callback) { ^~~~~~~~~~~~~~~~~~../node_modules/nan/nan.h:479:20: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’../node_modules/nan/nan.h:484:20: error: variable or field ‘NanAddGCPrologueCallback’ declared void v8::Isolate::GCPrologueCallback callback ^~~~~~~~~~~~~~~~~~../node_modules/nan/nan.h:484:20: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’../node_modules/nan/nan.h:485:18: error: expected primary-expression before ‘gc_type_filter’ , v8::GCType gc_type_filter = v8::kGCTypeAll) { ^~~~~~~~~~~~~~../node_modules/nan/nan.h:490:20: error: variable or field ‘NanRemoveGCPrologueCallback’ declared void v8::Isolate::GCPrologueCallback callback) { ^~~~~~~~~~~~~~~~~~../node_modules/nan/nan.h:490:20: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’
  22. ../node_modules/nan/nan.h:569:15: error: ‘WeakCallbackData’ in namespace ‘v8’ does not name a template type const v8::WeakCallbackData<T, _NanWeakCallbackInfo<T, P> > &data) { ^~~~~~~~~~~~~~~~../node_modules/nan/nan.h:569:11: note: suggested alternative: ‘WeakCallbackType’ const v8::WeakCallbackData<T, _NanWeakCallbackInfo<T, P> > &data) { ^~ WeakCallbackType../node_modules/nan/nan.h:569:31: error: expected ‘,’ or ‘...’ before ‘<’ token const v8::WeakCallbackData<T, _NanWeakCallbackInfo<T, P> > &data) { ^
  23. ../node_modules/nan/nan.h: In function ‘void _NanWeakCallbackDispatcher(int)’:../node_modules/nan/nan.h:570:42: error: ‘data’ was not declared in this scope _NanWeakCallbackInfo<T, P> *info = data.GetParameter(); ^~~~
  24. ../node_modules/nan/nan.h: At global scope:../node_modules/nan/nan.h:661:13: error: ‘node::smalloc’ has not been declared , node::smalloc::FreeCallback callback ^~~~~~~
  25. ../node_modules/nan/nan.h:661:35: error: expected ‘,’ or ‘...’ before ‘callback’ , node::smalloc::FreeCallback callback ^~~~~~~~../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(char*, size_t, int)’:../node_modules/nan/nan.h:665:50: error: ‘callback’ was not declared in this scope v8::Isolate::GetCurrent(), data, length, callback, hint); ^~~~~~~~
  26. ../node_modules/nan/nan.h:665:50: note: suggested alternative: ‘calloc’ v8::Isolate::GetCurrent(), data, length, callback, hint); ^~~~~~~~ calloc../node_modules/nan/nan.h:665:60: error: ‘hint’ was not declared in this scope v8::Isolate::GetCurrent(), data, length, callback, hint); ^~~~
  27. ../node_modules/nan/nan.h:665:60: note: suggested alternative: ‘uint’ v8::Isolate::GetCurrent(), data, length, callback, hint); ^~~~ uint../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(const char*, uint32_t)’:../node_modules/nan/nan.h:672:57: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive] return node::Buffer::New(v8::Isolate::GetCurrent(), data, size); ^~~~In file included from ../src/bufferutil.cc:10:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node_buffer.h:69:50: note: initializing argument 2 of ‘v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t)’ char* data, ~~~~~~^~~~In file included from ../src/bufferutil.cc:16:../node_modules/nan/nan.h:672:29: error: could not convert ‘node::Buffer::New(v8::Isolate::GetCurrent(), ((char*)data), size)’ from ‘v8::MaybeLocal<v8::Object>’ to ‘v8::Local<v8::Object>’ return node::Buffer::New(v8::Isolate::GetCurrent(), data, size); ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  28. ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(uint32_t)’:../node_modules/nan/nan.h:676:29: error: could not convert ‘node::Buffer::New(v8::Isolate::GetCurrent(), size)’ from ‘v8::MaybeLocal<v8::Object>’ to ‘v8::Local<v8::Object>’ return node::Buffer::New(v8::Isolate::GetCurrent(), size); ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanBufferUse(char*, uint32_t)’:../node_modules/nan/nan.h:683:26: error: ‘Use’ is not a member of ‘node::Buffer’ return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size); ^~~
  29. ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Script> NanCompileScript(v8::Local<v8::String>, const v8::ScriptOrigin&)’:../node_modules/nan/nan.h:710:74: error: no matching function for call to ‘v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*)’ return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source); ^In file included from ../src/bufferutil.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: candidate: ‘static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions, v8::ScriptCompiler::NoCacheReason)’ static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1537:51: note: candidate: ‘static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::StreamedSource*, v8::Local<v8::String>, const v8::ScriptOrigin&)’ static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1537:51: note: candidate expects 4 arguments, 2 providedIn file included from ../src/bufferutil.cc:16:../node_modules/nan/nan.h: In function ‘v8::Local<v8::Script> NanCompileScript(v8::Local<v8::String>)’:../node_modules/nan/nan.h:717:74: error: no matching function for call to ‘v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*)’ return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source); ^In file included from ../src/bufferutil.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: candidate: ‘static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions, v8::ScriptCompiler::NoCacheReason)’ static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1510:51: note: no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1537:51: note: candidate: ‘static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::StreamedSource*, v8::Local<v8::String>, const v8::ScriptOrigin&)’ static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile( ^~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1537:51: note: candidate expects 4 arguments, 2 providedIn file included from ../src/bufferutil.cc:16:../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> NanRunScript(v8::Handle<v8::UnboundScript>)’:../node_modules/nan/nan.h:723:48: warning: ‘v8::Local<v8::Value> v8::Script::Run()’ is deprecated: Use maybe version [-Wdeprecated-declarations] return script->BindToCurrentContext()->Run(); ^In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26, from ../src/bufferutil.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1271:51: note: declared here V8_DEPRECATED("Use maybe version", Local<Value> Run()); ^~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~
  30. In file included from ../src/bufferutil.cc:16:../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> NanRunScript(v8::Handle<v8::Script>)’:../node_modules/nan/nan.h:729:24: warning: ‘v8::Local<v8::Value> v8::Script::Run()’ is deprecated: Use maybe version [-Wdeprecated-declarations] return script->Run(); ^In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26, from ../src/bufferutil.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:1271:51: note: declared here V8_DEPRECATED("Use maybe version", Local<Value> Run()); ^~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~In file included from ../src/bufferutil.cc:16:../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> NanMakeCallback(v8::Handle<v8::Object>, v8::Handle<v8::Function>, int, v8::Handle<v8::Value>*)’:../node_modules/nan/nan.h:738:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, func, argc, argv)); ^In file included from ../src/bufferutil.cc:8:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~In file included from ../src/bufferutil.cc:16:../node_modules/nan/nan.h:738:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, func, argc, argv)); ^In file included from ../src/bufferutil.cc:8:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~In file included from ../src/bufferutil.cc:16:../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> NanMakeCallback(v8::Handle<v8::Object>, v8::Handle<v8::String>, int, v8::Handle<v8::Value>*)’:../node_modules/nan/nan.h:747:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, symbol, argc, argv)); ^In file included from ../src/bufferutil.cc:8:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:170:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~In file included from ../src/bufferutil.cc:16:../node_modules/nan/nan.h:747:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, symbol, argc, argv)); ^In file included from ../src/bufferutil.cc:8:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:170:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~In file included from ../src/bufferutil.cc:16:../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> NanMakeCallback(v8::Handle<v8::Object>, const char*, int, v8::Handle<v8::Value>*)’:../node_modules/nan/nan.h:756:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, method, argc, argv)); ^In file included from ../src/bufferutil.cc:8:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:163:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~In file included from ../src/bufferutil.cc:16:../node_modules/nan/nan.h:756:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, method, argc, argv)); ^In file included from ../src/bufferutil.cc:8:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:163:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~
  31. In file included from ../src/bufferutil.cc:16:../node_modules/nan/nan.h: In member function ‘v8::Handle<v8::Value> NanCallback::Call_(v8::Isolate*, v8::Handle<v8::Object>, int, v8::Handle<v8::Value>*) const’:../node_modules/nan/nan.h:1569:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] )); ^../node_modules/nan/nan.h:398:59: note: in definition of macro ‘NanEscapeScope’ # define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val)) ^~~
  32. In file included from ../src/bufferutil.cc:8:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~In file included from ../src/bufferutil.cc:16:../node_modules/nan/nan.h:1569:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] )); ^../node_modules/nan/nan.h:398:59: note: in definition of macro ‘NanEscapeScope’ # define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val)) ^~~In file included from ../src/bufferutil.cc:8:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~
  33. In file included from ../src/bufferutil.cc:16:../node_modules/nan/nan.h: In function ‘void NanAsyncQueueWorker(NanAsyncWorker*)’:../node_modules/nan/nan.h:1800:25: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type] , (uv_after_work_cb)NanAsyncExecuteComplete ^~~~~~~~~~~~~~~~~~~~~~~
  34. ../node_modules/nan/nan.h: In function ‘void* _NanRawString(v8::Handle<v8::Value>, Nan::Encoding, size_t*, void*, size_t, int)’:../node_modules/nan/nan.h:2164:38: warning: ‘v8::String::Value::Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] v8::String::Value value(toStr); ^
  35. In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26, from ../src/bufferutil.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2916:51: note: declared here V8_DEPRECATED("Use Isolate version", explicit Value(Local<v8::Value> obj)); ^~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~
  36. In file included from ../src/bufferutil.cc:16:../node_modules/nan/nan.h:2198:38: warning: ‘v8::String::Value::Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] v8::String::Value value(toStr); ^
  37. In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26, from ../src/bufferutil.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2916:51: note: declared here V8_DEPRECATED("Use Isolate version", explicit Value(Local<v8::Value> obj)); ^~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~
  38. In file included from ../src/bufferutil.cc:16:../node_modules/nan/nan.h: In constructor ‘NanTap::NanTap(v8::Handle<v8::Value>)’:../node_modules/nan/nan.h:2292:41: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] NanAssignPersistent(t_, t->ToObject()); ^
  39. In file included from ../src/bufferutil.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~
  40. ../src/bufferutil.cc: In static member function ‘static void BufferUtil::Initialize(v8::Handle<v8::Object>)’:../src/bufferutil.cc:30:52: error: call of overloaded ‘NODE_SET_METHOD(v8::Local<v8::FunctionTemplate>&, const char [7], void (&)(const v8::FunctionCallbackInfo<v8::Value>&))’ is ambiguous NODE_SET_METHOD(t, "unmask", BufferUtil::Unmask); ^
  41. In file included from ../src/bufferutil.cc:8:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:372:13: note: candidate: ‘void node::NODE_SET_METHOD(v8::Local<v8::Template>, const char*, v8::FunctionCallback)’ inline void NODE_SET_METHOD(v8::Local<v8::Template> recv, ^~~~~~~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:386:13: note: candidate: ‘void node::NODE_SET_METHOD(v8::Local<v8::Object>, const char*, v8::FunctionCallback)’ inline void NODE_SET_METHOD(v8::Local<v8::Object> recv, ^~~~~~~~~~~~~~~../src/bufferutil.cc:31:48: error: call of overloaded ‘NODE_SET_METHOD(v8::Local<v8::FunctionTemplate>&, const char [5], void (&)(const v8::FunctionCallbackInfo<v8::Value>&))’ is ambiguous NODE_SET_METHOD(t, "mask", BufferUtil::Mask); ^In file included from ../src/bufferutil.cc:8:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:372:13: note: candidate: ‘void node::NODE_SET_METHOD(v8::Local<v8::Template>, const char*, v8::FunctionCallback)’ inline void NODE_SET_METHOD(v8::Local<v8::Template> recv, ^~~~~~~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:386:13: note: candidate: ‘void node::NODE_SET_METHOD(v8::Local<v8::Object>, const char*, v8::FunctionCallback)’ inline void NODE_SET_METHOD(v8::Local<v8::Object> recv, ^~~~~~~~~~~~~~~../src/bufferutil.cc:32:50: error: call of overloaded ‘NODE_SET_METHOD(v8::Local<v8::FunctionTemplate>&, const char [6], void (&)(const v8::FunctionCallbackInfo<v8::Value>&))’ is ambiguous NODE_SET_METHOD(t, "merge", BufferUtil::Merge); ^In file included from ../src/bufferutil.cc:8:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:372:13: note: candidate: ‘void node::NODE_SET_METHOD(v8::Local<v8::Template>, const char*, v8::FunctionCallback)’ inline void NODE_SET_METHOD(v8::Local<v8::Template> recv, ^~~~~~~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:386:13: note: candidate: ‘void node::NODE_SET_METHOD(v8::Local<v8::Object>, const char*, v8::FunctionCallback)’ inline void NODE_SET_METHOD(v8::Local<v8::Object> recv, ^~~~~~~~~~~~~~~
  42. ../src/bufferutil.cc: In static member function ‘static void BufferUtil::Merge(const v8::FunctionCallbackInfo<v8::Value>&)’:../src/bufferutil.cc:49:49: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] Local<Object> bufferObj = args[0]->ToObject(); ^In file included from ../src/bufferutil.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~
  43. ../src/bufferutil.cc:56:51: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] Local<Object> src = array->Get(i)->ToObject(); ^
  44. In file included from ../src/bufferutil.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~
  45. ../src/bufferutil.cc: In static member function ‘static void BufferUtil::Unmask(const v8::FunctionCallbackInfo<v8::Value>&)’:../src/bufferutil.cc:67:50: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] Local<Object> buffer_obj = args[0]->ToObject(); ^In file included from ../src/bufferutil.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~../src/bufferutil.cc:69:48: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] Local<Object> mask_obj = args[1]->ToObject(); ^
  46. In file included from ../src/bufferutil.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~
  47. ../src/bufferutil.cc: In static member function ‘static void BufferUtil::Mask(const v8::FunctionCallbackInfo<v8::Value>&)’:../src/bufferutil.cc:88:50: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] Local<Object> buffer_obj = args[0]->ToObject(); ^In file included from ../src/bufferutil.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~../src/bufferutil.cc:89:48: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] Local<Object> mask_obj = args[1]->ToObject(); ^
  48. In file included from ../src/bufferutil.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~../src/bufferutil.cc:91:50: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] Local<Object> output_obj = args[2]->ToObject(); ^In file included from ../src/bufferutil.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~../src/bufferutil.cc:92:51: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] unsigned int dataOffset = args[3]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26, from ../src/bufferutil.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~
  49. ../src/bufferutil.cc:93:47: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] unsigned int length = args[4]->Int32Value(); ^In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26, from ../src/bufferutil.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~
  50. In file included from ../src/bufferutil.cc:8:../src/bufferutil.cc: At global scope:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:573:43: warning: cast between incompatible function types from ‘void (*)(v8::Handle<v8::Object>)’ {aka ‘void (*)(v8::Local<v8::Object>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type] (node::addon_register_func) (regfunc), \ ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:607:3: note: in expansion of macro ‘NODE_MODULE_X’ NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) ^~~~~~~~~~~~~../src/bufferutil.cc:120:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(bufferutil, init) ^~~~~~~~~~~
  51. In file included from ../src/bufferutil.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node_object_wrap.h:84:78: required from here/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type] reinterpret_cast<Callback>(callback), type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  52. make: *** [bufferutil.target.mk:103: Release/obj.target/bufferutil/src/bufferutil.o] Fehler 1
  53. gyp ERR! build error
  54. gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:193:23)gyp ERR! stack at ChildProcess.emit (events.js:198:13)gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)gyp ERR! System Linux 4.19.81-v7l+gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/bufferutilgyp ERR! node -v v10.17.0gyp ERR! node-gyp -v v5.0.3gyp ERR! not ok
  55. In file included from ../node_modules/nan/nan.h:190, from ../src/unix/pty.cc:20:../node_modules/nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’:../node_modules/nan/nan_maybe_43_inl.h:88:15: error: ‘class v8::Object’ has no member named ‘ForceSet’ return obj->ForceSet(GetCurrentContext(), key, value, attribs); ^~~~~~~~
  56. In file included from ../src/unix/pty.cc:20:../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’:../node_modules/nan/nan.h:817:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, func, argc, argv); ^
  57. In file included from ../node_modules/nan/nan.h:47, from ../src/unix/pty.cc:20:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~In file included from ../src/unix/pty.cc:20:../node_modules/nan/nan.h:817:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, func, argc, argv); ^In file included from ../node_modules/nan/nan.h:47, from ../src/unix/pty.cc:20:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~
  58. In file included from ../src/unix/pty.cc:20:../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’:../node_modules/nan/nan.h:831:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, symbol, argc, argv); ^In file included from ../node_modules/nan/nan.h:47, from ../src/unix/pty.cc:20:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:170:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~In file included from ../src/unix/pty.cc:20:../node_modules/nan/nan.h:831:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, symbol, argc, argv); ^In file included from ../node_modules/nan/nan.h:47, from ../src/unix/pty.cc:20:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:170:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~In file included from ../src/unix/pty.cc:20:../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’:../node_modules/nan/nan.h:845:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, method, argc, argv); ^
  59. In file included from ../node_modules/nan/nan.h:47, from ../src/unix/pty.cc:20:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:163:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~In file included from ../src/unix/pty.cc:20:../node_modules/nan/nan.h:845:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, method, argc, argv); ^In file included from ../node_modules/nan/nan.h:47, from ../src/unix/pty.cc:20:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:163:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~
  60. In file included from ../src/unix/pty.cc:20:../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callback::Call_(v8::Isolate*, v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’:../node_modules/nan/nan.h:1463:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] )); ^
  61. In file included from ../node_modules/nan/nan.h:47, from ../src/unix/pty.cc:20:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~In file included from ../src/unix/pty.cc:20:../node_modules/nan/nan.h:1463:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] )); ^In file included from ../node_modules/nan/nan.h:47, from ../src/unix/pty.cc:20:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~
  62. In file included from ../src/unix/pty.cc:20:../node_modules/nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:../node_modules/nan/nan.h:1706:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type] , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete) ^
  63. ../src/unix/pty.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE PtyFork(Nan::NAN_METHOD_ARGS_TYPE)’:../src/unix/pty.cc:164:45: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] String::Utf8Value file(info[0]->ToString()); ^
  64. In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26, from /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix/pty.cc:20:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2892:28: note: declared here explicit Utf8Value(Local<v8::Value> obj)); ^~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~
  65. ../src/unix/pty.cc:175:71: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] String::Utf8Value arg(argv_->Get(Nan::New<Integer>(i))->ToString()); ^
  66. In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26, from /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix/pty.cc:20:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2892:28: note: declared here explicit Utf8Value(Local<v8::Value> obj)); ^~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~
  67. ../src/unix/pty.cc:186:71: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] String::Utf8Value pair(env_->Get(Nan::New<Integer>(i))->ToString()); ^In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26, from /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix/pty.cc:20:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2892:28: note: declared here explicit Utf8Value(Local<v8::Value> obj)); ^~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~../src/unix/pty.cc:191:45: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] String::Utf8Value cwd_(info[3]->ToString()); ^
  68. In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26, from /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix/pty.cc:20:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2892:28: note: declared here explicit Utf8Value(Local<v8::Value> obj)); ^~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~../src/unix/pty.cc:196:39: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] winp.ws_col = info[4]->IntegerValue(); ^In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26, from /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix/pty.cc:20:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2476:46: note: declared here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~../src/unix/pty.cc:197:39: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] winp.ws_row = info[5]->IntegerValue(); ^In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26, from /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix/pty.cc:20:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2476:46: note: declared here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~
  69. ../src/unix/pty.cc:202:35: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] int uid = info[6]->IntegerValue(); ^In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26, from /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix/pty.cc:20:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2476:46: note: declared here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~../src/unix/pty.cc:203:35: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] int gid = info[7]->IntegerValue(); ^In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26, from /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix/pty.cc:20:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2476:46: note: declared here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~
  70. ../src/unix/pty.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE PtyOpen(Nan::NAN_METHOD_ARGS_TYPE)’:../src/unix/pty.cc:288:39: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] winp.ws_col = info[0]->IntegerValue(); ^
  71. In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26, from /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix/pty.cc:20:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2476:46: note: declared here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~../src/unix/pty.cc:289:39: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] winp.ws_row = info[1]->IntegerValue(); ^In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26, from /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix/pty.cc:20:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2476:46: note: declared here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~
  72. ../src/unix/pty.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE PtyResize(Nan::NAN_METHOD_ARGS_TYPE)’:../src/unix/pty.cc:339:34: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] int fd = info[0]->IntegerValue(); ^
  73. In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26, from /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix/pty.cc:20:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2476:46: note: declared here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~../src/unix/pty.cc:342:39: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] winp.ws_col = info[1]->IntegerValue(); ^In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26, from /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix/pty.cc:20:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2476:46: note: declared here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~../src/unix/pty.cc:343:39: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] winp.ws_row = info[2]->IntegerValue(); ^In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26, from /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix/pty.cc:20:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2476:46: note: declared here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~
  74. ../src/unix/pty.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE PtyGetProc(Nan::NAN_METHOD_ARGS_TYPE)’:../src/unix/pty.cc:369:34: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] int fd = info[0]->IntegerValue(); ^In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26, from /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix/pty.cc:20:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2476:46: note: declared here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^~~~~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~../src/unix/pty.cc:371:45: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] String::Utf8Value tty_(info[1]->ToString()); ^In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:26, from /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix/pty.cc:20:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:2892:28: note: declared here explicit Utf8Value(Local<v8::Value> obj)); ^~~~~~~~~/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~
  75. ../src/unix/pty.cc: In function ‘void pty_after_waitpid(uv_async_t*)’:../src/unix/pty.cc:470:43: warning: ‘void* memset(void*, int, size_t)’ writing to an object of type ‘class Nan::Persistent<v8::Function>’ with no trivial copy-assignment [-Wclass-memaccess] memset(&baton->cb, -1, sizeof(baton->cb)); ^
  76. In file included from ../node_modules/nan/nan.h:311, from ../src/unix/pty.cc:20:../node_modules/nan/nan_persistent_12_inl.h:12:40: note: ‘class Nan::Persistent<v8::Function>’ declared here template<typename T, typename M> class Persistent : ^~~~~~~~~~
  77. In file included from ../node_modules/nan/nan.h:47, from ../src/unix/pty.cc:20:../src/unix/pty.cc: At global scope:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:573:43: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local<v8::Object>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type] (node::addon_register_func) (regfunc), \ ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:607:3: note: in expansion of macro ‘NODE_MODULE_X’ NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) ^~~~~~~~~~~~~../src/unix/pty.cc:696:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(pty, init) ^~~~~~~~~~~
  78. In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix/pty.cc:20:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node_object_wrap.h:84:78: required from here/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type] reinterpret_cast<Callback>(callback), type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  79. /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:../node_modules/nan/nan_object_wrap.h:66:61: required from here/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
  80. make: *** [pty.target.mk:101: Release/obj.target/pty/src/unix/pty.o] Fehler 1
  81. gyp
  82. ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:193:23)gyp ERR! stack at ChildProcess.emit (events.js:198:13)gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)gyp ERR! System Linux 4.19.81-v7l+
  83. gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/pty.jsgyp ERR! node -v v10.17.0gyp ERR! node-gyp -v v5.0.3gyp ERR! not ok
  84. npm ERR! code ELIFECYCLEnpm ERR! errno 1npm ERR! pty.js@0.3.1 install: `node-gyp rebuild`npm ERR! Exit status 1npm ERR! npm ERR! Failed at the pty.js@0.3.1 install script.npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
  85. npm ERR! A complete log of this run can be found in:npm
  86. ERR! /home/iobroker/.npm/_logs/2019-12-25T19_47_40_279Z-debug.log
  87. ERROR: host.raspberrypi4 Cannot install iobroker.wetty@0.1.1: 1
  88. ERROR: process exited with code 25
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement