Guest User

Untitled

a guest
Feb 16th, 2019
243
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 46.00 KB | None | 0 0
  1. root@iobroker3:/opt/iobroker# npm install iobroker.telegram
  2.  
  3. > [email protected] install /opt/iobroker/node_modules/iobroker.kodi/node_modules/bufferutil
  4. > node-gyp rebuild
  5.  
  6. make: Entering directory '/opt/iobroker/node_modules/iobroker.kodi/node_modules/bufferutil/build'
  7. CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
  8. In file included from ../../nan/nan.h:82:0,
  9. from ../src/bufferutil.cc:16:
  10. ../../nan/nan_new.h: In function 'v8::Local<T> NanIntern::To(v8::Handle<v8::Integer>) [with T = v8::Int32; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]':
  11. ../../nan/nan_new.h:34:64: warning: 'v8::Local<v8::Int32> v8::Value::ToInt32() const' is deprecated: Use maybe version [-Wdeprecated-declarations]
  12. To<v8::Int32>(v8::Handle<v8::Integer> i) { return i->ToInt32(); }
  13. ^
  14. In file included from ../src/bufferutil.cc:7:0:
  15. /root/.node-gyp/8.15.0/include/node/v8.h:9864:14: note: declared here
  16. Local<Int32> Value::ToInt32() const {
  17. ^~~~~
  18. In file included from ../../nan/nan.h:82:0,
  19. from ../src/bufferutil.cc:16:
  20. ../../nan/nan_new.h: In function 'v8::Local<T> NanIntern::To(v8::Handle<v8::Integer>) [with T = v8::Uint32; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]':
  21. ../../nan/nan_new.h:39:65: warning: 'v8::Local<v8::Uint32> v8::Value::ToUint32() const' is deprecated: Use maybe version [-Wdeprecated-declarations]
  22. To<v8::Uint32>(v8::Handle<v8::Integer> i) { return i->ToUint32(); }
  23. ^
  24. In file included from ../src/bufferutil.cc:7:0:
  25. /root/.node-gyp/8.15.0/include/node/v8.h:9858:15: note: declared here
  26. Local<Uint32> Value::ToUint32() const {
  27. ^~~~~
  28. In file included from ../../nan/nan_new.h:189:0,
  29. from ../../nan/nan.h:82,
  30. from ../src/bufferutil.cc:16:
  31. ../../nan/nan_implementation_12_inl.h: In static member function 'static NanIntern::FactoryBase<v8::BooleanObject>::return_t NanIntern::Factory<v8::BooleanObject>::New(bool)':
  32. ../../nan/nan_implementation_12_inl.h:49:38: warning: 'static v8::Local<v8::Value> v8::BooleanObject::New(bool)' is deprecated: Pass an isolate [-Wdeprecated-declarations]
  33. return v8::BooleanObject::New(value).As<v8::BooleanObject>();
  34. ^
  35. In file included from /root/.node-gyp/8.15.0/include/node/v8.h:26:0,
  36. from ../src/bufferutil.cc:7:
  37. /root/.node-gyp/8.15.0/include/node/v8.h:4895:56: note: declared here
  38. V8_DEPRECATED("Pass an isolate", static Local<Value> New(bool value));
  39. ^
  40. /root/.node-gyp/8.15.0/include/node/v8config.h:318:3: note: in definition of macro 'V8_DEPRECATED'
  41. declarator __attribute__((deprecated(message)))
  42. ^~~~~~~~~~
  43. In file included from ../../nan/nan_new.h:189:0,
  44. from ../../nan/nan.h:82,
  45. from ../src/bufferutil.cc:16:
  46. ../../nan/nan_implementation_12_inl.h: In static member function 'static NanIntern::FactoryBase<v8::Script>::return_t NanIntern::Factory<v8::Script>::New(v8::Local<v8::String>)':
  47. ../../nan/nan_implementation_12_inl.h:166:69: warning: 'static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)' is deprecated: Use maybe version [-Wdeprecated-declarations]
  48. return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
  49. ^
  50. In file included from /root/.node-gyp/8.15.0/include/node/v8.h:26:0,
  51. from ../src/bufferutil.cc:7:
  52. /root/.node-gyp/8.15.0/include/node/v8.h:1475:21: note: declared here
  53. Local<Script> Compile(Isolate* isolate, Source* source,
  54. ^
  55. /root/.node-gyp/8.15.0/include/node/v8config.h:318:3: note: in definition of macro 'V8_DEPRECATED'
  56. declarator __attribute__((deprecated(message)))
  57. ^~~~~~~~~~
  58. In file included from ../../nan/nan_new.h:189:0,
  59. from ../../nan/nan.h:82,
  60. from ../src/bufferutil.cc:16:
  61. ../../nan/nan_implementation_12_inl.h: In static member function 'static NanIntern::FactoryBase<v8::Script>::return_t NanIntern::Factory<v8::Script>::New(v8::Local<v8::String>, const v8::ScriptOrigin&)':
  62. ../../nan/nan_implementation_12_inl.h:173:69: warning: 'static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)' is deprecated: Use maybe version [-Wdeprecated-declarations]
  63. return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
  64. ^
  65. In file included from /root/.node-gyp/8.15.0/include/node/v8.h:26:0,
  66. from ../src/bufferutil.cc:7:
  67. /root/.node-gyp/8.15.0/include/node/v8.h:1475:21: note: declared here
  68. Local<Script> Compile(Isolate* isolate, Source* source,
  69. ^
  70. /root/.node-gyp/8.15.0/include/node/v8config.h:318:3: note: in definition of macro 'V8_DEPRECATED'
  71. declarator __attribute__((deprecated(message)))
  72. ^~~~~~~~~~
  73. In file included from ../../nan/nan_new.h:189:0,
  74. from ../../nan/nan.h:82,
  75. from ../src/bufferutil.cc:16:
  76. ../../nan/nan_implementation_12_inl.h: In static member function 'static NanIntern::FactoryBase<v8::String>::return_t NanIntern::Factory<v8::String>::New(const uint8_t*, int)':
  77. ../../nan/nan_implementation_12_inl.h:206:42: warning: 'static v8::Local<v8::String> v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations]
  78. v8::String::kNormalString, length);
  79. ^
  80. In file included from /root/.node-gyp/8.15.0/include/node/v8.h:26:0,
  81. from ../src/bufferutil.cc:7:
  82. /root/.node-gyp/8.15.0/include/node/v8.h:2731:21: note: declared here
  83. Local<String> NewFromOneByte(Isolate* isolate, const uint8_t* data,
  84. ^
  85. /root/.node-gyp/8.15.0/include/node/v8config.h:318:3: note: in definition of macro 'V8_DEPRECATED'
  86. declarator __attribute__((deprecated(message)))
  87. ^~~~~~~~~~
  88. In file included from ../../nan/nan_new.h:189:0,
  89. from ../../nan/nan.h:82,
  90. from ../src/bufferutil.cc:16:
  91. ../../nan/nan_implementation_12_inl.h: In static member function 'static NanIntern::FactoryBase<v8::String>::return_t NanIntern::Factory<v8::String>::New(v8::String::ExternalStringResource*)':
  92. ../../nan/nan_implementation_12_inl.h:217:66: warning: 'static v8::Local<v8::String> v8::String::NewExternal(v8::Isolate*, v8::String::ExternalStringResource*)' is deprecated: Use maybe version [-Wdeprecated-declarations]
  93. return v8::String::NewExternal(v8::Isolate::GetCurrent(), value);
  94. ^
  95. In file included from /root/.node-gyp/8.15.0/include/node/v8.h:26:0,
  96. from ../src/bufferutil.cc:7:
  97. /root/.node-gyp/8.15.0/include/node/v8.h:2769:38: note: declared here
  98. Local<String> NewExternal(
  99. ^
  100. /root/.node-gyp/8.15.0/include/node/v8config.h:318:3: note: in definition of macro 'V8_DEPRECATED'
  101. declarator __attribute__((deprecated(message)))
  102. ^~~~~~~~~~
  103. In file included from ../../nan/nan_new.h:189:0,
  104. from ../../nan/nan.h:82,
  105. from ../src/bufferutil.cc:16:
  106. ../../nan/nan_implementation_12_inl.h: In static member function 'static NanIntern::FactoryBase<v8::UnboundScript>::return_t NanIntern::Factory<v8::UnboundScript>::New(v8::Local<v8::String>)':
  107. ../../nan/nan_implementation_12_inl.h:237:30: warning: 'static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)' is deprecated: Use maybe version -Wdeprecated-declarations]
  108. return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
  109. ^~~~~~~~~~~~~~
  110. In file included from /root/.node-gyp/8.15.0/include/node/v8.h:26:0,
  111. from ../src/bufferutil.cc:7:
  112. /root/.node-gyp/8.15.0/include/node/v8.h:1455:45: note: declared here
  113. Local<UnboundScript> CompileUnbound(
  114. ^
  115. /root/.node-gyp/8.15.0/include/node/v8config.h:318:3: note: in definition of macro 'V8_DEPRECATED'
  116. declarator __attribute__((deprecated(message)))
  117. ^~~~~~~~~~
  118. In file included from ../../nan/nan_new.h:189:0,
  119. from ../../nan/nan.h:82,
  120. from ../src/bufferutil.cc:16:
  121. ../../nan/nan_implementation_12_inl.h:237:76: warning: 'static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)' is deprecated: Use maybe version -Wdeprecated-declarations]
  122. return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
  123. ^
  124. In file included from /root/.node-gyp/8.15.0/include/node/v8.h:26:0,
  125. from ../src/bufferutil.cc:7:
  126. /root/.node-gyp/8.15.0/include/node/v8.h:1455:45: note: declared here
  127. Local<UnboundScript> CompileUnbound(
  128. ^
  129. /root/.node-gyp/8.15.0/include/node/v8config.h:318:3: note: in definition of macro 'V8_DEPRECATED'
  130. declarator __attribute__((deprecated(message)))
  131. ^~~~~~~~~~
  132. In file included from ../../nan/nan_new.h:189:0,
  133. from ../../nan/nan.h:82,
  134. from ../src/bufferutil.cc:16:
  135. ../../nan/nan_implementation_12_inl.h: In static member function 'static NanIntern::FactoryBase<v8::UnboundScript>::return_t NanIntern::Factory<v8::UnboundScript>::New(v8::Local<v8::String>, const v8::ScriptOrigin&)':
  136. ../../nan/nan_implementation_12_inl.h:244:30: warning: 'static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)' is deprecated: Use maybe version -Wdeprecated-declarations]
  137. return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
  138. ^~~~~~~~~~~~~~
  139. In file included from /root/.node-gyp/8.15.0/include/node/v8.h:26:0,
  140. from ../src/bufferutil.cc:7:
  141. /root/.node-gyp/8.15.0/include/node/v8.h:1455:45: note: declared here
  142. Local<UnboundScript> CompileUnbound(
  143. ^
  144. /root/.node-gyp/8.15.0/include/node/v8config.h:318:3: note: in definition of macro 'V8_DEPRECATED'
  145. declarator __attribute__((deprecated(message)))
  146. ^~~~~~~~~~
  147. In file included from ../../nan/nan_new.h:189:0,
  148. from ../../nan/nan.h:82,
  149. from ../src/bufferutil.cc:16:
  150. ../../nan/nan_implementation_12_inl.h:244:76: warning: 'static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)' is deprecated: Use maybe version -Wdeprecated-declarations]
  151. return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
  152. ^
  153. In file included from /root/.node-gyp/8.15.0/include/node/v8.h:26:0,
  154. from ../src/bufferutil.cc:7:
  155. /root/.node-gyp/8.15.0/include/node/v8.h:1455:45: note: declared here
  156. Local<UnboundScript> CompileUnbound(
  157. ^
  158. /root/.node-gyp/8.15.0/include/node/v8config.h:318:3: note: in definition of macro 'V8_DEPRECATED'
  159. declarator __attribute__((deprecated(message)))
  160. ^~~~~~~~~~
  161. In file included from ../src/bufferutil.cc:16:0:
  162. ../../nan/nan.h: At global scope:
  163. ../../nan/nan.h:261:25: error: redefinition of 'template<class T> v8::Local<T> _NanEnsureLocal(v8::Local<T>)'
  164. NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Local<T> val) {
  165. ^~~~~~~~~~~~~~~
  166. ../../nan/nan.h:256:25: note: 'template<class T> v8::Local<T> _NanEnsureLocal(v8::Handle<T>)' previously declared here
  167. NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Handle<T> val) {
  168. ^~~~~~~~~~~~~~~
  169. ../../nan/nan.h: In function 'bool NanIdleNotification(int)':
  170. ../../nan/nan.h:289:71: warning: 'bool v8::Isolate::IdleNotification(int)' is deprecated: use IdleNotificationDeadline() [-Wdeprecated-declarations]
  171. return v8::Isolate::GetCurrent()->IdleNotification(idle_time_in_ms);
  172. ^
  173. In file included from /root/.node-gyp/8.15.0/include/node/v8.h:26:0,
  174. from ../src/bufferutil.cc:7:
  175. /root/.node-gyp/8.15.0/include/node/v8.h:7539:22: note: declared here
  176. bool IdleNotification(int idle_time_in_ms));
  177. ^
  178. /root/.node-gyp/8.15.0/include/node/v8config.h:318:3: note: in definition of macro 'V8_DEPRECATED'
  179. declarator __attribute__((deprecated(message)))
  180. ^~~~~~~~~~
  181. In file included from ../src/bufferutil.cc:16:0:
  182. ../../nan/nan.h: At global scope:
  183. ../../nan/nan.h:473:20: error: variable or field 'NanAddGCEpilogueCallback' declared void
  184. v8::Isolate::GCEpilogueCallback callback
  185. ^~~~~~~~~~~~~~~~~~
  186. ../../nan/nan.h:473:7: error: 'GCEpilogueCallback' is not a member of 'v8::Isolate'
  187. v8::Isolate::GCEpilogueCallback callback
  188. ^~
  189. ../../nan/nan.h:474:18: error: expected primary-expression before 'gc_type_filter'
  190. , v8::GCType gc_type_filter = v8::kGCTypeAll) {
  191. ^~~~~~~~~~~~~~
  192. ../../nan/nan.h:479:20: error: variable or field 'NanRemoveGCEpilogueCallback' declared void
  193. v8::Isolate::GCEpilogueCallback callback) {
  194. ^~~~~~~~~~~~~~~~~~
  195. ../../nan/nan.h:479:7: error: 'GCEpilogueCallback' is not a member of 'v8::Isolate'
  196. v8::Isolate::GCEpilogueCallback callback) {
  197. ^~
  198. ../../nan/nan.h:484:20: error: variable or field 'NanAddGCPrologueCallback' declared void
  199. v8::Isolate::GCPrologueCallback callback
  200. ^~~~~~~~~~~~~~~~~~
  201. ../../nan/nan.h:484:7: error: 'GCPrologueCallback' is not a member of 'v8::Isolate'
  202. v8::Isolate::GCPrologueCallback callback
  203. ^~
  204. ../../nan/nan.h:485:18: error: expected primary-expression before 'gc_type_filter'
  205. , v8::GCType gc_type_filter = v8::kGCTypeAll) {
  206. ^~~~~~~~~~~~~~
  207. ../../nan/nan.h:490:20: error: variable or field 'NanRemoveGCPrologueCallback' declared void
  208. v8::Isolate::GCPrologueCallback callback) {
  209. ^~~~~~~~~~~~~~~~~~
  210. ../../nan/nan.h:490:7: error: 'GCPrologueCallback' is not a member of 'v8::Isolate'
  211. v8::Isolate::GCPrologueCallback callback) {
  212. ^~
  213. ../../nan/nan.h:569:15: error: 'WeakCallbackData' in namespace 'v8' does not name a template type
  214. const v8::WeakCallbackData<T, _NanWeakCallbackInfo<T, P> > &data) {
  215. ^~~~~~~~~~~~~~~~
  216. ../../nan/nan.h:569:31: error: expected ',' or '...' before '<' token
  217. const v8::WeakCallbackData<T, _NanWeakCallbackInfo<T, P> > &data) {
  218. ^
  219. ../../nan/nan.h: In function 'void _NanWeakCallbackDispatcher(int)':
  220. ../../nan/nan.h:570:42: error: 'data' was not declared in this scope
  221. _NanWeakCallbackInfo<T, P> *info = data.GetParameter();
  222. ^~~~
  223. ../../nan/nan.h: At global scope:
  224. ../../nan/nan.h:661:13: error: 'node::smalloc' has not been declared
  225. , node::smalloc::FreeCallback callback
  226. ^~~~~~~
  227. ../../nan/nan.h:661:35: error: expected ',' or '...' before 'callback'
  228. , node::smalloc::FreeCallback callback
  229. ^~~~~~~~
  230. ../../nan/nan.h: In function 'v8::Local<v8::Object> NanNewBufferHandle(char*, size_t, int)':
  231. ../../nan/nan.h:665:50: error: 'callback' was not declared in this scope
  232. v8::Isolate::GetCurrent(), data, length, callback, hint);
  233. ^~~~~~~~
  234. ../../nan/nan.h:665:60: error: 'hint' was not declared in this scope
  235. v8::Isolate::GetCurrent(), data, length, callback, hint);
  236. ^~~~
  237. ../../nan/nan.h: In function 'v8::Local<v8::Object> NanNewBufferHandle(const char*, uint32_t)':
  238. ../../nan/nan.h:672:67: error: invalid conversion from 'const char*' to 'char*' [-fpermissive]
  239. return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
  240. ^
  241. In file included from ../src/bufferutil.cc:10:0:
  242. /root/.node-gyp/8.15.0/include/node/node_buffer.h:67:40: note: initializing argument 2 of 'v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t)'
  243. NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
  244. ^~~
  245. In file included from ../src/bufferutil.cc:16:0:
  246. ../../nan/nan.h:672:29: error: could not convert 'node::Buffer::New(v8::Isolate::GetCurrent(), ((char*)data), ((size_t)size))' from 'v8::MaybeLocal<v8::Object>' to 'v8::Local<v8::Object>'
  247. return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
  248. ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  249. ../../nan/nan.h: In function 'v8::Local<v8::Object> NanNewBufferHandle(uint32_t)':
  250. ../../nan/nan.h:676:29: error: could not convert 'node::Buffer::New(v8::Isolate::GetCurrent(), ((size_t)size))' from 'v8::MaybeLocal<v8::Object>' to 'v8::Local<v8::Object>'
  251. return node::Buffer::New(v8::Isolate::GetCurrent(), size);
  252. ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  253. ../../nan/nan.h: In function 'v8::Local<v8::Object> NanBufferUse(char*, uint32_t)':
  254. ../../nan/nan.h:683:12: error: 'Use' is not a member of 'node::Buffer'
  255. return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
  256. ^~~~
  257. ../../nan/nan.h: In function 'v8::Local<v8::Script> NanCompileScript(v8::Local<v8::String>, const v8::ScriptOrigin&)':
  258. ../../nan/nan.h:710:74: warning: 'static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)' is deprecated: Use maybe version [-Wdeprecated-declarations]
  259. return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
  260. ^
  261. In file included from /root/.node-gyp/8.15.0/include/node/v8.h:26:0,
  262. from ../src/bufferutil.cc:7:
  263. /root/.node-gyp/8.15.0/include/node/v8.h:1475:21: note: declared here
  264. Local<Script> Compile(Isolate* isolate, Source* source,
  265. ^
  266. /root/.node-gyp/8.15.0/include/node/v8config.h:318:3: note: in definition of macro 'V8_DEPRECATED'
  267. declarator __attribute__((deprecated(message)))
  268. ^~~~~~~~~~
  269. In file included from ../src/bufferutil.cc:16:0:
  270. ../../nan/nan.h: In function 'v8::Local<v8::Script> NanCompileScript(v8::Local<v8::String>)':
  271. ../../nan/nan.h:717:74: warning: 'static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)' is deprecated: Use maybe version [-Wdeprecated-declarations]
  272. return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
  273. ^
  274. In file included from /root/.node-gyp/8.15.0/include/node/v8.h:26:0,
  275. from ../src/bufferutil.cc:7:
  276. /root/.node-gyp/8.15.0/include/node/v8.h:1475:21: note: declared here
  277. Local<Script> Compile(Isolate* isolate, Source* source,
  278. ^
  279. /root/.node-gyp/8.15.0/include/node/v8config.h:318:3: note: in definition of macro 'V8_DEPRECATED'
  280. declarator __attribute__((deprecated(message)))
  281. ^~~~~~~~~~
  282. ../src/bufferutil.cc: In static member function 'static void BufferUtil::Initialize(v8::Handle<v8::Object>)':
  283. ../src/bufferutil.cc:30:52: error: call of overloaded 'NODE_SET_METHOD(v8::Local<v8::FunctionTemplate>&, const char [7], void (&)(const v8::FunctionCallbackInfo<v8::Value>&))' is ambiguous
  284. NODE_SET_METHOD(t, "unmask", BufferUtil::Unmask);
  285. ^
  286. In file included from ../src/bufferutil.cc:8:0:
  287. /root/.node-gyp/8.15.0/include/node/node.h:308:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Template>, const char*, v8::FunctionCallback)
  288. inline void NODE_SET_METHOD(v8::Local<v8::Template> recv,
  289. ^~~~~~~~~~~~~~~
  290. /root/.node-gyp/8.15.0/include/node/node.h:321:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Object>, const char*, v8::FunctionCallback)
  291. inline void NODE_SET_METHOD(v8::Local<v8::Object> recv,
  292. ^~~~~~~~~~~~~~~
  293. ../src/bufferutil.cc:31:48: error: call of overloaded 'NODE_SET_METHOD(v8::Local<v8::FunctionTemplate>&, const char [5], void (&)(const v8::FunctionCallbackInfo<v8::Value>&))' is ambiguous
  294. NODE_SET_METHOD(t, "mask", BufferUtil::Mask);
  295. ^
  296. In file included from ../src/bufferutil.cc:8:0:
  297. /root/.node-gyp/8.15.0/include/node/node.h:308:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Template>, const char*, v8::FunctionCallback)
  298. inline void NODE_SET_METHOD(v8::Local<v8::Template> recv,
  299. ^~~~~~~~~~~~~~~
  300. /root/.node-gyp/8.15.0/include/node/node.h:321:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Object>, const char*, v8::FunctionCallback)
  301. inline void NODE_SET_METHOD(v8::Local<v8::Object> recv,
  302. ^~~~~~~~~~~~~~~
  303. ../src/bufferutil.cc:32:50: error: call of overloaded 'NODE_SET_METHOD(v8::Local<v8::FunctionTemplate>&, const char [6], void (&)(const v8::FunctionCallbackInfo<v8::Value>&))' is ambiguous
  304. NODE_SET_METHOD(t, "merge", BufferUtil::Merge);
  305. ^
  306. In file included from ../src/bufferutil.cc:8:0:
  307. /root/.node-gyp/8.15.0/include/node/node.h:308:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Template>, const char*, v8::FunctionCallback)
  308. inline void NODE_SET_METHOD(v8::Local<v8::Template> recv,
  309. ^~~~~~~~~~~~~~~
  310. /root/.node-gyp/8.15.0/include/node/node.h:321:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Object>, const char*, v8::FunctionCallback)
  311. inline void NODE_SET_METHOD(v8::Local<v8::Object> recv,
  312. ^~~~~~~~~~~~~~~
  313. bufferutil.target.mk:103: recipe for target 'Release/obj.target/bufferutil/src/bufferutil.o' failed
  314. make: *** [Release/obj.target/bufferutil/src/bufferutil.o] Error 1
  315. make: Leaving directory '/opt/iobroker/node_modules/iobroker.kodi/node_modules/bufferutil/build'
  316. gyp ERR! build error
  317. gyp ERR! stack Error: `make` failed with exit code: 2
  318. gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
  319. gyp ERR! stack at emitTwo (events.js:126:13)
  320. gyp ERR! stack at ChildProcess.emit (events.js:214:7)
  321. gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
  322. gyp ERR! System Linux 4.15.18-10-pve
  323. gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
  324. gyp ERR! cwd /opt/iobroker/node_modules/iobroker.kodi/node_modules/bufferutil
  325. gyp ERR! node -v v8.15.0
  326. gyp ERR! node-gyp -v v3.8.0
  327. gyp ERR! not ok
  328.  
  329. > [email protected] install /opt/iobroker/node_modules/iobroker.kodi/node_modules/utf-8-validate
  330. > node-gyp rebuild
  331.  
  332. make: Entering directory '/opt/iobroker/node_modules/iobroker.kodi/node_modules/utf-8-validate/build'
  333. CXX(target) Release/obj.target/validation/src/validation.o
  334. In file included from ../../nan/nan.h:82:0,
  335. from ../src/validation.cc:15:
  336. ../../nan/nan_new.h: In function 'v8::Local<T> NanIntern::To(v8::Handle<v8::Integer>) [with T = v8::Int32; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]':
  337. ../../nan/nan_new.h:34:64: warning: 'v8::Local<v8::Int32> v8::Value::ToInt32() const' is deprecated: Use maybe version [-Wdeprecated-declarations]
  338. To<v8::Int32>(v8::Handle<v8::Integer> i) { return i->ToInt32(); }
  339. ^
  340. In file included from ../src/validation.cc:7:0:
  341. /root/.node-gyp/8.15.0/include/node/v8.h:9864:14: note: declared here
  342. Local<Int32> Value::ToInt32() const {
  343. ^~~~~
  344. In file included from ../../nan/nan.h:82:0,
  345. from ../src/validation.cc:15:
  346. ../../nan/nan_new.h: In function 'v8::Local<T> NanIntern::To(v8::Handle<v8::Integer>) [with T = v8::Uint32; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]':
  347. ../../nan/nan_new.h:39:65: warning: 'v8::Local<v8::Uint32> v8::Value::ToUint32() const' is deprecated: Use maybe version [-Wdeprecated-declarations]
  348. To<v8::Uint32>(v8::Handle<v8::Integer> i) { return i->ToUint32(); }
  349. ^
  350. In file included from ../src/validation.cc:7:0:
  351. /root/.node-gyp/8.15.0/include/node/v8.h:9858:15: note: declared here
  352. Local<Uint32> Value::ToUint32() const {
  353. ^~~~~
  354. In file included from ../../nan/nan_new.h:189:0,
  355. from ../../nan/nan.h:82,
  356. from ../src/validation.cc:15:
  357. ../../nan/nan_implementation_12_inl.h: In static member function 'static NanIntern::FactoryBase<v8::BooleanObject>::return_t NanIntern::Factory<v8::BooleanObject>::New(bool)':
  358. ../../nan/nan_implementation_12_inl.h:49:38: warning: 'static v8::Local<v8::Value> v8::BooleanObject::New(bool)' is deprecated: Pass an isolate [-Wdeprecated-declarations]
  359. return v8::BooleanObject::New(value).As<v8::BooleanObject>();
  360. ^
  361. In file included from /root/.node-gyp/8.15.0/include/node/v8.h:26:0,
  362. from ../src/validation.cc:7:
  363. /root/.node-gyp/8.15.0/include/node/v8.h:4895:56: note: declared here
  364. V8_DEPRECATED("Pass an isolate", static Local<Value> New(bool value));
  365. ^
  366. /root/.node-gyp/8.15.0/include/node/v8config.h:318:3: note: in definition of macro 'V8_DEPRECATED'
  367. declarator __attribute__((deprecated(message)))
  368. ^~~~~~~~~~
  369. In file included from ../../nan/nan_new.h:189:0,
  370. from ../../nan/nan.h:82,
  371. from ../src/validation.cc:15:
  372. ../../nan/nan_implementation_12_inl.h: In static member function 'static NanIntern::FactoryBase<v8::Script>::return_t NanIntern::Factory<v8::Script>::New(v8::Local<v8::String>)':
  373. ../../nan/nan_implementation_12_inl.h:166:69: warning: 'static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)' is deprecated: Use maybe version [-Wdeprecated-declarations]
  374. return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
  375. ^
  376. In file included from /root/.node-gyp/8.15.0/include/node/v8.h:26:0,
  377. from ../src/validation.cc:7:
  378. /root/.node-gyp/8.15.0/include/node/v8.h:1475:21: note: declared here
  379. Local<Script> Compile(Isolate* isolate, Source* source,
  380. ^
  381. /root/.node-gyp/8.15.0/include/node/v8config.h:318:3: note: in definition of macro 'V8_DEPRECATED'
  382. declarator __attribute__((deprecated(message)))
  383. ^~~~~~~~~~
  384. In file included from ../../nan/nan_new.h:189:0,
  385. from ../../nan/nan.h:82,
  386. from ../src/validation.cc:15:
  387. ../../nan/nan_implementation_12_inl.h: In static member function 'static NanIntern::FactoryBase<v8::Script>::return_t NanIntern::Factory<v8::Script>::New(v8::Local<v8::String>, const v8::ScriptOrigin&)':
  388. ../../nan/nan_implementation_12_inl.h:173:69: warning: 'static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)' is deprecated: Use maybe version [-Wdeprecated-declarations]
  389. return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
  390. ^
  391. In file included from /root/.node-gyp/8.15.0/include/node/v8.h:26:0,
  392. from ../src/validation.cc:7:
  393. /root/.node-gyp/8.15.0/include/node/v8.h:1475:21: note: declared here
  394. Local<Script> Compile(Isolate* isolate, Source* source,
  395. ^
  396. /root/.node-gyp/8.15.0/include/node/v8config.h:318:3: note: in definition of macro 'V8_DEPRECATED'
  397. declarator __attribute__((deprecated(message)))
  398. ^~~~~~~~~~
  399. In file included from ../../nan/nan_new.h:189:0,
  400. from ../../nan/nan.h:82,
  401. from ../src/validation.cc:15:
  402. ../../nan/nan_implementation_12_inl.h: In static member function 'static NanIntern::FactoryBase<v8::String>::return_t NanIntern::Factory<v8::String>::New(const uint8_t*, int)':
  403. ../../nan/nan_implementation_12_inl.h:206:42: warning: 'static v8::Local<v8::String> v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations]
  404. v8::String::kNormalString, length);
  405. ^
  406. In file included from /root/.node-gyp/8.15.0/include/node/v8.h:26:0,
  407. from ../src/validation.cc:7:
  408. /root/.node-gyp/8.15.0/include/node/v8.h:2731:21: note: declared here
  409. Local<String> NewFromOneByte(Isolate* isolate, const uint8_t* data,
  410. ^
  411. /root/.node-gyp/8.15.0/include/node/v8config.h:318:3: note: in definition of macro 'V8_DEPRECATED'
  412. declarator __attribute__((deprecated(message)))
  413. ^~~~~~~~~~
  414. In file included from ../../nan/nan_new.h:189:0,
  415. from ../../nan/nan.h:82,
  416. from ../src/validation.cc:15:
  417. ../../nan/nan_implementation_12_inl.h: In static member function 'static NanIntern::FactoryBase<v8::String>::return_t NanIntern::Factory<v8::String>::New(v8::String::ExternalStringResource*)':
  418. ../../nan/nan_implementation_12_inl.h:217:66: warning: 'static v8::Local<v8::String> v8::String::NewExternal(v8::Isolate*, v8::String::ExternalStringResource*)' is deprecated: Use maybe version [-Wdeprecated-declarations]
  419. return v8::String::NewExternal(v8::Isolate::GetCurrent(), value);
  420. ^
  421. In file included from /root/.node-gyp/8.15.0/include/node/v8.h:26:0,
  422. from ../src/validation.cc:7:
  423. /root/.node-gyp/8.15.0/include/node/v8.h:2769:38: note: declared here
  424. Local<String> NewExternal(
  425. ^
  426. /root/.node-gyp/8.15.0/include/node/v8config.h:318:3: note: in definition of macro 'V8_DEPRECATED'
  427. declarator __attribute__((deprecated(message)))
  428. ^~~~~~~~~~
  429. In file included from ../../nan/nan_new.h:189:0,
  430. from ../../nan/nan.h:82,
  431. from ../src/validation.cc:15:
  432. ../../nan/nan_implementation_12_inl.h: In static member function 'static NanIntern::FactoryBase<v8::UnboundScript>::return_t NanIntern::Factory<v8::UnboundScript>::New(v8::Local<v8::String>)':
  433. ../../nan/nan_implementation_12_inl.h:237:30: warning: 'static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)' is deprecated: Use maybe version -Wdeprecated-declarations]
  434. return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
  435. ^~~~~~~~~~~~~~
  436. In file included from /root/.node-gyp/8.15.0/include/node/v8.h:26:0,
  437. from ../src/validation.cc:7:
  438. /root/.node-gyp/8.15.0/include/node/v8.h:1455:45: note: declared here
  439. Local<UnboundScript> CompileUnbound(
  440. ^
  441. /root/.node-gyp/8.15.0/include/node/v8config.h:318:3: note: in definition of macro 'V8_DEPRECATED'
  442. declarator __attribute__((deprecated(message)))
  443. ^~~~~~~~~~
  444. In file included from ../../nan/nan_new.h:189:0,
  445. from ../../nan/nan.h:82,
  446. from ../src/validation.cc:15:
  447. ../../nan/nan_implementation_12_inl.h:237:76: warning: 'static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)' is deprecated: Use maybe version -Wdeprecated-declarations]
  448. return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
  449. ^
  450. In file included from /root/.node-gyp/8.15.0/include/node/v8.h:26:0,
  451. from ../src/validation.cc:7:
  452. /root/.node-gyp/8.15.0/include/node/v8.h:1455:45: note: declared here
  453. Local<UnboundScript> CompileUnbound(
  454. ^
  455. /root/.node-gyp/8.15.0/include/node/v8config.h:318:3: note: in definition of macro 'V8_DEPRECATED'
  456. declarator __attribute__((deprecated(message)))
  457. ^~~~~~~~~~
  458. In file included from ../../nan/nan_new.h:189:0,
  459. from ../../nan/nan.h:82,
  460. from ../src/validation.cc:15:
  461. ../../nan/nan_implementation_12_inl.h: In static member function 'static NanIntern::FactoryBase<v8::UnboundScript>::return_t NanIntern::Factory<v8::UnboundScript>::New(v8::Local<v8::String>, const v8::ScriptOrigin&)':
  462. ../../nan/nan_implementation_12_inl.h:244:30: warning: 'static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)' is deprecated: Use maybe version -Wdeprecated-declarations]
  463. return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
  464. ^~~~~~~~~~~~~~
  465. In file included from /root/.node-gyp/8.15.0/include/node/v8.h:26:0,
  466. from ../src/validation.cc:7:
  467. /root/.node-gyp/8.15.0/include/node/v8.h:1455:45: note: declared here
  468. Local<UnboundScript> CompileUnbound(
  469. ^
  470. /root/.node-gyp/8.15.0/include/node/v8config.h:318:3: note: in definition of macro 'V8_DEPRECATED'
  471. declarator __attribute__((deprecated(message)))
  472. ^~~~~~~~~~
  473. In file included from ../../nan/nan_new.h:189:0,
  474. from ../../nan/nan.h:82,
  475. from ../src/validation.cc:15:
  476. ../../nan/nan_implementation_12_inl.h:244:76: warning: 'static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)' is deprecated: Use maybe version -Wdeprecated-declarations]
  477. return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
  478. ^
  479. In file included from /root/.node-gyp/8.15.0/include/node/v8.h:26:0,
  480. from ../src/validation.cc:7:
  481. /root/.node-gyp/8.15.0/include/node/v8.h:1455:45: note: declared here
  482. Local<UnboundScript> CompileUnbound(
  483. ^
  484. /root/.node-gyp/8.15.0/include/node/v8config.h:318:3: note: in definition of macro 'V8_DEPRECATED'
  485. declarator __attribute__((deprecated(message)))
  486. ^~~~~~~~~~
  487. In file included from ../src/validation.cc:15:0:
  488. ../../nan/nan.h: At global scope:
  489. ../../nan/nan.h:261:25: error: redefinition of 'template<class T> v8::Local<T> _NanEnsureLocal(v8::Local<T>)'
  490. NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Local<T> val) {
  491. ^~~~~~~~~~~~~~~
  492. ../../nan/nan.h:256:25: note: 'template<class T> v8::Local<T> _NanEnsureLocal(v8::Handle<T>)' previously declared here
  493. NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Handle<T> val) {
  494. ^~~~~~~~~~~~~~~
  495. ../../nan/nan.h: In function 'bool NanIdleNotification(int)':
  496. ../../nan/nan.h:289:71: warning: 'bool v8::Isolate::IdleNotification(int)' is deprecated: use IdleNotificationDeadline() [-Wdeprecated-declarations]
  497. return v8::Isolate::GetCurrent()->IdleNotification(idle_time_in_ms);
  498. ^
  499. In file included from /root/.node-gyp/8.15.0/include/node/v8.h:26:0,
  500. from ../src/validation.cc:7:
  501. /root/.node-gyp/8.15.0/include/node/v8.h:7539:22: note: declared here
  502. bool IdleNotification(int idle_time_in_ms));
  503. ^
  504. /root/.node-gyp/8.15.0/include/node/v8config.h:318:3: note: in definition of macro 'V8_DEPRECATED'
  505. declarator __attribute__((deprecated(message)))
  506. ^~~~~~~~~~
  507. In file included from ../src/validation.cc:15:0:
  508. ../../nan/nan.h: At global scope:
  509. ../../nan/nan.h:473:20: error: variable or field 'NanAddGCEpilogueCallback' declared void
  510. v8::Isolate::GCEpilogueCallback callback
  511. ^~~~~~~~~~~~~~~~~~
  512. ../../nan/nan.h:473:7: error: 'GCEpilogueCallback' is not a member of 'v8::Isolate'
  513. v8::Isolate::GCEpilogueCallback callback
  514. ^~
  515. ../../nan/nan.h:474:18: error: expected primary-expression before 'gc_type_filter'
  516. , v8::GCType gc_type_filter = v8::kGCTypeAll) {
  517. ^~~~~~~~~~~~~~
  518. ../../nan/nan.h:479:20: error: variable or field 'NanRemoveGCEpilogueCallback' declared void
  519. v8::Isolate::GCEpilogueCallback callback) {
  520. ^~~~~~~~~~~~~~~~~~
  521. ../../nan/nan.h:479:7: error: 'GCEpilogueCallback' is not a member of 'v8::Isolate'
  522. v8::Isolate::GCEpilogueCallback callback) {
  523. ^~
  524. ../../nan/nan.h:484:20: error: variable or field 'NanAddGCPrologueCallback' declared void
  525. v8::Isolate::GCPrologueCallback callback
  526. ^~~~~~~~~~~~~~~~~~
  527. ../../nan/nan.h:484:7: error: 'GCPrologueCallback' is not a member of 'v8::Isolate'
  528. v8::Isolate::GCPrologueCallback callback
  529. ^~
  530. ../../nan/nan.h:485:18: error: expected primary-expression before 'gc_type_filter'
  531. , v8::GCType gc_type_filter = v8::kGCTypeAll) {
  532. ^~~~~~~~~~~~~~
  533. ../../nan/nan.h:490:20: error: variable or field 'NanRemoveGCPrologueCallback' declared void
  534. v8::Isolate::GCPrologueCallback callback) {
  535. ^~~~~~~~~~~~~~~~~~
  536. ../../nan/nan.h:490:7: error: 'GCPrologueCallback' is not a member of 'v8::Isolate'
  537. v8::Isolate::GCPrologueCallback callback) {
  538. ^~
  539. ../../nan/nan.h:569:15: error: 'WeakCallbackData' in namespace 'v8' does not name a template type
  540. const v8::WeakCallbackData<T, _NanWeakCallbackInfo<T, P> > &data) {
  541. ^~~~~~~~~~~~~~~~
  542. ../../nan/nan.h:569:31: error: expected ',' or '...' before '<' token
  543. const v8::WeakCallbackData<T, _NanWeakCallbackInfo<T, P> > &data) {
  544. ^
  545. ../../nan/nan.h: In function 'void _NanWeakCallbackDispatcher(int)':
  546. ../../nan/nan.h:570:42: error: 'data' was not declared in this scope
  547. _NanWeakCallbackInfo<T, P> *info = data.GetParameter();
  548. ^~~~
  549. ../../nan/nan.h: At global scope:
  550. ../../nan/nan.h:661:13: error: 'node::smalloc' has not been declared
  551. , node::smalloc::FreeCallback callback
  552. ^~~~~~~
  553. ../../nan/nan.h:661:35: error: expected ',' or '...' before 'callback'
  554. , node::smalloc::FreeCallback callback
  555. ^~~~~~~~
  556. ../../nan/nan.h: In function 'v8::Local<v8::Object> NanNewBufferHandle(char*, size_t, int)':
  557. ../../nan/nan.h:665:50: error: 'callback' was not declared in this scope
  558. v8::Isolate::GetCurrent(), data, length, callback, hint);
  559. ^~~~~~~~
  560. ../../nan/nan.h:665:60: error: 'hint' was not declared in this scope
  561. v8::Isolate::GetCurrent(), data, length, callback, hint);
  562. ^~~~
  563. ../../nan/nan.h: In function 'v8::Local<v8::Object> NanNewBufferHandle(const char*, uint32_t)':
  564. ../../nan/nan.h:672:67: error: invalid conversion from 'const char*' to 'char*' [-fpermissive]
  565. return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
  566. ^
  567. In file included from ../src/validation.cc:10:0:
  568. /root/.node-gyp/8.15.0/include/node/node_buffer.h:67:40: note: initializing argument 2 of 'v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t)'
  569. NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
  570. ^~~
  571. In file included from ../src/validation.cc:15:0:
  572. ../../nan/nan.h:672:29: error: could not convert 'node::Buffer::New(v8::Isolate::GetCurrent(), ((char*)data), ((size_t)size))' from 'v8::MaybeLocal<v8::Object>' to 'v8::Local<v8::Object>'
  573. return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
  574. ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  575. ../../nan/nan.h: In function 'v8::Local<v8::Object> NanNewBufferHandle(uint32_t)':
  576. ../../nan/nan.h:676:29: error: could not convert 'node::Buffer::New(v8::Isolate::GetCurrent(), ((size_t)size))' from 'v8::MaybeLocal<v8::Object>' to 'v8::Local<v8::Object>'
  577. return node::Buffer::New(v8::Isolate::GetCurrent(), size);
  578. ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  579. ../../nan/nan.h: In function 'v8::Local<v8::Object> NanBufferUse(char*, uint32_t)':
  580. ../../nan/nan.h:683:12: error: 'Use' is not a member of 'node::Buffer'
  581. return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
  582. ^~~~
  583. ../../nan/nan.h: In function 'v8::Local<v8::Script> NanCompileScript(v8::Local<v8::String>, const v8::ScriptOrigin&)':
  584. ../../nan/nan.h:710:74: warning: 'static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)' is deprecated: Use maybe version [-Wdeprecated-declarations]
  585. return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
  586. ^
  587. In file included from /root/.node-gyp/8.15.0/include/node/v8.h:26:0,
  588. from ../src/validation.cc:7:
  589. /root/.node-gyp/8.15.0/include/node/v8.h:1475:21: note: declared here
  590. Local<Script> Compile(Isolate* isolate, Source* source,
  591. ^
  592. /root/.node-gyp/8.15.0/include/node/v8config.h:318:3: note: in definition of macro 'V8_DEPRECATED'
  593. declarator __attribute__((deprecated(message)))
  594. ^~~~~~~~~~
  595. In file included from ../src/validation.cc:15:0:
  596. ../../nan/nan.h: In function 'v8::Local<v8::Script> NanCompileScript(v8::Local<v8::String>)':
  597. ../../nan/nan.h:717:74: warning: 'static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)' is deprecated: Use maybe version [-Wdeprecated-declarations]
  598. return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
  599. ^
  600. In file included from /root/.node-gyp/8.15.0/include/node/v8.h:26:0,
  601. from ../src/validation.cc:7:
  602. /root/.node-gyp/8.15.0/include/node/v8.h:1475:21: note: declared here
  603. Local<Script> Compile(Isolate* isolate, Source* source,
  604. ^
  605. /root/.node-gyp/8.15.0/include/node/v8config.h:318:3: note: in definition of macro 'V8_DEPRECATED'
  606. declarator __attribute__((deprecated(message)))
  607. ^~~~~~~~~~
  608. ../src/validation.cc: In static member function 'static void Validation::Initialize(v8::Handle<v8::Object>)':
  609. ../src/validation.cc:112:62: error: call of overloaded 'NODE_SET_METHOD(v8::Local<v8::FunctionTemplate>&, const char [12], void (&)(const v8::FunctionCallbackInfo<v8::Value>&))' is ambiguous
  610. NODE_SET_METHOD(t, "isValidUTF8", Validation::IsValidUTF8);
  611. ^
  612. In file included from ../src/validation.cc:8:0:
  613. /root/.node-gyp/8.15.0/include/node/node.h:308:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Template>, const char*, v8::FunctionCallback)
  614. inline void NODE_SET_METHOD(v8::Local<v8::Template> recv,
  615. ^~~~~~~~~~~~~~~
  616. /root/.node-gyp/8.15.0/include/node/node.h:321:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Object>, const char*, v8::FunctionCallback)
  617. inline void NODE_SET_METHOD(v8::Local<v8::Object> recv,
  618. ^~~~~~~~~~~~~~~
  619. validation.target.mk:103: recipe for target 'Release/obj.target/validation/src/validation.o' failed
  620. make: *** [Release/obj.target/validation/src/validation.o] Error 1
  621. make: Leaving directory '/opt/iobroker/node_modules/iobroker.kodi/node_modules/utf-8-validate/build'
  622. gyp ERR! build error
  623. gyp ERR! stack Error: `make` failed with exit code: 2
  624. gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
  625. gyp ERR! stack at emitTwo (events.js:126:13)
  626. gyp ERR! stack at ChildProcess.emit (events.js:214:7)
  627. gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
  628. gyp ERR! System Linux 4.15.18-10-pve
  629. gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
  630. gyp ERR! cwd /opt/iobroker/node_modules/iobroker.kodi/node_modules/utf-8-validate
  631. gyp ERR! node -v v8.15.0
  632. gyp ERR! node-gyp -v v3.8.0
  633. gyp ERR! not ok
  634. npm WARN [email protected] requires a peer of eslint@<2.3.0 but none is installed. You must install peer dependencies yourself.
  635. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/xpc-connection):
  636. npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
  637. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/iobroker.kodi/node_modules/bufferutil):
  638. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: `node-gyp rebuild`
  639. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
  640. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/iobroker.kodi/node_modules/utf-8-validate):
  641. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: `node-gyp rebuild`
  642. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
  643.  
  644. updated 1 package and audited 7258 packages in 25.305s
  645. found 95 vulnerabilities (60 low, 10 moderate, 24 high, 1 critical)
  646. run `npm audit fix` to fix them, or `npm audit` for details
  647. root@iobroker3:/opt/iobroker# npm -v
  648. 6.4.1
  649. root@iobroker3:/opt/iobroker# nodejs -v
  650. v8.15.0
  651. root@iobroker3:/opt/iobroker# node -v
  652. v8.15.0
  653. root@iobroker3:/opt/iobroker#
  654. root@iobroker3:/opt/iobroker# npm -v
  655. 6.4.1
  656. root@iobroker3:/opt/iobroker#
Advertisement
Add Comment
Please, Sign In to add comment