Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@wirenboard-AUFTO5ZB:~# npm install -g homekit2mqtt --unsafe-perm
- /usr/bin/homekit2mqtt -> /usr/lib/node_modules/homekit2mqtt/index.js
- > [email protected] install /usr/lib/node_modules/homekit2mqtt/node_modules/curve25519-n
- > node-gyp rebuild
- make: Entering directory '/usr/lib/node_modules/homekit2mqtt/node_modules/curve25519-n/build'
- CXX(target) Release/obj.target/curve/node_curve.o
- SOLINK_MODULE(target) Release/obj.target/curve.node
- COPY Release/curve.node
- make: Leaving directory '/usr/lib/node_modules/homekit2mqtt/node_modules/curve25519-n/build'
- > [email protected] install /usr/lib/node_modules/homekit2mqtt/node_modules/ed25519-hap
- > node-gyp rebuild
- make: Entering directory '/usr/lib/node_modules/homekit2mqtt/node_modules/ed25519-hap/build'
- CC(target) Release/obj.target/ed25519/src/ed25519/keypair.o
- CC(target) Release/obj.target/ed25519/src/ed25519/sign.o
- CC(target) Release/obj.target/ed25519/src/ed25519/open.o
- CC(target) Release/obj.target/ed25519/src/ed25519/crypto_verify_32.o
- CC(target) Release/obj.target/ed25519/src/ed25519/ge_double_scalarmult.o
- CC(target) Release/obj.target/ed25519/src/ed25519/ge_frombytes.o
- CC(target) Release/obj.target/ed25519/src/ed25519/ge_scalarmult_base.o
- CC(target) Release/obj.target/ed25519/src/ed25519/ge_precomp_0.o
- CC(target) Release/obj.target/ed25519/src/ed25519/ge_p2_0.o
- CC(target) Release/obj.target/ed25519/src/ed25519/ge_p2_dbl.o
- CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_0.o
- CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_dbl.o
- CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_to_p2.o
- CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_to_cached.o
- CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_tobytes.o
- CC(target) Release/obj.target/ed25519/src/ed25519/ge_madd.o
- CC(target) Release/obj.target/ed25519/src/ed25519/ge_add.o
- CC(target) Release/obj.target/ed25519/src/ed25519/ge_msub.o
- CC(target) Release/obj.target/ed25519/src/ed25519/ge_sub.o
- CC(target) Release/obj.target/ed25519/src/ed25519/ge_p1p1_to_p3.o
- CC(target) Release/obj.target/ed25519/src/ed25519/ge_p1p1_to_p2.o
- CC(target) Release/obj.target/ed25519/src/ed25519/ge_tobytes.o
- CC(target) Release/obj.target/ed25519/src/ed25519/fe_0.o
- CC(target) Release/obj.target/ed25519/src/ed25519/fe_1.o
- CC(target) Release/obj.target/ed25519/src/ed25519/fe_cmov.o
- CC(target) Release/obj.target/ed25519/src/ed25519/fe_copy.o
- CC(target) Release/obj.target/ed25519/src/ed25519/fe_neg.o
- CC(target) Release/obj.target/ed25519/src/ed25519/fe_add.o
- CC(target) Release/obj.target/ed25519/src/ed25519/fe_sub.o
- CC(target) Release/obj.target/ed25519/src/ed25519/fe_mul.o
- CC(target) Release/obj.target/ed25519/src/ed25519/fe_sq.o
- CC(target) Release/obj.target/ed25519/src/ed25519/fe_sq2.o
- CC(target) Release/obj.target/ed25519/src/ed25519/fe_invert.o
- CC(target) Release/obj.target/ed25519/src/ed25519/fe_tobytes.o
- CC(target) Release/obj.target/ed25519/src/ed25519/fe_isnegative.o
- CC(target) Release/obj.target/ed25519/src/ed25519/fe_isnonzero.o
- CC(target) Release/obj.target/ed25519/src/ed25519/fe_frombytes.o
- CC(target) Release/obj.target/ed25519/src/ed25519/fe_pow22523.o
- CC(target) Release/obj.target/ed25519/src/ed25519/sc_reduce.o
- CC(target) Release/obj.target/ed25519/src/ed25519/sc_muladd.o
- CXX(target) Release/obj.target/ed25519/src/ed25519.o
- ../src/ed25519.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE MakeKeypair(Nan::NAN_METHOD_ARGS_TYPE)’:
- ../src/ed25519.cc:19:98: error: no matching function for call to ‘v8::Value::ToObject()’
- fo.Length() < 1) || (!Buffer::HasInstance(info[0])) || (Buffer::Length(info[0]->ToObject()) != 32)) {
- ^
- In file included from /root/.node-gyp/12.6.0/include/node/node.h:63:0,
- from ../src/ed25519.cc:1:
- /root/.node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
- ^~~~~~~~
- /root/.node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate expects 1 argument, 0 provided
- In file included from /root/.node-gyp/12.6.0/include/node/v8-internal.h:14:0,
- from /root/.node-gyp/12.6.0/include/node/v8.h:25,
- from /root/.node-gyp/12.6.0/include/node/node.h:63,
- from ../src/ed25519.cc:1:
- /root/.node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
- Local<Object> ToObject(Isolate* isolate) const);
- ^
- /root/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
- declarator __attribute__((deprecated(message)))
- ^~~~~~~~~~
- /root/.node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate expects 1 argument, 0 provided
- Local<Object> ToObject(Isolate* isolate) const);
- ^
- /root/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
- declarator __attribute__((deprecated(message)))
- ^~~~~~~~~~
- ../src/ed25519.cc:22:77: error: no matching function for call to ‘v8::Value::ToObject()’
- const unsigned char* seed = (unsigned char*)Buffer::Data(info[0]->ToObject());
- ^
- In file included from /root/.node-gyp/12.6.0/include/node/node.h:63:0,
- from ../src/ed25519.cc:1:
- /root/.node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
- ^~~~~~~~
- /root/.node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate expects 1 argument, 0 provided
- In file included from /root/.node-gyp/12.6.0/include/node/v8-internal.h:14:0,
- from /root/.node-gyp/12.6.0/include/node/v8.h:25,
- from /root/.node-gyp/12.6.0/include/node/node.h:63,
- from ../src/ed25519.cc:1:
- /root/.node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
- Local<Object> ToObject(Isolate* isolate) const);
- ^
- /root/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
- declarator __attribute__((deprecated(message)))
- ^~~~~~~~~~
- /root/.node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate expects 1 argument, 0 provided
- Local<Object> ToObject(Isolate* isolate) const);
- ^
- /root/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
- declarator __attribute__((deprecated(message)))
- ^~~~~~~~~~
- ../src/ed25519.cc:35:63: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
- result->Set(Nan::New("publicKey").ToLocalChecked(), publicKey);
- ^
- In file included from /root/.node-gyp/12.6.0/include/node/v8-internal.h:14:0,
- from /root/.node-gyp/12.6.0/include/node/v8.h:25,
- from /root/.node-gyp/12.6.0/include/node/node.h:63,
- from ../src/ed25519.cc:1:
- /root/.node-gyp/12.6.0/include/node/v8.h:3359:26: note: declared here
- bool Set(Local<Value> key, Local<Value> value));
- ^
- /root/.node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATE_SOO’
- declarator __attribute__((deprecated(message)))
- ^~~~~~~~~~
- ../src/ed25519.cc:36:65: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
- result->Set(Nan::New("privateKey").ToLocalChecked(), privateKey);
- ^
- In file included from /root/.node-gyp/12.6.0/include/node/v8-internal.h:14:0,
- from /root/.node-gyp/12.6.0/include/node/v8.h:25,
- from /root/.node-gyp/12.6.0/include/node/node.h:63,
- from ../src/ed25519.cc:1:
- /root/.node-gyp/12.6.0/include/node/v8.h:3359:26: note: declared here
- bool Set(Local<Value> key, Local<Value> value));
- ^
- /root/.node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATE_SOO’
- declarator __attribute__((deprecated(message)))
- ^~~~~~~~~~
- ../src/ed25519.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE Sign(Nan::NAN_METHOD_ARGS_TYPE)’:
- ../src/ed25519.cc:53:69: error: no matching function for call to ‘v8::Value::ToObject()’
- if ((info.Length() < 2) || (!Buffer::HasInstance(info[0]->ToObject()))) {
- ^
- In file included from /root/.node-gyp/12.6.0/include/node/node.h:63:0,
- from ../src/ed25519.cc:1:
- /root/.node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
- ^~~~~~~~
- /root/.node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate expects 1 argument, 0 provided
- In file included from /root/.node-gyp/12.6.0/include/node/v8-internal.h:14:0,
- from /root/.node-gyp/12.6.0/include/node/v8.h:25,
- from /root/.node-gyp/12.6.0/include/node/node.h:63,
- from ../src/ed25519.cc:1:
- /root/.node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
- Local<Object> ToObject(Isolate* isolate) const);
- ^
- /root/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
- declarator __attribute__((deprecated(message)))
- ^~~~~~~~~~
- /root/.node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate expects 1 argument, 0 provided
- Local<Object> ToObject(Isolate* isolate) const);
- ^
- /root/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
- declarator __attribute__((deprecated(message)))
- ^~~~~~~~~~
- ../src/ed25519.cc:56:74: error: no matching function for call to ‘v8::Value::ToObject()’
- if ((Buffer::HasInstance(info[1])) && (Buffer::Length(info[1]->ToObject()) == 32)) {
- ^
- In file included from /root/.node-gyp/12.6.0/include/node/node.h:63:0,
- from ../src/ed25519.cc:1:
- /root/.node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
- ^~~~~~~~
- /root/.node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate expects 1 argument, 0 provided
- In file included from /root/.node-gyp/12.6.0/include/node/v8-internal.h:14:0,
- from /root/.node-gyp/12.6.0/include/node/v8.h:25,
- from /root/.node-gyp/12.6.0/include/node/node.h:63,
- from ../src/ed25519.cc:1:
- /root/.node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
- Local<Object> ToObject(Isolate* isolate) const);
- ^
- /root/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
- declarator __attribute__((deprecated(message)))
- ^~~~~~~~~~
- /root/.node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate expects 1 argument, 0 provided
- Local<Object> ToObject(Isolate* isolate) const);
- ^
- /root/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
- declarator __attribute__((deprecated(message)))
- ^~~~~~~~~~
- ../src/ed25519.cc:57:72: error: no matching function for call to ‘v8::Value::ToObject()’
- unsigned char* seed = (unsigned char*)Buffer::Data(info[1]->ToObject());
- ^
- In file included from /root/.node-gyp/12.6.0/include/node/node.h:63:0,
- from ../src/ed25519.cc:1:
- /root/.node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
- ^~~~~~~~
- /root/.node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate expects 1 argument, 0 provided
- In file included from /root/.node-gyp/12.6.0/include/node/v8-internal.h:14:0,
- from /root/.node-gyp/12.6.0/include/node/v8.h:25,
- from /root/.node-gyp/12.6.0/include/node/node.h:63,
- from ../src/ed25519.cc:1:
- /root/.node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
- Local<Object> ToObject(Isolate* isolate) const);
- ^
- /root/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
- declarator __attribute__((deprecated(message)))
- ^~~~~~~~~~
- /root/.node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate expects 1 argument, 0 provided
- Local<Object> ToObject(Isolate* isolate) const);
- ^
- /root/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
- declarator __attribute__((deprecated(message)))
- ^~~~~~~~~~
- ../src/ed25519.cc:65:81: error: no matching function for call to ‘v8::Value::ToObject()’
- } else if ((Buffer::HasInstance(info[1])) && (Buffer::Length(info[1]->ToObject()) == 64)) {
- ^
- In file included from /root/.node-gyp/12.6.0/include/node/node.h:63:0,
- from ../src/ed25519.cc:1:
- /root/.node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
- ^~~~~~~~
- /root/.node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate expects 1 argument, 0 provided
- In file included from /root/.node-gyp/12.6.0/include/node/v8-internal.h:14:0,
- from /root/.node-gyp/12.6.0/include/node/v8.h:25,
- from /root/.node-gyp/12.6.0/include/node/node.h:63,
- from ../src/ed25519.cc:1:
- /root/.node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
- Local<Object> ToObject(Isolate* isolate) const);
- ^
- /root/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
- declarator __attribute__((deprecated(message)))
- ^~~~~~~~~~
- /root/.node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate expects 1 argument, 0 provided
- Local<Object> ToObject(Isolate* isolate) const);
- ^
- /root/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
- declarator __attribute__((deprecated(message)))
- ^~~~~~~~~~
- ../src/ed25519.cc:66:63: error: no matching function for call to ‘v8::Value::ToObject()’
- privateKey = (unsigned char*)Buffer::Data(info[1]->ToObject());
- ^
- In file included from /root/.node-gyp/12.6.0/include/node/node.h:63:0,
- from ../src/ed25519.cc:1:
- /root/.node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
- ^~~~~~~~
- /root/.node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate expects 1 argument, 0 provided
- In file included from /root/.node-gyp/12.6.0/include/node/v8-internal.h:14:0,
- from /root/.node-gyp/12.6.0/include/node/v8.h:25,
- from /root/.node-gyp/12.6.0/include/node/node.h:63,
- from ../src/ed25519.cc:1:
- /root/.node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
- Local<Object> ToObject(Isolate* isolate) const);
- ^
- /root/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
- declarator __attribute__((deprecated(message)))
- ^~~~~~~~~~
- /root/.node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate expects 1 argument, 0 provided
- Local<Object> ToObject(Isolate* isolate) const);
- ^
- /root/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
- declarator __attribute__((deprecated(message)))
- ^~~~~~~~~~
- ../src/ed25519.cc:68:53: error: no matching function for call to ‘v8::Value::ToObject()’
- Local<Value> privateKeyBuffer = info[1]->ToObject()->Get(Nan::New<String>("privateKey").ToLocalChecked())->ToObject();
- ^
- In file included from /root/.node-gyp/12.6.0/include/node/node.h:63:0,
- from ../src/ed25519.cc:1:
- /root/.node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
- ^~~~~~~~
- /root/.node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate expects 1 argument, 0 provided
- In file included from /root/.node-gyp/12.6.0/include/node/v8-internal.h:14:0,
- from /root/.node-gyp/12.6.0/include/node/v8.h:25,
- from /root/.node-gyp/12.6.0/include/node/node.h:63,
- from ../src/ed25519.cc:1:
- /root/.node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
- Local<Object> ToObject(Isolate* isolate) const);
- ^
- /root/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
- declarator __attribute__((deprecated(message)))
- ^~~~~~~~~~
- /root/.node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate expects 1 argument, 0 provided
- Local<Object> ToObject(Isolate* isolate) const);
- ^
- /root/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
- declarator __attribute__((deprecated(message)))
- ^~~~~~~~~~
- ../src/ed25519.cc:76:2: error: ‘Handle’ was not declared in this scope
- Handle<Object> message = info[0]->ToObject();
- ^~~~~~
- ../src/ed25519.cc:76:15: error: expected primary-expression before ‘>’ token
- Handle<Object> message = info[0]->ToObject();
- ^
- ../src/ed25519.cc:76:17: error: ‘message’ was not declared in this scope
- Handle<Object> message = info[0]->ToObject();
- ^~~~~~~
- ../src/ed25519.cc:76:45: error: no matching function for call to ‘v8::Value::ToObject()’
- Handle<Object> message = info[0]->ToObject();
- ^
- In file included from /root/.node-gyp/12.6.0/include/node/node.h:63:0,
- from ../src/ed25519.cc:1:
- /root/.node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
- ^~~~~~~~
- /root/.node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate expects 1 argument, 0 provided
- In file included from /root/.node-gyp/12.6.0/include/node/v8-internal.h:14:0,
- from /root/.node-gyp/12.6.0/include/node/v8.h:25,
- from /root/.node-gyp/12.6.0/include/node/node.h:63,
- from ../src/ed25519.cc:1:
- /root/.node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
- Local<Object> ToObject(Isolate* isolate) const);
- ^
- /root/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
- declarator __attribute__((deprecated(message)))
- ^~~~~~~~~~
- /root/.node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate expects 1 argument, 0 provided
- Local<Object> ToObject(Isolate* isolate) const);
- ^
- /root/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
- declarator __attribute__((deprecated(message)))
- ^~~~~~~~~~
- ../src/ed25519.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE Verify(Nan::NAN_METHOD_ARGS_TYPE)’:
- ../src/ed25519.cc:101:69: error: no matching function for call to ‘v8::Value::ToObject()’
- if ((info.Length() < 3) || (!Buffer::HasInstance(info[0]->ToObject())) ||
- ^
- In file included from /root/.node-gyp/12.6.0/include/node/node.h:63:0,
- from ../src/ed25519.cc:1:
- /root/.node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
- ^~~~~~~~
- /root/.node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate expects 1 argument, 0 provided
- In file included from /root/.node-gyp/12.6.0/include/node/v8-internal.h:14:0,
- from /root/.node-gyp/12.6.0/include/node/v8.h:25,
- from /root/.node-gyp/12.6.0/include/node/node.h:63,
- from ../src/ed25519.cc:1:
- /root/.node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
- Local<Object> ToObject(Isolate* isolate) const);
- ^
- /root/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
- declarator __attribute__((deprecated(message)))
- ^~~~~~~~~~
- /root/.node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate expects 1 argument, 0 provided
- Local<Object> ToObject(Isolate* isolate) const);
- ^
- /root/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
- declarator __attribute__((deprecated(message)))
- ^~~~~~~~~~
- ../src/ed25519.cc:102:43: error: no matching function for call to ‘v8::Value::ToObject()’
- (!Buffer::HasInstance(info[1]->ToObject())) || (!Buffer::HasInstance(info[2]->ToObject()))) {
- ^
- In file included from /root/.node-gyp/12.6.0/include/node/node.h:63:0,
- from ../src/ed25519.cc:1:
- /root/.node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
- ^~~~~~~~
- /root/.node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate expects 1 argument, 0 provided
- In file included from /root/.node-gyp/12.6.0/include/node/v8-internal.h:14:0,
- from /root/.node-gyp/12.6.0/include/node/v8.h:25,
- from /root/.node-gyp/12.6.0/include/node/node.h:63,
- from ../src/ed25519.cc:1:
- /root/.node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
- Local<Object> ToObject(Isolate* isolate) const);
- ^
- /root/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
- declarator __attribute__((deprecated(message)))
- ^~~~~~~~~~
- /root/.node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate expects 1 argument, 0 provided
- Local<Object> ToObject(Isolate* isolate) const);
- ^
- /root/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
- declarator __attribute__((deprecated(message)))
- ^~~~~~~~~~
- ../src/ed25519.cc:102:90: error: no matching function for call to ‘v8::Value::ToObject()’
- (!Buffer::HasInstance(info[1]->ToObject())) || (!Buffer::HasInstance(info[2]->ToObject()))) {
- ^
- In file included from /root/.node-gyp/12.6.0/include/node/node.h:63:0,
- from ../src/ed25519.cc:1:
- /root/.node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
- ^~~~~~~~
- /root/.node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate expects 1 argument, 0 provided
- In file included from /root/.node-gyp/12.6.0/include/node/v8-internal.h:14:0,
- from /root/.node-gyp/12.6.0/include/node/v8.h:25,
- from /root/.node-gyp/12.6.0/include/node/node.h:63,
- from ../src/ed25519.cc:1:
- /root/.node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
- Local<Object> ToObject(Isolate* isolate) const);
- ^
- /root/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
- declarator __attribute__((deprecated(message)))
- ^~~~~~~~~~
- /root/.node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate expects 1 argument, 0 provided
- Local<Object> ToObject(Isolate* isolate) const);
- ^
- /root/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
- declarator __attribute__((deprecated(message)))
- ^~~~~~~~~~
- ../src/ed25519.cc:105:2: error: ‘Handle’ was not declared in this scope
- Handle<Object> message = info[0]->ToObject();
- ^~~~~~
- ../src/ed25519.cc:105:15: error: expected primary-expression before ‘>’ token
- Handle<Object> message = info[0]->ToObject();
- ^
- ../src/ed25519.cc:105:17: error: ‘message’ was not declared in this scope
- Handle<Object> message = info[0]->ToObject();
- ^~~~~~~
- ../src/ed25519.cc:105:45: error: no matching function for call to ‘v8::Value::ToObject()’
- Handle<Object> message = info[0]->ToObject();
- ^
- In file included from /root/.node-gyp/12.6.0/include/node/node.h:63:0,
- from ../src/ed25519.cc:1:
- /root/.node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
- ^~~~~~~~
- /root/.node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate expects 1 argument, 0 provided
- In file included from /root/.node-gyp/12.6.0/include/node/v8-internal.h:14:0,
- from /root/.node-gyp/12.6.0/include/node/v8.h:25,
- from /root/.node-gyp/12.6.0/include/node/node.h:63,
- from ../src/ed25519.cc:1:
- /root/.node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
- Local<Object> ToObject(Isolate* isolate) const);
- ^
- /root/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
- declarator __attribute__((deprecated(message)))
- ^~~~~~~~~~
- /root/.node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate expects 1 argument, 0 provided
- Local<Object> ToObject(Isolate* isolate) const);
- ^
- /root/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
- declarator __attribute__((deprecated(message)))
- ^~~~~~~~~~
- ../src/ed25519.cc:106:15: error: expected primary-expression before ‘>’ token
- Handle<Object> signature = info[1]->ToObject();
- ^
- ../src/ed25519.cc:106:17: error: ‘signature’ was not declared in this scope
- Handle<Object> signature = info[1]->ToObject();
- ^~~~~~~~~
- ../src/ed25519.cc:106:47: error: no matching function for call to ‘v8::Value::ToObject()’
- Handle<Object> signature = info[1]->ToObject();
- ^
- In file included from /root/.node-gyp/12.6.0/include/node/node.h:63:0,
- from ../src/ed25519.cc:1:
- /root/.node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
- ^~~~~~~~
- /root/.node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate expects 1 argument, 0 provided
- In file included from /root/.node-gyp/12.6.0/include/node/v8-internal.h:14:0,
- from /root/.node-gyp/12.6.0/include/node/v8.h:25,
- from /root/.node-gyp/12.6.0/include/node/node.h:63,
- from ../src/ed25519.cc:1:
- /root/.node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
- Local<Object> ToObject(Isolate* isolate) const);
- ^
- /root/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
- declarator __attribute__((deprecated(message)))
- ^~~~~~~~~~
- /root/.node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate expects 1 argument, 0 provided
- Local<Object> ToObject(Isolate* isolate) const);
- ^
- /root/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
- declarator __attribute__((deprecated(message)))
- ^~~~~~~~~~
- ../src/ed25519.cc:107:15: error: expected primary-expression before ‘>’ token
- Handle<Object> publicKey = info[2]->ToObject();
- ^
- ../src/ed25519.cc:107:17: error: ‘publicKey’ was not declared in this scope
- Handle<Object> publicKey = info[2]->ToObject();
- ^~~~~~~~~
- ../src/ed25519.cc:107:47: error: no matching function for call to ‘v8::Value::ToObject()’
- Handle<Object> publicKey = info[2]->ToObject();
- ^
- In file included from /root/.node-gyp/12.6.0/include/node/node.h:63:0,
- from ../src/ed25519.cc:1:
- /root/.node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const
- V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
- ^~~~~~~~
- /root/.node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate expects 1 argument, 0 provided
- In file included from /root/.node-gyp/12.6.0/include/node/v8-internal.h:14:0,
- from /root/.node-gyp/12.6.0/include/node/v8.h:25,
- from /root/.node-gyp/12.6.0/include/node/node.h:63,
- from ../src/ed25519.cc:1:
- /root/.node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
- Local<Object> ToObject(Isolate* isolate) const);
- ^
- /root/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
- declarator __attribute__((deprecated(message)))
- ^~~~~~~~~~
- /root/.node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate expects 1 argument, 0 provided
- Local<Object> ToObject(Isolate* isolate) const);
- ^
- /root/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
- declarator __attribute__((deprecated(message)))
- ^~~~~~~~~~
- ../src/ed25519.cc: At global scope:
- ../src/ed25519.cc:120:17: error: variable or field ‘InitModule’ declared void
- void InitModule(Handle<Object> exports) {
- ^~~~~~
- ../src/ed25519.cc:120:17: error: ‘Handle’ was not declared in this scope
- ../src/ed25519.cc:120:30: error: expected primary-expression before ‘>’ token
- void InitModule(Handle<Object> exports) {
- ^
- ../src/ed25519.cc:120:32: error: ‘exports’ was not declared in this scope
- void InitModule(Handle<Object> exports) {
- ^~~~~~~
- In file included from ../src/ed25519.cc:1:0:
- ../src/ed25519.cc:126:22: error: ‘InitModule’ was not declared in this scope
- NODE_MODULE(ed25519, InitModule)
- ^
- /root/.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/ed25519.cc:126:1: note: in expansion of macro ‘NODE_MODULE’
- NODE_MODULE(ed25519, InitModule)
- ^~~~~~~~~~~
- ed25519.target.mk:147: recipe for target 'Release/obj.target/ed25519/src/ed25519.o' failed
- make: *** [Release/obj.target/ed25519/src/ed25519.o] Error 1
- make: Leaving directory '/usr/lib/node_modules/homekit2mqtt/node_modules/ed25519-hap/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.9.22-wb6
- gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
- gyp ERR! cwd /usr/lib/node_modules/homekit2mqtt/node_modules/ed25519-hap
- gyp ERR! node -v v12.6.0
- gyp ERR! node-gyp -v v3.8.0
- gyp ERR! not ok
- npm ERR! code ELIFECYCLE
- npm ERR! errno 1
- npm ERR! [email protected] install: `node-gyp rebuild`
- npm ERR! Exit status 1
- npm ERR!
- npm ERR! Failed at the [email protected] 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! /root/.npm/_logs/2019-07-09T11_21_30_233Z-debug.log
Advertisement
Add Comment
Please, Sign In to add comment