Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2019-09-17T20:29:02.557Z [err] In file included from /home/pi/.cache/node-gyp/10.15.2/include/node/v8.h:26,
- 2019-09-17T20:29:02.557Z [err] from /home/pi/.cache/node-gyp/10.15.2/include/node/node.h:63,
- 2019-09-17T20:29:02.557Z [err] from ../../nan/nan.h:54,
- 2019-09-17T20:29:02.557Z [err] from ../src/./serialport.h:7,
- 2019-09-17T20:29:02.557Z [err] from ../src/serialport.cpp:1:
- 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’
- 2019-09-17T20:29:02.557Z [err] Local<Int32> ToInt32(Isolate* isolate) const);
- 2019-09-17T20:29:02.557Z [err] ^~~~~~~
- 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’
- 2019-09-17T20:29:02.557Z [err] declarator __attribute__((deprecated(message)))
- 2019-09-17T20:29:02.557Z [err] ^~~~~~~~~~
- 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
- 2019-09-17T20:29:02.557Z [err] Local<Int32> ToInt32(Isolate* isolate) const);
- 2019-09-17T20:29:02.557Z [err] ^~~~~~~
- 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’
- 2019-09-17T20:29:02.557Z [err] declarator __attribute__((deprecated(message)))
- 2019-09-17T20:29:02.557Z [err] ^~~~~~~~~~
- 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]
- 2019-09-17T20:29:02.580Z [err] memset(baton, 0, sizeof(FlushBaton));
- 2019-09-17T20:29:02.580Z [err] ^
- 2019-09-17T20:29:02.580Z [err] In file included from ../src/serialport.cpp:1:
- 2019-09-17T20:29:02.580Z [err] ../src/./serialport.h:167:8: note: ‘struct FlushBaton’ declared here
- 2019-09-17T20:29:02.580Z [err] struct FlushBaton {
- 2019-09-17T20:29:02.580Z [err] ^~~~~~~~~~
- 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]
- 2019-09-17T20:29:02.580Z [err] uv_queue_work(uv_default_loop(), req, EIO_Flush, (uv_after_work_cb)EIO_AfterFlush);
- 2019-09-17T20:29:02.580Z [err] ^~~~~~~~~~~~~~
- 2019-09-17T20:29:02.580Z [err] ../src/serialport.cpp: In function ‘void EIO_AfterFlush(uv_work_t*)’:
- 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]
- 2019-09-17T20:29:02.580Z [err] data->callback.Call(2, argv);
- 2019-09-17T20:29:02.580Z [err] ^
- 2019-09-17T20:29:02.580Z [err] In file included from ../src/./serialport.h:7,
- 2019-09-17T20:29:02.580Z [err] from ../src/serialport.cpp:1:
- 2019-09-17T20:29:02.580Z [err] ../../nan/nan.h:1740:3: note: declared here
- 2019-09-17T20:29:02.580Z [err] Call(int argc, v8::Local<v8::Value> argv[]) const {
- 2019-09-17T20:29:02.580Z [err] ^~~~
- 2019-09-17T20:29:02.580Z [err] ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)’:
- 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]
- 2019-09-17T20:29:02.580Z [err] memset(baton, 0, sizeof(CloseBaton));
- 2019-09-17T20:29:02.580Z [err] ^
- 2019-09-17T20:29:02.580Z [err] In file included from ../src/serialport.cpp:1:
- 2019-09-17T20:29:02.580Z [err] ../src/./serialport.h:145:8: note: ‘struct CloseBaton’ declared here
- 2019-09-17T20:29:02.580Z [err] struct CloseBaton {
- 2019-09-17T20:29:02.580Z [err] ^~~~~~~~~~
- 2019-09-17T20:29:02.580Z [err] ../src/serialport.cpp:369:32: error: no matching function for call to ‘v8::Value::ToInt32()’
- 2019-09-17T20:29:02.580Z [err] baton->fd = info[0]->ToInt32()->Int32Value();
- 2019-09-17T20:29:02.580Z [err] ^
- 2019-09-17T20:29:02.580Z [err] In file included from /home/pi/.cache/node-gyp/10.15.2/include/node/node.h:63,
- 2019-09-17T20:29:02.580Z [err] from ../../nan/nan.h:54,
- 2019-09-17T20:29:02.580Z [err] from ../src/./serialport.h:7,
- 2019-09-17T20:29:02.580Z [err] from ../src/serialport.cpp:1:
- 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’
- 2019-09-17T20:29:02.580Z [err] V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
- 2019-09-17T20:29:02.580Z [err] ^~~~~~~
- 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
- 2019-09-17T20:29:02.580Z [err] ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:
- 2019-09-17T20:29:02.580Z [err] ../src/serialport.cpp:528:29: error: no matching function for call to ‘v8::Value::ToInt32()’
- 2019-09-17T20:29:02.580Z [err] int fd = info[0]->ToInt32()->Int32Value();
- 2019-09-17T20:29:02.580Z [err] ^
- 2019-09-17T20:29:02.580Z [err] In file included from /home/pi/.cache/node-gyp/10.15.2/include/node/v8.h:26,
- 2019-09-17T20:29:02.580Z [err] from /home/pi/.cache/node-gyp/10.15.2/include/node/node.h:63,
- 2019-09-17T20:29:02.580Z [err] from ../../nan/nan.h:54,
- 2019-09-17T20:29:02.580Z [err] from ../src/./serialport.h:7,
- 2019-09-17T20:29:02.580Z [err] from ../src/serialport.cpp:1:
- 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’
- 2019-09-17T20:29:02.580Z [err] Local<Int32> ToInt32(Isolate* isolate) const);
- 2019-09-17T20:29:02.580Z [err] ^~~~~~~
- 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’
- 2019-09-17T20:29:02.580Z [err] declarator __attribute__((deprecated(message)))
- 2019-09-17T20:29:02.580Z [err] ^~~~~~~~~~
- 2019-09-17T20:29:02.580Z [err] In file included from /home/pi/.cache/node-gyp/10.15.2/include/node/node.h:63,
- 2019-09-17T20:29:02.580Z [err] from ../../nan/nan.h:54,
- 2019-09-17T20:29:02.580Z [err] from ../src/./serialport.h:7,
- 2019-09-17T20:29:02.580Z [err] from ../src/serialport.cpp:1:
- 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’
- 2019-09-17T20:29:02.580Z [err] V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
- 2019-09-17T20:29:02.580Z [err] ^~~~~~~
- 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
- 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
- 2019-09-17T20:29:02.580Z [err] Local<Int32> ToInt32(Isolate* isolate) const);
- 2019-09-17T20:29:02.580Z [err] ^~~~~~~
- 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’
- 2019-09-17T20:29:02.580Z [err] declarator __attribute__((deprecated(message)))
- 2019-09-17T20:29:02.580Z [err] ^~~~~~~~~~
- 2019-09-17T20:29:02.580Z [err] In file included from /home/pi/.cache/node-gyp/10.15.2/include/node/v8.h:26,
- 2019-09-17T20:29:02.580Z [err] from /home/pi/.cache/node-gyp/10.15.2/include/node/node.h:63,
- 2019-09-17T20:29:02.580Z [err] from ../../nan/nan.h:54,
- 2019-09-17T20:29:02.580Z [err] from ../src/./serialport.h:7,
- 2019-09-17T20:29:02.580Z [err] from ../src/serialport.cpp:1:
- 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’
- 2019-09-17T20:29:02.580Z [err] Local<Int32> ToInt32(Isolate* isolate) const);
- 2019-09-17T20:29:02.580Z [err] ^~~~~~~
- 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’
- 2019-09-17T20:29:02.580Z [err] declarator __attribute__((deprecated(message)))
- 2019-09-17T20:29:02.580Z [err] ^~~~~~~~~~
- 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
- 2019-09-17T20:29:02.584Z [err] Local<Int32> ToInt32(Isolate* isolate) const);
- 2019-09-17T20:29:02.584Z [err] ^~~~~~~
- 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’
- 2019-09-17T20:29:02.584Z [err] declarator __attribute__((deprecated(message)))
- 2019-09-17T20:29:02.584Z [err] ^~~~~~~~~~
- 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]
- 2019-09-17T20:29:02.584Z [err] v8::Local<v8::Object> options = info[1]->ToObject();
- 2019-09-17T20:29:02.584Z [err] ^
- 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]
- 2019-09-17T20:29:02.584Z [err] uv_queue_work(uv_default_loop(), req, EIO_Close, (uv_after_work_cb)EIO_AfterClose);
- 2019-09-17T20:29:02.584Z [err] ^~~~~~~~~~~~~~
- 2019-09-17T20:29:02.584Z [err] In file included from /home/pi/.cache/node-gyp/10.15.2/include/node/node.h:63,
- 2019-09-17T20:29:02.584Z [err] from ../../nan/nan.h:54,
- 2019-09-17T20:29:02.584Z [err] from ../src/./serialport.h:7,
- 2019-09-17T20:29:02.584Z [err] from ../src/serialport.cpp:1:
- 2019-09-17T20:29:02.584Z [err] /home/pi/.cache/node-gyp/10.15.2/include/node/v8.h:10046:15: note: declared here
- 2019-09-17T20:29:02.584Z [err] Local<Object> Value::ToObject() const {
- 2019-09-17T20:29:02.584Z [err] ^~~~~
- 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]
- 2019-09-17T20:29:02.590Z [err] memset(baton, 0, sizeof(SetBaton));
- 2019-09-17T20:29:02.590Z [err] ^
- 2019-09-17T20:29:02.591Z [err] In file included from ../src/serialport.cpp:1:
- 2019-09-17T20:29:02.591Z [err] ../src/./serialport.h:174:8: note: ‘struct SetBaton’ declared here
- 2019-09-17T20:29:02.591Z [err] struct SetBaton {
- 2019-09-17T20:29:02.591Z [err] ^~~~~~~~
- 2019-09-17T20:29:02.595Z [err] ../src/serialport.cpp: In function ‘void EIO_AfterClose(uv_work_t*)’:
- 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]
- 2019-09-17T20:29:02.595Z [err] data->callback.Call(1, argv);
- 2019-09-17T20:29:02.595Z [err] ^
- 2019-09-17T20:29:02.595Z [err] In file included from ../src/./serialport.h:7,
- 2019-09-17T20:29:02.595Z [err] from ../src/serialport.cpp:1:
- 2019-09-17T20:29:02.595Z [err] ../../nan/nan.h:1740:3: note: declared here
- 2019-09-17T20:29:02.595Z [err] Call(int argc, v8::Local<v8::Value> argv[]) const {
- 2019-09-17T20:29:02.595Z [err] ^~~~
- 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]
- 2019-09-17T20:29:02.613Z [err] uv_queue_work(uv_default_loop(), req, EIO_Set, (uv_after_work_cb)EIO_AfterSet);
- 2019-09-17T20:29:02.613Z [err] ^~~~~~~~~~~~
- 2019-09-17T20:29:02.627Z [err] ../src/serialport.cpp: In function ‘void EIO_AfterSet(uv_work_t*)’:
- 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]
- 2019-09-17T20:29:02.627Z [err] data->callback.Call(1, argv);
- 2019-09-17T20:29:02.627Z [err] ^
- 2019-09-17T20:29:02.627Z [err] In file included from ../src/./serialport.h:7,
- 2019-09-17T20:29:02.627Z [err] from ../src/serialport.cpp:1:
- 2019-09-17T20:29:02.627Z [err] ../../nan/nan.h:1740:3: note: declared here
- 2019-09-17T20:29:02.627Z [err] Call(int argc, v8::Local<v8::Value> argv[]) const {
- 2019-09-17T20:29:02.627Z [err] ^~~~
- 2019-09-17T20:29:02.627Z [err] ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)’:
- 2019-09-17T20:29:02.627Z [err] ../src/serialport.cpp:585:29: error: no matching function for call to ‘v8::Value::ToInt32()’
- 2019-09-17T20:29:02.627Z [err] int fd = info[0]->ToInt32()->Int32Value();
- 2019-09-17T20:29:02.627Z [err] ^
- 2019-09-17T20:29:02.629Z [err] In file included from /home/pi/.cache/node-gyp/10.15.2/include/node/node.h:63,
- 2019-09-17T20:29:02.629Z [err] from ../../nan/nan.h:54,
- 2019-09-17T20:29:02.629Z [err] from ../src/./serialport.h:7,
- 2019-09-17T20:29:02.629Z [err] from ../src/serialport.cpp:1:
- 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’
- 2019-09-17T20:29:02.629Z [err] V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
- 2019-09-17T20:29:02.629Z [err] ^~~~~~~
- 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
- 2019-09-17T20:29:02.639Z [err] ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE List(Nan::NAN_METHOD_ARGS_TYPE)’:
- 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]
- 2019-09-17T20:29:02.639Z [err] uv_queue_work(uv_default_loop(), req, EIO_List, (uv_after_work_cb)EIO_AfterList);
- 2019-09-17T20:29:02.639Z [err] ^~~~~~~~~~~~~
- 2019-09-17T20:29:02.639Z [err] In file included from /home/pi/.cache/node-gyp/10.15.2/include/node/v8.h:26,
- 2019-09-17T20:29:02.639Z [err] from /home/pi/.cache/node-gyp/10.15.2/include/node/node.h:63,
- 2019-09-17T20:29:02.639Z [err] from ../../nan/nan.h:54,
- 2019-09-17T20:29:02.639Z [err] from ../src/./serialport.h:7,
- 2019-09-17T20:29:02.639Z [err] from ../src/serialport.cpp:1:
- 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’
- 2019-09-17T20:29:02.639Z [err] Local<Int32> ToInt32(Isolate* isolate) const);
- 2019-09-17T20:29:02.639Z [err] ^~~~~~~
- 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’
- 2019-09-17T20:29:02.639Z [err] declarator __attribute__((deprecated(message)))
- 2019-09-17T20:29:02.639Z [err] ^~~~~~~~~~
- 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
- 2019-09-17T20:29:02.639Z [err] Local<Int32> ToInt32(Isolate* isolate) const);
- 2019-09-17T20:29:02.639Z [err] ^~~~~~~
- 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’
- 2019-09-17T20:29:02.639Z [err] declarator __attribute__((deprecated(message)))
- 2019-09-17T20:29:02.639Z [err] ^~~~~~~~~~
- 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]
- 2019-09-17T20:29:02.639Z [err] memset(baton, 0, sizeof(DrainBaton));
- 2019-09-17T20:29:02.639Z [err] ^
- 2019-09-17T20:29:02.639Z [err] In file included from ../src/serialport.cpp:1:
- 2019-09-17T20:29:02.639Z [err] ../src/./serialport.h:186:8: note: ‘struct DrainBaton’ declared here
- 2019-09-17T20:29:02.639Z [err] struct DrainBaton {
- 2019-09-17T20:29:02.639Z [err] ^~~~~~~~~~
- 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]
- 2019-09-17T20:29:02.650Z [err] uv_queue_work(uv_default_loop(), req, EIO_Drain, (uv_after_work_cb)EIO_AfterDrain);
- 2019-09-17T20:29:02.650Z [err] ^~~~~~~~~~~~~~
- 2019-09-17T20:29:02.666Z [err] ../src/serialport.cpp: In function ‘void EIO_AfterDrain(uv_work_t*)’:
- 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]
- 2019-09-17T20:29:02.666Z [err] data->callback.Call(1, argv);
- 2019-09-17T20:29:02.666Z [err] ^
- 2019-09-17T20:29:02.666Z [err] In file included from ../src/./serialport.h:7,
- 2019-09-17T20:29:02.666Z [err] from ../src/serialport.cpp:1:
- 2019-09-17T20:29:02.666Z [err] ../../nan/nan.h:1740:3: note: declared here
- 2019-09-17T20:29:02.666Z [err] Call(int argc, v8::Local<v8::Value> argv[]) const {
- 2019-09-17T20:29:02.666Z [err] ^~~~
- 2019-09-17T20:29:02.666Z [err] ../src/serialport.cpp: At global scope:
- 2019-09-17T20:29:02.666Z [err] ../src/serialport.cpp:623:28: warning: unnecessary parentheses in declaration of ‘ToParityEnum’ [-Wparentheses]
- 2019-09-17T20:29:02.666Z [err] SerialPortParity NAN_INLINE(ToParityEnum(const v8::Local<v8::String>& v8str)) {
- 2019-09-17T20:29:02.666Z [err] ^
- 2019-09-17T20:29:02.687Z [err] ../src/serialport.cpp:642:30: warning: unnecessary parentheses in declaration of ‘ToStopBitEnum’ [-Wparentheses]
- 2019-09-17T20:29:02.687Z [err] SerialPortStopBits NAN_INLINE(ToStopBitEnum(double stopBits)) {
- 2019-09-17T20:29:02.687Z [err] ^
- 2019-09-17T20:29:02.687Z [err] In file included from ../../nan/nan.h:54,
- 2019-09-17T20:29:02.687Z [err] from ../src/./serialport.h:7,
- 2019-09-17T20:29:02.687Z [err] from ../src/serialport.cpp:1:
- 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]
- 2019-09-17T20:29:02.687Z [err] (node::addon_register_func) (regfunc), \
- 2019-09-17T20:29:02.687Z [err] ^
- 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’
- 2019-09-17T20:29:02.687Z [err] NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
- 2019-09-17T20:29:02.687Z [err] ^~~~~~~~~~~~~
- 2019-09-17T20:29:02.687Z [err] ../src/serialport.cpp:670:1: note: in expansion of macro ‘NODE_MODULE’
- 2019-09-17T20:29:02.687Z [err] NODE_MODULE(serialport, init);
- 2019-09-17T20:29:02.687Z [err] ^~~~~~~~~~~
- 2019-09-17T20:29:02.702Z [err] ../src/serialport.cpp: In function ‘void EIO_AfterList(uv_work_t*)’:
- 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]
- 2019-09-17T20:29:02.702Z [err] data->callback.Call(2, argv);
- 2019-09-17T20:29:02.702Z [err] ^
- 2019-09-17T20:29:02.702Z [err] In file included from ../src/./serialport.h:7,
- 2019-09-17T20:29:02.702Z [err] from ../src/serialport.cpp:1:
- 2019-09-17T20:29:02.702Z [err] ../../nan/nan.h:1740:3: note: declared here
- 2019-09-17T20:29:02.702Z [err] Call(int argc, v8::Local<v8::Value> argv[]) const {
- 2019-09-17T20:29:02.702Z [err] ^~~~
- 2019-09-17T20:29:02.735Z [err] ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)’:
- 2019-09-17T20:29:02.735Z [err] ../src/serialport.cpp:480:29: error: no matching function for call to ‘v8::Value::ToInt32()’
- 2019-09-17T20:29:02.735Z [err] int fd = info[0]->ToInt32()->Int32Value();
- 2019-09-17T20:29:02.735Z [err] ^
- 2019-09-17T20:29:02.735Z [err] In file included from /home/pi/.cache/node-gyp/10.15.2/include/node/node.h:63,
- 2019-09-17T20:29:02.735Z [err] from ../../nan/nan.h:54,
- 2019-09-17T20:29:02.735Z [err] from ../src/./serialport.h:7,
- 2019-09-17T20:29:02.735Z [err] from ../src/serialport.cpp:1:
- 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’
- 2019-09-17T20:29:02.735Z [err] V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
- 2019-09-17T20:29:02.735Z [err] ^~~~~~~
- 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
- 2019-09-17T20:29:02.735Z [err] In file included from /home/pi/.cache/node-gyp/10.15.2/include/node/v8.h:26,
- 2019-09-17T20:29:02.735Z [err] from /home/pi/.cache/node-gyp/10.15.2/include/node/node.h:63,
- 2019-09-17T20:29:02.735Z [err] from ../../nan/nan.h:54,
- 2019-09-17T20:29:02.735Z [err] from ../src/./serialport.h:7,
- 2019-09-17T20:29:02.735Z [err] from ../src/serialport.cpp:1:
- 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’
- 2019-09-17T20:29:02.735Z [err] Local<Int32> ToInt32(Isolate* isolate) const);
- 2019-09-17T20:29:02.735Z [err] ^~~~~~~
- 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’
- 2019-09-17T20:29:02.735Z [err] declarator __attribute__((deprecated(message)))
- 2019-09-17T20:29:02.735Z [err] ^~~~~~~~~~
- 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
- 2019-09-17T20:29:02.735Z [err] Local<Int32> ToInt32(Isolate* isolate) const);
- 2019-09-17T20:29:02.735Z [err] ^~~~~~~
- 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’
- 2019-09-17T20:29:02.735Z [err] declarator __attribute__((deprecated(message)))
- 2019-09-17T20:29:02.735Z [err] ^~~~~~~~~~
- 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]
- 2019-09-17T20:29:02.735Z [err] memset(baton, 0, sizeof(FlushBaton));
- 2019-09-17T20:29:02.735Z [err] ^
- 2019-09-17T20:29:02.735Z [err] In file included from ../src/serialport.cpp:1:
- 2019-09-17T20:29:02.735Z [err] ../src/./serialport.h:167:8: note: ‘struct FlushBaton’ declared here
- 2019-09-17T20:29:02.735Z [err] struct FlushBaton {
- 2019-09-17T20:29:02.735Z [err] ^~~~~~~~~~
- 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]
- 2019-09-17T20:29:02.735Z [err] uv_queue_work(uv_default_loop(), req, EIO_Flush, (uv_after_work_cb)EIO_AfterFlush);
- 2019-09-17T20:29:02.735Z [err] ^~~~~~~~~~~~~~
- 2019-09-17T20:29:02.738Z [err] ../src/serialport.cpp: In function ‘void EIO_AfterFlush(uv_work_t*)’:
- 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]
- 2019-09-17T20:29:02.738Z [err] data->callback.Call(2, argv);
- 2019-09-17T20:29:02.738Z [err] ^
- 2019-09-17T20:29:02.738Z [err] In file included from ../src/./serialport.h:7,
- 2019-09-17T20:29:02.738Z [err] from ../src/serialport.cpp:1:
- 2019-09-17T20:29:02.738Z [err] ../../nan/nan.h:1740:3: note: declared here
- 2019-09-17T20:29:02.738Z [err] Call(int argc, v8::Local<v8::Value> argv[]) const {
- 2019-09-17T20:29:02.738Z [err] ^~~~
- 2019-09-17T20:29:02.742Z [err] ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:
- 2019-09-17T20:29:02.742Z [err] ../src/serialport.cpp:528:29: error: no matching function for call to ‘v8::Value::ToInt32()’
- 2019-09-17T20:29:02.742Z [err] int fd = info[0]->ToInt32()->Int32Value();
- 2019-09-17T20:29:02.742Z [err] ^
- 2019-09-17T20:29:02.744Z [err] In file included from /home/pi/.cache/node-gyp/10.15.2/include/node/node.h:63,
- 2019-09-17T20:29:02.744Z [err] from ../../nan/nan.h:54,
- 2019-09-17T20:29:02.744Z [err] from ../src/./serialport.h:7,
- 2019-09-17T20:29:02.744Z [err] from ../src/serialport.cpp:1:
- 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’
- 2019-09-17T20:29:02.744Z [err] V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
- 2019-09-17T20:29:02.744Z [err] ^~~~~~~
- 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
- 2019-09-17T20:29:02.744Z [err] In file included from /home/pi/.cache/node-gyp/10.15.2/include/node/v8.h:26,
- 2019-09-17T20:29:02.744Z [err] from /home/pi/.cache/node-gyp/10.15.2/include/node/node.h:63,
- 2019-09-17T20:29:02.744Z [err] from ../../nan/nan.h:54,
- 2019-09-17T20:29:02.744Z [err] from ../src/./serialport.h:7,
- 2019-09-17T20:29:02.744Z [err] from ../src/serialport.cpp:1:
- 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’
- 2019-09-17T20:29:02.744Z [err] Local<Int32> ToInt32(Isolate* isolate) const);
- 2019-09-17T20:29:02.744Z [err] ^~~~~~~
- 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’
- 2019-09-17T20:29:02.744Z [err] declarator __attribute__((deprecated(message)))
- 2019-09-17T20:29:02.744Z [err] ^~~~~~~~~~
- 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
- 2019-09-17T20:29:02.744Z [err] Local<Int32> ToInt32(Isolate* isolate) const);
- 2019-09-17T20:29:02.744Z [err] ^~~~~~~
- 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’
- 2019-09-17T20:29:02.744Z [err] declarator __attribute__((deprecated(message)))
- 2019-09-17T20:29:02.744Z [err] ^~~~~~~~~~
- 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]
- 2019-09-17T20:29:02.746Z [err] v8::Local<v8::Object> options = info[1]->ToObject();
- 2019-09-17T20:29:02.746Z [err] ^
- 2019-09-17T20:29:02.748Z [err] In file included from /home/pi/.cache/node-gyp/10.15.2/include/node/node.h:63,
- 2019-09-17T20:29:02.748Z [err] from ../../nan/nan.h:54,
- 2019-09-17T20:29:02.748Z [err] from ../src/./serialport.h:7,
- 2019-09-17T20:29:02.748Z [err] from ../src/serialport.cpp:1:
- 2019-09-17T20:29:02.748Z [err] /home/pi/.cache/node-gyp/10.15.2/include/node/v8.h:10046:15: note: declared here
- 2019-09-17T20:29:02.748Z [err] Local<Object> Value::ToObject() const {
- 2019-09-17T20:29:02.748Z [err] ^~~~~
- 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]
- 2019-09-17T20:29:02.754Z [err] memset(baton, 0, sizeof(SetBaton));
- 2019-09-17T20:29:02.754Z [err] ^
- 2019-09-17T20:29:02.754Z [err] In file included from ../src/serialport.cpp:1:
- 2019-09-17T20:29:02.754Z [err] ../src/./serialport.h:174:8: note: ‘struct SetBaton’ declared here
- 2019-09-17T20:29:02.754Z [err] struct SetBaton {
- 2019-09-17T20:29:02.754Z [err] ^~~~~~~~
- 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]
- 2019-09-17T20:29:02.768Z [err] uv_queue_work(uv_default_loop(), req, EIO_Set, (uv_after_work_cb)EIO_AfterSet);
- 2019-09-17T20:29:02.768Z [err] ^~~~~~~~~~~~
- 2019-09-17T20:29:02.770Z [err] ../src/serialport.cpp: In function ‘void EIO_AfterSet(uv_work_t*)’:
- 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]
- 2019-09-17T20:29:02.770Z [err] data->callback.Call(1, argv);
- 2019-09-17T20:29:02.770Z [err] ^
- 2019-09-17T20:29:02.770Z [err] In file included from ../src/./serialport.h:7,
- 2019-09-17T20:29:02.770Z [err] from ../src/serialport.cpp:1:
- 2019-09-17T20:29:02.770Z [err] ../../nan/nan.h:1740:3: note: declared here
- 2019-09-17T20:29:02.770Z [err] Call(int argc, v8::Local<v8::Value> argv[]) const {
- 2019-09-17T20:29:02.770Z [err] ^~~~
- 2019-09-17T20:29:02.779Z [err] ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)’:
- 2019-09-17T20:29:02.779Z [err] ../src/serialport.cpp:585:29: error: no matching function for call to ‘v8::Value::ToInt32()’
- 2019-09-17T20:29:02.779Z [err] int fd = info[0]->ToInt32()->Int32Value();
- 2019-09-17T20:29:02.779Z [err] ^
- 2019-09-17T20:29:02.779Z [err] In file included from /home/pi/.cache/node-gyp/10.15.2/include/node/node.h:63,
- 2019-09-17T20:29:02.779Z [err] from ../../nan/nan.h:54,
- 2019-09-17T20:29:02.779Z [err] from ../src/./serialport.h:7,
- 2019-09-17T20:29:02.779Z [err] from ../src/serialport.cpp:1:
- 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’
- 2019-09-17T20:29:02.779Z [err] V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
- 2019-09-17T20:29:02.779Z [err] ^~~~~~~
- 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
- 2019-09-17T20:29:02.779Z [err] In file included from /home/pi/.cache/node-gyp/10.15.2/include/node/v8.h:26,
- 2019-09-17T20:29:02.779Z [err] from /home/pi/.cache/node-gyp/10.15.2/include/node/node.h:63,
- 2019-09-17T20:29:02.779Z [err] from ../../nan/nan.h:54,
- 2019-09-17T20:29:02.779Z [err] from ../src/./serialport.h:7,
- 2019-09-17T20:29:02.779Z [err] from ../src/serialport.cpp:1:
- 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’
- 2019-09-17T20:29:02.779Z [err] Local<Int32> ToInt32(Isolate* isolate) const);
- 2019-09-17T20:29:02.779Z [err] ^~~~~~~
- 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’
- 2019-09-17T20:29:02.779Z [err] declarator __attribute__((deprecated(message)))
- 2019-09-17T20:29:02.779Z [err] ^~~~~~~~~~
- 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
- 2019-09-17T20:29:02.779Z [err] Local<Int32> ToInt32(Isolate* isolate) const);
- 2019-09-17T20:29:02.779Z [err] ^~~~~~~
- 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’
- 2019-09-17T20:29:02.779Z [err] declarator __attribute__((deprecated(message)))
- 2019-09-17T20:29:02.779Z [err] ^~~~~~~~~~
- 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]
- 2019-09-17T20:29:02.789Z [err] memset(baton, 0, sizeof(DrainBaton));
- 2019-09-17T20:29:02.789Z [err] ^
- 2019-09-17T20:29:02.789Z [err] In file included from ../src/serialport.cpp:1:
- 2019-09-17T20:29:02.789Z [err] ../src/./serialport.h:186:8: note: ‘struct DrainBaton’ declared here
- 2019-09-17T20:29:02.789Z [err] struct DrainBaton {
- 2019-09-17T20:29:02.789Z [err] ^~~~~~~~~~
- 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]
- 2019-09-17T20:29:02.789Z [err] uv_queue_work(uv_default_loop(), req, EIO_Drain, (uv_after_work_cb)EIO_AfterDrain);
- 2019-09-17T20:29:02.789Z [err] ^~~~~~~~~~~~~~
- 2019-09-17T20:29:02.818Z [err] ../src/serialport.cpp: In function ‘void EIO_AfterDrain(uv_work_t*)’:
- 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]
- 2019-09-17T20:29:02.818Z [err] data->callback.Call(1, argv);
- 2019-09-17T20:29:02.818Z [err] ^
- 2019-09-17T20:29:02.818Z [err] In file included from ../src/./serialport.h:7,
- 2019-09-17T20:29:02.818Z [err] from ../src/serialport.cpp:1:
- 2019-09-17T20:29:02.818Z [err] ../../nan/nan.h:1740:3: note: declared here
- 2019-09-17T20:29:02.818Z [err] Call(int argc, v8::Local<v8::Value> argv[]) const {
- 2019-09-17T20:29:02.818Z [err] ^~~~
- 2019-09-17T20:29:02.818Z [err] ../src/serialport.cpp: At global scope:
- 2019-09-17T20:29:02.818Z [err] ../src/serialport.cpp:623:28: warning: unnecessary parentheses in declaration of ‘ToParityEnum’ [-Wparentheses]
- 2019-09-17T20:29:02.818Z [err] SerialPortParity NAN_INLINE(ToParityEnum(const v8::Local<v8::String>& v8str)) {
- 2019-09-17T20:29:02.818Z [err] ^
- 2019-09-17T20:29:02.818Z [err] ../src/serialport.cpp:642:30: warning: unnecessary parentheses in declaration of ‘ToStopBitEnum’ [-Wparentheses]
- 2019-09-17T20:29:02.818Z [err] SerialPortStopBits NAN_INLINE(ToStopBitEnum(double stopBits)) {
- 2019-09-17T20:29:02.818Z [err] ^
- 2019-09-17T20:29:02.818Z [err] In file included from ../../nan/nan.h:54,
- 2019-09-17T20:29:02.818Z [err] from ../src/./serialport.h:7,
- 2019-09-17T20:29:02.818Z [err] from ../src/serialport.cpp:1:
- 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]
- 2019-09-17T20:29:02.818Z [err] (node::addon_register_func) (regfunc), \
- 2019-09-17T20:29:02.818Z [err] ^
- 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’
- 2019-09-17T20:29:02.818Z [err] NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
- 2019-09-17T20:29:02.818Z [err] ^~~~~~~~~~~~~
- 2019-09-17T20:29:02.818Z [err] ../src/serialport.cpp:670:1: note: in expansion of macro ‘NODE_MODULE’
- 2019-09-17T20:29:02.818Z [err] NODE_MODULE(serialport, init);
- 2019-09-17T20:29:02.818Z [err] ^~~~~~~~~~~
- 2019-09-17T20:29:03.092Z [err] In file included from /home/pi/.cache/node-gyp/10.15.2/include/node/node.h:63,
- 2019-09-17T20:29:03.092Z [err] from ../../nan/nan.h:54,
- 2019-09-17T20:29:03.092Z [err] from ../src/./serialport.h:7,
- 2019-09-17T20:29:03.092Z [err] from ../src/serialport.cpp:1:
- 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>&)]’:
- 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
- 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]
- 2019-09-17T20:29:03.092Z [err] reinterpret_cast<Callback>(callback), type);
- 2019-09-17T20:29:03.092Z [err] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 2019-09-17T20:29:03.188Z [err] In file included from /home/pi/.cache/node-gyp/10.15.2/include/node/node.h:63,
- 2019-09-17T20:29:03.188Z [err] from ../../nan/nan.h:54,
- 2019-09-17T20:29:03.188Z [err] from ../src/./serialport.h:7,
- 2019-09-17T20:29:03.188Z [err] from ../src/serialport.cpp:1:
- 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>&)]’:
- 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
- 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]
- 2019-09-17T20:29:03.188Z [err] reinterpret_cast<Callback>(callback), type);
- 2019-09-17T20:29:03.188Z [err] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 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>&)]’:
- 2019-09-17T20:29:03.233Z [err] ../../nan/nan_object_wrap.h:65:61: required from here
- 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]
- 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>&)]’:
- 2019-09-17T20:29:03.327Z [err] ../../nan/nan_object_wrap.h:65:61: required from here
- 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]
- 2019-09-17T20:29:05.168Z [err] make: *** [serialport.target.mk:103: Release/obj.target/serialport/src/serialport.o] Error 1
- 2019-09-17T20:29:05.170Z [out] make: Leaving directory '/home/pi/.node-red/node_modules/serialport/build'
- 2019-09-17T20:29:05.191Z [err] gyp
- 2019-09-17T20:29:05.205Z [err]
- 2019-09-17T20:29:05.206Z [err] ERR!
- 2019-09-17T20:29:05.207Z [err] build error
- 2019-09-17T20:29:05.221Z [err] gyp ERR! stack Error: `make` failed with exit code: 2
- 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)
- 2019-09-17T20:29:05.221Z [err] gyp ERR! stack at ChildProcess.emit (events.js:189:13)
- 2019-09-17T20:29:05.221Z [err] gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
- 2019-09-17T20:29:05.221Z [err] gyp ERR! System Linux 4.19.57-v7+
- 2019-09-17T20:29:05.223Z [err] gyp ERR!
- 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"
- 2019-09-17T20:29:05.225Z [err] gyp
- 2019-09-17T20:29:05.225Z [err] ERR! cwd /home/pi/.node-red/node_modules/serialport
- 2019-09-17T20:29:05.226Z [err] gyp
- 2019-09-17T20:29:05.227Z [err] ERR! node -v
- 2019-09-17T20:29:05.228Z [err] v10.15.2
- 2019-09-17T20:29:05.229Z [err] gyp ERR!
- 2019-09-17T20:29:05.230Z [err] node-gyp -v v5.0.3
- 2019-09-17T20:29:05.231Z [err] gyp ERR!
- 2019-09-17T20:29:05.232Z [err] not ok
- 2019-09-17T20:29:05.268Z [err] node-pre-gyp ERR! build error
- 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)
- 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)
- 2019-09-17T20:29:05.268Z [err] node-pre-gyp ERR! stack at ChildProcess.emit (events.js:189:13)
- 2019-09-17T20:29:05.268Z [err] node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:970:16)
- 2019-09-17T20:29:05.268Z [err] node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
- 2019-09-17T20:29:05.303Z [err] node-pre-gyp ERR! System Linux 4.19.57-v7+
- 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"
- 2019-09-17T20:29:05.303Z [err] node-pre-gyp ERR! cwd /home/pi/.node-red/node_modules/serialport
- 2019-09-17T20:29:05.303Z [err] node-pre-gyp ERR! node -v v10.15.2
- 2019-09-17T20:29:05.316Z [err] node-pre-gyp ERR! node-pre-gyp -v v0.6.32
- 2019-09-17T20:29:05.316Z [err] node-pre-gyp ERR! not ok
- 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)
- 2019-09-17T20:29:05.414Z [err] make: *** [serialport.target.mk:103: Release/obj.target/serialport/src/serialport.o] Error 1
- 2019-09-17T20:29:05.415Z [out] make: Leaving directory '/home/pi/.node-red/node_modules/serialport/build'
- 2019-09-17T20:29:05.453Z [err] gyp
- 2019-09-17T20:29:05.477Z [err] ERR! build error
- 2019-09-17T20:29:05.484Z [err] gyp ERR! stack Error: `make` failed with exit code: 2
- 2019-09-17T20:29:05.484Z [err] gyp ERR!
- 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)
- 2019-09-17T20:29:05.485Z [err] gyp ERR!
- 2019-09-17T20:29:05.486Z [err] stack at ChildProcess.emit (events.js:189:13)
- 2019-09-17T20:29:05.486Z [err] gyp
- 2019-09-17T20:29:05.488Z [err] ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
- 2019-09-17T20:29:05.496Z [err] gyp ERR! System Linux 4.19.57-v7+
- 2019-09-17T20:29:05.497Z [err] gyp
- 2019-09-17T20:29:05.498Z [err] ERR! command
- 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"
- 2019-09-17T20:29:05.500Z [err] gyp ERR!
- 2019-09-17T20:29:05.500Z [err] cwd /home/pi/.node-red/node_modules/serialport
- 2019-09-17T20:29:05.501Z [err] gyp ERR!
- 2019-09-17T20:29:05.502Z [err] node -v v10.15.2
- 2019-09-17T20:29:05.502Z [err] gyp
- 2019-09-17T20:29:05.503Z [err] ERR! node-gyp -v v5.0.3
- 2019-09-17T20:29:05.526Z [err] gyp ERR! not ok
- 2019-09-17T20:29:16.094Z [err] npm
- 2019-09-17T20:29:16.095Z [err] ERR!
- 2019-09-17T20:29:16.095Z [err] code ELIFECYCLE
- 2019-09-17T20:29:16.099Z [err] npm ERR!
- 2019-09-17T20:29:16.103Z [err] errno 1
- 2019-09-17T20:29:16.116Z [err] npm
- 2019-09-17T20:29:16.117Z [err] ERR! serialport@4.0.7 install: `node-pre-gyp install --fallback-to-build`
- 2019-09-17T20:29:16.118Z [err] npm ERR!
- 2019-09-17T20:29:16.119Z [err] Exit status 1
- 2019-09-17T20:29:16.120Z [err] npm
- 2019-09-17T20:29:16.121Z [err] ERR!
- 2019-09-17T20:29:16.127Z [err] npm ERR! Failed at the serialport@4.0.7 install script.
- 2019-09-17T20:29:16.127Z [err] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
- 2019-09-17T20:29:16.758Z [err]
- 2019-09-17T20:29:16.760Z [err] npm ERR!
- 2019-09-17T20:29:16.761Z [err] A complete log of this run can be found in:
- 2019-09-17T20:29:16.761Z [err] npm ERR!
- 2019-09-17T20:29:16.762Z [err] /home/pi/.npm/_logs/2019-09-17T20_29_16_242Z-debug.log
- 2019-09-17T20:29:16.832Z rc=1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement