@mguenther
Ich habe bei mir die beiden gleichen Fehlermeldungen im Log, wenn ich javascript.0 restarte oder den Pi4 reboote:
2022-04-16 10:50:23.745 - info: javascript.0 (6665) AR(target) Release/obj.target/deps/cpu_features/cpu_features.a
2022-04-16 10:50:23.776 - info: javascript.0 (6665) COPY Release/cpu_features.a
2022-04-16 10:50:23.802 - info: javascript.0 (6665) CXX(target) Release/obj.target/cpufeatures/src/binding.o
2022-04-16 10:50:26.277 - error: javascript.0 (6665) In file included from ../src/binding.cc:1:
/opt/iobroker/.cache/node-gyp/14.19.1/include/node/node.h:793:7: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local, v8::Local, void*)’} [-Wcast-function-type]
793 | (node::addon_register_func) (regfunc), \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/iobroker/.cache/node-gyp/14.19.1/include/node/node.h:827:3: note: in expansion of macro ‘NODE_MODULE_X’
827 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
| ^~~~~~~~~~~~~
../src/binding.cc:152:1: note: in expansion of macro ‘NODE_MODULE’
152 | NODE_MODULE(cpufeatures, init)
| ^~~~~~~~~~~
2022-04-16 10:50:27.088 - info: javascript.0 (6665) SOLINK_MODULE(target) Release/obj.target/cpufeatures.node
2022-04-16 10:50:27.410 - info: javascript.0 (6665) COPY Release/cpufeatures.node
2022-04-16 10:50:27.428 - info: javascript.0 (6665) make: Leaving directory '/opt/iobroker/node_modules/iobroker.javascript/node_modules/cpu-features/build'
2022-04-16 10:50:27.461 - info: javascript.0 (6665)
> ssh2@1.9.0 install /opt/iobroker/node_modules/iobroker.javascript/node_modules/ssh2
> node install.js
2022-04-16 10:50:29.372 - info: javascript.0 (6665) make: Entering directory '/opt/iobroker/node_modules/iobroker.javascript/node_modules/ssh2/lib/protocol/crypto/build'
2022-04-16 10:50:29.374 - info: javascript.0 (6665) CXX(target) Release/obj.target/sshcrypto/src/binding.o
2022-04-16 10:50:31.325 - error: javascript.0 (6665) In file included from ../src/binding.cc:5:
/opt/iobroker/.cache/node-gyp/14.19.1/include/node/node.h:793:7: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local, v8::Local, void*)’} [-Wcast-function-type]
793 | (node::addon_register_func) (regfunc), \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/iobroker/.cache/node-gyp/14.19.1/include/node/node.h:827:3: note: in expansion of macro ‘NODE_MODULE_X’
827 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
| ^~~~~~~~~~~~~
../src/binding.cc:2148:1: note: in expansion of macro ‘NODE_MODULE’
2148 | NODE_MODULE(sshcrypto, init)
| ^~~~~~~~~~~
2022-04-16 10:50:35.335 - info: javascript.0 (6665) SOLINK_MODULE(target) Release/obj.target/sshcrypto.node
2022-04-16 10:50:35.631 - info: javascript.0 (6665) COPY Release/sshcrypto.node
2022-04-16 10:50:35.649 - info: javascript.0 (6665) make: Leaving directory '/opt/iobroker/node_modules/iobroker.javascript/node_modules/ssh2/lib/protocol/crypto/build'
2022-04-16 10:50:35.675 - info: javascript.0 (6665) Succeeded in building optional crypto binding
Gibt es Neuigkeiten, wie ich das wieder fixen kann?