Advertisement
Guest User

Untitled

a guest
Sep 17th, 2019
238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 49.75 KB | None | 0 0
  1. 2019-09-17T20:29:02.557Z [err] In file included from /home/pi/.cache/node-gyp/10.15.2/include/node/v8.h:26,
  2. 2019-09-17T20:29:02.557Z [err] from /home/pi/.cache/node-gyp/10.15.2/include/node/node.h:63,
  3. 2019-09-17T20:29:02.557Z [err] from ../../nan/nan.h:54,
  4. 2019-09-17T20:29:02.557Z [err] from ../src/./serialport.h:7,
  5. 2019-09-17T20:29:02.557Z [err] from ../src/serialport.cpp:1:
  6. 2019-09-17T20:29:02.557Z [err] /home/pi/.cache/node-gyp/10.15.2/include/node/v8.h:2450:30: note: candidate: ‘v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const’
  7. 2019-09-17T20:29:02.557Z [err] Local<Int32> ToInt32(Isolate* isolate) const);
  8. 2019-09-17T20:29:02.557Z [err] ^~~~~~~
  9. 2019-09-17T20:29:02.557Z [err] /home/pi/.cache/node-gyp/10.15.2/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
  10. 2019-09-17T20:29:02.557Z [err] declarator __attribute__((deprecated(message)))
  11. 2019-09-17T20:29:02.557Z [err] ^~~~~~~~~~
  12. 2019-09-17T20:29:02.557Z [err] /home/pi/.cache/node-gyp/10.15.2/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided
  13. 2019-09-17T20:29:02.557Z [err] Local<Int32> ToInt32(Isolate* isolate) const);
  14. 2019-09-17T20:29:02.557Z [err] ^~~~~~~
  15. 2019-09-17T20:29:02.557Z [err] /home/pi/.cache/node-gyp/10.15.2/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
  16. 2019-09-17T20:29:02.557Z [err] declarator __attribute__((deprecated(message)))
  17. 2019-09-17T20:29:02.557Z [err] ^~~~~~~~~~
  18. 2019-09-17T20:29:02.580Z [err] ../src/serialport.cpp:490:38: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct FlushBaton’ with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess]
  19. 2019-09-17T20:29:02.580Z [err] memset(baton, 0, sizeof(FlushBaton));
  20. 2019-09-17T20:29:02.580Z [err] ^
  21. 2019-09-17T20:29:02.580Z [err] In file included from ../src/serialport.cpp:1:
  22. 2019-09-17T20:29:02.580Z [err] ../src/./serialport.h:167:8: note: ‘struct FlushBaton’ declared here
  23. 2019-09-17T20:29:02.580Z [err] struct FlushBaton {
  24. 2019-09-17T20:29:02.580Z [err] ^~~~~~~~~~
  25. 2019-09-17T20:29:02.580Z [err] ../src/serialport.cpp:496:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
  26. 2019-09-17T20:29:02.580Z [err] uv_queue_work(uv_default_loop(), req, EIO_Flush, (uv_after_work_cb)EIO_AfterFlush);
  27. 2019-09-17T20:29:02.580Z [err] ^~~~~~~~~~~~~~
  28. 2019-09-17T20:29:02.580Z [err] ../src/serialport.cpp: In function ‘void EIO_AfterFlush(uv_work_t*)’:
  29. 2019-09-17T20:29:02.580Z [err] ../src/serialport.cpp:516:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
  30. 2019-09-17T20:29:02.580Z [err] data->callback.Call(2, argv);
  31. 2019-09-17T20:29:02.580Z [err] ^
  32. 2019-09-17T20:29:02.580Z [err] In file included from ../src/./serialport.h:7,
  33. 2019-09-17T20:29:02.580Z [err] from ../src/serialport.cpp:1:
  34. 2019-09-17T20:29:02.580Z [err] ../../nan/nan.h:1740:3: note: declared here
  35. 2019-09-17T20:29:02.580Z [err] Call(int argc, v8::Local<v8::Value> argv[]) const {
  36. 2019-09-17T20:29:02.580Z [err] ^~~~
  37. 2019-09-17T20:29:02.580Z [err] ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)’:
  38. 2019-09-17T20:29:02.580Z [err] ../src/serialport.cpp:368:38: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct CloseBaton’ with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess]
  39. 2019-09-17T20:29:02.580Z [err] memset(baton, 0, sizeof(CloseBaton));
  40. 2019-09-17T20:29:02.580Z [err] ^
  41. 2019-09-17T20:29:02.580Z [err] In file included from ../src/serialport.cpp:1:
  42. 2019-09-17T20:29:02.580Z [err] ../src/./serialport.h:145:8: note: ‘struct CloseBaton’ declared here
  43. 2019-09-17T20:29:02.580Z [err] struct CloseBaton {
  44. 2019-09-17T20:29:02.580Z [err] ^~~~~~~~~~
  45. 2019-09-17T20:29:02.580Z [err] ../src/serialport.cpp:369:32: error: no matching function for call to ‘v8::Value::ToInt32()’
  46. 2019-09-17T20:29:02.580Z [err] baton->fd = info[0]->ToInt32()->Int32Value();
  47. 2019-09-17T20:29:02.580Z [err] ^
  48. 2019-09-17T20:29:02.580Z [err] In file included from /home/pi/.cache/node-gyp/10.15.2/include/node/node.h:63,
  49. 2019-09-17T20:29:02.580Z [err] from ../../nan/nan.h:54,
  50. 2019-09-17T20:29:02.580Z [err] from ../src/./serialport.h:7,
  51. 2019-09-17T20:29:02.580Z [err] from ../src/serialport.cpp:1:
  52. 2019-09-17T20:29:02.580Z [err] /home/pi/.cache/node-gyp/10.15.2/include/node/v8.h:2437:43: note: candidate: ‘v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const’
  53. 2019-09-17T20:29:02.580Z [err] V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
  54. 2019-09-17T20:29:02.580Z [err] ^~~~~~~
  55. 2019-09-17T20:29:02.580Z [err] /home/pi/.cache/node-gyp/10.15.2/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided
  56. 2019-09-17T20:29:02.580Z [err] ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:
  57. 2019-09-17T20:29:02.580Z [err] ../src/serialport.cpp:528:29: error: no matching function for call to ‘v8::Value::ToInt32()’
  58. 2019-09-17T20:29:02.580Z [err] int fd = info[0]->ToInt32()->Int32Value();
  59. 2019-09-17T20:29:02.580Z [err] ^
  60. 2019-09-17T20:29:02.580Z [err] In file included from /home/pi/.cache/node-gyp/10.15.2/include/node/v8.h:26,
  61. 2019-09-17T20:29:02.580Z [err] from /home/pi/.cache/node-gyp/10.15.2/include/node/node.h:63,
  62. 2019-09-17T20:29:02.580Z [err] from ../../nan/nan.h:54,
  63. 2019-09-17T20:29:02.580Z [err] from ../src/./serialport.h:7,
  64. 2019-09-17T20:29:02.580Z [err] from ../src/serialport.cpp:1:
  65. 2019-09-17T20:29:02.580Z [err] /home/pi/.cache/node-gyp/10.15.2/include/node/v8.h:2450:30: note: candidate: ‘v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const’
  66. 2019-09-17T20:29:02.580Z [err] Local<Int32> ToInt32(Isolate* isolate) const);
  67. 2019-09-17T20:29:02.580Z [err] ^~~~~~~
  68. 2019-09-17T20:29:02.580Z [err] /home/pi/.cache/node-gyp/10.15.2/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
  69. 2019-09-17T20:29:02.580Z [err] declarator __attribute__((deprecated(message)))
  70. 2019-09-17T20:29:02.580Z [err] ^~~~~~~~~~
  71. 2019-09-17T20:29:02.580Z [err] In file included from /home/pi/.cache/node-gyp/10.15.2/include/node/node.h:63,
  72. 2019-09-17T20:29:02.580Z [err] from ../../nan/nan.h:54,
  73. 2019-09-17T20:29:02.580Z [err] from ../src/./serialport.h:7,
  74. 2019-09-17T20:29:02.580Z [err] from ../src/serialport.cpp:1:
  75. 2019-09-17T20:29:02.580Z [err] /home/pi/.cache/node-gyp/10.15.2/include/node/v8.h:2437:43: note: candidate: ‘v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const’
  76. 2019-09-17T20:29:02.580Z [err] V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
  77. 2019-09-17T20:29:02.580Z [err] ^~~~~~~
  78. 2019-09-17T20:29:02.580Z [err] /home/pi/.cache/node-gyp/10.15.2/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided
  79. 2019-09-17T20:29:02.580Z [err] /home/pi/.cache/node-gyp/10.15.2/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided
  80. 2019-09-17T20:29:02.580Z [err] Local<Int32> ToInt32(Isolate* isolate) const);
  81. 2019-09-17T20:29:02.580Z [err] ^~~~~~~
  82. 2019-09-17T20:29:02.580Z [err] /home/pi/.cache/node-gyp/10.15.2/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
  83. 2019-09-17T20:29:02.580Z [err] declarator __attribute__((deprecated(message)))
  84. 2019-09-17T20:29:02.580Z [err] ^~~~~~~~~~
  85. 2019-09-17T20:29:02.580Z [err] In file included from /home/pi/.cache/node-gyp/10.15.2/include/node/v8.h:26,
  86. 2019-09-17T20:29:02.580Z [err] from /home/pi/.cache/node-gyp/10.15.2/include/node/node.h:63,
  87. 2019-09-17T20:29:02.580Z [err] from ../../nan/nan.h:54,
  88. 2019-09-17T20:29:02.580Z [err] from ../src/./serialport.h:7,
  89. 2019-09-17T20:29:02.580Z [err] from ../src/serialport.cpp:1:
  90. 2019-09-17T20:29:02.580Z [err] /home/pi/.cache/node-gyp/10.15.2/include/node/v8.h:2450:30: note: candidate: ‘v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const’
  91. 2019-09-17T20:29:02.580Z [err] Local<Int32> ToInt32(Isolate* isolate) const);
  92. 2019-09-17T20:29:02.580Z [err] ^~~~~~~
  93. 2019-09-17T20:29:02.580Z [err] /home/pi/.cache/node-gyp/10.15.2/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
  94. 2019-09-17T20:29:02.580Z [err] declarator __attribute__((deprecated(message)))
  95. 2019-09-17T20:29:02.580Z [err] ^~~~~~~~~~
  96. 2019-09-17T20:29:02.584Z [err] /home/pi/.cache/node-gyp/10.15.2/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided
  97. 2019-09-17T20:29:02.584Z [err] Local<Int32> ToInt32(Isolate* isolate) const);
  98. 2019-09-17T20:29:02.584Z [err] ^~~~~~~
  99. 2019-09-17T20:29:02.584Z [err] /home/pi/.cache/node-gyp/10.15.2/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
  100. 2019-09-17T20:29:02.584Z [err] declarator __attribute__((deprecated(message)))
  101. 2019-09-17T20:29:02.584Z [err] ^~~~~~~~~~
  102. 2019-09-17T20:29:02.584Z [err] ../src/serialport.cpp:535:53: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
  103. 2019-09-17T20:29:02.584Z [err] v8::Local<v8::Object> options = info[1]->ToObject();
  104. 2019-09-17T20:29:02.584Z [err] ^
  105. 2019-09-17T20:29:02.584Z [err] ../src/serialport.cpp:374:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
  106. 2019-09-17T20:29:02.584Z [err] uv_queue_work(uv_default_loop(), req, EIO_Close, (uv_after_work_cb)EIO_AfterClose);
  107. 2019-09-17T20:29:02.584Z [err] ^~~~~~~~~~~~~~
  108. 2019-09-17T20:29:02.584Z [err] In file included from /home/pi/.cache/node-gyp/10.15.2/include/node/node.h:63,
  109. 2019-09-17T20:29:02.584Z [err] from ../../nan/nan.h:54,
  110. 2019-09-17T20:29:02.584Z [err] from ../src/./serialport.h:7,
  111. 2019-09-17T20:29:02.584Z [err] from ../src/serialport.cpp:1:
  112. 2019-09-17T20:29:02.584Z [err] /home/pi/.cache/node-gyp/10.15.2/include/node/v8.h:10046:15: note: declared here
  113. 2019-09-17T20:29:02.584Z [err] Local<Object> Value::ToObject() const {
  114. 2019-09-17T20:29:02.584Z [err] ^~~~~
  115. 2019-09-17T20:29:02.590Z [err] ../src/serialport.cpp:545:36: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct SetBaton’ with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess]
  116. 2019-09-17T20:29:02.590Z [err] memset(baton, 0, sizeof(SetBaton));
  117. 2019-09-17T20:29:02.590Z [err] ^
  118. 2019-09-17T20:29:02.591Z [err] In file included from ../src/serialport.cpp:1:
  119. 2019-09-17T20:29:02.591Z [err] ../src/./serialport.h:174:8: note: ‘struct SetBaton’ declared here
  120. 2019-09-17T20:29:02.591Z [err] struct SetBaton {
  121. 2019-09-17T20:29:02.591Z [err] ^~~~~~~~
  122. 2019-09-17T20:29:02.595Z [err] ../src/serialport.cpp: In function ‘void EIO_AfterClose(uv_work_t*)’:
  123. 2019-09-17T20:29:02.595Z [err] ../src/serialport.cpp:403:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
  124. 2019-09-17T20:29:02.595Z [err] data->callback.Call(1, argv);
  125. 2019-09-17T20:29:02.595Z [err] ^
  126. 2019-09-17T20:29:02.595Z [err] In file included from ../src/./serialport.h:7,
  127. 2019-09-17T20:29:02.595Z [err] from ../src/serialport.cpp:1:
  128. 2019-09-17T20:29:02.595Z [err] ../../nan/nan.h:1740:3: note: declared here
  129. 2019-09-17T20:29:02.595Z [err] Call(int argc, v8::Local<v8::Value> argv[]) const {
  130. 2019-09-17T20:29:02.595Z [err] ^~~~
  131. 2019-09-17T20:29:02.613Z [err] ../src/serialport.cpp:556:68: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
  132. 2019-09-17T20:29:02.613Z [err] uv_queue_work(uv_default_loop(), req, EIO_Set, (uv_after_work_cb)EIO_AfterSet);
  133. 2019-09-17T20:29:02.613Z [err] ^~~~~~~~~~~~
  134. 2019-09-17T20:29:02.627Z [err] ../src/serialport.cpp: In function ‘void EIO_AfterSet(uv_work_t*)’:
  135. 2019-09-17T20:29:02.627Z [err] ../src/serialport.cpp:573:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
  136. 2019-09-17T20:29:02.627Z [err] data->callback.Call(1, argv);
  137. 2019-09-17T20:29:02.627Z [err] ^
  138. 2019-09-17T20:29:02.627Z [err] In file included from ../src/./serialport.h:7,
  139. 2019-09-17T20:29:02.627Z [err] from ../src/serialport.cpp:1:
  140. 2019-09-17T20:29:02.627Z [err] ../../nan/nan.h:1740:3: note: declared here
  141. 2019-09-17T20:29:02.627Z [err] Call(int argc, v8::Local<v8::Value> argv[]) const {
  142. 2019-09-17T20:29:02.627Z [err] ^~~~
  143. 2019-09-17T20:29:02.627Z [err] ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)’:
  144. 2019-09-17T20:29:02.627Z [err] ../src/serialport.cpp:585:29: error: no matching function for call to ‘v8::Value::ToInt32()’
  145. 2019-09-17T20:29:02.627Z [err] int fd = info[0]->ToInt32()->Int32Value();
  146. 2019-09-17T20:29:02.627Z [err] ^
  147. 2019-09-17T20:29:02.629Z [err] In file included from /home/pi/.cache/node-gyp/10.15.2/include/node/node.h:63,
  148. 2019-09-17T20:29:02.629Z [err] from ../../nan/nan.h:54,
  149. 2019-09-17T20:29:02.629Z [err] from ../src/./serialport.h:7,
  150. 2019-09-17T20:29:02.629Z [err] from ../src/serialport.cpp:1:
  151. 2019-09-17T20:29:02.629Z [err] /home/pi/.cache/node-gyp/10.15.2/include/node/v8.h:2437:43: note: candidate: ‘v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const’
  152. 2019-09-17T20:29:02.629Z [err] V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
  153. 2019-09-17T20:29:02.629Z [err] ^~~~~~~
  154. 2019-09-17T20:29:02.629Z [err] /home/pi/.cache/node-gyp/10.15.2/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided
  155. 2019-09-17T20:29:02.639Z [err] ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE List(Nan::NAN_METHOD_ARGS_TYPE)’:
  156. 2019-09-17T20:29:02.639Z [err] ../src/serialport.cpp:422:69: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
  157. 2019-09-17T20:29:02.639Z [err] uv_queue_work(uv_default_loop(), req, EIO_List, (uv_after_work_cb)EIO_AfterList);
  158. 2019-09-17T20:29:02.639Z [err] ^~~~~~~~~~~~~
  159. 2019-09-17T20:29:02.639Z [err] In file included from /home/pi/.cache/node-gyp/10.15.2/include/node/v8.h:26,
  160. 2019-09-17T20:29:02.639Z [err] from /home/pi/.cache/node-gyp/10.15.2/include/node/node.h:63,
  161. 2019-09-17T20:29:02.639Z [err] from ../../nan/nan.h:54,
  162. 2019-09-17T20:29:02.639Z [err] from ../src/./serialport.h:7,
  163. 2019-09-17T20:29:02.639Z [err] from ../src/serialport.cpp:1:
  164. 2019-09-17T20:29:02.639Z [err] /home/pi/.cache/node-gyp/10.15.2/include/node/v8.h:2450:30: note: candidate: ‘v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const’
  165. 2019-09-17T20:29:02.639Z [err] Local<Int32> ToInt32(Isolate* isolate) const);
  166. 2019-09-17T20:29:02.639Z [err] ^~~~~~~
  167. 2019-09-17T20:29:02.639Z [err] /home/pi/.cache/node-gyp/10.15.2/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
  168. 2019-09-17T20:29:02.639Z [err] declarator __attribute__((deprecated(message)))
  169. 2019-09-17T20:29:02.639Z [err] ^~~~~~~~~~
  170. 2019-09-17T20:29:02.639Z [err] /home/pi/.cache/node-gyp/10.15.2/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided
  171. 2019-09-17T20:29:02.639Z [err] Local<Int32> ToInt32(Isolate* isolate) const);
  172. 2019-09-17T20:29:02.639Z [err] ^~~~~~~
  173. 2019-09-17T20:29:02.639Z [err] /home/pi/.cache/node-gyp/10.15.2/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
  174. 2019-09-17T20:29:02.639Z [err] declarator __attribute__((deprecated(message)))
  175. 2019-09-17T20:29:02.639Z [err] ^~~~~~~~~~
  176. 2019-09-17T20:29:02.639Z [err] ../src/serialport.cpp:594:38: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct DrainBaton’ with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess]
  177. 2019-09-17T20:29:02.639Z [err] memset(baton, 0, sizeof(DrainBaton));
  178. 2019-09-17T20:29:02.639Z [err] ^
  179. 2019-09-17T20:29:02.639Z [err] In file included from ../src/serialport.cpp:1:
  180. 2019-09-17T20:29:02.639Z [err] ../src/./serialport.h:186:8: note: ‘struct DrainBaton’ declared here
  181. 2019-09-17T20:29:02.639Z [err] struct DrainBaton {
  182. 2019-09-17T20:29:02.639Z [err] ^~~~~~~~~~
  183. 2019-09-17T20:29:02.650Z [err] ../src/serialport.cpp:600:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
  184. 2019-09-17T20:29:02.650Z [err] uv_queue_work(uv_default_loop(), req, EIO_Drain, (uv_after_work_cb)EIO_AfterDrain);
  185. 2019-09-17T20:29:02.650Z [err] ^~~~~~~~~~~~~~
  186. 2019-09-17T20:29:02.666Z [err] ../src/serialport.cpp: In function ‘void EIO_AfterDrain(uv_work_t*)’:
  187. 2019-09-17T20:29:02.666Z [err] ../src/serialport.cpp:617:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
  188. 2019-09-17T20:29:02.666Z [err] data->callback.Call(1, argv);
  189. 2019-09-17T20:29:02.666Z [err] ^
  190. 2019-09-17T20:29:02.666Z [err] In file included from ../src/./serialport.h:7,
  191. 2019-09-17T20:29:02.666Z [err] from ../src/serialport.cpp:1:
  192. 2019-09-17T20:29:02.666Z [err] ../../nan/nan.h:1740:3: note: declared here
  193. 2019-09-17T20:29:02.666Z [err] Call(int argc, v8::Local<v8::Value> argv[]) const {
  194. 2019-09-17T20:29:02.666Z [err] ^~~~
  195. 2019-09-17T20:29:02.666Z [err] ../src/serialport.cpp: At global scope:
  196. 2019-09-17T20:29:02.666Z [err] ../src/serialport.cpp:623:28: warning: unnecessary parentheses in declaration of ‘ToParityEnum’ [-Wparentheses]
  197. 2019-09-17T20:29:02.666Z [err] SerialPortParity NAN_INLINE(ToParityEnum(const v8::Local<v8::String>& v8str)) {
  198. 2019-09-17T20:29:02.666Z [err] ^
  199. 2019-09-17T20:29:02.687Z [err] ../src/serialport.cpp:642:30: warning: unnecessary parentheses in declaration of ‘ToStopBitEnum’ [-Wparentheses]
  200. 2019-09-17T20:29:02.687Z [err] SerialPortStopBits NAN_INLINE(ToStopBitEnum(double stopBits)) {
  201. 2019-09-17T20:29:02.687Z [err] ^
  202. 2019-09-17T20:29:02.687Z [err] In file included from ../../nan/nan.h:54,
  203. 2019-09-17T20:29:02.687Z [err] from ../src/./serialport.h:7,
  204. 2019-09-17T20:29:02.687Z [err] from ../src/serialport.cpp:1:
  205. 2019-09-17T20:29:02.687Z [err] /home/pi/.cache/node-gyp/10.15.2/include/node/node.h:570:43: warning: cast between incompatible function types from ‘void (*)(v8::Handle<v8::Object>)’ {aka ‘void (*)(v8::Local<v8::Object>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
  206. 2019-09-17T20:29:02.687Z [err] (node::addon_register_func) (regfunc), \
  207. 2019-09-17T20:29:02.687Z [err] ^
  208. 2019-09-17T20:29:02.687Z [err] /home/pi/.cache/node-gyp/10.15.2/include/node/node.h:604:3: note: in expansion of macro ‘NODE_MODULE_X’
  209. 2019-09-17T20:29:02.687Z [err] NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
  210. 2019-09-17T20:29:02.687Z [err] ^~~~~~~~~~~~~
  211. 2019-09-17T20:29:02.687Z [err] ../src/serialport.cpp:670:1: note: in expansion of macro ‘NODE_MODULE’
  212. 2019-09-17T20:29:02.687Z [err] NODE_MODULE(serialport, init);
  213. 2019-09-17T20:29:02.687Z [err] ^~~~~~~~~~~
  214. 2019-09-17T20:29:02.702Z [err] ../src/serialport.cpp: In function ‘void EIO_AfterList(uv_work_t*)’:
  215. 2019-09-17T20:29:02.702Z [err] ../src/serialport.cpp:465:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
  216. 2019-09-17T20:29:02.702Z [err] data->callback.Call(2, argv);
  217. 2019-09-17T20:29:02.702Z [err] ^
  218. 2019-09-17T20:29:02.702Z [err] In file included from ../src/./serialport.h:7,
  219. 2019-09-17T20:29:02.702Z [err] from ../src/serialport.cpp:1:
  220. 2019-09-17T20:29:02.702Z [err] ../../nan/nan.h:1740:3: note: declared here
  221. 2019-09-17T20:29:02.702Z [err] Call(int argc, v8::Local<v8::Value> argv[]) const {
  222. 2019-09-17T20:29:02.702Z [err] ^~~~
  223. 2019-09-17T20:29:02.735Z [err] ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)’:
  224. 2019-09-17T20:29:02.735Z [err] ../src/serialport.cpp:480:29: error: no matching function for call to ‘v8::Value::ToInt32()’
  225. 2019-09-17T20:29:02.735Z [err] int fd = info[0]->ToInt32()->Int32Value();
  226. 2019-09-17T20:29:02.735Z [err] ^
  227. 2019-09-17T20:29:02.735Z [err] In file included from /home/pi/.cache/node-gyp/10.15.2/include/node/node.h:63,
  228. 2019-09-17T20:29:02.735Z [err] from ../../nan/nan.h:54,
  229. 2019-09-17T20:29:02.735Z [err] from ../src/./serialport.h:7,
  230. 2019-09-17T20:29:02.735Z [err] from ../src/serialport.cpp:1:
  231. 2019-09-17T20:29:02.735Z [err] /home/pi/.cache/node-gyp/10.15.2/include/node/v8.h:2437:43: note: candidate: ‘v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const’
  232. 2019-09-17T20:29:02.735Z [err] V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
  233. 2019-09-17T20:29:02.735Z [err] ^~~~~~~
  234. 2019-09-17T20:29:02.735Z [err] /home/pi/.cache/node-gyp/10.15.2/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided
  235. 2019-09-17T20:29:02.735Z [err] In file included from /home/pi/.cache/node-gyp/10.15.2/include/node/v8.h:26,
  236. 2019-09-17T20:29:02.735Z [err] from /home/pi/.cache/node-gyp/10.15.2/include/node/node.h:63,
  237. 2019-09-17T20:29:02.735Z [err] from ../../nan/nan.h:54,
  238. 2019-09-17T20:29:02.735Z [err] from ../src/./serialport.h:7,
  239. 2019-09-17T20:29:02.735Z [err] from ../src/serialport.cpp:1:
  240. 2019-09-17T20:29:02.735Z [err] /home/pi/.cache/node-gyp/10.15.2/include/node/v8.h:2450:30: note: candidate: ‘v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const’
  241. 2019-09-17T20:29:02.735Z [err] Local<Int32> ToInt32(Isolate* isolate) const);
  242. 2019-09-17T20:29:02.735Z [err] ^~~~~~~
  243. 2019-09-17T20:29:02.735Z [err] /home/pi/.cache/node-gyp/10.15.2/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
  244. 2019-09-17T20:29:02.735Z [err] declarator __attribute__((deprecated(message)))
  245. 2019-09-17T20:29:02.735Z [err] ^~~~~~~~~~
  246. 2019-09-17T20:29:02.735Z [err] /home/pi/.cache/node-gyp/10.15.2/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided
  247. 2019-09-17T20:29:02.735Z [err] Local<Int32> ToInt32(Isolate* isolate) const);
  248. 2019-09-17T20:29:02.735Z [err] ^~~~~~~
  249. 2019-09-17T20:29:02.735Z [err] /home/pi/.cache/node-gyp/10.15.2/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
  250. 2019-09-17T20:29:02.735Z [err] declarator __attribute__((deprecated(message)))
  251. 2019-09-17T20:29:02.735Z [err] ^~~~~~~~~~
  252. 2019-09-17T20:29:02.735Z [err] ../src/serialport.cpp:490:38: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct FlushBaton’ with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess]
  253. 2019-09-17T20:29:02.735Z [err] memset(baton, 0, sizeof(FlushBaton));
  254. 2019-09-17T20:29:02.735Z [err] ^
  255. 2019-09-17T20:29:02.735Z [err] In file included from ../src/serialport.cpp:1:
  256. 2019-09-17T20:29:02.735Z [err] ../src/./serialport.h:167:8: note: ‘struct FlushBaton’ declared here
  257. 2019-09-17T20:29:02.735Z [err] struct FlushBaton {
  258. 2019-09-17T20:29:02.735Z [err] ^~~~~~~~~~
  259. 2019-09-17T20:29:02.735Z [err] ../src/serialport.cpp:496:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
  260. 2019-09-17T20:29:02.735Z [err] uv_queue_work(uv_default_loop(), req, EIO_Flush, (uv_after_work_cb)EIO_AfterFlush);
  261. 2019-09-17T20:29:02.735Z [err] ^~~~~~~~~~~~~~
  262. 2019-09-17T20:29:02.738Z [err] ../src/serialport.cpp: In function ‘void EIO_AfterFlush(uv_work_t*)’:
  263. 2019-09-17T20:29:02.738Z [err] ../src/serialport.cpp:516:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
  264. 2019-09-17T20:29:02.738Z [err] data->callback.Call(2, argv);
  265. 2019-09-17T20:29:02.738Z [err] ^
  266. 2019-09-17T20:29:02.738Z [err] In file included from ../src/./serialport.h:7,
  267. 2019-09-17T20:29:02.738Z [err] from ../src/serialport.cpp:1:
  268. 2019-09-17T20:29:02.738Z [err] ../../nan/nan.h:1740:3: note: declared here
  269. 2019-09-17T20:29:02.738Z [err] Call(int argc, v8::Local<v8::Value> argv[]) const {
  270. 2019-09-17T20:29:02.738Z [err] ^~~~
  271. 2019-09-17T20:29:02.742Z [err] ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:
  272. 2019-09-17T20:29:02.742Z [err] ../src/serialport.cpp:528:29: error: no matching function for call to ‘v8::Value::ToInt32()’
  273. 2019-09-17T20:29:02.742Z [err] int fd = info[0]->ToInt32()->Int32Value();
  274. 2019-09-17T20:29:02.742Z [err] ^
  275. 2019-09-17T20:29:02.744Z [err] In file included from /home/pi/.cache/node-gyp/10.15.2/include/node/node.h:63,
  276. 2019-09-17T20:29:02.744Z [err] from ../../nan/nan.h:54,
  277. 2019-09-17T20:29:02.744Z [err] from ../src/./serialport.h:7,
  278. 2019-09-17T20:29:02.744Z [err] from ../src/serialport.cpp:1:
  279. 2019-09-17T20:29:02.744Z [err] /home/pi/.cache/node-gyp/10.15.2/include/node/v8.h:2437:43: note: candidate: ‘v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const’
  280. 2019-09-17T20:29:02.744Z [err] V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
  281. 2019-09-17T20:29:02.744Z [err] ^~~~~~~
  282. 2019-09-17T20:29:02.744Z [err] /home/pi/.cache/node-gyp/10.15.2/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided
  283. 2019-09-17T20:29:02.744Z [err] In file included from /home/pi/.cache/node-gyp/10.15.2/include/node/v8.h:26,
  284. 2019-09-17T20:29:02.744Z [err] from /home/pi/.cache/node-gyp/10.15.2/include/node/node.h:63,
  285. 2019-09-17T20:29:02.744Z [err] from ../../nan/nan.h:54,
  286. 2019-09-17T20:29:02.744Z [err] from ../src/./serialport.h:7,
  287. 2019-09-17T20:29:02.744Z [err] from ../src/serialport.cpp:1:
  288. 2019-09-17T20:29:02.744Z [err] /home/pi/.cache/node-gyp/10.15.2/include/node/v8.h:2450:30: note: candidate: ‘v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const’
  289. 2019-09-17T20:29:02.744Z [err] Local<Int32> ToInt32(Isolate* isolate) const);
  290. 2019-09-17T20:29:02.744Z [err] ^~~~~~~
  291. 2019-09-17T20:29:02.744Z [err] /home/pi/.cache/node-gyp/10.15.2/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
  292. 2019-09-17T20:29:02.744Z [err] declarator __attribute__((deprecated(message)))
  293. 2019-09-17T20:29:02.744Z [err] ^~~~~~~~~~
  294. 2019-09-17T20:29:02.744Z [err] /home/pi/.cache/node-gyp/10.15.2/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided
  295. 2019-09-17T20:29:02.744Z [err] Local<Int32> ToInt32(Isolate* isolate) const);
  296. 2019-09-17T20:29:02.744Z [err] ^~~~~~~
  297. 2019-09-17T20:29:02.744Z [err] /home/pi/.cache/node-gyp/10.15.2/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
  298. 2019-09-17T20:29:02.744Z [err] declarator __attribute__((deprecated(message)))
  299. 2019-09-17T20:29:02.744Z [err] ^~~~~~~~~~
  300. 2019-09-17T20:29:02.746Z [err] ../src/serialport.cpp:535:53: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
  301. 2019-09-17T20:29:02.746Z [err] v8::Local<v8::Object> options = info[1]->ToObject();
  302. 2019-09-17T20:29:02.746Z [err] ^
  303. 2019-09-17T20:29:02.748Z [err] In file included from /home/pi/.cache/node-gyp/10.15.2/include/node/node.h:63,
  304. 2019-09-17T20:29:02.748Z [err] from ../../nan/nan.h:54,
  305. 2019-09-17T20:29:02.748Z [err] from ../src/./serialport.h:7,
  306. 2019-09-17T20:29:02.748Z [err] from ../src/serialport.cpp:1:
  307. 2019-09-17T20:29:02.748Z [err] /home/pi/.cache/node-gyp/10.15.2/include/node/v8.h:10046:15: note: declared here
  308. 2019-09-17T20:29:02.748Z [err] Local<Object> Value::ToObject() const {
  309. 2019-09-17T20:29:02.748Z [err] ^~~~~
  310. 2019-09-17T20:29:02.754Z [err] ../src/serialport.cpp:545:36: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct SetBaton’ with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess]
  311. 2019-09-17T20:29:02.754Z [err] memset(baton, 0, sizeof(SetBaton));
  312. 2019-09-17T20:29:02.754Z [err] ^
  313. 2019-09-17T20:29:02.754Z [err] In file included from ../src/serialport.cpp:1:
  314. 2019-09-17T20:29:02.754Z [err] ../src/./serialport.h:174:8: note: ‘struct SetBaton’ declared here
  315. 2019-09-17T20:29:02.754Z [err] struct SetBaton {
  316. 2019-09-17T20:29:02.754Z [err] ^~~~~~~~
  317. 2019-09-17T20:29:02.768Z [err] ../src/serialport.cpp:556:68: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
  318. 2019-09-17T20:29:02.768Z [err] uv_queue_work(uv_default_loop(), req, EIO_Set, (uv_after_work_cb)EIO_AfterSet);
  319. 2019-09-17T20:29:02.768Z [err] ^~~~~~~~~~~~
  320. 2019-09-17T20:29:02.770Z [err] ../src/serialport.cpp: In function ‘void EIO_AfterSet(uv_work_t*)’:
  321. 2019-09-17T20:29:02.770Z [err] ../src/serialport.cpp:573:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
  322. 2019-09-17T20:29:02.770Z [err] data->callback.Call(1, argv);
  323. 2019-09-17T20:29:02.770Z [err] ^
  324. 2019-09-17T20:29:02.770Z [err] In file included from ../src/./serialport.h:7,
  325. 2019-09-17T20:29:02.770Z [err] from ../src/serialport.cpp:1:
  326. 2019-09-17T20:29:02.770Z [err] ../../nan/nan.h:1740:3: note: declared here
  327. 2019-09-17T20:29:02.770Z [err] Call(int argc, v8::Local<v8::Value> argv[]) const {
  328. 2019-09-17T20:29:02.770Z [err] ^~~~
  329. 2019-09-17T20:29:02.779Z [err] ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)’:
  330. 2019-09-17T20:29:02.779Z [err] ../src/serialport.cpp:585:29: error: no matching function for call to ‘v8::Value::ToInt32()’
  331. 2019-09-17T20:29:02.779Z [err] int fd = info[0]->ToInt32()->Int32Value();
  332. 2019-09-17T20:29:02.779Z [err] ^
  333. 2019-09-17T20:29:02.779Z [err] In file included from /home/pi/.cache/node-gyp/10.15.2/include/node/node.h:63,
  334. 2019-09-17T20:29:02.779Z [err] from ../../nan/nan.h:54,
  335. 2019-09-17T20:29:02.779Z [err] from ../src/./serialport.h:7,
  336. 2019-09-17T20:29:02.779Z [err] from ../src/serialport.cpp:1:
  337. 2019-09-17T20:29:02.779Z [err] /home/pi/.cache/node-gyp/10.15.2/include/node/v8.h:2437:43: note: candidate: ‘v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const’
  338. 2019-09-17T20:29:02.779Z [err] V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
  339. 2019-09-17T20:29:02.779Z [err] ^~~~~~~
  340. 2019-09-17T20:29:02.779Z [err] /home/pi/.cache/node-gyp/10.15.2/include/node/v8.h:2437:43: note: candidate expects 1 argument, 0 provided
  341. 2019-09-17T20:29:02.779Z [err] In file included from /home/pi/.cache/node-gyp/10.15.2/include/node/v8.h:26,
  342. 2019-09-17T20:29:02.779Z [err] from /home/pi/.cache/node-gyp/10.15.2/include/node/node.h:63,
  343. 2019-09-17T20:29:02.779Z [err] from ../../nan/nan.h:54,
  344. 2019-09-17T20:29:02.779Z [err] from ../src/./serialport.h:7,
  345. 2019-09-17T20:29:02.779Z [err] from ../src/serialport.cpp:1:
  346. 2019-09-17T20:29:02.779Z [err] /home/pi/.cache/node-gyp/10.15.2/include/node/v8.h:2450:30: note: candidate: ‘v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const’
  347. 2019-09-17T20:29:02.779Z [err] Local<Int32> ToInt32(Isolate* isolate) const);
  348. 2019-09-17T20:29:02.779Z [err] ^~~~~~~
  349. 2019-09-17T20:29:02.779Z [err] /home/pi/.cache/node-gyp/10.15.2/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
  350. 2019-09-17T20:29:02.779Z [err] declarator __attribute__((deprecated(message)))
  351. 2019-09-17T20:29:02.779Z [err] ^~~~~~~~~~
  352. 2019-09-17T20:29:02.779Z [err] /home/pi/.cache/node-gyp/10.15.2/include/node/v8.h:2450:30: note: candidate expects 1 argument, 0 provided
  353. 2019-09-17T20:29:02.779Z [err] Local<Int32> ToInt32(Isolate* isolate) const);
  354. 2019-09-17T20:29:02.779Z [err] ^~~~~~~
  355. 2019-09-17T20:29:02.779Z [err] /home/pi/.cache/node-gyp/10.15.2/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
  356. 2019-09-17T20:29:02.779Z [err] declarator __attribute__((deprecated(message)))
  357. 2019-09-17T20:29:02.779Z [err] ^~~~~~~~~~
  358. 2019-09-17T20:29:02.789Z [err] ../src/serialport.cpp:594:38: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct DrainBaton’ with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess]
  359. 2019-09-17T20:29:02.789Z [err] memset(baton, 0, sizeof(DrainBaton));
  360. 2019-09-17T20:29:02.789Z [err] ^
  361. 2019-09-17T20:29:02.789Z [err] In file included from ../src/serialport.cpp:1:
  362. 2019-09-17T20:29:02.789Z [err] ../src/./serialport.h:186:8: note: ‘struct DrainBaton’ declared here
  363. 2019-09-17T20:29:02.789Z [err] struct DrainBaton {
  364. 2019-09-17T20:29:02.789Z [err] ^~~~~~~~~~
  365. 2019-09-17T20:29:02.789Z [err] ../src/serialport.cpp:600:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
  366. 2019-09-17T20:29:02.789Z [err] uv_queue_work(uv_default_loop(), req, EIO_Drain, (uv_after_work_cb)EIO_AfterDrain);
  367. 2019-09-17T20:29:02.789Z [err] ^~~~~~~~~~~~~~
  368. 2019-09-17T20:29:02.818Z [err] ../src/serialport.cpp: In function ‘void EIO_AfterDrain(uv_work_t*)’:
  369. 2019-09-17T20:29:02.818Z [err] ../src/serialport.cpp:617:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
  370. 2019-09-17T20:29:02.818Z [err] data->callback.Call(1, argv);
  371. 2019-09-17T20:29:02.818Z [err] ^
  372. 2019-09-17T20:29:02.818Z [err] In file included from ../src/./serialport.h:7,
  373. 2019-09-17T20:29:02.818Z [err] from ../src/serialport.cpp:1:
  374. 2019-09-17T20:29:02.818Z [err] ../../nan/nan.h:1740:3: note: declared here
  375. 2019-09-17T20:29:02.818Z [err] Call(int argc, v8::Local<v8::Value> argv[]) const {
  376. 2019-09-17T20:29:02.818Z [err] ^~~~
  377. 2019-09-17T20:29:02.818Z [err] ../src/serialport.cpp: At global scope:
  378. 2019-09-17T20:29:02.818Z [err] ../src/serialport.cpp:623:28: warning: unnecessary parentheses in declaration of ‘ToParityEnum’ [-Wparentheses]
  379. 2019-09-17T20:29:02.818Z [err] SerialPortParity NAN_INLINE(ToParityEnum(const v8::Local<v8::String>& v8str)) {
  380. 2019-09-17T20:29:02.818Z [err] ^
  381. 2019-09-17T20:29:02.818Z [err] ../src/serialport.cpp:642:30: warning: unnecessary parentheses in declaration of ‘ToStopBitEnum’ [-Wparentheses]
  382. 2019-09-17T20:29:02.818Z [err] SerialPortStopBits NAN_INLINE(ToStopBitEnum(double stopBits)) {
  383. 2019-09-17T20:29:02.818Z [err] ^
  384. 2019-09-17T20:29:02.818Z [err] In file included from ../../nan/nan.h:54,
  385. 2019-09-17T20:29:02.818Z [err] from ../src/./serialport.h:7,
  386. 2019-09-17T20:29:02.818Z [err] from ../src/serialport.cpp:1:
  387. 2019-09-17T20:29:02.818Z [err] /home/pi/.cache/node-gyp/10.15.2/include/node/node.h:570:43: warning: cast between incompatible function types from ‘void (*)(v8::Handle<v8::Object>)’ {aka ‘void (*)(v8::Local<v8::Object>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
  388. 2019-09-17T20:29:02.818Z [err] (node::addon_register_func) (regfunc), \
  389. 2019-09-17T20:29:02.818Z [err] ^
  390. 2019-09-17T20:29:02.818Z [err] /home/pi/.cache/node-gyp/10.15.2/include/node/node.h:604:3: note: in expansion of macro ‘NODE_MODULE_X’
  391. 2019-09-17T20:29:02.818Z [err] NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
  392. 2019-09-17T20:29:02.818Z [err] ^~~~~~~~~~~~~
  393. 2019-09-17T20:29:02.818Z [err] ../src/serialport.cpp:670:1: note: in expansion of macro ‘NODE_MODULE’
  394. 2019-09-17T20:29:02.818Z [err] NODE_MODULE(serialport, init);
  395. 2019-09-17T20:29:02.818Z [err] ^~~~~~~~~~~
  396. 2019-09-17T20:29:03.092Z [err] In file included from /home/pi/.cache/node-gyp/10.15.2/include/node/node.h:63,
  397. 2019-09-17T20:29:03.092Z [err] from ../../nan/nan.h:54,
  398. 2019-09-17T20:29:03.092Z [err] from ../src/./serialport.h:7,
  399. 2019-09-17T20:29:03.092Z [err] from ../src/serialport.cpp:1:
  400. 2019-09-17T20:29:03.092Z [err] /home/pi/.cache/node-gyp/10.15.2/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
  401. 2019-09-17T20:29:03.092Z [err] /home/pi/.cache/node-gyp/10.15.2/include/node/node_object_wrap.h:85:78: required from here
  402. 2019-09-17T20:29:03.092Z [err] /home/pi/.cache/node-gyp/10.15.2/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
  403. 2019-09-17T20:29:03.092Z [err] reinterpret_cast<Callback>(callback), type);
  404. 2019-09-17T20:29:03.092Z [err] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  405. 2019-09-17T20:29:03.188Z [err] In file included from /home/pi/.cache/node-gyp/10.15.2/include/node/node.h:63,
  406. 2019-09-17T20:29:03.188Z [err] from ../../nan/nan.h:54,
  407. 2019-09-17T20:29:03.188Z [err] from ../src/./serialport.h:7,
  408. 2019-09-17T20:29:03.188Z [err] from ../src/serialport.cpp:1:
  409. 2019-09-17T20:29:03.188Z [err] /home/pi/.cache/node-gyp/10.15.2/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
  410. 2019-09-17T20:29:03.188Z [err] /home/pi/.cache/node-gyp/10.15.2/include/node/node_object_wrap.h:85:78: required from here
  411. 2019-09-17T20:29:03.188Z [err] /home/pi/.cache/node-gyp/10.15.2/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
  412. 2019-09-17T20:29:03.188Z [err] reinterpret_cast<Callback>(callback), type);
  413. 2019-09-17T20:29:03.188Z [err] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  414. 2019-09-17T20:29:03.233Z [err] /home/pi/.cache/node-gyp/10.15.2/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
  415. 2019-09-17T20:29:03.233Z [err] ../../nan/nan_object_wrap.h:65:61: required from here
  416. 2019-09-17T20:29:03.233Z [err] /home/pi/.cache/node-gyp/10.15.2/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
  417. 2019-09-17T20:29:03.327Z [err] /home/pi/.cache/node-gyp/10.15.2/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
  418. 2019-09-17T20:29:03.327Z [err] ../../nan/nan_object_wrap.h:65:61: required from here
  419. 2019-09-17T20:29:03.327Z [err] /home/pi/.cache/node-gyp/10.15.2/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
  420. 2019-09-17T20:29:05.168Z [err] make: *** [serialport.target.mk:103: Release/obj.target/serialport/src/serialport.o] Error 1
  421. 2019-09-17T20:29:05.170Z [out] make: Leaving directory '/home/pi/.node-red/node_modules/serialport/build'
  422. 2019-09-17T20:29:05.191Z [err] gyp
  423. 2019-09-17T20:29:05.205Z [err]
  424. 2019-09-17T20:29:05.206Z [err] ERR!
  425. 2019-09-17T20:29:05.207Z [err] build error
  426. 2019-09-17T20:29:05.221Z [err] gyp ERR! stack Error: `make` failed with exit code: 2
  427. 2019-09-17T20:29:05.221Z [err] gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:196:23)
  428. 2019-09-17T20:29:05.221Z [err] gyp ERR! stack at ChildProcess.emit (events.js:189:13)
  429. 2019-09-17T20:29:05.221Z [err] gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
  430. 2019-09-17T20:29:05.221Z [err] gyp ERR! System Linux 4.19.57-v7+
  431. 2019-09-17T20:29:05.223Z [err] gyp ERR!
  432. 2019-09-17T20:29:05.224Z [err] command "/usr/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/home/pi/.node-red/node_modules/serialport/build/Release/serialport.node" "--module_name=serialport" "--module_path=/home/pi/.node-red/node_modules/serialport/build/Release"
  433. 2019-09-17T20:29:05.225Z [err] gyp
  434. 2019-09-17T20:29:05.225Z [err] ERR! cwd /home/pi/.node-red/node_modules/serialport
  435. 2019-09-17T20:29:05.226Z [err] gyp
  436. 2019-09-17T20:29:05.227Z [err] ERR! node -v
  437. 2019-09-17T20:29:05.228Z [err] v10.15.2
  438. 2019-09-17T20:29:05.229Z [err] gyp ERR!
  439. 2019-09-17T20:29:05.230Z [err] node-gyp -v v5.0.3
  440. 2019-09-17T20:29:05.231Z [err] gyp ERR!
  441. 2019-09-17T20:29:05.232Z [err] not ok
  442. 2019-09-17T20:29:05.268Z [err] node-pre-gyp ERR! build error
  443. 2019-09-17T20:29:05.268Z [err] node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/pi/.node-red/node_modules/serialport/build/Release/serialport.node --module_name=serialport --module_path=/home/pi/.node-red/node_modules/serialport/build/Release' (1)
  444. 2019-09-17T20:29:05.268Z [err] node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/home/pi/.node-red/node_modules/serialport/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
  445. 2019-09-17T20:29:05.268Z [err] node-pre-gyp ERR! stack at ChildProcess.emit (events.js:189:13)
  446. 2019-09-17T20:29:05.268Z [err] node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:970:16)
  447. 2019-09-17T20:29:05.268Z [err] node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
  448. 2019-09-17T20:29:05.303Z [err] node-pre-gyp ERR! System Linux 4.19.57-v7+
  449. 2019-09-17T20:29:05.303Z [err] node-pre-gyp ERR! command "/usr/bin/node" "/home/pi/.node-red/node_modules/serialport/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
  450. 2019-09-17T20:29:05.303Z [err] node-pre-gyp ERR! cwd /home/pi/.node-red/node_modules/serialport
  451. 2019-09-17T20:29:05.303Z [err] node-pre-gyp ERR! node -v v10.15.2
  452. 2019-09-17T20:29:05.316Z [err] node-pre-gyp ERR! node-pre-gyp -v v0.6.32
  453. 2019-09-17T20:29:05.316Z [err] node-pre-gyp ERR! not ok
  454. 2019-09-17T20:29:05.318Z [out] Failed to execute '/usr/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/pi/.node-red/node_modules/serialport/build/Release/serialport.node --module_name=serialport --module_path=/home/pi/.node-red/node_modules/serialport/build/Release' (1)
  455. 2019-09-17T20:29:05.414Z [err] make: *** [serialport.target.mk:103: Release/obj.target/serialport/src/serialport.o] Error 1
  456. 2019-09-17T20:29:05.415Z [out] make: Leaving directory '/home/pi/.node-red/node_modules/serialport/build'
  457. 2019-09-17T20:29:05.453Z [err] gyp
  458. 2019-09-17T20:29:05.477Z [err] ERR! build error
  459. 2019-09-17T20:29:05.484Z [err] gyp ERR! stack Error: `make` failed with exit code: 2
  460. 2019-09-17T20:29:05.484Z [err] gyp ERR!
  461. 2019-09-17T20:29:05.485Z [err] stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:196:23)
  462. 2019-09-17T20:29:05.485Z [err] gyp ERR!
  463. 2019-09-17T20:29:05.486Z [err] stack at ChildProcess.emit (events.js:189:13)
  464. 2019-09-17T20:29:05.486Z [err] gyp
  465. 2019-09-17T20:29:05.488Z [err] ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
  466. 2019-09-17T20:29:05.496Z [err] gyp ERR! System Linux 4.19.57-v7+
  467. 2019-09-17T20:29:05.497Z [err] gyp
  468. 2019-09-17T20:29:05.498Z [err] ERR! command
  469. 2019-09-17T20:29:05.499Z [err] "/usr/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/home/pi/.node-red/node_modules/serialport/build/Release/serialport.node" "--module_name=serialport" "--module_path=/home/pi/.node-red/node_modules/serialport/build/Release"
  470. 2019-09-17T20:29:05.500Z [err] gyp ERR!
  471. 2019-09-17T20:29:05.500Z [err] cwd /home/pi/.node-red/node_modules/serialport
  472. 2019-09-17T20:29:05.501Z [err] gyp ERR!
  473. 2019-09-17T20:29:05.502Z [err] node -v v10.15.2
  474. 2019-09-17T20:29:05.502Z [err] gyp
  475. 2019-09-17T20:29:05.503Z [err] ERR! node-gyp -v v5.0.3
  476. 2019-09-17T20:29:05.526Z [err] gyp ERR! not ok
  477. 2019-09-17T20:29:16.094Z [err] npm
  478. 2019-09-17T20:29:16.095Z [err] ERR!
  479. 2019-09-17T20:29:16.095Z [err] code ELIFECYCLE
  480. 2019-09-17T20:29:16.099Z [err] npm ERR!
  481. 2019-09-17T20:29:16.103Z [err] errno 1
  482. 2019-09-17T20:29:16.116Z [err] npm
  483. 2019-09-17T20:29:16.117Z [err] ERR! serialport@4.0.7 install: `node-pre-gyp install --fallback-to-build`
  484. 2019-09-17T20:29:16.118Z [err] npm ERR!
  485. 2019-09-17T20:29:16.119Z [err] Exit status 1
  486. 2019-09-17T20:29:16.120Z [err] npm
  487. 2019-09-17T20:29:16.121Z [err] ERR!
  488. 2019-09-17T20:29:16.127Z [err] npm ERR! Failed at the serialport@4.0.7 install script.
  489. 2019-09-17T20:29:16.127Z [err] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
  490. 2019-09-17T20:29:16.758Z [err]
  491. 2019-09-17T20:29:16.760Z [err] npm ERR!
  492. 2019-09-17T20:29:16.761Z [err] A complete log of this run can be found in:
  493. 2019-09-17T20:29:16.761Z [err] npm ERR!
  494. 2019-09-17T20:29:16.762Z [err] /home/pi/.npm/_logs/2019-09-17T20_29_16_242Z-debug.log
  495. 2019-09-17T20:29:16.832Z rc=1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement