mzaspel@tinkerboard:~$ cd /opt/iobroker mzaspel@tinkerboard:/opt/iobroker$ npm i @abandonware/bluetooth-hci-socket > @abandonware/bluetooth-hci-socket@0.5.3-1 preinstall /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket > npm install node-pre-gyp npm notice created a lockfile as package-lock.json. You should commit this file. + node-pre-gyp@0.12.0 added 65 packages from 25 contributors and audited 97 packages in 4.813s found 0 vulnerabilities > diskusage@0.2.6 install /opt/iobroker/node_modules/diskusage > node-gyp rebuild make: Entering directory '/opt/iobroker/node_modules/diskusage/build' CXX(target) Release/obj.target/diskusage/src/main.o ../src/main.cpp: In function 'v8::Local ConvertDiskUsage(const DiskUsage&)': ../src/main.cpp:9:124: warning: 'bool v8::Object::Set(v8::Local, v8::Local)' is deprecated: Use maybe version [-Wdeprecated-declarations] obj->Set(Nan::New("available").ToLocalChecked(), Nan::New(static_cast(usage.available))); ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/v8-internal.h:14:0, from /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:25, from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63, from ../../nan/nan.h:54, from ../src/main.cpp:3: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:3359:26: note: declared here bool Set(Local key, Local value)); ^ /home/mzaspel/.node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/main.cpp:10:114: warning: 'bool v8::Object::Set(v8::Local, v8::Local)' is deprecated: Use maybe version [-Wdeprecated-declarations] obj->Set(Nan::New("free").ToLocalChecked(), Nan::New(static_cast(usage.free))); ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/v8-internal.h:14:0, from /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:25, from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63, from ../../nan/nan.h:54, from ../src/main.cpp:3: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:3359:26: note: declared here bool Set(Local key, Local value)); ^ /home/mzaspel/.node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/main.cpp:11:116: warning: 'bool v8::Object::Set(v8::Local, v8::Local)' is deprecated: Use maybe version [-Wdeprecated-declarations] obj->Set(Nan::New("total").ToLocalChecked(), Nan::New(static_cast(usage.total))); ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/v8-internal.h:14:0, from /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:25, from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63, from ../../nan/nan.h:54, from ../src/main.cpp:3: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:3359:26: note: declared here bool Set(Local key, Local value)); ^ /home/mzaspel/.node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/main.cpp: In function 'Nan::NAN_METHOD_RETURN_TYPE GetDiskUsage(Nan::NAN_METHOD_ARGS_TYPE)': ../src/main.cpp:26:71: error: no matching function for call to 'v8::String::Utf8Value::Utf8Value(v8::Local)' DiskUsage result = GetDiskUsage(*v8::String::Utf8Value(info[0])); ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63:0, from ../../nan/nan.h:54, from ../src/main.cpp:3: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:2995:5: note: candidate: v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local) Utf8Value(Isolate* isolate, Local obj); ^~~~~~~~~ /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:2995:5: note: candidate expects 2 arguments, 1 provided ../src/main.cpp: At global scope: ../src/main.cpp:37:15: error: variable or field 'Init' declared void void Init(v8::Handle exports) ^~~~~~ ../src/main.cpp:37:11: error: 'Handle' is not a member of 'v8' void Init(v8::Handle exports) ^~ ../src/main.cpp:37:32: error: expected primary-expression before '>' token void Init(v8::Handle exports) ^ ../src/main.cpp:37:34: error: 'exports' was not declared in this scope void Init(v8::Handle exports) ^~~~~~~ In file included from ../../nan/nan.h:54:0, from ../src/main.cpp:3: ../src/main.cpp:42:24: error: 'Init' was not declared in this scope NODE_MODULE(diskusage, Init) ^ /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:556:36: note: in definition of macro 'NODE_MODULE_X' (node::addon_register_func) (regfunc), \ ^~~~~~~ ../src/main.cpp:42:1: note: in expansion of macro 'NODE_MODULE' NODE_MODULE(diskusage, Init) ^~~~~~~~~~~ ../src/main.cpp:42:24: note: suggested alternative: NODE_MODULE(diskusage, Init) ^ /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:556:36: note: in definition of macro 'NODE_MODULE_X' (node::addon_register_func) (regfunc), \ ^~~~~~~ ../src/main.cpp:42:1: note: in expansion of macro 'NODE_MODULE' NODE_MODULE(diskusage, Init) ^~~~~~~~~~~ /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:217:18: note: 'node::Init' NODE_EXTERN void Init(int* argc, ^~~~ In file included from ../src/main.cpp:3:0: ../src/main.cpp:21:19: warning: 'Nan::NAN_METHOD_RETURN_TYPE GetDiskUsage(Nan::NAN_METHOD_ARGS_TYPE)' defined but not used [-Wunused-function] static NAN_METHOD(GetDiskUsage) ^ ../../nan/nan.h:1566:33: note: in definition of macro 'NAN_METHOD' Nan::NAN_METHOD_RETURN_TYPE name(Nan::NAN_METHOD_ARGS_TYPE info) ^~~~ diskusage.target.mk:108: recipe for target 'Release/obj.target/diskusage/src/main.o' failed make: *** [Release/obj.target/diskusage/src/main.o] Error 1 make: Leaving directory '/opt/iobroker/node_modules/diskusage/build' gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23) gyp ERR! stack at ChildProcess.emit (events.js:203:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12) gyp ERR! System Linux 4.19.57-rockchip gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /opt/iobroker/node_modules/diskusage gyp ERR! node -v v12.6.0 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok > node-bluetooth@1.2.5 install /opt/iobroker/node_modules/node-bluetooth > node-gyp configure build make: Entering directory '/opt/iobroker/node_modules/node-bluetooth/build' CXX(target) Release/obj.target/BluetoothSerialPort/src/linux/BluetoothSerialPort.o In file included from ../src/linux/BluetoothSerialPort.cc:13:0: ../src/DeviceINQ.h:49:30: error: 'v8::Handle' has not been declared static void Init(v8::Handle exports); ^~~~~~ ../src/DeviceINQ.h:49:36: error: expected ',' or '...' before '<' token static void Init(v8::Handle exports); ^ In file included from ../src/linux/BluetoothSerialPort.cc:14:0: ../src/BTSerialPortBinding.h:43:30: error: 'v8::Handle' has not been declared static void Init(v8::Handle exports); ^~~~~~ ../src/BTSerialPortBinding.h:43:36: error: expected ',' or '...' before '<' token static void Init(v8::Handle exports); ^ ../src/linux/BluetoothSerialPort.cc:18:14: error: variable or field 'InitAll' declared void void InitAll(Handle exports) { ^~~~~~ ../src/linux/BluetoothSerialPort.cc:18:14: error: 'Handle' was not declared in this scope ../src/linux/BluetoothSerialPort.cc:18:27: error: expected primary-expression before '>' token void InitAll(Handle exports) { ^ ../src/linux/BluetoothSerialPort.cc:18:29: error: 'exports' was not declared in this scope void InitAll(Handle exports) { ^~~~~~~ In file included from ../src/linux/BluetoothSerialPort.cc:12:0: ../src/linux/BluetoothSerialPort.cc:23:34: error: 'InitAll' was not declared in this scope NODE_MODULE(BluetoothSerialPort, InitAll) ^ /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:556:36: note: in definition of macro 'NODE_MODULE_X' (node::addon_register_func) (regfunc), \ ^~~~~~~ ../src/linux/BluetoothSerialPort.cc:23:1: note: in expansion of macro 'NODE_MODULE' NODE_MODULE(BluetoothSerialPort, InitAll) ^~~~~~~~~~~ BluetoothSerialPort.target.mk:111: recipe for target 'Release/obj.target/BluetoothSerialPort/src/linux/BluetoothSerialPort.o' failed make: *** [Release/obj.target/BluetoothSerialPort/src/linux/BluetoothSerialPort.o] Error 1 make: Leaving directory '/opt/iobroker/node_modules/node-bluetooth/build' gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23) gyp ERR! stack at ChildProcess.emit (events.js:203:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12) gyp ERR! System Linux 4.19.57-rockchip gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build" gyp ERR! cwd /opt/iobroker/node_modules/node-bluetooth gyp ERR! node -v v12.6.0 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok > unix-dgram@0.2.3 install /opt/iobroker/node_modules/unix-dgram > node-gyp rebuild make: Entering directory '/opt/iobroker/node_modules/unix-dgram/build' CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o In file included from ../node_modules/nan/nan.h:190:0, from ../src/unix_dgram.cc:5: ../node_modules/nan/nan_maybe_43_inl.h: In function 'Nan::Maybe Nan::ForceSet(v8::Local, v8::Local, v8::Local, 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); ^~~~~~~~ In file included from ../node_modules/nan/nan_converters.h:59:0, from ../node_modules/nan/nan.h:195, from ../src/unix_dgram.cc:5: ../node_modules/nan/nan_converters_43_inl.h: In static member function 'static Nan::imp::ToFactoryBase::return_t Nan::imp::ToFactory::convert(v8::Local)': ../node_modules/nan/nan_converters_43_inl.h:15:45: warning: 'v8::MaybeLocal v8::Value::ToBoolean(v8::Local) const' is deprecated: ToBoolean can never throw. Use Local version. [-Wdeprecated-declarations] return val->To ## TYPE(GetCurrentContext()); \ ^ ../node_modules/nan/nan_converters_43_inl.h:18:1: note: in expansion of macro 'X' X(Boolean) ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/v8-internal.h:14:0, from /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:25, from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:2524:59: note: declared here V8_WARN_UNUSED_RESULT MaybeLocal ToBoolean( ^ /home/mzaspel/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../node_modules/nan/nan_converters.h:59:0, from ../node_modules/nan/nan.h:195, from ../src/unix_dgram.cc:5: ../node_modules/nan/nan_converters_43_inl.h: In static member function 'static Nan::imp::ValueFactoryBase::return_t Nan::imp::ToFactory::convert(v8::Local)': ../node_modules/nan/nan_converters_43_inl.h:31:48: warning: 'v8::Maybe v8::Value::BooleanValue(v8::Local) const' is deprecated: BooleanValue can never throw. Use Isolate version. [-Wdeprecated-declarations] return val->NAME ## Value(GetCurrentContext()); \ ^ ../node_modules/nan/nan_converters_43_inl.h:34:1: note: in expansion of macro 'X' X(bool, Boolean) ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/v8-internal.h:14:0, from /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:25, from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:2562:51: note: declared here V8_WARN_UNUSED_RESULT Maybe BooleanValue( ^ /home/mzaspel/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../node_modules/nan/nan_new.h:189:0, from ../node_modules/nan/nan.h:196, from ../src/unix_dgram.cc:5: ../node_modules/nan/nan_implementation_12_inl.h: In static member function 'static Nan::imp::FactoryBase::return_t Nan::imp::Factory::New(Nan::FunctionCallback, v8::Local)': ../node_modules/nan/nan_implementation_12_inl.h:109:32: error: no matching function for call to 'v8::Function::New(v8::Isolate*&, void (&)(const v8::FunctionCallbackInfo&), v8::Local&)' , obj)); ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63:0, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:4125:31: note: candidate: static v8::MaybeLocal v8::Function::New(v8::Local, v8::FunctionCallback, v8::Local, int, v8::ConstructorBehavior, v8::SideEffectType) static MaybeLocal New( ^~~ /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:4125:31: note: no known conversion for argument 1 from 'v8::Isolate*' to 'v8::Local' In file included from ../node_modules/nan/nan_new.h:189:0, from ../node_modules/nan/nan.h:196, from ../src/unix_dgram.cc:5: ../node_modules/nan/nan_implementation_12_inl.h: In static member function 'static Nan::imp::FactoryBase::return_t Nan::imp::Factory::New(v8::Local)': ../node_modules/nan/nan_implementation_12_inl.h:345:37: error: no matching function for call to 'v8::StringObject::New(v8::Local&)' return v8::StringObject::New(value).As(); ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63:0, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:5381:23: note: candidate: static v8::Local v8::StringObject::New(v8::Isolate*, v8::Local) static Local New(Isolate* isolate, Local value); ^~~ /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:5381:23: note: candidate expects 2 arguments, 1 provided In file included from ../node_modules/nan/nan_new.h:189:0, from ../node_modules/nan/nan.h:196, from ../src/unix_dgram.cc:5: ../node_modules/nan/nan_implementation_12_inl.h:345:58: error: expected primary-expression before '>' token return v8::StringObject::New(value).As(); ^ ../node_modules/nan/nan_implementation_12_inl.h:345:60: error: expected primary-expression before ')' token return v8::StringObject::New(value).As(); ^ In file included from ../src/unix_dgram.cc:5:0: ../node_modules/nan/nan.h: In function 'v8::Local Nan::MakeCallback(v8::Local, v8::Local, int, v8::Local*)': ../node_modules/nan/nan.h:817:60: warning: 'v8::Local node::MakeCallback(v8::Isolate*, v8::Local, v8::Local, int, v8::Local*)' 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:0, from ../src/unix_dgram.cc:5: /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:174:50: note: declared here NODE_EXTERN v8::Local MakeCallback( ^ /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:93:42: note: in definition of macro 'NODE_DEPRECATED' __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/unix_dgram.cc:5:0: ../node_modules/nan/nan.h: In function 'v8::Local Nan::MakeCallback(v8::Local, v8::Local, int, v8::Local*)': ../node_modules/nan/nan.h:831:62: warning: 'v8::Local node::MakeCallback(v8::Isolate*, v8::Local, v8::Local, int, v8::Local*)' 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:0, from ../src/unix_dgram.cc:5: /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:167:50: note: declared here NODE_EXTERN v8::Local MakeCallback( ^ /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:93:42: note: in definition of macro 'NODE_DEPRECATED' __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/unix_dgram.cc:5:0: ../node_modules/nan/nan.h: In function 'v8::Local Nan::MakeCallback(v8::Local, const char*, int, v8::Local*)': ../node_modules/nan/nan.h:845:62: warning: 'v8::Local node::MakeCallback(v8::Isolate*, v8::Local, const char*, int, v8::Local*)' 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:0, from ../src/unix_dgram.cc:5: /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:160:50: note: declared here NODE_EXTERN v8::Local MakeCallback( ^ /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:93:42: note: in definition of macro 'NODE_DEPRECATED' __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/unix_dgram.cc:5:0: ../node_modules/nan/nan.h: In constructor 'Nan::Utf8String::Utf8String(v8::Local)': ../node_modules/nan/nan.h:890:53: error: no matching function for call to 'v8::Value::ToString()' v8::Local string = from->ToString(); ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63:0, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:2528:44: note: candidate: v8::MaybeLocal v8::Value::ToString(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal ToString( ^~~~~~~~ /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:2528:44: note: candidate expects 1 argument, 0 provided In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/v8-internal.h:14:0, from /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:25, from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:2544:31: note: candidate: v8::Local v8::Value::ToString(v8::Isolate*) const Local ToString(Isolate* isolate) const); ^ /home/mzaspel/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:2544:31: note: candidate expects 1 argument, 0 provided Local ToString(Isolate* isolate) const); ^ /home/mzaspel/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/unix_dgram.cc:5:0: ../node_modules/nan/nan.h:900:74: error: no matching function for call to 'v8::String::WriteUtf8(char*&, int, int, const int&)' length_ = string->WriteUtf8(str_, static_cast(len), 0, flags); ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63:0, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:2738:7: note: candidate: int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const int WriteUtf8(Isolate* isolate, char* buffer, int length = -1, ^~~~~~~~~ /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:2738:7: note: no known conversion for argument 1 from 'char*' to 'v8::Isolate*' In file included from ../src/unix_dgram.cc:5:0: ../node_modules/nan/nan.h: In member function 'bool Nan::Callback::operator==(const Nan::Callback&) const': ../node_modules/nan/nan.h:1371:61: warning: 'v8::Local v8::Object::Get(uint32_t)' is deprecated: Use maybe version [-Wdeprecated-declarations] v8::Local a = New(handle)->Get(kCallbackIndex); ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/v8-internal.h:14:0, from /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:25, from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:3416:55: note: declared here V8_DEPRECATE_SOON("Use maybe version", Local Get(uint32_t index)); ^ /home/mzaspel/.node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/unix_dgram.cc:5:0: ../node_modules/nan/nan.h:1372:67: warning: 'v8::Local v8::Object::Get(uint32_t)' is deprecated: Use maybe version [-Wdeprecated-declarations] v8::Local b = New(other.handle)->Get(kCallbackIndex); ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/v8-internal.h:14:0, from /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:25, from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:3416:55: note: declared here V8_DEPRECATE_SOON("Use maybe version", Local Get(uint32_t index)); ^ /home/mzaspel/.node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/unix_dgram.cc:5:0: ../node_modules/nan/nan.h: In member function 'v8::Local Nan::Callback::GetFunction() const': ../node_modules/nan/nan.h:1403:56: warning: 'v8::Local v8::Object::Get(uint32_t)' is deprecated: Use maybe version [-Wdeprecated-declarations] return scope.Escape(New(handle)->Get(kCallbackIndex) ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/v8-internal.h:14:0, from /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:25, from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:3416:55: note: declared here V8_DEPRECATE_SOON("Use maybe version", Local Get(uint32_t index)); ^ /home/mzaspel/.node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/unix_dgram.cc:5:0: ../node_modules/nan/nan.h: In member function 'bool Nan::Callback::IsEmpty() const': ../node_modules/nan/nan.h:1409:43: warning: 'v8::Local v8::Object::Get(uint32_t)' is deprecated: Use maybe version [-Wdeprecated-declarations] return New(handle)->Get(kCallbackIndex)->IsUndefined(); ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/v8-internal.h:14:0, from /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:25, from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:3416:55: note: declared here V8_DEPRECATE_SOON("Use maybe version", Local Get(uint32_t index)); ^ /home/mzaspel/.node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/unix_dgram.cc:5:0: ../node_modules/nan/nan.h: In member function 'v8::Local Nan::Callback::Call_(v8::Isolate*, v8::Local, int, v8::Local*) const': ../node_modules/nan/nan.h:1447:27: warning: 'v8::Local v8::Object::Get(uint32_t)' is deprecated: Use maybe version [-Wdeprecated-declarations] Get(kCallbackIndex).As(); ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/v8-internal.h:14:0, from /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:25, from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:3416:55: note: declared here V8_DEPRECATE_SOON("Use maybe version", Local Get(uint32_t index)); ^ /home/mzaspel/.node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/unix_dgram.cc:5:0: ../node_modules/nan/nan.h:1463:5: warning: 'v8::Local node::MakeCallback(v8::Isolate*, v8::Local, v8::Local, int, v8::Local*)' is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] )); ^ In file included from ../node_modules/nan/nan.h:47:0, from ../src/unix_dgram.cc:5: /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:174:50: note: declared here NODE_EXTERN v8::Local MakeCallback( ^ /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:93:42: note: in definition of macro 'NODE_DEPRECATED' __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/unix_dgram.cc:5:0: ../node_modules/nan/nan.h: In member function 'void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local&)': ../node_modules/nan/nan.h:1518:64: warning: 'bool v8::Object::Set(v8::Local, v8::Local)' is deprecated: Use maybe version [-Wdeprecated-declarations] New(persistentHandle)->Set(New(key).ToLocalChecked(), value); ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/v8-internal.h:14:0, from /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:25, from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:3359:26: note: declared here bool Set(Local key, Local value)); ^ /home/mzaspel/.node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/unix_dgram.cc:5:0: ../node_modules/nan/nan.h: In member function 'void Nan::AsyncWorker::SaveToPersistent(const v8::Local&, const v8::Local&)': ../node_modules/nan/nan.h:1524:42: warning: 'bool v8::Object::Set(v8::Local, v8::Local)' is deprecated: Use maybe version [-Wdeprecated-declarations] New(persistentHandle)->Set(key, value); ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/v8-internal.h:14:0, from /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:25, from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:3359:26: note: declared here bool Set(Local key, Local value)); ^ /home/mzaspel/.node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/unix_dgram.cc:5:0: ../node_modules/nan/nan.h: In member function 'void Nan::AsyncWorker::SaveToPersistent(uint32_t, const v8::Local&)': ../node_modules/nan/nan.h:1530:44: warning: 'bool v8::Object::Set(uint32_t, v8::Local)' is deprecated: Use maybe version [-Wdeprecated-declarations] New(persistentHandle)->Set(index, value); ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/v8-internal.h:14:0, from /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:25, from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:3368:26: note: declared here bool Set(uint32_t index, Local value)); ^ /home/mzaspel/.node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/unix_dgram.cc:5:0: ../node_modules/nan/nan.h: In member function 'v8::Local Nan::AsyncWorker::GetFromPersistent(const char*) const': ../node_modules/nan/nan.h:1536:61: warning: 'v8::Local v8::Object::Get(v8::Local)' is deprecated: Use maybe version [-Wdeprecated-declarations] New(persistentHandle)->Get(New(key).ToLocalChecked())); ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/v8-internal.h:14:0, from /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:25, from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:3412:55: note: declared here V8_DEPRECATE_SOON("Use maybe version", Local Get(Local key)); ^ /home/mzaspel/.node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/unix_dgram.cc:5:0: ../node_modules/nan/nan.h: In member function 'v8::Local Nan::AsyncWorker::GetFromPersistent(const v8::Local&) const': ../node_modules/nan/nan.h:1542:55: warning: 'v8::Local v8::Object::Get(v8::Local)' is deprecated: Use maybe version [-Wdeprecated-declarations] return scope.Escape(New(persistentHandle)->Get(key)); ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/v8-internal.h:14:0, from /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:25, from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:3412:55: note: declared here V8_DEPRECATE_SOON("Use maybe version", Local Get(Local key)); ^ /home/mzaspel/.node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../src/unix_dgram.cc:5:0: ../node_modules/nan/nan.h: In member function 'v8::Local Nan::AsyncWorker::GetFromPersistent(uint32_t) const': ../node_modules/nan/nan.h:1547:57: warning: 'v8::Local v8::Object::Get(uint32_t)' is deprecated: Use maybe version [-Wdeprecated-declarations] return scope.Escape(New(persistentHandle)->Get(index)); ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/v8-internal.h:14:0, from /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:25, from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:3416:55: note: declared here V8_DEPRECATE_SOON("Use maybe version", Local Get(uint32_t index)); ^ /home/mzaspel/.node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from /usr/include/c++/6/cassert:44:0, from /home/mzaspel/.node-gyp/12.6.0/include/node/node_object_wrap.h:26, from ../node_modules/nan/nan.h:49, from ../src/unix_dgram.cc:5: ../node_modules/nan/nan_object_wrap.h: In destructor 'virtual Nan::ObjectWrap::~ObjectWrap()': ../node_modules/nan/nan_object_wrap.h:24:25: error: 'class Nan::Persistent' has no member named 'IsNearDeath' assert(persistent().IsNearDeath()); ^ In file included from ../node_modules/nan/nan.h:2192:0, from ../src/unix_dgram.cc:5: ../node_modules/nan/nan_object_wrap.h: In member function 'void Nan::ObjectWrap::MakeWeak()': ../node_modules/nan/nan_object_wrap.h:67:34: warning: 'void v8::PersistentBase::MarkIndependent() [with T = v8::Object]' is deprecated: Weak objects are always considered independent. Use TracedGlobal when trying to use EmbedderHeapTracer. Use a strong handle when trying to keep an object alive. [-Wdeprecated-declarations] persistent().MarkIndependent(); ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/v8-internal.h:14:0, from /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:25, from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:567:22: note: declared here V8_INLINE void MarkIndependent()); ^ /home/mzaspel/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from /usr/include/c++/6/cassert:44:0, from /home/mzaspel/.node-gyp/12.6.0/include/node/node_object_wrap.h:26, from ../node_modules/nan/nan.h:49, from ../src/unix_dgram.cc:5: ../node_modules/nan/nan_object_wrap.h: In static member function 'static void Nan::ObjectWrap::WeakCallback(const v8::WeakCallbackInfo&)': ../node_modules/nan/nan_object_wrap.h:124:26: error: 'class Nan::Persistent' has no member named 'IsNearDeath' assert(wrap->handle_.IsNearDeath()); ^ ../src/unix_dgram.cc: In function 'Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Socket(Nan::NAN_METHOD_ARGS_TYPE)': ../src/unix_dgram.cc:189:37: error: no matching function for call to 'v8::Value::Int32Value()' domain = info[0]->Int32Value(); ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63:0, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:2569:40: note: candidate: v8::Maybe v8::Value::Int32Value(v8::Local) const V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~ /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:2569:40: note: candidate expects 1 argument, 0 provided ../src/unix_dgram.cc:190:37: error: no matching function for call to 'v8::Value::Int32Value()' type = info[1]->Int32Value(); ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63:0, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:2569:40: note: candidate: v8::Maybe v8::Value::Int32Value(v8::Local) const V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~ /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:2569:40: note: candidate expects 1 argument, 0 provided ../src/unix_dgram.cc:191:37: error: no matching function for call to 'v8::Value::Int32Value()' protocol = info[2]->Int32Value(); ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63:0, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:2569:40: note: candidate: v8::Maybe v8::Value::Int32Value(v8::Local) const V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~ /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:2569:40: note: candidate expects 1 argument, 0 provided ../src/unix_dgram.cc: In function 'Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Bind(Nan::NAN_METHOD_ARGS_TYPE)': ../src/unix_dgram.cc:230:28: error: no matching function for call to 'v8::Value::Int32Value()' fd = info[0]->Int32Value(); ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63:0, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:2569:40: note: candidate: v8::Maybe v8::Value::Int32Value(v8::Local) const V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~ /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:2569:40: note: candidate expects 1 argument, 0 provided ../src/unix_dgram.cc:231:33: error: no matching function for call to 'v8::String::Utf8Value::Utf8Value(v8::Local)' String::Utf8Value path(info[1]); ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63:0, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:2995:5: note: candidate: v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local) Utf8Value(Isolate* isolate, Local obj); ^~~~~~~~~ /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:2995:5: note: candidate expects 2 arguments, 1 provided ../src/unix_dgram.cc: In function 'Nan::NAN_METHOD_RETURN_TYPE {anonymous}::SendTo(Nan::NAN_METHOD_ARGS_TYPE)': ../src/unix_dgram.cc:258:28: error: no matching function for call to 'v8::Value::Int32Value()' fd = info[0]->Int32Value(); ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63:0, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:2569:40: note: candidate: v8::Maybe v8::Value::Int32Value(v8::Local) const V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~ /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:2569:40: note: candidate expects 1 argument, 0 provided ../src/unix_dgram.cc:259:27: error: no matching function for call to 'v8::Value::ToObject()' buf = info[1]->ToObject(); ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63:0, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate: v8::MaybeLocal v8::Value::ToObject(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal ToObject( ^~~~~~~~ /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate expects 1 argument, 0 provided In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/v8-internal.h:14:0, from /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:25, from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate: v8::Local v8::Value::ToObject(v8::Isolate*) const Local ToObject(Isolate* isolate) const); ^ /home/mzaspel/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate expects 1 argument, 0 provided Local ToObject(Isolate* isolate) const); ^ /home/mzaspel/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/unix_dgram.cc:260:33: error: no matching function for call to 'v8::Value::Uint32Value()' offset = info[2]->Uint32Value(); ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63:0, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:2567:41: note: candidate: v8::Maybe v8::Value::Uint32Value(v8::Local) const V8_WARN_UNUSED_RESULT Maybe Uint32Value( ^~~~~~~~~~~ /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:2567:41: note: candidate expects 1 argument, 0 provided ../src/unix_dgram.cc:261:33: error: no matching function for call to 'v8::Value::Uint32Value()' length = info[3]->Uint32Value(); ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63:0, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:2567:41: note: candidate: v8::Maybe v8::Value::Uint32Value(v8::Local) const V8_WARN_UNUSED_RESULT Maybe Uint32Value( ^~~~~~~~~~~ /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:2567:41: note: candidate expects 1 argument, 0 provided ../src/unix_dgram.cc:262:33: error: no matching function for call to 'v8::String::Utf8Value::Utf8Value(v8::Local)' String::Utf8Value path(info[4]); ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63:0, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:2995:5: note: candidate: v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local) Utf8Value(Isolate* isolate, Local obj); ^~~~~~~~~ /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:2995:5: note: candidate expects 2 arguments, 1 provided ../src/unix_dgram.cc: In function 'Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Send(Nan::NAN_METHOD_ARGS_TYPE)': ../src/unix_dgram.cc:302:28: error: no matching function for call to 'v8::Value::Int32Value()' fd = info[0]->Int32Value(); ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63:0, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:2569:40: note: candidate: v8::Maybe v8::Value::Int32Value(v8::Local) const V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~ /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:2569:40: note: candidate expects 1 argument, 0 provided ../src/unix_dgram.cc:303:27: error: no matching function for call to 'v8::Value::ToObject()' buf = info[1]->ToObject(); ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63:0, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate: v8::MaybeLocal v8::Value::ToObject(v8::Local) const V8_WARN_UNUSED_RESULT MaybeLocal ToObject( ^~~~~~~~ /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate expects 1 argument, 0 provided In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/v8-internal.h:14:0, from /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:25, from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate: v8::Local v8::Value::ToObject(v8::Isolate*) const Local ToObject(Isolate* isolate) const); ^ /home/mzaspel/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate expects 1 argument, 0 provided Local ToObject(Isolate* isolate) const); ^ /home/mzaspel/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/unix_dgram.cc: In function 'Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Connect(Nan::NAN_METHOD_ARGS_TYPE)': ../src/unix_dgram.cc:340:28: error: no matching function for call to 'v8::Value::Int32Value()' fd = info[0]->Int32Value(); ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63:0, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:2569:40: note: candidate: v8::Maybe v8::Value::Int32Value(v8::Local) const V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~ /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:2569:40: note: candidate expects 1 argument, 0 provided ../src/unix_dgram.cc:341:33: error: no matching function for call to 'v8::String::Utf8Value::Utf8Value(v8::Local)' String::Utf8Value path(info[1]); ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63:0, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:2995:5: note: candidate: v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local) Utf8Value(Isolate* isolate, Local obj); ^~~~~~~~~ /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:2995:5: note: candidate expects 2 arguments, 1 provided ../src/unix_dgram.cc: In function 'Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Close(Nan::NAN_METHOD_ARGS_TYPE)': ../src/unix_dgram.cc:361:28: error: no matching function for call to 'v8::Value::Int32Value()' fd = info[0]->Int32Value(); ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63:0, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:2569:40: note: candidate: v8::Maybe v8::Value::Int32Value(v8::Local) const V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~ /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:2569:40: note: candidate expects 1 argument, 0 provided ../src/unix_dgram.cc: In function 'void {anonymous}::Initialize(v8::Local)': ../src/unix_dgram.cc:395:70: warning: 'bool v8::Object::Set(v8::Local, v8::Local)' is deprecated: Use maybe version [-Wdeprecated-declarations] target->Set(Nan::New("AF_UNIX").ToLocalChecked(), Nan::New(AF_UNIX)); ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/v8-internal.h:14:0, from /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:25, from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:3359:26: note: declared here bool Set(Local key, Local value)); ^ /home/mzaspel/.node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/unix_dgram.cc:396:76: warning: 'bool v8::Object::Set(v8::Local, v8::Local)' is deprecated: Use maybe version [-Wdeprecated-declarations] target->Set(Nan::New("SOCK_DGRAM").ToLocalChecked(), Nan::New(SOCK_DGRAM)); ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/v8-internal.h:14:0, from /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:25, from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:3359:26: note: declared here bool Set(Local key, Local value)); ^ /home/mzaspel/.node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/unix_dgram.cc:399:63: error: no matching function for call to 'v8::FunctionTemplate::GetFunction()' Nan::New(Socket)->GetFunction()); ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63:0, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:5948:46: note: candidate: v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal GetFunction( ^~~~~~~~~~~ /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:5948:46: note: candidate expects 1 argument, 0 provided ../src/unix_dgram.cc:402:61: error: no matching function for call to 'v8::FunctionTemplate::GetFunction()' Nan::New(Bind)->GetFunction()); ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63:0, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:5948:46: note: candidate: v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal GetFunction( ^~~~~~~~~~~ /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:5948:46: note: candidate expects 1 argument, 0 provided ../src/unix_dgram.cc:405:63: error: no matching function for call to 'v8::FunctionTemplate::GetFunction()' Nan::New(SendTo)->GetFunction()); ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63:0, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:5948:46: note: candidate: v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal GetFunction( ^~~~~~~~~~~ /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:5948:46: note: candidate expects 1 argument, 0 provided ../src/unix_dgram.cc:408:61: error: no matching function for call to 'v8::FunctionTemplate::GetFunction()' Nan::New(Send)->GetFunction()); ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63:0, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:5948:46: note: candidate: v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal GetFunction( ^~~~~~~~~~~ /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:5948:46: note: candidate expects 1 argument, 0 provided ../src/unix_dgram.cc:411:64: error: no matching function for call to 'v8::FunctionTemplate::GetFunction()' Nan::New(Connect)->GetFunction()); ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63:0, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:5948:46: note: candidate: v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal GetFunction( ^~~~~~~~~~~ /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:5948:46: note: candidate expects 1 argument, 0 provided ../src/unix_dgram.cc:414:62: error: no matching function for call to 'v8::FunctionTemplate::GetFunction()' Nan::New(Close)->GetFunction()); ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63:0, from ../node_modules/nan/nan.h:47, from ../src/unix_dgram.cc:5: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:5948:46: note: candidate: v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal GetFunction( ^~~~~~~~~~~ /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:5948:46: note: candidate expects 1 argument, 0 provided unix_dgram.target.mk:105: recipe for target 'Release/obj.target/unix_dgram/src/unix_dgram.o' failed make: *** [Release/obj.target/unix_dgram/src/unix_dgram.o] Error 1 make: Leaving directory '/opt/iobroker/node_modules/unix-dgram/build' gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23) gyp ERR! stack at ChildProcess.emit (events.js:203:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12) gyp ERR! System Linux 4.19.57-rockchip gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /opt/iobroker/node_modules/unix-dgram gyp ERR! node -v v12.6.0 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok > usb@1.6.0 install /opt/iobroker/node_modules/usb > prebuild-install --verbose || node-gyp rebuild prebuild-install info begin Prebuild-install version 5.3.0 prebuild-install info looking for cached prebuild @ /home/mzaspel/.npm/_prebuilds/606336-usb-v1.6.0-node-v72-linux-arm.tar.gz prebuild-install http request GET https://github.com/tessel/node-usb/releases/download/v1.6.0/usb-v1.6.0-node-v72-linux-arm.tar.gz prebuild-install http 404 https://github.com/tessel/node-usb/releases/download/v1.6.0/usb-v1.6.0-node-v72-linux-arm.tar.gz prebuild-install WARN install No prebuilt binaries found (target=12.6.0 runtime=node arch=arm libc= platform=linux) make: Entering directory '/opt/iobroker/node_modules/usb/build' CC(target) Release/obj.target/libusb/libusb/libusb/core.o CC(target) Release/obj.target/libusb/libusb/libusb/descriptor.o CC(target) Release/obj.target/libusb/libusb/libusb/hotplug.o CC(target) Release/obj.target/libusb/libusb/libusb/io.o CC(target) Release/obj.target/libusb/libusb/libusb/strerror.o CC(target) Release/obj.target/libusb/libusb/libusb/sync.o CC(target) Release/obj.target/libusb/libusb/libusb/os/poll_posix.o CC(target) Release/obj.target/libusb/libusb/libusb/os/threads_posix.o CC(target) Release/obj.target/libusb/libusb/libusb/os/linux_usbfs.o CC(target) Release/obj.target/libusb/libusb/libusb/os/linux_udev.o AR(target) Release/obj.target/usb.a COPY Release/usb.a CXX(target) Release/obj.target/usb_bindings/src/node_usb.o ../src/node_usb.cc: In function 'void Initialize(v8::Local)': ../src/node_usb.cc:66:84: warning: 'bool v8::Object::Set(v8::Local, v8::Local)' is deprecated: Use maybe version [-Wdeprecated-declarations] target->Set(Nan::New("INIT_ERROR").ToLocalChecked(), Nan::New(res)); ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/v8-internal.h:14:0, from /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:25, from ../src/node_usb.h:12, from ../src/node_usb.cc:1: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:3359:26: note: declared here bool Set(Local key, Local value)); ^ /home/mzaspel/.node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/node_usb.cc: In function 'Nan::NAN_METHOD_RETURN_TYPE GetDeviceList(Nan::NAN_METHOD_ARGS_TYPE)': ../src/node_usb.cc:116:35: warning: 'bool v8::Object::Set(uint32_t, v8::Local)' is deprecated: Use maybe version [-Wdeprecated-declarations] arr->Set(i, Device::get(devs[i])); ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/v8-internal.h:14:0, from /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:25, from ../src/node_usb.h:12, from ../src/node_usb.cc:1: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:3368:26: note: declared here bool Set(uint32_t index, Local value)); ^ /home/mzaspel/.node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/node_usb.cc: In function 'void handleHotplug(std::pair)': ../src/node_usb.cc:151:58: warning: 'v8::Local Nan::MakeCallback(v8::Local, const char*, int, v8::Local*)' is deprecated [-Wdeprecated-declarations] Nan::MakeCallback(Nan::New(hotplugThis), "emit", 2, argv); ^ In file included from ../src/helpers.h:3:0, from ../src/node_usb.h:21, from ../src/node_usb.cc:1: ../node_modules/nan/nan.h:1001:46: note: declared here NAN_DEPRECATED inline v8::Local MakeCallback( ^~~~~~~~~~~~ ../src/node_usb.cc: In function 'v8::Local libusbException(int)': ../src/node_usb.cc:301:96: warning: 'bool v8::Object::Set(v8::Local, v8::Local)' is deprecated: Use maybe version [-Wdeprecated-declarations] e.As()->Set(Nan::New("errno").ToLocalChecked(), Nan::New(errorno)); ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/v8-internal.h:14:0, from /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:25, from ../src/node_usb.h:12, from ../src/node_usb.cc:1: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:3359:26: note: declared here bool Set(Local key, Local value)); ^ /home/mzaspel/.node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ CXX(target) Release/obj.target/usb_bindings/src/device.o ../src/device.cc: In function 'Nan::NAN_METHOD_RETURN_TYPE deviceConstructor(Nan::NAN_METHOD_ARGS_TYPE)': ../src/device.cc:78:43: warning: 'bool v8::Object::Set(uint32_t, v8::Local)' is deprecated: Use maybe version [-Wdeprecated-declarations] array->Set(i, Nan::New(port_numbers[i])); ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/v8-internal.h:14:0, from /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:25, from ../src/node_usb.h:12, from ../src/device.cc:1: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:3368:26: note: declared here bool Set(uint32_t index, Local value)); ^ /home/mzaspel/.node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/device.cc: In static member function 'static v8::Local Device::cdesc2V8(libusb_config_descriptor*)': ../src/device.cc:109:48: warning: 'bool v8::Object::Set(uint32_t, v8::Local)' is deprecated: Use maybe version [-Wdeprecated-declarations] v8interfaces->Set(idxInterface, v8altsettings); ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/v8-internal.h:14:0, from /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:25, from ../src/node_usb.h:12, from ../src/device.cc:1: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:3368:26: note: declared here bool Set(uint32_t index, Local value)); ^ /home/mzaspel/.node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/device.cc:116:45: warning: 'bool v8::Object::Set(uint32_t, v8::Local)' is deprecated: Use maybe version [-Wdeprecated-declarations] v8altsettings->Set(idxAltSetting, v8idesc); ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/v8-internal.h:14:0, from /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:25, from ../src/node_usb.h:12, from ../src/device.cc:1: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:3368:26: note: declared here bool Set(uint32_t index, Local value)); ^ /home/mzaspel/.node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/device.cc:138:42: warning: 'bool v8::Object::Set(uint32_t, v8::Local)' is deprecated: Use maybe version [-Wdeprecated-declarations] v8endpoints->Set(idxEndpoint, v8edesc); ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/v8-internal.h:14:0, from /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:25, from ../src/node_usb.h:12, from ../src/device.cc:1: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:3368:26: note: declared here bool Set(uint32_t index, Local value)); ^ /home/mzaspel/.node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/device.cc: In function 'Nan::NAN_METHOD_RETURN_TYPE Device_GetAllConfigDescriptors(Nan::NAN_METHOD_ARGS_TYPE)': ../src/device.cc:175:49: warning: 'bool v8::Object::Set(uint32_t, v8::Local)' is deprecated: Use maybe version [-Wdeprecated-declarations] v8cdescriptors->Set(i, Device::cdesc2V8(cdesc)); ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/v8-internal.h:14:0, from /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:25, from ../src/node_usb.h:12, from ../src/device.cc:1: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:3368:26: note: declared here bool Set(uint32_t index, Local value)); ^ /home/mzaspel/.node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/device.cc: In static member function 'static void Req::default_after(uv_work_t*)': ../src/device.cc:237:64: warning: 'v8::Local Nan::MakeCallback(v8::Local, v8::Local, int, v8::Local*)' is deprecated [-Wdeprecated-declarations] Nan::MakeCallback(device, Nan::New(baton->callback), 1, argv); ^ In file included from ../src/helpers.h:3:0, from ../src/node_usb.h:21, from ../src/device.cc:1: ../node_modules/nan/nan.h:959:46: note: declared here NAN_DEPRECATED inline v8::Local MakeCallback( ^~~~~~~~~~~~ ../src/device.cc: In static member function 'static void Device::Init(v8::Local)': ../src/device.cc:415:89: warning: 'bool v8::Object::Set(v8::Local, v8::Local)' is deprecated: Use maybe version [-Wdeprecated-declarations] target->Set(Nan::New("Device").ToLocalChecked(), Nan::GetFunction(tpl).ToLocalChecked()); ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/v8-internal.h:14:0, from /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:25, from ../src/node_usb.h:12, from ../src/device.cc:1: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:3359:26: note: declared here bool Set(Local key, Local value)); ^ /home/mzaspel/.node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ CXX(target) Release/obj.target/usb_bindings/src/transfer.o ../src/transfer.cc: In function 'void handleCompletion(Transfer*)': ../src/transfer.cc:126:72: warning: 'v8::Local Nan::MakeCallback(v8::Local, v8::Local, int, v8::Local*)' is deprecated [-Wdeprecated-declarations] Nan::MakeCallback(self->handle(), Nan::New(self->v8callback), 3, argv); ^ In file included from ../src/helpers.h:3:0, from ../src/node_usb.h:21, from ../src/transfer.cc:1: ../node_modules/nan/nan.h:959:46: note: declared here NAN_DEPRECATED inline v8::Local MakeCallback( ^~~~~~~~~~~~ ../src/transfer.cc: In static member function 'static void Transfer::Init(v8::Local)': ../src/transfer.cc:156:91: warning: 'bool v8::Object::Set(v8::Local, v8::Local)' is deprecated: Use maybe version [-Wdeprecated-declarations] target->Set(Nan::New("Transfer").ToLocalChecked(), Nan::GetFunction(tpl).ToLocalChecked()); ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/v8-internal.h:14:0, from /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:25, from ../src/node_usb.h:12, from ../src/transfer.cc:1: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:3359:26: note: declared here bool Set(Local key, Local value)); ^ /home/mzaspel/.node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ SOLINK_MODULE(target) Release/obj.target/usb_bindings.node COPY Release/usb_bindings.node make: Leaving directory '/opt/iobroker/node_modules/usb/build' > @abandonware/bluetooth-hci-socket@0.5.3-1 install /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket > node-pre-gyp install --fallback-to-build node-pre-gyp WARN Using request for node-pre-gyp https download node-pre-gyp WARN Tried to download(404): https://github.com/sandeepmistry/node-bluetooth-hci-socket/releases/download/0.5.3-1/binding-0.5.3-1-node-v72-linux-arm.tar.gz node-pre-gyp WARN Pre-built binaries not found for @abandonware/bluetooth-hci-socket@0.5.3-1 and node@12.6.0 (node-v72 ABI, glibc) (falling back to source compile with node-gyp) make: Entering directory '/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/build' CXX(target) Release/obj.target/binding/src/BluetoothHciSocket.o ../src/BluetoothHciSocket.cpp: In static member function 'static void BluetoothHciSocket::Init(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)': ../src/BluetoothHciSocket.cpp:129:82: error: no matching function for call to 'v8::FunctionTemplate::GetFunction()' target->Set(Nan::New("BluetoothHciSocket").ToLocalChecked(), tmpl->GetFunction()); ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63:0, from /home/mzaspel/.node-gyp/12.6.0/include/node/node_buffer.h:25, from ../src/BluetoothHciSocket.cpp:7: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:5948:46: note: candidate: v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal GetFunction( ^~~~~~~~~~~ /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:5948:46: note: candidate expects 1 argument, 0 provided ../src/BluetoothHciSocket.cpp: In member function 'void BluetoothHciSocket::poll()': ../src/BluetoothHciSocket.cpp:252:95: warning: 'v8::Local Nan::MakeCallback(v8::Local, v8::Local, int, v8::Local*)' is deprecated [-Wdeprecated-declarations] Nan::MakeCallback(Nan::New(this->This), Nan::New("emit").ToLocalChecked(), 2, argv); ^ In file included from ../src/BluetoothHciSocket.cpp:8:0: ../../../nan/nan.h:1045:46: note: declared here NAN_DEPRECATED inline v8::Local MakeCallback( ^~~~~~~~~~~~ ../src/BluetoothHciSocket.cpp: In member function 'void BluetoothHciSocket::emitErrnoError()': ../src/BluetoothHciSocket.cpp:270:109: warning: 'v8::Local v8::Object::Get(v8::Local)' is deprecated: Use maybe version [-Wdeprecated-declarations] Local errorConstructor = Local::Cast(globalObj->Get(Nan::New("Error").ToLocalChecked())); ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/v8-internal.h:14:0, from /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:25, from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63, from /home/mzaspel/.node-gyp/12.6.0/include/node/node_buffer.h:25, from ../src/BluetoothHciSocket.cpp:7: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:3412:55: note: declared here V8_DEPRECATE_SOON("Use maybe version", Local Get(Local key)); ^ /home/mzaspel/.node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/BluetoothHciSocket.cpp:283:93: warning: 'v8::Local Nan::MakeCallback(v8::Local, v8::Local, int, v8::Local*)' is deprecated [-Wdeprecated-declarations] Nan::MakeCallback(Nan::New(this->This), Nan::New("emit").ToLocalChecked(), 2, argv); ^ In file included from ../src/BluetoothHciSocket.cpp:8:0: ../../../nan/nan.h:1045:46: note: declared here NAN_DEPRECATED inline v8::Local MakeCallback( ^~~~~~~~~~~~ ../src/BluetoothHciSocket.cpp: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BluetoothHciSocket::BindRaw(Nan::NAN_METHOD_ARGS_TYPE)': ../src/BluetoothHciSocket.cpp:396:34: error: no matching function for call to 'v8::Value::IntegerValue()' devId = arg0->IntegerValue(); ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63:0, from /home/mzaspel/.node-gyp/12.6.0/include/node/node_buffer.h:25, from ../src/BluetoothHciSocket.cpp:7: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:2565:40: note: candidate: v8::Maybe v8::Value::IntegerValue(v8::Local) const V8_WARN_UNUSED_RESULT Maybe IntegerValue( ^~~~~~~~~~~~ /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:2565:40: note: candidate expects 1 argument, 0 provided ../src/BluetoothHciSocket.cpp: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BluetoothHciSocket::BindUser(Nan::NAN_METHOD_ARGS_TYPE)': ../src/BluetoothHciSocket.cpp:418:34: error: no matching function for call to 'v8::Value::IntegerValue()' devId = arg0->IntegerValue(); ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63:0, from /home/mzaspel/.node-gyp/12.6.0/include/node/node_buffer.h:25, from ../src/BluetoothHciSocket.cpp:7: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:2565:40: note: candidate: v8::Maybe v8::Value::IntegerValue(v8::Local) const V8_WARN_UNUSED_RESULT Maybe IntegerValue( ^~~~~~~~~~~~ /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:2565:40: note: candidate expects 1 argument, 0 provided ../src/BluetoothHciSocket.cpp: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BluetoothHciSocket::GetDeviceList(Nan::NAN_METHOD_ARGS_TYPE)': ../src/BluetoothHciSocket.cpp:471:77: warning: 'bool v8::Object::Set(v8::Local, v8::Local)' is deprecated: Use maybe version [-Wdeprecated-declarations] obj->Set(Nan::New("devId").ToLocalChecked(), Nan::New(devId)); ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/v8-internal.h:14:0, from /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:25, from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63, from /home/mzaspel/.node-gyp/12.6.0/include/node/node_buffer.h:25, from ../src/BluetoothHciSocket.cpp:7: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:3359:26: note: declared here bool Set(Local key, Local value)); ^ /home/mzaspel/.node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/BluetoothHciSocket.cpp:472:78: warning: 'bool v8::Object::Set(v8::Local, v8::Local)' is deprecated: Use maybe version [-Wdeprecated-declarations] obj->Set(Nan::New("devUp").ToLocalChecked(), Nan::New(devUp)); ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/v8-internal.h:14:0, from /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:25, from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63, from /home/mzaspel/.node-gyp/12.6.0/include/node/node_buffer.h:25, from ../src/BluetoothHciSocket.cpp:7: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:3359:26: note: declared here bool Set(Local key, Local value)); ^ /home/mzaspel/.node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/BluetoothHciSocket.cpp:473:68: warning: 'bool v8::Object::Set(v8::Local, v8::Local)' is deprecated: Use maybe version [-Wdeprecated-declarations] obj->Set(Nan::New("idVendor").ToLocalChecked(), Nan::Null()); ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/v8-internal.h:14:0, from /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:25, from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63, from /home/mzaspel/.node-gyp/12.6.0/include/node/node_buffer.h:25, from ../src/BluetoothHciSocket.cpp:7: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:3359:26: note: declared here bool Set(Local key, Local value)); ^ /home/mzaspel/.node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/BluetoothHciSocket.cpp:474:69: warning: 'bool v8::Object::Set(v8::Local, v8::Local)' is deprecated: Use maybe version [-Wdeprecated-declarations] obj->Set(Nan::New("idProduct").ToLocalChecked(), Nan::Null()); ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/v8-internal.h:14:0, from /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:25, from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63, from /home/mzaspel/.node-gyp/12.6.0/include/node/node_buffer.h:25, from ../src/BluetoothHciSocket.cpp:7: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:3359:26: note: declared here bool Set(Local key, Local value)); ^ /home/mzaspel/.node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/BluetoothHciSocket.cpp:475:69: warning: 'bool v8::Object::Set(v8::Local, v8::Local)' is deprecated: Use maybe version [-Wdeprecated-declarations] obj->Set(Nan::New("busNumber").ToLocalChecked(), Nan::Null()); ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/v8-internal.h:14:0, from /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:25, from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63, from /home/mzaspel/.node-gyp/12.6.0/include/node/node_buffer.h:25, from ../src/BluetoothHciSocket.cpp:7: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:3359:26: note: declared here bool Set(Local key, Local value)); ^ /home/mzaspel/.node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/BluetoothHciSocket.cpp:476:73: warning: 'bool v8::Object::Set(v8::Local, v8::Local)' is deprecated: Use maybe version [-Wdeprecated-declarations] obj->Set(Nan::New("deviceAddress").ToLocalChecked(), Nan::Null()); ^ In file included from /home/mzaspel/.node-gyp/12.6.0/include/node/v8-internal.h:14:0, from /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:25, from /home/mzaspel/.node-gyp/12.6.0/include/node/node.h:63, from /home/mzaspel/.node-gyp/12.6.0/include/node/node_buffer.h:25, from ../src/BluetoothHciSocket.cpp:7: /home/mzaspel/.node-gyp/12.6.0/include/node/v8.h:3359:26: note: declared here bool Set(Local key, Local value)); ^ /home/mzaspel/.node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ binding.target.mk:105: recipe for target 'Release/obj.target/binding/src/BluetoothHciSocket.o' failed make: *** [Release/obj.target/binding/src/BluetoothHciSocket.o] Error 1 make: Leaving directory '/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/build' gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23) gyp ERR! stack at ChildProcess.emit (events.js:203:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12) gyp ERR! System Linux 4.19.57-rockchip gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/lib/binding/binding.node" "--module_name=binding" "--module_path=/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/lib/binding" "--napi_version=4" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v72" gyp ERR! cwd /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket gyp ERR! node -v v12.6.0 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/lib/binding/binding.node --module_name=binding --module_path=/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/lib/binding --napi_version=4 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1) node-pre-gyp ERR! stack at ChildProcess. (/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/node-pre-gyp/lib/util/compile.js:83:29) node-pre-gyp ERR! stack at ChildProcess.emit (events.js:203:13) node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:1021:16) node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5) node-pre-gyp ERR! System Linux 4.19.57-rockchip node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" node-pre-gyp ERR! cwd /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket node-pre-gyp ERR! node -v v12.6.0 node-pre-gyp ERR! node-pre-gyp -v v0.12.0 node-pre-gyp ERR! not ok Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/lib/binding/binding.node --module_name=binding --module_path=/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/lib/binding --napi_version=4 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1) npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.discovery/package.json' npm WARN bl@0.7.0 requires a peer of stream-browserify@* but none is installed. You must install peer dependencies yourself. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.3 (node_modules/osx-temperature-sensor): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: diskusage@0.2.6 (node_modules/diskusage): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: diskusage@0.2.6 install: `node-gyp rebuild` npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-bluetooth@1.2.5 (node_modules/node-bluetooth): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-bluetooth@1.2.5 install: `node-gyp configure build` npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@0.2.3 (node_modules/unix-dgram): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@0.2.3 install: `node-gyp rebuild` npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! @abandonware/bluetooth-hci-socket@0.5.3-1 install: `node-pre-gyp install --fallback-to-build` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the @abandonware/bluetooth-hci-socket@0.5.3-1 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /home/mzaspel/.npm/_logs/2019-07-19T05_04_40_865Z-debug.log mzaspel@tinkerboard:/opt/iobroker$