Hallo,
ich habe immer eine Latte von Meldungen, wenn ich einen Adapter update.
Es hat wohl irgendwas mit Bluetooth zu tun, kann mir aber keine Reim daraus machen.
Eigentlich funktioniert alles, hätte aber gerne gewusst an was das liegt!
Irgendjemand ne Idee?
Hier die Meldung beim AdapterUpdate:
$ iobroker upgrade feiertage@1.1.0
Update feiertage from @1.0.23 to @1.1.0
NPM version: 6.14.8
npm install iobroker.feiertage@1.1.0 --loglevel error --prefix "/opt/iobroker" (System call)
../src/BluetoothHciSocket.cpp: In static member function ‘static void BluetoothHciSocket::Init(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’:
../src/BluetoothHciSocket.cpp:128:82: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’ target->Set(Nan::New("BluetoothHciSocket").ToLocalChecked(), tmpl->GetFunction()); ^In file included from /opt/iobroker/.cache/node-gyp/12.20.0/include/node/node.h:67, from /opt/iobroker/.cache/node-gyp/12.20.0/include/node/node_buffer.h:25, from ../src/BluetoothHciSocket.cpp:7:/opt/iobroker/.cache/node-gyp/12.20.0/include/node/v8.h:6126:46: note: candidate: ‘v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)’ V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction( ^~~~~~~~~~~/opt/iobroker/.cache/node-gyp/12.20.0/include/node/v8.h:6126:46: note: candidate expects 1 argument, 0 provided
../src/BluetoothHciSocket.cpp: In member function ‘void BluetoothHciSocket::poll()’:../src/BluetoothHciSocket.cpp:251:95: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations] Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv); ^In file included from ../src/BluetoothHciSocket.cpp:8:../../nan/nan.h:1047:46: note: declared here NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~../src/BluetoothHciSocket.cpp:251:95: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations] Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv); ^In file included from ../src/BluetoothHciSocket.cpp:8:../../nan/nan.h:1047:46: note: declared here NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~
../src/BluetoothHciSocket.cpp: In member function ‘void BluetoothHciSocket::emitErrnoError()’:../src/BluetoothHciSocket.cpp:269:109: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations] Local<Function> errorConstructor = Local<Function>::Cast(globalObj->Get(Nan::New("Error").ToLocalChecked())); ^In file included from /opt/iobroker/.cache/node-gyp/12.20.0/include/node/v8-internal.h:14, from /opt/iobroker/.cache/node-gyp/12.20.0/include/node/v8.h:27, from /opt/iobroker/.cache/node-gyp/12.20.0/include/node/node.h:67, from /opt/iobroker/.cache/node-gyp/12.20.0/include/node/node_buffer.h:25, from ../src/BluetoothHciSocket.cpp:7:/opt/iobroker/.cache/node-gyp/12.20.0/include/node/v8.h:3553:51: note: declared here V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key)); ^~~/opt/iobroker/.cache/node-gyp/12.20.0/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~../src/BluetoothHciSocket.cpp:275:72: error: no matching function for call to ‘v8::Function::NewInstance(int, v8::Local<v8::Value> [1])’ Local<Value> error = errorConstructor->NewInstance(1, constructorArgs); ^In file included from /opt/iobroker/.cache/node-gyp/12.20.0/include/node/node.h:67, from /opt/iobroker/.cache/node-gyp/12.20.0/include/node/node_buffer.h:25, from ../src/BluetoothHciSocket.cpp:7:/opt/iobroker/.cache/node-gyp/12.20.0/include/node/v8.h:4281:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>, int, v8::Local<v8::Value>*) const’ V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance( ^~~~~~~~~~~/opt/iobroker/.cache/node-gyp/12.20.0/include/node/v8.h:4281:44: note: candidate expects 3 arguments, 2 provided/opt/iobroker/.cache/node-gyp/12.20.0/include/node/v8.h:4284:44: note: candidate: ‘v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
^~~~~~~~~~~/opt/iobroker/.cache/node-gyp/12.20.0/include/node/v8.h:4284:44: note: candidate expects 1 argument, 2 provided../src/BluetoothHciSocket.cpp:282:93: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations] Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv); ^In file included from ../src/BluetoothHciSocket.cpp:8:../../nan/nan.h:1047:46: note: declared here NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~../src/BluetoothHciSocket.cpp:282:93: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations] Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv); ^In file included from ../src/BluetoothHciSocket.cpp:8:../../nan/nan.h:1047:46: note: declared here NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~
../src/BluetoothHciSocket.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BluetoothHciSocket::BindRaw(Nan::NAN_METHOD_ARGS_TYPE)’:../src/BluetoothHciSocket.cpp:395:34: error: no matching function for call to ‘v8::Value::IntegerValue()’ devId = arg0->IntegerValue(); ^In file included from /opt/iobroker/.cache/node-gyp/12.20.0/include/node/node.h:67, from /opt/iobroker/.cache/node-gyp/12.20.0/include/node/node_buffer.h:25, from ../src/BluetoothHciSocket.cpp:7:/opt/iobroker/.cache/node-gyp/12.20.0/include/node/v8.h:2705:40: note: candidate: ‘v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue( ^~~~~~~~~~~~/opt/iobroker/.cache/node-gyp/12.20.0/include/node/v8.h:2705: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:417:34: error: no matching function for call to ‘v8::Value::IntegerValue()’ devId = arg0->IntegerValue(); ^In file included from /opt/iobroker/.cache/node-gyp/12.20.0/include/node/node.h:67, from /opt/iobroker/.cache/node-gyp/12.20.0/include/node/node_buffer.h:25, from ../src/BluetoothHciSocket.cpp:7:/opt/iobroker/.cache/node-gyp/12.20.0/include/node/v8.h:2705:40: note: candidate: ‘v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const’ V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue( ^~~~~~~~~~~~/opt/iobroker/.cache/node-gyp/12.20.0/include/node/v8.h:2705:40: note: candidate expects 1 argument, 0 provided
In file included from /opt/iobroker/.cache/node-gyp/12.20.0/include/node/node_buffer.h:25, from ../src/BluetoothHciSocket.cpp:7:../src/BluetoothHciSocket.cpp: At global scope:/opt/iobroker/.cache/node-gyp/12.20.0/include/node/node.h:737: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), \ ^/opt/iobroker/.cache/node-gyp/12.20.0/include/node/node.h:771:3: note: in expansion of macro ‘NODE_MODULE_X’ NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) ^~~~~~~~~~~~~../src/BluetoothHciSocket.cpp:499:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(binding, BluetoothHciSocket::Init); ^~~~~~~~~~~
make: *** [binding.target.mk:111: Release/obj.target/binding/src/BluetoothHciSocket.o] Fehler 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:314:20)gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)
gyp ERR! System Linux 4.4.59+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/bluetooth-hci-socketgyp ERR! node -v v12.20.0gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok
upload [4] feiertage.admin /opt/iobroker/node_modules/iobroker.feiertage/admin/words.js words.js application/javascript
Update "system.adapter.feiertage.0"
upload [3] feiertage.admin /opt/iobroker/node_modules/iobroker.feiertage/admin/index_m.html index_m.html text/html
upload [2] feiertage.admin /opt/iobroker/node_modules/iobroker.feiertage/admin/index.html index.html text/html
upload [1] feiertage.admin /opt/iobroker/node_modules/iobroker.feiertage/admin/holidays.js holidays.js application/javascript
upload [0] feiertage.admin /opt/iobroker/node_modules/iobroker.feiertage/admin/feiertage.png feiertage.png image/png
Adapter "feiertage" updated
Process exited with code 0
Schließen wenn fertig