Advertisement
Guest User

Untitled

a guest
Sep 15th, 2019
322
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.13 KB | None | 0 0
  1. $ sudo npm -g install @hydro-protocol/hydro-client-js
  2. npm WARN deprecated bignumber.js@6.0.0: Custom ALPHABET bug fixed in v7.0.2
  3.  
  4. > scrypt@6.0.3 preinstall /home/phil/.npm-global/lib/node_modules/@hydro-protocol/hydro-client-js/node_modules/scrypt
  5. > node node-scrypt-preinstall.js
  6.  
  7.  
  8. > keccak@1.4.0 install /home/phil/.npm-global/lib/node_modules/@hydro-protocol/hydro-client-js/node_modules/keccak
  9. > npm run rebuild || echo "Keccak bindings compilation fail. Pure JS implementation will be used."
  10.  
  11.  
  12. > keccak@1.4.0 rebuild /home/phil/.npm-global/lib/node_modules/@hydro-protocol/hydro-client-js/node_modules/keccak
  13. > node-gyp rebuild
  14.  
  15. make: Entering directory '/home/phil/.npm-global/lib/node_modules/@hydro-protocol/hydro-client-js/node_modules/keccak/build'
  16. CXX(target) Release/obj.target/keccak/src/addon.o
  17. ../src/addon.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE KeccakWrapper::Initialize(Nan::NAN_METHOD_ARGS_TYPE)’:
  18. ../src/addon.cc:37:47: error: no matching function for call to ‘v8::Value::IntegerValue()’
  19. unsigned int rate = info[0]->IntegerValue();
  20. ^
  21. In file included from /home/phil/.cache/node-gyp/12.10.0/include/node/node.h:63:0,
  22. from ../src/addon.cc:1:
  23. /home/phil/.cache/node-gyp/12.10.0/include/node/v8.h:2578:40: note: candidate: v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const
  24. V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
  25. ^~~~~~~~~~~~
  26. /home/phil/.cache/node-gyp/12.10.0/include/node/v8.h:2578:40: note: candidate expects 1 argument, 0 provided
  27. ../src/addon.cc:38:51: error: no matching function for call to ‘v8::Value::IntegerValue()’
  28. unsigned int capacity = info[1]->IntegerValue();
  29. ^
  30. In file included from /home/phil/.cache/node-gyp/12.10.0/include/node/node.h:63:0,
  31. from ../src/addon.cc:1:
  32. /home/phil/.cache/node-gyp/12.10.0/include/node/v8.h:2578:40: note: candidate: v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const
  33. V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
  34. ^~~~~~~~~~~~
  35. /home/phil/.cache/node-gyp/12.10.0/include/node/v8.h:2578:40: note: candidate expects 1 argument, 0 provided
  36. ../src/addon.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE KeccakWrapper::AbsorbLastFewBits(Nan::NAN_METHOD_ARGS_TYPE)’:
  37. ../src/addon.cc:56:48: error: no matching function for call to ‘v8::Value::IntegerValue()’
  38. unsigned char bits = info[0]->IntegerValue();
  39. ^
  40. In file included from /home/phil/.cache/node-gyp/12.10.0/include/node/node.h:63:0,
  41. from ../src/addon.cc:1:
  42. /home/phil/.cache/node-gyp/12.10.0/include/node/v8.h:2578:40: note: candidate: v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const
  43. V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
  44. ^~~~~~~~~~~~
  45. /home/phil/.cache/node-gyp/12.10.0/include/node/v8.h:2578:40: note: candidate expects 1 argument, 0 provided
  46. ../src/addon.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE KeccakWrapper::Squeeze(Nan::NAN_METHOD_ARGS_TYPE)’:
  47. ../src/addon.cc:64:43: error: no matching function for call to ‘v8::Value::IntegerValue()’
  48. size_t length = info[0]->IntegerValue();
  49. ^
  50. In file included from /home/phil/.cache/node-gyp/12.10.0/include/node/node.h:63:0,
  51. from ../src/addon.cc:1:
  52. /home/phil/.cache/node-gyp/12.10.0/include/node/v8.h:2578:40: note: candidate: v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const
  53. V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
  54. ^~~~~~~~~~~~
  55. /home/phil/.cache/node-gyp/12.10.0/include/node/v8.h:2578:40: note: candidate expects 1 argument, 0 provided
  56. ../src/addon.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE KeccakWrapper::Copy(Nan::NAN_METHOD_ARGS_TYPE)’:
  57. ../src/addon.cc:75:82: error: no matching function for call to ‘v8::Value::ToObject()’
  58. KeccakWrapper* to = Nan::ObjectWrap::Unwrap<KeccakWrapper>(info[0]->ToObject());
  59. ^
  60. In file included from /home/phil/.cache/node-gyp/12.10.0/include/node/node.h:63:0,
  61. from ../src/addon.cc:1:
  62. /home/phil/.cache/node-gyp/12.10.0/include/node/v8.h:2545:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const
  63. V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
  64. ^~~~~~~~
  65. /home/phil/.cache/node-gyp/12.10.0/include/node/v8.h:2545:44: note: candidate expects 1 argument, 0 provided
  66. In file included from /home/phil/.cache/node-gyp/12.10.0/include/node/v8-internal.h:14:0,
  67. from /home/phil/.cache/node-gyp/12.10.0/include/node/v8.h:25,
  68. from /home/phil/.cache/node-gyp/12.10.0/include/node/node.h:63,
  69. from ../src/addon.cc:1:
  70. /home/phil/.cache/node-gyp/12.10.0/include/node/v8.h:2559:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const
  71. Local<Object> ToObject(Isolate* isolate) const);
  72. ^
  73. /home/phil/.cache/node-gyp/12.10.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  74. declarator __attribute__((deprecated(message)))
  75. ^~~~~~~~~~
  76. /home/phil/.cache/node-gyp/12.10.0/include/node/v8.h:2559:31: note: candidate expects 1 argument, 0 provided
  77. Local<Object> ToObject(Isolate* isolate) const);
  78. ^
  79. /home/phil/.cache/node-gyp/12.10.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  80. declarator __attribute__((deprecated(message)))
  81. ^~~~~~~~~~
  82. keccak.target.mk:127: recipe for target 'Release/obj.target/keccak/src/addon.o' failed
  83. make: *** [Release/obj.target/keccak/src/addon.o] Error 1
  84. make: Leaving directory '/home/phil/.npm-global/lib/node_modules/@hydro-protocol/hydro-client-js/node_modules/keccak/build'
  85. gyp ERR! build error
  86. gyp ERR! stack Error: `make` failed with exit code: 2
  87. gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:196:23)
  88. gyp ERR! stack at ChildProcess.emit (events.js:209:13)
  89. gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
  90. gyp ERR! System Linux 4.15.0-62-generic
  91. gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
  92. gyp ERR! cwd /home/phil/.npm-global/lib/node_modules/@hydro-protocol/hydro-client-js/node_modules/keccak
  93. gyp ERR! node -v v12.10.0
  94. gyp ERR! node-gyp -v v5.0.3
  95. gyp ERR! not ok
  96. npm ERR! code ELIFECYCLE
  97. npm ERR! errno 1
  98. npm ERR! keccak@1.4.0 rebuild: `node-gyp rebuild`
  99. npm ERR! Exit status 1
  100. npm ERR!
  101. npm ERR! Failed at the keccak@1.4.0 rebuild script.
  102. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
  103.  
  104. npm ERR! A complete log of this run can be found in:
  105. npm ERR! /home/phil/.npm/_logs/2019-09-15T17_17_13_276Z-debug.log
  106. Keccak bindings compilation fail. Pure JS implementation will be used.
  107.  
  108. > scrypt@6.0.3 install /home/phil/.npm-global/lib/node_modules/@hydro-protocol/hydro-client-js/node_modules/scrypt
  109. > node-gyp rebuild
  110.  
  111. make: Entering directory '/home/phil/.npm-global/lib/node_modules/@hydro-protocol/hydro-client-js/node_modules/scrypt/build'
  112. SOLINK_MODULE(target) Release/obj.target/copied_files.node
  113. COPY Release/copied_files.node
  114. CC(target) Release/obj.target/scrypt_wrapper/src/util/memlimit.o
  115. CC(target) Release/obj.target/scrypt_wrapper/src/scryptwrapper/keyderivation.o
  116. CC(target) Release/obj.target/scrypt_wrapper/src/scryptwrapper/pickparams.o
  117. CC(target) Release/obj.target/scrypt_wrapper/src/scryptwrapper/hash.o
  118. AR(target) Release/obj.target/scrypt_wrapper.a
  119. COPY Release/scrypt_wrapper.a
  120. CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.2.0/lib/crypto/crypto_scrypt.o
  121. CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.2.0/lib/crypto/crypto_scrypt_smix.o
  122. CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.2.0/libcperciva/util/warnp.o
  123. CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.2.0/libcperciva/alg/sha256.o
  124. CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.2.0/libcperciva/util/insecure_memzero.o
  125. CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.2.0/lib/scryptenc/scryptenc_cpuperf.o
  126. AR(target) Release/obj.target/scrypt_lib.a
  127. COPY Release/scrypt_lib.a
  128. CXX(target) Release/obj.target/scrypt/src/node-boilerplate/scrypt_common.o
  129. CXX(target) Release/obj.target/scrypt/src/node-boilerplate/scrypt_params_async.o
  130. In file included from ../src/node-boilerplate/inc/scrypt_async.h:28:0,
  131. from ../src/node-boilerplate/inc/scrypt_params_async.h:28,
  132. from ../src/node-boilerplate/scrypt_params_async.cc:4:
  133. ../src/node-boilerplate/inc/scrypt_common.h: In constructor ‘NodeScrypt::Params::Params(const v8::Local<v8::Object>&)’:
  134. ../src/node-boilerplate/inc/scrypt_common.h:39:48: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
  135. N(obj->Get(Nan::New("N").ToLocalChecked())->Uint32Value()),
  136. ^
  137. In file included from /home/phil/.cache/node-gyp/12.10.0/include/node/v8-internal.h:14:0,
  138. from /home/phil/.cache/node-gyp/12.10.0/include/node/v8.h:25,
  139. from /home/phil/.cache/node-gyp/12.10.0/include/node/node.h:63,
  140. from ../../nan/nan.h:54,
  141. from ../src/node-boilerplate/scrypt_params_async.cc:1:
  142. /home/phil/.cache/node-gyp/12.10.0/include/node/v8.h:3425:51: note: declared here
  143. V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
  144. ^
  145. /home/phil/.cache/node-gyp/12.10.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  146. declarator __attribute__((deprecated(message)))
  147. ^~~~~~~~~~
  148. In file included from ../src/node-boilerplate/inc/scrypt_async.h:28:0,
  149. from ../src/node-boilerplate/inc/scrypt_params_async.h:28,
  150. from ../src/node-boilerplate/scrypt_params_async.cc:4:
  151. ../src/node-boilerplate/inc/scrypt_common.h:39:63: error: no matching function for call to ‘v8::Value::Uint32Value()’
  152. N(obj->Get(Nan::New("N").ToLocalChecked())->Uint32Value()),
  153. ^
  154. In file included from /home/phil/.cache/node-gyp/12.10.0/include/node/node.h:63:0,
  155. from ../../nan/nan.h:54,
  156. from ../src/node-boilerplate/scrypt_params_async.cc:1:
  157. /home/phil/.cache/node-gyp/12.10.0/include/node/v8.h:2580:41: note: candidate: v8::Maybe<unsigned int> v8::Value::Uint32Value(v8::Local<v8::Context>) const
  158. V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
  159. ^~~~~~~~~~~
  160. /home/phil/.cache/node-gyp/12.10.0/include/node/v8.h:2580:41: note: candidate expects 1 argument, 0 provided
  161. In file included from ../src/node-boilerplate/inc/scrypt_async.h:28:0,
  162. from ../src/node-boilerplate/inc/scrypt_params_async.h:28,
  163. from ../src/node-boilerplate/scrypt_params_async.cc:4:
  164. ../src/node-boilerplate/inc/scrypt_common.h:40:48: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
  165. r(obj->Get(Nan::New("r").ToLocalChecked())->Uint32Value()),
  166. ^
  167. In file included from /home/phil/.cache/node-gyp/12.10.0/include/node/v8-internal.h:14:0,
  168. from /home/phil/.cache/node-gyp/12.10.0/include/node/v8.h:25,
  169. from /home/phil/.cache/node-gyp/12.10.0/include/node/node.h:63,
  170. from ../../nan/nan.h:54,
  171. from ../src/node-boilerplate/scrypt_params_async.cc:1:
  172. /home/phil/.cache/node-gyp/12.10.0/include/node/v8.h:3425:51: note: declared here
  173. V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
  174. ^
  175. /home/phil/.cache/node-gyp/12.10.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  176. declarator __attribute__((deprecated(message)))
  177. ^~~~~~~~~~
  178. In file included from ../src/node-boilerplate/inc/scrypt_async.h:28:0,
  179. from ../src/node-boilerplate/inc/scrypt_params_async.h:28,
  180. from ../src/node-boilerplate/scrypt_params_async.cc:4:
  181. ../src/node-boilerplate/inc/scrypt_common.h:40:63: error: no matching function for call to ‘v8::Value::Uint32Value()’
  182. r(obj->Get(Nan::New("r").ToLocalChecked())->Uint32Value()),
  183. ^
  184. In file included from /home/phil/.cache/node-gyp/12.10.0/include/node/node.h:63:0,
  185. from ../../nan/nan.h:54,
  186. from ../src/node-boilerplate/scrypt_params_async.cc:1:
  187. /home/phil/.cache/node-gyp/12.10.0/include/node/v8.h:2580:41: note: candidate: v8::Maybe<unsigned int> v8::Value::Uint32Value(v8::Local<v8::Context>) const
  188. V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
  189. ^~~~~~~~~~~
  190. /home/phil/.cache/node-gyp/12.10.0/include/node/v8.h:2580:41: note: candidate expects 1 argument, 0 provided
  191. In file included from ../src/node-boilerplate/inc/scrypt_async.h:28:0,
  192. from ../src/node-boilerplate/inc/scrypt_params_async.h:28,
  193. from ../src/node-boilerplate/scrypt_params_async.cc:4:
  194. ../src/node-boilerplate/inc/scrypt_common.h:41:48: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
  195. p(obj->Get(Nan::New("p").ToLocalChecked())->Uint32Value()) {}
  196. ^
  197. In file included from /home/phil/.cache/node-gyp/12.10.0/include/node/v8-internal.h:14:0,
  198. from /home/phil/.cache/node-gyp/12.10.0/include/node/v8.h:25,
  199. from /home/phil/.cache/node-gyp/12.10.0/include/node/node.h:63,
  200. from ../../nan/nan.h:54,
  201. from ../src/node-boilerplate/scrypt_params_async.cc:1:
  202. /home/phil/.cache/node-gyp/12.10.0/include/node/v8.h:3425:51: note: declared here
  203. V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
  204. ^
  205. /home/phil/.cache/node-gyp/12.10.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  206. declarator __attribute__((deprecated(message)))
  207. ^~~~~~~~~~
  208. In file included from ../src/node-boilerplate/inc/scrypt_async.h:28:0,
  209. from ../src/node-boilerplate/inc/scrypt_params_async.h:28,
  210. from ../src/node-boilerplate/scrypt_params_async.cc:4:
  211. ../src/node-boilerplate/inc/scrypt_common.h:41:63: error: no matching function for call to ‘v8::Value::Uint32Value()’
  212. p(obj->Get(Nan::New("p").ToLocalChecked())->Uint32Value()) {}
  213. ^
  214. In file included from /home/phil/.cache/node-gyp/12.10.0/include/node/node.h:63:0,
  215. from ../../nan/nan.h:54,
  216. from ../src/node-boilerplate/scrypt_params_async.cc:1:
  217. /home/phil/.cache/node-gyp/12.10.0/include/node/v8.h:2580:41: note: candidate: v8::Maybe<unsigned int> v8::Value::Uint32Value(v8::Local<v8::Context>) const
  218. V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
  219. ^~~~~~~~~~~
  220. /home/phil/.cache/node-gyp/12.10.0/include/node/v8.h:2580:41: note: candidate expects 1 argument, 0 provided
  221. In file included from ../src/node-boilerplate/inc/scrypt_params_async.h:28:0,
  222. from ../src/node-boilerplate/scrypt_params_async.cc:4:
  223. ../src/node-boilerplate/inc/scrypt_async.h: In member function ‘virtual void ScryptAsyncWorker::HandleErrorCallback()’:
  224. ../src/node-boilerplate/inc/scrypt_async.h:53:29: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
  225. callback->Call(1, argv);
  226. ^
  227. In file included from ../src/node-boilerplate/scrypt_params_async.cc:1:0:
  228. ../../nan/nan.h:1740:3: note: declared here
  229. Call(int argc, v8::Local<v8::Value> argv[]) const {
  230. ^~~~
  231. In file included from ../src/node-boilerplate/scrypt_params_async.cc:4:0:
  232. ../src/node-boilerplate/inc/scrypt_params_async.h: In constructor ‘ScryptParamsAsyncWorker::ScryptParamsAsyncWorker(Nan::NAN_METHOD_ARGS_TYPE)’:
  233. ../src/node-boilerplate/inc/scrypt_params_async.h:35:36: error: no matching function for call to ‘v8::Value::NumberValue()’
  234. maxtime(info[0]->NumberValue()),
  235. ^
  236. In file included from /home/phil/.cache/node-gyp/12.10.0/include/node/node.h:63:0,
  237. from ../../nan/nan.h:54,
  238. from ../src/node-boilerplate/scrypt_params_async.cc:1:
  239. /home/phil/.cache/node-gyp/12.10.0/include/node/v8.h:2577:39: note: candidate: v8::Maybe<double> v8::Value::NumberValue(v8::Local<v8::Context>) const
  240. V8_WARN_UNUSED_RESULT Maybe<double> NumberValue(Local<Context> context) const;
  241. ^~~~~~~~~~~
  242. /home/phil/.cache/node-gyp/12.10.0/include/node/v8.h:2577:39: note: candidate expects 1 argument, 0 provided
  243. In file included from ../src/node-boilerplate/scrypt_params_async.cc:4:0:
  244. ../src/node-boilerplate/inc/scrypt_params_async.h:36:39: error: no matching function for call to ‘v8::Value::NumberValue()’
  245. maxmemfrac(info[1]->NumberValue()),
  246. ^
  247. In file included from /home/phil/.cache/node-gyp/12.10.0/include/node/node.h:63:0,
  248. from ../../nan/nan.h:54,
  249. from ../src/node-boilerplate/scrypt_params_async.cc:1:
  250. /home/phil/.cache/node-gyp/12.10.0/include/node/v8.h:2577:39: note: candidate: v8::Maybe<double> v8::Value::NumberValue(v8::Local<v8::Context>) const
  251. V8_WARN_UNUSED_RESULT Maybe<double> NumberValue(Local<Context> context) const;
  252. ^~~~~~~~~~~
  253. /home/phil/.cache/node-gyp/12.10.0/include/node/v8.h:2577:39: note: candidate expects 1 argument, 0 provided
  254. In file included from ../src/node-boilerplate/scrypt_params_async.cc:4:0:
  255. ../src/node-boilerplate/inc/scrypt_params_async.h:37:36: error: no matching function for call to ‘v8::Value::IntegerValue()’
  256. maxmem(info[2]->IntegerValue()),
  257. ^
  258. In file included from /home/phil/.cache/node-gyp/12.10.0/include/node/node.h:63:0,
  259. from ../../nan/nan.h:54,
  260. from ../src/node-boilerplate/scrypt_params_async.cc:1:
  261. /home/phil/.cache/node-gyp/12.10.0/include/node/v8.h:2578:40: note: candidate: v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const
  262. V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
  263. ^~~~~~~~~~~~
  264. /home/phil/.cache/node-gyp/12.10.0/include/node/v8.h:2578:40: note: candidate expects 1 argument, 0 provided
  265. In file included from ../src/node-boilerplate/scrypt_params_async.cc:4:0:
  266. ../src/node-boilerplate/inc/scrypt_params_async.h:38:39: error: no matching function for call to ‘v8::Value::IntegerValue()’
  267. osfreemem(info[3]->IntegerValue())
  268. ^
  269. In file included from /home/phil/.cache/node-gyp/12.10.0/include/node/node.h:63:0,
  270. from ../../nan/nan.h:54,
  271. from ../src/node-boilerplate/scrypt_params_async.cc:1:
  272. /home/phil/.cache/node-gyp/12.10.0/include/node/v8.h:2578:40: note: candidate: v8::Maybe<long int> v8::Value::IntegerValue(v8::Local<v8::Context>) const
  273. V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
  274. ^~~~~~~~~~~~
  275. /home/phil/.cache/node-gyp/12.10.0/include/node/v8.h:2578:40: note: candidate expects 1 argument, 0 provided
  276. ../src/node-boilerplate/scrypt_params_async.cc: In member function ‘virtual void ScryptParamsAsyncWorker::HandleOKCallback()’:
  277. ../src/node-boilerplate/scrypt_params_async.cc:23:67: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
  278. obj->Set(Nan::New("N").ToLocalChecked(), Nan::New<Integer>(logN));
  279. ^
  280. In file included from /home/phil/.cache/node-gyp/12.10.0/include/node/v8-internal.h:14:0,
  281. from /home/phil/.cache/node-gyp/12.10.0/include/node/v8.h:25,
  282. from /home/phil/.cache/node-gyp/12.10.0/include/node/node.h:63,
  283. from ../../nan/nan.h:54,
  284. from ../src/node-boilerplate/scrypt_params_async.cc:1:
  285. /home/phil/.cache/node-gyp/12.10.0/include/node/v8.h:3372:22: note: declared here
  286. bool Set(Local<Value> key, Local<Value> value));
  287. ^
  288. /home/phil/.cache/node-gyp/12.10.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  289. declarator __attribute__((deprecated(message)))
  290. ^~~~~~~~~~
  291. ../src/node-boilerplate/scrypt_params_async.cc:24:64: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
  292. obj->Set(Nan::New("r").ToLocalChecked(), Nan::New<Integer>(r));
  293. ^
  294. In file included from /home/phil/.cache/node-gyp/12.10.0/include/node/v8-internal.h:14:0,
  295. from /home/phil/.cache/node-gyp/12.10.0/include/node/v8.h:25,
  296. from /home/phil/.cache/node-gyp/12.10.0/include/node/node.h:63,
  297. from ../../nan/nan.h:54,
  298. from ../src/node-boilerplate/scrypt_params_async.cc:1:
  299. /home/phil/.cache/node-gyp/12.10.0/include/node/v8.h:3372:22: note: declared here
  300. bool Set(Local<Value> key, Local<Value> value));
  301. ^
  302. /home/phil/.cache/node-gyp/12.10.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  303. declarator __attribute__((deprecated(message)))
  304. ^~~~~~~~~~
  305. ../src/node-boilerplate/scrypt_params_async.cc:25:64: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
  306. obj->Set(Nan::New("p").ToLocalChecked(), Nan::New<Integer>(p));
  307. ^
  308. In file included from /home/phil/.cache/node-gyp/12.10.0/include/node/v8-internal.h:14:0,
  309. from /home/phil/.cache/node-gyp/12.10.0/include/node/v8.h:25,
  310. from /home/phil/.cache/node-gyp/12.10.0/include/node/node.h:63,
  311. from ../../nan/nan.h:54,
  312. from ../src/node-boilerplate/scrypt_params_async.cc:1:
  313. /home/phil/.cache/node-gyp/12.10.0/include/node/v8.h:3372:22: note: declared here
  314. bool Set(Local<Value> key, Local<Value> value));
  315. ^
  316. /home/phil/.cache/node-gyp/12.10.0/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
  317. declarator __attribute__((deprecated(message)))
  318. ^~~~~~~~~~
  319. ../src/node-boilerplate/scrypt_params_async.cc:32:25: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
  320. callback->Call(2, argv);
  321. ^
  322. In file included from ../src/node-boilerplate/scrypt_params_async.cc:1:0:
  323. ../../nan/nan.h:1740:3: note: declared here
  324. Call(int argc, v8::Local<v8::Value> argv[]) const {
  325. ^~~~
  326. scrypt.target.mk:129: recipe for target 'Release/obj.target/scrypt/src/node-boilerplate/scrypt_params_async.o' failed
  327. make: *** [Release/obj.target/scrypt/src/node-boilerplate/scrypt_params_async.o] Error 1
  328. make: Leaving directory '/home/phil/.npm-global/lib/node_modules/@hydro-protocol/hydro-client-js/node_modules/scrypt/build'
  329. gyp ERR! build error
  330. gyp ERR! stack Error: `make` failed with exit code: 2
  331. gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:196:23)
  332. gyp ERR! stack at ChildProcess.emit (events.js:209:13)
  333. gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
  334. gyp ERR! System Linux 4.15.0-62-generic
  335. gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
  336. gyp ERR! cwd /home/phil/.npm-global/lib/node_modules/@hydro-protocol/hydro-client-js/node_modules/scrypt
  337. gyp ERR! node -v v12.10.0
  338. gyp ERR! node-gyp -v v5.0.3
  339. gyp ERR! not ok
  340. npm ERR! code ELIFECYCLE
  341. npm ERR! errno 1
  342. npm ERR! scrypt@6.0.3 install: `node-gyp rebuild`
  343. npm ERR! Exit status 1
  344. npm ERR!
  345. npm ERR! Failed at the scrypt@6.0.3 install script.
  346. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
  347.  
  348. npm ERR! A complete log of this run can be found in:
  349. npm ERR! /home/phil/.npm/_logs/2019-09-15T17_17_17_080Z-debug.log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement