In file included from ../src/epoll.cc:12: /home/volumio/.cache/node-gyp/14.15.4/include/node/node.h:184:50: note: declared here NODE_EXTERN v8::Local MakeCallback( ^~~~~~~~~~~~ /home/volumio/.cache/node-gyp/14.15.4/include/node/node.h:108:42: note: in definition of macro 'NODE_DEPRECATED' __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/epoll.cc:15: ../../nan/nan.h: In function 'v8::Local Nan::MakeCallback(v8::Local, const char*, int, v8::Local*)': ../../nan/nan.h:870: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 ../src/epoll.cc:12: /home/volumio/.cache/node-gyp/14.15.4/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local MakeCallback( ^~~~~~~~~~~~ /home/volumio/.cache/node-gyp/14.15.4/include/node/node.h:108:42: note: in definition of macro 'NODE_DEPRECATED' __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/epoll.cc:15: ../../nan/nan.h:870: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 ../src/epoll.cc:12: /home/volumio/.cache/node-gyp/14.15.4/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local MakeCallback( ^~~~~~~~~~~~ /home/volumio/.cache/node-gyp/14.15.4/include/node/node.h:108:42: note: in definition of macro 'NODE_DEPRECATED' __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/epoll.cc:15: ../../nan/nan.h: In constructor 'Nan::Utf8String::Utf8String(v8::Local)': ../../nan/nan.h:916:53: error: no matching function for call to 'v8::Value::ToString()' v8::Local string = from->ToString(); ^ In file included from ../src/epoll.cc:11: /home/volumio/.cache/node-gyp/14.15.4/include/node/v8.h:2810:44: note: candidate: 'v8::MaybeLocal v8::Value::ToString(v8::Local) const' V8_WARN_UNUSED_RESULT MaybeLocal ToString( ^~~~~~~~ /home/volumio/.cache/node-gyp/14.15.4/include/node/v8.h:2810:44: note: candidate expects 1 argument, 0 provided In file included from ../src/epoll.cc:15: ../../nan/nan.h:926: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 ../src/epoll.cc:11: /home/volumio/.cache/node-gyp/14.15.4/include/node/v8.h:3037:7: note: candidate: 'int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const' int WriteUtf8(Isolate* isolate, char* buffer, int length = -1, ^~~~~~~~~ /home/volumio/.cache/node-gyp/14.15.4/include/node/v8.h:3037:7: note: no known conversion for argument 1 from 'char*' to 'v8::Isolate*' In file included from ../src/epoll.cc:15: ../../nan/nan.h: In member function 'v8::Local Nan::Callback::Call_(v8::Isolate*, v8::Local, int, v8::Local*) const': ../../nan/nan.h:1484: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 ../src/epoll.cc:12: /home/volumio/.cache/node-gyp/14.15.4/include/node/node.h:191:50: note: declared here NODE_EXTERN v8::Local MakeCallback( ^~~~~~~~~~~~ /home/volumio/.cache/node-gyp/14.15.4/include/node/node.h:108:42: note: in definition of macro 'NODE_DEPRECATED' __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/epoll.cc:15: ../../nan/nan.h:1484: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 ../src/epoll.cc:12: /home/volumio/.cache/node-gyp/14.15.4/include/node/node.h:191:50: note: declared here NODE_EXTERN v8::Local MakeCallback( ^~~~~~~~~~~~ /home/volumio/.cache/node-gyp/14.15.4/include/node/node.h:108:42: note: in definition of macro 'NODE_DEPRECATED' __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../src/epoll.cc:15: ../../nan/nan.h: In member function 'void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local&)': ../../nan/nan.h:1538:64: error: no matching function for call to 'v8::Object::Set(v8::Local, const v8::Local&)' New(persistentHandle)->Set(New(key).ToLocalChecked(), value); ^ In file included from ../src/epoll.cc:11: /home/volumio/.cache/node-gyp/14.15.4/include/node/v8.h:3670:37: note: candidate: 'v8::Maybe v8::Object::Set(v8::Local, v8::Local, v8::Local)' V8_WARN_UNUSED_RESULT Maybe Set(Local context, ^~~ /home/volumio/.cache/node-gyp/14.15.4/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided /home/volumio/.cache/node-gyp/14.15.4/include/node/v8.h:3673:37: note: candidate: 'v8::Maybe v8::Object::Set(v8::Local, uint32_t, v8::Local)' V8_WARN_UNUSED_RESULT Maybe Set(Local context, uint32_t index, ^~~ /home/volumio/.cache/node-gyp/14.15.4/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided In file included from ../src/epoll.cc:15: ../../nan/nan.h: In member function 'void Nan::AsyncWorker::SaveToPersistent(const v8::Local&, const v8::Local&)': ../../nan/nan.h:1544:42: error: no matching function for call to 'v8::Object::Set(const v8::Local&, const v8::Local&)' New(persistentHandle)->Set(key, value); ^ In file included from ../src/epoll.cc:11: /home/volumio/.cache/node-gyp/14.15.4/include/node/v8.h:3670:37: note: candidate: 'v8::Maybe v8::Object::Set(v8::Local, v8::Local, v8::Local)' V8_WARN_UNUSED_RESULT Maybe Set(Local context, ^~~ /home/volumio/.cache/node-gyp/14.15.4/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided /home/volumio/.cache/node-gyp/14.15.4/include/node/v8.h:3673:37: note: candidate: 'v8::Maybe v8::Object::Set(v8::Local, uint32_t, v8::Local)' V8_WARN_UNUSED_RESULT Maybe Set(Local context, uint32_t index, ^~~ /home/volumio/.cache/node-gyp/14.15.4/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided In file included from ../src/epoll.cc:15: ../../nan/nan.h: In member function 'void Nan::AsyncWorker::SaveToPersistent(uint32_t, const v8::Local&)': ../../nan/nan.h:1550:44: error: no matching function for call to 'v8::Object::Set(uint32_t&, const v8::Local&)' New(persistentHandle)->Set(index, value); ^ In file included from ../src/epoll.cc:11: /home/volumio/.cache/node-gyp/14.15.4/include/node/v8.h:3670:37: note: candidate: 'v8::Maybe v8::Object::Set(v8::Local, v8::Local, v8::Local)' V8_WARN_UNUSED_RESULT Maybe Set(Local context, ^~~ /home/volumio/.cache/node-gyp/14.15.4/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided /home/volumio/.cache/node-gyp/14.15.4/include/node/v8.h:3673:37: note: candidate: 'v8::Maybe v8::Object::Set(v8::Local, uint32_t, v8::Local)' V8_WARN_UNUSED_RESULT Maybe Set(Local context, uint32_t index, ^~~ /home/volumio/.cache/node-gyp/14.15.4/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided In file included from ../src/epoll.cc:15: ../../nan/nan.h: In member function 'v8::Local Nan::AsyncWorker::GetFromPersistent(const char*) const': ../../nan/nan.h:1556:61: error: no matching function for call to 'v8::Object::Get(v8::Local)' New(persistentHandle)->Get(New(key).ToLocalChecked())); ^ In file included from ../src/epoll.cc:11: /home/volumio/.cache/node-gyp/14.15.4/include/node/v8.h:3717:43: note: candidate: 'v8::MaybeLocal v8::Object::Get(v8::Local, v8::Local)' V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /home/volumio/.cache/node-gyp/14.15.4/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided /home/volumio/.cache/node-gyp/14.15.4/include/node/v8.h:3720:43: note: candidate: 'v8::MaybeLocal v8::Object::Get(v8::Local, uint32_t)' V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /home/volumio/.cache/node-gyp/14.15.4/include/node/v8.h:3720:43: note: candidate expects 2 arguments, 1 provided In file included from ../src/epoll.cc:15: ../../nan/nan.h: In member function 'v8::Local Nan::AsyncWorker::GetFromPersistent(const v8::Local&) const': ../../nan/nan.h:1562:55: error: no matching function for call to 'v8::Object::Get(const v8::Local&)' return scope.Escape(New(persistentHandle)->Get(key)); ^ In file included from ../src/epoll.cc:11: /home/volumio/.cache/node-gyp/14.15.4/include/node/v8.h:3717:43: note: candidate: 'v8::MaybeLocal v8::Object::Get(v8::Local, v8::Local)' V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /home/volumio/.cache/node-gyp/14.15.4/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided /home/volumio/.cache/node-gyp/14.15.4/include/node/v8.h:3720:43: note: candidate: 'v8::MaybeLocal v8::Object::Get(v8::Local, uint32_t)' V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /home/volumio/.cache/node-gyp/14.15.4/include/node/v8.h:3720:43: note: candidate expects 2 arguments, 1 provided In file included from ../src/epoll.cc:15: ../../nan/nan.h: In member function 'v8::Local Nan::AsyncWorker::GetFromPersistent(uint32_t) const': ../../nan/nan.h:1567:57: error: no matching function for call to 'v8::Object::Get(uint32_t&)' return scope.Escape(New(persistentHandle)->Get(index)); ^ In file included from ../src/epoll.cc:11: /home/volumio/.cache/node-gyp/14.15.4/include/node/v8.h:3717:43: note: candidate: 'v8::MaybeLocal v8::Object::Get(v8::Local, v8::Local)' V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /home/volumio/.cache/node-gyp/14.15.4/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided /home/volumio/.cache/node-gyp/14.15.4/include/node/v8.h:3720:43: note: candidate: 'v8::MaybeLocal v8::Object::Get(v8::Local, uint32_t)' V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /home/volumio/.cache/node-gyp/14.15.4/include/node/v8.h:3720:43: note: candidate expects 2 arguments, 1 provided In file included from ../src/epoll.cc:15: ../../nan/nan.h: In function 'void Nan::AsyncQueueWorker(Nan::AsyncWorker*)': ../../nan/nan.h:1875: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) ^ In file included from /usr/include/c++/8/cassert:44, from /home/volumio/.cache/node-gyp/14.15.4/include/node/node_object_wrap.h:26, from ../src/epoll.cc:13: ../../nan/nan_object_wrap.h: In destructor 'virtual Nan::ObjectWrap::~ObjectWrap()': ../../nan/nan_object_wrap.h:24:25: error: 'class Nan::Persistent' has no member named 'IsNearDeath' assert(persistent().IsNearDeath()); ^~~~~~~~~~~ In file included from ../../nan/nan.h:2365, from ../src/epoll.cc:15: ../../nan/nan_object_wrap.h: In member function 'void Nan::ObjectWrap::MakeWeak()': ../../nan/nan_object_wrap.h:67:18: error: 'class Nan::Persistent' has no member named 'MarkIndependent' persistent().MarkIndependent(); ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/cassert:44, from /home/volumio/.cache/node-gyp/14.15.4/include/node/node_object_wrap.h:26, from ../src/epoll.cc:13: ../../nan/nan_object_wrap.h: In static member function 'static void Nan::ObjectWrap::WeakCallback(const v8::WeakCallbackInfo&)': ../../nan/nan_object_wrap.h:124:26: error: 'class Nan::Persistent' has no member named 'IsNearDeath' assert(wrap->handle_.IsNearDeath()); ^~~~~~~~~~~ ../src/epoll.cc: In static member function 'static void Epoll::Init(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)': ../src/epoll.cc:175:39: error: no matching function for call to 'v8::FunctionTemplate::GetFunction()' constructor.Reset(ctor->GetFunction()); ^ In file included from ../src/epoll.cc:11: /home/volumio/.cache/node-gyp/14.15.4/include/node/v8.h:6482:46: note: candidate: 'v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local)' V8_WARN_UNUSED_RESULT MaybeLocal GetFunction( ^~~~~~~~~~~ /home/volumio/.cache/node-gyp/14.15.4/include/node/v8.h:6482:46: note: candidate expects 1 argument, 0 provided ../src/epoll.cc:177:23: error: no matching function for call to 'v8::FunctionTemplate::GetFunction()' ctor->GetFunction()); ^ In file included from ../src/epoll.cc:11: /home/volumio/.cache/node-gyp/14.15.4/include/node/v8.h:6482:46: note: candidate: 'v8::MaybeLocal v8::FunctionTemplate::GetFunction(v8::Local)' V8_WARN_UNUSED_RESULT MaybeLocal GetFunction( ^~~~~~~~~~~ /home/volumio/.cache/node-gyp/14.15.4/include/node/v8.h:6482:46: note: candidate expects 1 argument, 0 provided ../src/epoll.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE Epoll::Add(Nan::NAN_METHOD_ARGS_TYPE)': ../src/epoll.cc:210:44: error: no matching function for call to 'v8::Value::Int32Value()' int err = epoll->Add(info[0]->Int32Value(), info[1]->Int32Value()); ^ In file included from ../src/epoll.cc:11: /home/volumio/.cache/node-gyp/14.15.4/include/node/v8.h:2869:40: note: candidate: 'v8::Maybe v8::Value::Int32Value(v8::Local) const' V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~ /home/volumio/.cache/node-gyp/14.15.4/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided ../src/epoll.cc:210:67: error: no matching function for call to 'v8::Value::Int32Value()' int err = epoll->Add(info[0]->Int32Value(), info[1]->Int32Value()); ^ In file included from ../src/epoll.cc:11: /home/volumio/.cache/node-gyp/14.15.4/include/node/v8.h:2869:40: note: candidate: 'v8::Maybe v8::Value::Int32Value(v8::Local) const' V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~ /home/volumio/.cache/node-gyp/14.15.4/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided ../src/epoll.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE Epoll::Modify(Nan::NAN_METHOD_ARGS_TYPE)': ../src/epoll.cc:230:47: error: no matching function for call to 'v8::Value::Int32Value()' int err = epoll->Modify(info[0]->Int32Value(), info[1]->Int32Value()); ^ In file included from ../src/epoll.cc:11: /home/volumio/.cache/node-gyp/14.15.4/include/node/v8.h:2869:40: note: candidate: 'v8::Maybe v8::Value::Int32Value(v8::Local) const' V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~ /home/volumio/.cache/node-gyp/14.15.4/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided ../src/epoll.cc:230:70: error: no matching function for call to 'v8::Value::Int32Value()' int err = epoll->Modify(info[0]->Int32Value(), info[1]->Int32Value()); ^ In file included from ../src/epoll.cc:11: /home/volumio/.cache/node-gyp/14.15.4/include/node/v8.h:2869:40: note: candidate: 'v8::Maybe v8::Value::Int32Value(v8::Local) const' V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~ /home/volumio/.cache/node-gyp/14.15.4/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided ../src/epoll.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE Epoll::Remove(Nan::NAN_METHOD_ARGS_TYPE)': ../src/epoll.cc:247:47: error: no matching function for call to 'v8::Value::Int32Value()' int err = epoll->Remove(info[0]->Int32Value()); ^ In file included from ../src/epoll.cc:11: /home/volumio/.cache/node-gyp/14.15.4/include/node/v8.h:2869:40: note: candidate: 'v8::Maybe v8::Value::Int32Value(v8::Local) const' V8_WARN_UNUSED_RESULT Maybe Int32Value(Local context) const; ^~~~~~~~~~ /home/volumio/.cache/node-gyp/14.15.4/include/node/v8.h:2869:40: note: candidate expects 1 argument, 0 provided In file included from ../src/epoll.cc:12: ../src/epoll.cc: At global scope: /home/volumio/.cache/node-gyp/14.15.4/include/node/node.h:758:43: 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] (node::addon_register_func) (regfunc), \ ^ /home/volumio/.cache/node-gyp/14.15.4/include/node/node.h:792:3: note: in expansion of macro 'NODE_MODULE_X' NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) ^~~~~~~~~~~~~ ../src/epoll.cc:381:1: note: in expansion of macro 'NODE_MODULE' NODE_MODULE(epoll, Epoll::Init) ^~~~~~~~~~~ In file included from ../src/epoll.cc:11: /home/volumio/.cache/node-gyp/14.15.4/include/node/v8.h: In instantiation of 'void v8::PersistentBase::SetWeak(P*, typename v8::WeakCallbackInfo

::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo

::Callback = void (*)(const v8::WeakCallbackInfo&)]': /home/volumio/.cache/node-gyp/14.15.4/include/node/node_object_wrap.h:85:78: required from here /home/volumio/.cache/node-gyp/14.15.4/include/node/v8.h:10874:16: warning: cast between incompatible function types from 'v8::WeakCallbackInfo::Callback' {aka 'void (*)(const v8::WeakCallbackInfo&)'} to 'Callback' {aka 'void (*)(const v8::WeakCallbackInfo&)'} [-Wcast-function-type] reinterpret_cast(callback), type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/volumio/.cache/node-gyp/14.15.4/include/node/v8.h: In instantiation of 'void v8::PersistentBase::SetWeak(P*, typename v8::WeakCallbackInfo

::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo

::Callback = void (*)(const v8::WeakCallbackInfo&)]': ../../nan/nan_object_wrap.h:66:61: required from here /home/volumio/.cache/node-gyp/14.15.4/include/node/v8.h:10874:16: warning: cast between incompatible function types from 'v8::WeakCallbackInfo::Callback' {aka 'void (*)(const v8::WeakCallbackInfo&)'} to 'Callback' {aka 'void (*)(const v8::WeakCallbackInfo&)'} [-Wcast-function-type] make: *** [epoll.target.mk:111: Release/obj.target/epoll/src/epoll.o] Error 1 make: Leaving directory '/data/plugins/system_controller/gpio-buttons/node_modules/epoll/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:194:23) gyp ERR! stack at ChildProcess.emit (events.js:315:20) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12) gyp ERR! System Linux 5.4.83-v7l+ gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /data/plugins/system_controller/gpio-buttons/node_modules/epoll gyp ERR! node -v v14.15.4 gyp ERR! node-gyp -v v5.1.0 gyp ERR! not ok npm WARN gpio-buttons@0.8.1 No repository field. npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! epoll@1.0.2 install: `node-gyp rebuild` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the epoll@1.0.2 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/volumio/.npm/_logs/2021-06-04T11_08_15_943Z-debug.log volumio@volumio:/data/plugins/system_controller/gpio-buttons$ gcc --version gcc (Raspbian 8.3.0-6+rpi1) 8.3.0 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.