NEWS
Fehlermeldung bei jedem Adapterupdate - BluetoothSerialPort
-
Hallo wertes Forum,
das updaten jeglicher Adapter zeigt im ersten Moment immer einen Fehler um dann nach einer kurzen Wartezeit weiterzulaufen und dann ohne Fehler zuendezugehen (exit 0).
Der erwähnte zum Fehler führende Teil ist bei allen Adaptern gleich und im folgenden Protokollauszug dargestellt:2020-08-03 19:51:15.675 - info: host.raspberrypi iobroker upgrade influxdb 2020-08-03 19:51:17.710 - info: host.raspberrypi iobroker Update influxdb from @1.8.6 to @1.9.1 2020-08-03 19:51:18.332 - info: host.raspberrypi iobroker NPM version: 6.14.5 2020-08-03 19:51:18.333 - info: host.raspberrypi iobroker npm install iobroker.influxdb@1.9.1 --loglevel error --prefix "/opt/iobroker" (System call) 2020-08-03 19:51:59.384 - info: host.raspberrypi iobroker In file included from ../src/DeviceINQ.h:17, from ../src/linux/BluetoothSerialPort.cc:13:../node_modules/nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:../node_modules/nan/nan.h:2294: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(AsyncExecuteComplete) ^ 2020-08-03 19:51:59.430 - info: host.raspberrypi iobroker ../src/linux/BluetoothSerialPort.cc: At global scope:../src/linux/BluetoothSerialPort.cc:18:14: error: variable or field ‘InitAll’ declared void void InitAll(Handleexports) { ^~~~~~../src/linux/BluetoothSerialPort.cc:18:14: error: ‘Handle’ was not declared in this scope 2020-08-03 19:51:59.434 - info: host.raspberrypi iobroker ../src/linux/BluetoothSerialPort.cc:18:14: note: suggested alternative: ‘rand_r’ void InitAll(Handleexports) { ^~~~~~ rand_r 2020-08-03 19:51:59.435 - info: host.raspberrypi iobroker ../src/linux/BluetoothSerialPort.cc:18:27: error: expected primary-expression before ‘>’ token void InitAll(Handleexports) { ^../src/linux/BluetoothSerialPort.cc:18:29: error: ‘exports’ was not declared in this scope void InitAll(Handleexports) { ^~~~~~~ 2020-08-03 19:51:59.440 - info: host.raspberrypi iobroker In file included from ../src/linux/BluetoothSerialPort.cc:12:../src/linux/BluetoothSerialPort.cc:23:34: error: ‘InitAll’ was not declared in this scope NODE_MODULE(BluetoothSerialPort, InitAll) ^~~~~~~/home/iobroker/.cache/node-gyp/12.18.1/include/node/node.h:608: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) ^~~~~~~~~~~ 2020-08-03 19:51:59.628 - info: host.raspberrypi iobroker make: *** [BluetoothSerialPort.target.mk:115: Release/obj.target/BluetoothSerialPort/src/linux/BluetoothSerialPort.o] Fehler 1 2020-08-03 19:51:59.631 - info: host.raspberrypi iobroker gyp 2020-08-03 19:51:59.633 - info: host.raspberrypi iobroker ERR! build error 2020-08-03 19:51:59.635 - info: host.raspberrypi iobroker 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:315:20)gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)gyp ERR! System Linux 4.19.118-v7l+gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build"gyp 2020-08-03 19:51:59.637 - info: host.raspberrypi iobroker ERR! cwd /opt/iobroker/node_modules/node-bluetoothgyp ERR! node -v v12.18.1gyp ERR! node-gyp -v v5.1.0gyp ERR! not okIch komme zwar immer „fehlerfrei“ aus dem Update, möchte aber doch mal wissen wodurch der Fehler ausgelöst wird und ob es evtl. eine Lösung des Problems gibt. Leider kenne ich mich in dieser Materie zu wenig aus und bin auf eure Hilfe angewiesen.
In Sachen "BluetoothSerialPort", was in der Meldung öfter vorkommt, habe ich schon recherchiert. Ich komme aber nicht weiter.Danke
Marcus
Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden