Guest User

Untitled

a guest
Jul 9th, 2019
261
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 34.84 KB | None | 0 0
  1. root@wirenboard-AUFTO5ZB:~# npm install -g homekit2mqtt --unsafe-perm
  2. /usr/bin/homekit2mqtt -> /usr/lib/node_modules/homekit2mqtt/index.js
  3.  
  4. > [email protected] install /usr/lib/node_modules/homekit2mqtt/node_modules/curve25519-n
  5. > node-gyp rebuild
  6.  
  7. make: Entering directory '/usr/lib/node_modules/homekit2mqtt/node_modules/curve25519-n/build'
  8. CXX(target) Release/obj.target/curve/node_curve.o
  9. SOLINK_MODULE(target) Release/obj.target/curve.node
  10. COPY Release/curve.node
  11. make: Leaving directory '/usr/lib/node_modules/homekit2mqtt/node_modules/curve25519-n/build'
  12.  
  13. > [email protected] install /usr/lib/node_modules/homekit2mqtt/node_modules/ed25519-hap
  14. > node-gyp rebuild
  15.  
  16. make: Entering directory '/usr/lib/node_modules/homekit2mqtt/node_modules/ed25519-hap/build'
  17. CC(target) Release/obj.target/ed25519/src/ed25519/keypair.o
  18. CC(target) Release/obj.target/ed25519/src/ed25519/sign.o
  19. CC(target) Release/obj.target/ed25519/src/ed25519/open.o
  20. CC(target) Release/obj.target/ed25519/src/ed25519/crypto_verify_32.o
  21. CC(target) Release/obj.target/ed25519/src/ed25519/ge_double_scalarmult.o
  22. CC(target) Release/obj.target/ed25519/src/ed25519/ge_frombytes.o
  23. CC(target) Release/obj.target/ed25519/src/ed25519/ge_scalarmult_base.o
  24. CC(target) Release/obj.target/ed25519/src/ed25519/ge_precomp_0.o
  25. CC(target) Release/obj.target/ed25519/src/ed25519/ge_p2_0.o
  26. CC(target) Release/obj.target/ed25519/src/ed25519/ge_p2_dbl.o
  27. CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_0.o
  28. CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_dbl.o
  29. CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_to_p2.o
  30. CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_to_cached.o
  31. CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_tobytes.o
  32. CC(target) Release/obj.target/ed25519/src/ed25519/ge_madd.o
  33. CC(target) Release/obj.target/ed25519/src/ed25519/ge_add.o
  34. CC(target) Release/obj.target/ed25519/src/ed25519/ge_msub.o
  35. CC(target) Release/obj.target/ed25519/src/ed25519/ge_sub.o
  36. CC(target) Release/obj.target/ed25519/src/ed25519/ge_p1p1_to_p3.o
  37. CC(target) Release/obj.target/ed25519/src/ed25519/ge_p1p1_to_p2.o
  38. CC(target) Release/obj.target/ed25519/src/ed25519/ge_tobytes.o
  39. CC(target) Release/obj.target/ed25519/src/ed25519/fe_0.o
  40. CC(target) Release/obj.target/ed25519/src/ed25519/fe_1.o
  41. CC(target) Release/obj.target/ed25519/src/ed25519/fe_cmov.o
  42. CC(target) Release/obj.target/ed25519/src/ed25519/fe_copy.o
  43. CC(target) Release/obj.target/ed25519/src/ed25519/fe_neg.o
  44. CC(target) Release/obj.target/ed25519/src/ed25519/fe_add.o
  45. CC(target) Release/obj.target/ed25519/src/ed25519/fe_sub.o
  46. CC(target) Release/obj.target/ed25519/src/ed25519/fe_mul.o
  47. CC(target) Release/obj.target/ed25519/src/ed25519/fe_sq.o
  48. CC(target) Release/obj.target/ed25519/src/ed25519/fe_sq2.o
  49. CC(target) Release/obj.target/ed25519/src/ed25519/fe_invert.o
  50. CC(target) Release/obj.target/ed25519/src/ed25519/fe_tobytes.o
  51. CC(target) Release/obj.target/ed25519/src/ed25519/fe_isnegative.o
  52. CC(target) Release/obj.target/ed25519/src/ed25519/fe_isnonzero.o
  53. CC(target) Release/obj.target/ed25519/src/ed25519/fe_frombytes.o
  54. CC(target) Release/obj.target/ed25519/src/ed25519/fe_pow22523.o
  55. CC(target) Release/obj.target/ed25519/src/ed25519/sc_reduce.o
  56. CC(target) Release/obj.target/ed25519/src/ed25519/sc_muladd.o
  57. CXX(target) Release/obj.target/ed25519/src/ed25519.o
  58. ../src/ed25519.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE MakeKeypair(Nan::NAN_METHOD_ARGS_TYPE)’:
  59. ../src/ed25519.cc:19:98: error: no matching function for call to ‘v8::Value::ToObject()’
  60. fo.Length() < 1) || (!Buffer::HasInstance(info[0])) || (Buffer::Length(info[0]->ToObject()) != 32)) {
  61. ^
  62. In file included from /root/.node-gyp/12.6.0/include/node/node.h:63:0,
  63. from ../src/ed25519.cc:1:
  64. /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
  65. V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
  66. ^~~~~~~~
  67. /root/.node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate expects 1 argument, 0 provided
  68. In file included from /root/.node-gyp/12.6.0/include/node/v8-internal.h:14:0,
  69. from /root/.node-gyp/12.6.0/include/node/v8.h:25,
  70. from /root/.node-gyp/12.6.0/include/node/node.h:63,
  71. from ../src/ed25519.cc:1:
  72. /root/.node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
  73. Local<Object> ToObject(Isolate* isolate) const);
  74. ^
  75. /root/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  76. declarator __attribute__((deprecated(message)))
  77. ^~~~~~~~~~
  78. /root/.node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate expects 1 argument, 0 provided
  79. Local<Object> ToObject(Isolate* isolate) const);
  80. ^
  81. /root/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  82. declarator __attribute__((deprecated(message)))
  83. ^~~~~~~~~~
  84. ../src/ed25519.cc:22:77: error: no matching function for call to ‘v8::Value::ToObject()’
  85. const unsigned char* seed = (unsigned char*)Buffer::Data(info[0]->ToObject());
  86. ^
  87. In file included from /root/.node-gyp/12.6.0/include/node/node.h:63:0,
  88. from ../src/ed25519.cc:1:
  89. /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
  90. V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
  91. ^~~~~~~~
  92. /root/.node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate expects 1 argument, 0 provided
  93. In file included from /root/.node-gyp/12.6.0/include/node/v8-internal.h:14:0,
  94. from /root/.node-gyp/12.6.0/include/node/v8.h:25,
  95. from /root/.node-gyp/12.6.0/include/node/node.h:63,
  96. from ../src/ed25519.cc:1:
  97. /root/.node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
  98. Local<Object> ToObject(Isolate* isolate) const);
  99. ^
  100. /root/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  101. declarator __attribute__((deprecated(message)))
  102. ^~~~~~~~~~
  103. /root/.node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate expects 1 argument, 0 provided
  104. Local<Object> ToObject(Isolate* isolate) const);
  105. ^
  106. /root/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  107. declarator __attribute__((deprecated(message)))
  108. ^~~~~~~~~~
  109. ../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]
  110. result->Set(Nan::New("publicKey").ToLocalChecked(), publicKey);
  111. ^
  112. In file included from /root/.node-gyp/12.6.0/include/node/v8-internal.h:14:0,
  113. from /root/.node-gyp/12.6.0/include/node/v8.h:25,
  114. from /root/.node-gyp/12.6.0/include/node/node.h:63,
  115. from ../src/ed25519.cc:1:
  116. /root/.node-gyp/12.6.0/include/node/v8.h:3359:26: note: declared here
  117. bool Set(Local<Value> key, Local<Value> value));
  118. ^
  119. /root/.node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATE_SOO’
  120. declarator __attribute__((deprecated(message)))
  121. ^~~~~~~~~~
  122. ../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]
  123. result->Set(Nan::New("privateKey").ToLocalChecked(), privateKey);
  124. ^
  125. In file included from /root/.node-gyp/12.6.0/include/node/v8-internal.h:14:0,
  126. from /root/.node-gyp/12.6.0/include/node/v8.h:25,
  127. from /root/.node-gyp/12.6.0/include/node/node.h:63,
  128. from ../src/ed25519.cc:1:
  129. /root/.node-gyp/12.6.0/include/node/v8.h:3359:26: note: declared here
  130. bool Set(Local<Value> key, Local<Value> value));
  131. ^
  132. /root/.node-gyp/12.6.0/include/node/v8config.h:326:3: note: in definition of macro ‘V8_DEPRECATE_SOO’
  133. declarator __attribute__((deprecated(message)))
  134. ^~~~~~~~~~
  135. ../src/ed25519.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE Sign(Nan::NAN_METHOD_ARGS_TYPE)’:
  136. ../src/ed25519.cc:53:69: error: no matching function for call to ‘v8::Value::ToObject()’
  137. if ((info.Length() < 2) || (!Buffer::HasInstance(info[0]->ToObject()))) {
  138. ^
  139. In file included from /root/.node-gyp/12.6.0/include/node/node.h:63:0,
  140. from ../src/ed25519.cc:1:
  141. /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
  142. V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
  143. ^~~~~~~~
  144. /root/.node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate expects 1 argument, 0 provided
  145. In file included from /root/.node-gyp/12.6.0/include/node/v8-internal.h:14:0,
  146. from /root/.node-gyp/12.6.0/include/node/v8.h:25,
  147. from /root/.node-gyp/12.6.0/include/node/node.h:63,
  148. from ../src/ed25519.cc:1:
  149. /root/.node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
  150. Local<Object> ToObject(Isolate* isolate) const);
  151. ^
  152. /root/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  153. declarator __attribute__((deprecated(message)))
  154. ^~~~~~~~~~
  155. /root/.node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate expects 1 argument, 0 provided
  156. Local<Object> ToObject(Isolate* isolate) const);
  157. ^
  158. /root/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  159. declarator __attribute__((deprecated(message)))
  160. ^~~~~~~~~~
  161. ../src/ed25519.cc:56:74: error: no matching function for call to ‘v8::Value::ToObject()’
  162. if ((Buffer::HasInstance(info[1])) && (Buffer::Length(info[1]->ToObject()) == 32)) {
  163. ^
  164. In file included from /root/.node-gyp/12.6.0/include/node/node.h:63:0,
  165. from ../src/ed25519.cc:1:
  166. /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
  167. V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
  168. ^~~~~~~~
  169. /root/.node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate expects 1 argument, 0 provided
  170. In file included from /root/.node-gyp/12.6.0/include/node/v8-internal.h:14:0,
  171. from /root/.node-gyp/12.6.0/include/node/v8.h:25,
  172. from /root/.node-gyp/12.6.0/include/node/node.h:63,
  173. from ../src/ed25519.cc:1:
  174. /root/.node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
  175. Local<Object> ToObject(Isolate* isolate) const);
  176. ^
  177. /root/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  178. declarator __attribute__((deprecated(message)))
  179. ^~~~~~~~~~
  180. /root/.node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate expects 1 argument, 0 provided
  181. Local<Object> ToObject(Isolate* isolate) const);
  182. ^
  183. /root/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  184. declarator __attribute__((deprecated(message)))
  185. ^~~~~~~~~~
  186. ../src/ed25519.cc:57:72: error: no matching function for call to ‘v8::Value::ToObject()’
  187. unsigned char* seed = (unsigned char*)Buffer::Data(info[1]->ToObject());
  188. ^
  189. In file included from /root/.node-gyp/12.6.0/include/node/node.h:63:0,
  190. from ../src/ed25519.cc:1:
  191. /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
  192. V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
  193. ^~~~~~~~
  194. /root/.node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate expects 1 argument, 0 provided
  195. In file included from /root/.node-gyp/12.6.0/include/node/v8-internal.h:14:0,
  196. from /root/.node-gyp/12.6.0/include/node/v8.h:25,
  197. from /root/.node-gyp/12.6.0/include/node/node.h:63,
  198. from ../src/ed25519.cc:1:
  199. /root/.node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
  200. Local<Object> ToObject(Isolate* isolate) const);
  201. ^
  202. /root/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  203. declarator __attribute__((deprecated(message)))
  204. ^~~~~~~~~~
  205. /root/.node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate expects 1 argument, 0 provided
  206. Local<Object> ToObject(Isolate* isolate) const);
  207. ^
  208. /root/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  209. declarator __attribute__((deprecated(message)))
  210. ^~~~~~~~~~
  211. ../src/ed25519.cc:65:81: error: no matching function for call to ‘v8::Value::ToObject()’
  212. } else if ((Buffer::HasInstance(info[1])) && (Buffer::Length(info[1]->ToObject()) == 64)) {
  213. ^
  214. In file included from /root/.node-gyp/12.6.0/include/node/node.h:63:0,
  215. from ../src/ed25519.cc:1:
  216. /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
  217. V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
  218. ^~~~~~~~
  219. /root/.node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate expects 1 argument, 0 provided
  220. In file included from /root/.node-gyp/12.6.0/include/node/v8-internal.h:14:0,
  221. from /root/.node-gyp/12.6.0/include/node/v8.h:25,
  222. from /root/.node-gyp/12.6.0/include/node/node.h:63,
  223. from ../src/ed25519.cc:1:
  224. /root/.node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
  225. Local<Object> ToObject(Isolate* isolate) const);
  226. ^
  227. /root/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  228. declarator __attribute__((deprecated(message)))
  229. ^~~~~~~~~~
  230. /root/.node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate expects 1 argument, 0 provided
  231. Local<Object> ToObject(Isolate* isolate) const);
  232. ^
  233. /root/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  234. declarator __attribute__((deprecated(message)))
  235. ^~~~~~~~~~
  236. ../src/ed25519.cc:66:63: error: no matching function for call to ‘v8::Value::ToObject()’
  237. privateKey = (unsigned char*)Buffer::Data(info[1]->ToObject());
  238. ^
  239. In file included from /root/.node-gyp/12.6.0/include/node/node.h:63:0,
  240. from ../src/ed25519.cc:1:
  241. /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
  242. V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
  243. ^~~~~~~~
  244. /root/.node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate expects 1 argument, 0 provided
  245. In file included from /root/.node-gyp/12.6.0/include/node/v8-internal.h:14:0,
  246. from /root/.node-gyp/12.6.0/include/node/v8.h:25,
  247. from /root/.node-gyp/12.6.0/include/node/node.h:63,
  248. from ../src/ed25519.cc:1:
  249. /root/.node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
  250. Local<Object> ToObject(Isolate* isolate) const);
  251. ^
  252. /root/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  253. declarator __attribute__((deprecated(message)))
  254. ^~~~~~~~~~
  255. /root/.node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate expects 1 argument, 0 provided
  256. Local<Object> ToObject(Isolate* isolate) const);
  257. ^
  258. /root/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  259. declarator __attribute__((deprecated(message)))
  260. ^~~~~~~~~~
  261. ../src/ed25519.cc:68:53: error: no matching function for call to ‘v8::Value::ToObject()’
  262. Local<Value> privateKeyBuffer = info[1]->ToObject()->Get(Nan::New<String>("privateKey").ToLocalChecked())->ToObject();
  263. ^
  264. In file included from /root/.node-gyp/12.6.0/include/node/node.h:63:0,
  265. from ../src/ed25519.cc:1:
  266. /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
  267. V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
  268. ^~~~~~~~
  269. /root/.node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate expects 1 argument, 0 provided
  270. In file included from /root/.node-gyp/12.6.0/include/node/v8-internal.h:14:0,
  271. from /root/.node-gyp/12.6.0/include/node/v8.h:25,
  272. from /root/.node-gyp/12.6.0/include/node/node.h:63,
  273. from ../src/ed25519.cc:1:
  274. /root/.node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
  275. Local<Object> ToObject(Isolate* isolate) const);
  276. ^
  277. /root/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  278. declarator __attribute__((deprecated(message)))
  279. ^~~~~~~~~~
  280. /root/.node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate expects 1 argument, 0 provided
  281. Local<Object> ToObject(Isolate* isolate) const);
  282. ^
  283. /root/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  284. declarator __attribute__((deprecated(message)))
  285. ^~~~~~~~~~
  286. ../src/ed25519.cc:76:2: error: ‘Handle’ was not declared in this scope
  287. Handle<Object> message = info[0]->ToObject();
  288. ^~~~~~
  289. ../src/ed25519.cc:76:15: error: expected primary-expression before ‘>’ token
  290. Handle<Object> message = info[0]->ToObject();
  291. ^
  292. ../src/ed25519.cc:76:17: error: ‘message’ was not declared in this scope
  293. Handle<Object> message = info[0]->ToObject();
  294. ^~~~~~~
  295. ../src/ed25519.cc:76:45: error: no matching function for call to ‘v8::Value::ToObject()’
  296. Handle<Object> message = info[0]->ToObject();
  297. ^
  298. In file included from /root/.node-gyp/12.6.0/include/node/node.h:63:0,
  299. from ../src/ed25519.cc:1:
  300. /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
  301. V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
  302. ^~~~~~~~
  303. /root/.node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate expects 1 argument, 0 provided
  304. In file included from /root/.node-gyp/12.6.0/include/node/v8-internal.h:14:0,
  305. from /root/.node-gyp/12.6.0/include/node/v8.h:25,
  306. from /root/.node-gyp/12.6.0/include/node/node.h:63,
  307. from ../src/ed25519.cc:1:
  308. /root/.node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
  309. Local<Object> ToObject(Isolate* isolate) const);
  310. ^
  311. /root/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  312. declarator __attribute__((deprecated(message)))
  313. ^~~~~~~~~~
  314. /root/.node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate expects 1 argument, 0 provided
  315. Local<Object> ToObject(Isolate* isolate) const);
  316. ^
  317. /root/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  318. declarator __attribute__((deprecated(message)))
  319. ^~~~~~~~~~
  320. ../src/ed25519.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE Verify(Nan::NAN_METHOD_ARGS_TYPE)’:
  321. ../src/ed25519.cc:101:69: error: no matching function for call to ‘v8::Value::ToObject()’
  322. if ((info.Length() < 3) || (!Buffer::HasInstance(info[0]->ToObject())) ||
  323. ^
  324. In file included from /root/.node-gyp/12.6.0/include/node/node.h:63:0,
  325. from ../src/ed25519.cc:1:
  326. /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
  327. V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
  328. ^~~~~~~~
  329. /root/.node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate expects 1 argument, 0 provided
  330. In file included from /root/.node-gyp/12.6.0/include/node/v8-internal.h:14:0,
  331. from /root/.node-gyp/12.6.0/include/node/v8.h:25,
  332. from /root/.node-gyp/12.6.0/include/node/node.h:63,
  333. from ../src/ed25519.cc:1:
  334. /root/.node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
  335. Local<Object> ToObject(Isolate* isolate) const);
  336. ^
  337. /root/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  338. declarator __attribute__((deprecated(message)))
  339. ^~~~~~~~~~
  340. /root/.node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate expects 1 argument, 0 provided
  341. Local<Object> ToObject(Isolate* isolate) const);
  342. ^
  343. /root/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  344. declarator __attribute__((deprecated(message)))
  345. ^~~~~~~~~~
  346. ../src/ed25519.cc:102:43: error: no matching function for call to ‘v8::Value::ToObject()’
  347. (!Buffer::HasInstance(info[1]->ToObject())) || (!Buffer::HasInstance(info[2]->ToObject()))) {
  348. ^
  349. In file included from /root/.node-gyp/12.6.0/include/node/node.h:63:0,
  350. from ../src/ed25519.cc:1:
  351. /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
  352. V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
  353. ^~~~~~~~
  354. /root/.node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate expects 1 argument, 0 provided
  355. In file included from /root/.node-gyp/12.6.0/include/node/v8-internal.h:14:0,
  356. from /root/.node-gyp/12.6.0/include/node/v8.h:25,
  357. from /root/.node-gyp/12.6.0/include/node/node.h:63,
  358. from ../src/ed25519.cc:1:
  359. /root/.node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
  360. Local<Object> ToObject(Isolate* isolate) const);
  361. ^
  362. /root/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  363. declarator __attribute__((deprecated(message)))
  364. ^~~~~~~~~~
  365. /root/.node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate expects 1 argument, 0 provided
  366. Local<Object> ToObject(Isolate* isolate) const);
  367. ^
  368. /root/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  369. declarator __attribute__((deprecated(message)))
  370. ^~~~~~~~~~
  371. ../src/ed25519.cc:102:90: error: no matching function for call to ‘v8::Value::ToObject()’
  372. (!Buffer::HasInstance(info[1]->ToObject())) || (!Buffer::HasInstance(info[2]->ToObject()))) {
  373. ^
  374. In file included from /root/.node-gyp/12.6.0/include/node/node.h:63:0,
  375. from ../src/ed25519.cc:1:
  376. /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
  377. V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
  378. ^~~~~~~~
  379. /root/.node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate expects 1 argument, 0 provided
  380. In file included from /root/.node-gyp/12.6.0/include/node/v8-internal.h:14:0,
  381. from /root/.node-gyp/12.6.0/include/node/v8.h:25,
  382. from /root/.node-gyp/12.6.0/include/node/node.h:63,
  383. from ../src/ed25519.cc:1:
  384. /root/.node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
  385. Local<Object> ToObject(Isolate* isolate) const);
  386. ^
  387. /root/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  388. declarator __attribute__((deprecated(message)))
  389. ^~~~~~~~~~
  390. /root/.node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate expects 1 argument, 0 provided
  391. Local<Object> ToObject(Isolate* isolate) const);
  392. ^
  393. /root/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  394. declarator __attribute__((deprecated(message)))
  395. ^~~~~~~~~~
  396. ../src/ed25519.cc:105:2: error: ‘Handle’ was not declared in this scope
  397. Handle<Object> message = info[0]->ToObject();
  398. ^~~~~~
  399. ../src/ed25519.cc:105:15: error: expected primary-expression before ‘>’ token
  400. Handle<Object> message = info[0]->ToObject();
  401. ^
  402. ../src/ed25519.cc:105:17: error: ‘message’ was not declared in this scope
  403. Handle<Object> message = info[0]->ToObject();
  404. ^~~~~~~
  405. ../src/ed25519.cc:105:45: error: no matching function for call to ‘v8::Value::ToObject()’
  406. Handle<Object> message = info[0]->ToObject();
  407. ^
  408. In file included from /root/.node-gyp/12.6.0/include/node/node.h:63:0,
  409. from ../src/ed25519.cc:1:
  410. /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
  411. V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
  412. ^~~~~~~~
  413. /root/.node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate expects 1 argument, 0 provided
  414. In file included from /root/.node-gyp/12.6.0/include/node/v8-internal.h:14:0,
  415. from /root/.node-gyp/12.6.0/include/node/v8.h:25,
  416. from /root/.node-gyp/12.6.0/include/node/node.h:63,
  417. from ../src/ed25519.cc:1:
  418. /root/.node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
  419. Local<Object> ToObject(Isolate* isolate) const);
  420. ^
  421. /root/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  422. declarator __attribute__((deprecated(message)))
  423. ^~~~~~~~~~
  424. /root/.node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate expects 1 argument, 0 provided
  425. Local<Object> ToObject(Isolate* isolate) const);
  426. ^
  427. /root/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  428. declarator __attribute__((deprecated(message)))
  429. ^~~~~~~~~~
  430. ../src/ed25519.cc:106:15: error: expected primary-expression before ‘>’ token
  431. Handle<Object> signature = info[1]->ToObject();
  432. ^
  433. ../src/ed25519.cc:106:17: error: ‘signature’ was not declared in this scope
  434. Handle<Object> signature = info[1]->ToObject();
  435. ^~~~~~~~~
  436. ../src/ed25519.cc:106:47: error: no matching function for call to ‘v8::Value::ToObject()’
  437. Handle<Object> signature = info[1]->ToObject();
  438. ^
  439. In file included from /root/.node-gyp/12.6.0/include/node/node.h:63:0,
  440. from ../src/ed25519.cc:1:
  441. /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
  442. V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
  443. ^~~~~~~~
  444. /root/.node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate expects 1 argument, 0 provided
  445. In file included from /root/.node-gyp/12.6.0/include/node/v8-internal.h:14:0,
  446. from /root/.node-gyp/12.6.0/include/node/v8.h:25,
  447. from /root/.node-gyp/12.6.0/include/node/node.h:63,
  448. from ../src/ed25519.cc:1:
  449. /root/.node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
  450. Local<Object> ToObject(Isolate* isolate) const);
  451. ^
  452. /root/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  453. declarator __attribute__((deprecated(message)))
  454. ^~~~~~~~~~
  455. /root/.node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate expects 1 argument, 0 provided
  456. Local<Object> ToObject(Isolate* isolate) const);
  457. ^
  458. /root/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  459. declarator __attribute__((deprecated(message)))
  460. ^~~~~~~~~~
  461. ../src/ed25519.cc:107:15: error: expected primary-expression before ‘>’ token
  462. Handle<Object> publicKey = info[2]->ToObject();
  463. ^
  464. ../src/ed25519.cc:107:17: error: ‘publicKey’ was not declared in this scope
  465. Handle<Object> publicKey = info[2]->ToObject();
  466. ^~~~~~~~~
  467. ../src/ed25519.cc:107:47: error: no matching function for call to ‘v8::Value::ToObject()’
  468. Handle<Object> publicKey = info[2]->ToObject();
  469. ^
  470. In file included from /root/.node-gyp/12.6.0/include/node/node.h:63:0,
  471. from ../src/ed25519.cc:1:
  472. /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
  473. V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
  474. ^~~~~~~~
  475. /root/.node-gyp/12.6.0/include/node/v8.h:2532:44: note: candidate expects 1 argument, 0 provided
  476. In file included from /root/.node-gyp/12.6.0/include/node/v8-internal.h:14:0,
  477. from /root/.node-gyp/12.6.0/include/node/v8.h:25,
  478. from /root/.node-gyp/12.6.0/include/node/node.h:63,
  479. from ../src/ed25519.cc:1:
  480. /root/.node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
  481. Local<Object> ToObject(Isolate* isolate) const);
  482. ^
  483. /root/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  484. declarator __attribute__((deprecated(message)))
  485. ^~~~~~~~~~
  486. /root/.node-gyp/12.6.0/include/node/v8.h:2546:31: note: candidate expects 1 argument, 0 provided
  487. Local<Object> ToObject(Isolate* isolate) const);
  488. ^
  489. /root/.node-gyp/12.6.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  490. declarator __attribute__((deprecated(message)))
  491. ^~~~~~~~~~
  492. ../src/ed25519.cc: At global scope:
  493. ../src/ed25519.cc:120:17: error: variable or field ‘InitModule’ declared void
  494. void InitModule(Handle<Object> exports) {
  495. ^~~~~~
  496. ../src/ed25519.cc:120:17: error: ‘Handle’ was not declared in this scope
  497. ../src/ed25519.cc:120:30: error: expected primary-expression before ‘>’ token
  498. void InitModule(Handle<Object> exports) {
  499. ^
  500. ../src/ed25519.cc:120:32: error: ‘exports’ was not declared in this scope
  501. void InitModule(Handle<Object> exports) {
  502. ^~~~~~~
  503. In file included from ../src/ed25519.cc:1:0:
  504. ../src/ed25519.cc:126:22: error: ‘InitModule’ was not declared in this scope
  505. NODE_MODULE(ed25519, InitModule)
  506. ^
  507. /root/.node-gyp/12.6.0/include/node/node.h:556:36: note: in definition of macro ‘NODE_MODULE_X’
  508. (node::addon_register_func) (regfunc), \
  509. ^~~~~~~
  510. ../src/ed25519.cc:126:1: note: in expansion of macro ‘NODE_MODULE’
  511. NODE_MODULE(ed25519, InitModule)
  512. ^~~~~~~~~~~
  513. ed25519.target.mk:147: recipe for target 'Release/obj.target/ed25519/src/ed25519.o' failed
  514. make: *** [Release/obj.target/ed25519/src/ed25519.o] Error 1
  515. make: Leaving directory '/usr/lib/node_modules/homekit2mqtt/node_modules/ed25519-hap/build'
  516. gyp ERR! build error
  517. gyp ERR! stack Error: `make` failed with exit code: 2
  518. gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
  519. gyp ERR! stack at ChildProcess.emit (events.js:203:13)
  520. gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
  521. gyp ERR! System Linux 4.9.22-wb6
  522. gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
  523. gyp ERR! cwd /usr/lib/node_modules/homekit2mqtt/node_modules/ed25519-hap
  524. gyp ERR! node -v v12.6.0
  525. gyp ERR! node-gyp -v v3.8.0
  526. gyp ERR! not ok
  527. npm ERR! code ELIFECYCLE
  528. npm ERR! errno 1
  529. npm ERR! [email protected] install: `node-gyp rebuild`
  530. npm ERR! Exit status 1
  531. npm ERR!
  532. npm ERR! Failed at the [email protected] install script.
  533. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
  534.  
  535. npm ERR! A complete log of this run can be found in:
  536. npm ERR! /root/.npm/_logs/2019-07-09T11_21_30_233Z-debug.log
Advertisement
Add Comment
Please, Sign In to add comment