mrkrasser / node-red-contrib-bmp085

Node-RED node for Bosch BMP085 or BMP180 barometer pressure sensor
2 stars 17 forks source link

No longer working in latest node red #12

Closed scrumpydc closed 4 years ago

scrumpydc commented 4 years ago

pi@raspberrypi:~ $ npm install node-red-contrib-pca9685

i2c-bus@1.1.2 install /home/pi/node_modules/node-red-contrib-pca9685/node_modules/i2c-bus node-gyp rebuild

make: Entering directory '/home/pi/node_modules/node-red-contrib-pca9685/node_modules/i2c-bus/build' CXX(target) Release/obj.target/i2c/src/i2c.o In file included from ../../nan/nan.h:190, from ../src/i2c.cc:2: ../../nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe Nan::ForceSet(v8::Local, v8::Local, v8::Local, v8::PropertyAttribute)’: ../../nan/nan_maybe_43_inl.h:88:15: error: ‘class v8::Object’ has no member named ‘ForceSet’ return obj->ForceSet(GetCurrentContext(), key, value, attribs); ^~~~ In file included from ../src/i2c.cc:2: ../../nan/nan.h: In function ‘v8::Local Nan::MakeCallback(v8::Local, v8::Local, int, v8::Local)’: ../../nan/nan.h:817:60: warning: ‘v8::Local node::MakeCallback(v8::Isolate, v8::Local, v8::Local, int, v8::Local)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, func, argc, argv); ^ In file included from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local MakeCallback( ^~~~ /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ attribute((deprecated(message))) declarator ^~~~~~ In file included from ../src/i2c.cc:2: ../../nan/nan.h:817:60: warning: ‘v8::Local node::MakeCallback(v8::Isolate, v8::Local, v8::Local, int, v8::Local)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, func, argc, argv); ^ In file included from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local MakeCallback( ^~~~ /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ attribute((deprecated(message))) declarator ^~~~~~ In file included from ../src/i2c.cc:2: ../../nan/nan.h: In function ‘v8::Local Nan::MakeCallback(v8::Local, v8::Local, int, v8::Local)’: ../../nan/nan.h:831:62: warning: ‘v8::Local node::MakeCallback(v8::Isolate, v8::Local, v8::Local, int, v8::Local)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, symbol, argc, argv); ^ In file included from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:170:50: note: declared here NODE_EXTERN v8::Local MakeCallback( ^~~~ /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ attribute((deprecated(message))) declarator ^~~~~~ In file included from ../src/i2c.cc:2: ../../nan/nan.h:831:62: warning: ‘v8::Local node::MakeCallback(v8::Isolate, v8::Local, v8::Local, int, v8::Local)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, symbol, argc, argv); ^ In file included from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:170:50: note: declared here NODE_EXTERN v8::Local MakeCallback( ^~~~ /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ attribute((deprecated(message))) declarator ^~~~~~ In file included from ../src/i2c.cc:2: ../../nan/nan.h: In function ‘v8::Local Nan::MakeCallback(v8::Local, const char, int, v8::Local)’: ../../nan/nan.h:845:62: warning: ‘v8::Local node::MakeCallback(v8::Isolate, v8::Local, const char, int, v8::Local)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, method, argc, argv); ^ In file included from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:163:50: note: declared here NODE_EXTERN v8::Local MakeCallback( ^~~~ /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ attribute((deprecated(message))) declarator ^~~~~~ In file included from ../src/i2c.cc:2: ../../nan/nan.h:845:62: warning: ‘v8::Local node::MakeCallback(v8::Isolate, v8::Local, const char, int, v8::Local)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, method, argc, argv); ^ In file included from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:163:50: note: declared here NODE_EXTERN v8::Local MakeCallback( ^~~~ /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODEDEPRECATED’ attribute((deprecated(message))) declarator ^~~~~~ In file included from ../src/i2c.cc:2: ../../nan/nan.h: In member function ‘v8::Local Nan::Callback::Call(v8::Isolate, v8::Local, int, v8::Local) const’: ../../nan/nan.h:1453:5: warning: ‘v8::Local node::MakeCallback(v8::Isolate, v8::Local, v8::Local, int, v8::Local)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] )); ^ In file included from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local MakeCallback( ^~~~ /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ attribute((deprecated(message))) declarator ^~~~~~ In file included from ../src/i2c.cc:2: ../../nan/nan.h:1453:5: warning: ‘v8::Local node::MakeCallback(v8::Isolate, v8::Local, v8::Local, int, v8::Local)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] )); ^ In file included from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local MakeCallback( ^~~~ /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ attribute((deprecated(message))) declarator ^~~~~~ In file included from ../src/i2c.cc:2: ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker)’: ../../nan/nan.h:1704:62: 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] , reinterpret_cast(AsyncExecuteComplete) ^ In file included from ../src/i2c.cc:1: ../src/i2c.cc: At global scope: /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:573:43: warning: cast between incompatible function types from ‘void ()(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void ()(v8::Local)’} to ‘node::addon_register_func’ {aka ‘void ()(v8::Local, v8::Local, void*)’} [-Wcast-function-type] (node::addon_register_func) (regfunc), \ ^ /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:607:3: note: in expansion of macro ‘NODE_MODULE_X’ NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) ^~~~~ ../src/i2c.cc:88:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(i2c, InitAll) ^~~ In file included from ../src/i2c.cc:95: ../src/./i2cfuncs.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE I2cFuncsAsync(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/./i2cfuncs.cc:48:32: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] int fd = info[0]->Int32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63, from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~ /home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ In file included from ../src/i2c.cc:95: ../src/./i2cfuncs.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE I2cFuncsSync(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/./i2cfuncs.cc:60:32: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] int fd = info[0]->Int32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63, from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~ /home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ In file included from ../src/i2c.cc:96: ../src/./readbyte.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReadByteAsync(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/./readbyte.cc:49:32: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] int fd = info[0]->Int32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63, from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~ /home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ In file included from ../src/i2c.cc:96: ../src/./readbyte.cc:50:34: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] u8 cmd = info[1]->Int32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63, from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~ /home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ In file included from ../src/i2c.cc:96: ../src/./readbyte.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReadByteSync(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/./readbyte.cc:62:32: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] int fd = info[0]->Int32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63, from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~ /home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ In file included from ../src/i2c.cc:96: ../src/./readbyte.cc:63:34: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] u8 cmd = info[1]->Int32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63, from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~ /home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ In file included from ../src/i2c.cc:97: ../src/./readword.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReadWordAsync(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/./readword.cc:49:32: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] int fd = info[0]->Int32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63, from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~ /home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ In file included from ../src/i2c.cc:97: ../src/./readword.cc:50:34: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] u8 cmd = info[1]->Int32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63, from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~ /home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ In file included from ../src/i2c.cc:97: ../src/./readword.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReadWordSync(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/./readword.cc:62:32: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] int fd = info[0]->Int32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63, from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~ /home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ In file included from ../src/i2c.cc:97: ../src/./readword.cc:63:34: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] u8 cmd = info[1]->Int32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63, from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~ /home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ In file included from ../src/i2c.cc:98: ../src/./readblock.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReadBlockAsync(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/./readblock.cc:66:32: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] int fd = info[0]->Int32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63, from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~ /home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ In file included from ../src/i2c.cc:98: ../src/./readblock.cc:67:34: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] u8 cmd = info[1]->Int32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63, from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~ /home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ In file included from ../src/i2c.cc:98: ../src/./readblock.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReadBlockSync(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/./readblock.cc:98:32: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] int fd = info[0]->Int32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63, from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~ /home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ In file included from ../src/i2c.cc:98: ../src/./readblock.cc:99:34: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] u8 cmd = info[1]->Int32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63, from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~ /home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ In file included from ../src/i2c.cc:99: ../src/./readi2cblock.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReadI2cBlockAsync(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/./readi2cblock.cc:69:32: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] int fd = info[0]->Int32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63, from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~ /home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ In file included from ../src/i2c.cc:99: ../src/./readi2cblock.cc:70:34: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] u8 cmd = info[1]->Int32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63, from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~ /home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ In file included from ../src/i2c.cc:99: ../src/./readi2cblock.cc:71:39: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] u32 length = info[2]->Uint32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63, from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2477:47: note: declared here V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const); ^~~ /home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ In file included from ../src/i2c.cc:99: ../src/./readi2cblock.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReadI2cBlockSync(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/./readi2cblock.cc:109:32: warning: ‘int32_t v8::Value::Int32Value() cons ’ is deprecated: Use maybe version [-Wdeprecated-declarations] int fd = info[0]->Int32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63, from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~ /home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ In file included from ../src/i2c.cc:99: ../src/./readi2cblock.cc:110:34: warning: ‘int32_t v8::Value::Int32Value() cons ’ is deprecated: Use maybe version [-Wdeprecated-declarations] u8 cmd = info[1]->Int32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63, from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~ /home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ In file included from ../src/i2c.cc:99: ../src/./readi2cblock.cc:111:39: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] u32 length = info[2]->Uint32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63, from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2477:47: note: declared here V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const); ^~~ /home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ In file included from ../src/i2c.cc:100: ../src/./receivebyte.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReceiveByteAsync(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/./receivebyte.cc:48:32: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] int fd = info[0]->Int32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63, from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~ /home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ In file included from ../src/i2c.cc:100: ../src/./receivebyte.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReceiveByteSync(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/./receivebyte.cc:60:32: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] int fd = info[0]->Int32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63, from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~ /home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ In file included from ../src/i2c.cc:101: ../src/./sendbyte.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE SendByteAsync(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/./sendbyte.cc:47:32: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] int fd = info[0]->Int32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63, from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~ /home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ In file included from ../src/i2c.cc:101: ../src/./sendbyte.cc:48:35: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] u8 byte = info[1]->Int32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63, from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~ /home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ In file included from ../src/i2c.cc:101: ../src/./sendbyte.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE SendByteSync(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/./sendbyte.cc:60:32: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] int fd = info[0]->Int32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63, from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~ /home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ In file included from ../src/i2c.cc:101: ../src/./sendbyte.cc:61:35: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] u8 byte = info[1]->Int32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63, from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~ /home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ In file included from ../src/i2c.cc:102: ../src/./setaddr.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE SetAddrAsync(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/./setaddr.cc:46:32: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] int fd = info[0]->Int32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63, from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~ /home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ In file included from ../src/i2c.cc:102: ../src/./setaddr.cc:47:34: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] int addr = info[1]->Int32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63, from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~ /home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ In file included from ../src/i2c.cc:102: ../src/./setaddr.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE SetAddrSync(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/./setaddr.cc:59:32: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] int fd = info[0]->Int32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63, from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~ /home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ In file included from ../src/i2c.cc:102: ../src/./setaddr.cc:60:34: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] int addr = info[1]->Int32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63, from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~ /home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ In file included from ../src/i2c.cc:103: ../src/./writebyte.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteByteAsync(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/./writebyte.cc:49:32: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] int fd = info[0]->Int32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63, from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~ /home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ In file included from ../src/i2c.cc:103: ../src/./writebyte.cc:50:34: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] u8 cmd = info[1]->Int32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63, from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~ /home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ In file included from ../src/i2c.cc:103: ../src/./writebyte.cc:51:35: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] u8 byte = info[2]->Int32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63, from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~ /home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ In file included from ../src/i2c.cc:103: ../src/./writebyte.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteByteSync(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/./writebyte.cc:63:32: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] int fd = info[0]->Int32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63, from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~ /home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ In file included from ../src/i2c.cc:103: ../src/./writebyte.cc:64:34: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] u8 cmd = info[1]->Int32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63, from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~ /home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ In file included from ../src/i2c.cc:103: ../src/./writebyte.cc:65:35: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] u8 byte = info[2]->Int32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63, from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~ /home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ In file included from ../src/i2c.cc:104: ../src/./writeword.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteWordAsync(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/./writeword.cc:49:32: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] int fd = info[0]->Int32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63, from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~ /home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ In file included from ../src/i2c.cc:104: ../src/./writeword.cc:50:34: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] u8 cmd = info[1]->Int32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63, from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~ /home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ In file included from ../src/i2c.cc:104: ../src/./writeword.cc:51:36: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] u16 word = info[2]->Int32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63, from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~ /home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ In file included from ../src/i2c.cc:104: ../src/./writeword.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteWordSync(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/./writeword.cc:64:32: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] int fd = info[0]->Int32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63, from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~ /home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ In file included from ../src/i2c.cc:104: ../src/./writeword.cc:65:34: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] u8 cmd = info[1]->Int32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63, from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~ /home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ In file included from ../src/i2c.cc:104: ../src/./writeword.cc:66:36: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] u16 word = info[2]->Int32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63, from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~ /home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ In file included from ../src/i2c.cc:105: ../src/./writeblock.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteBlockAsync(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/./writeblock.cc:70:32: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] int fd = info[0]->Int32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63, from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~ /home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ In file included from ../src/i2c.cc:105: ../src/./writeblock.cc:71:34: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] u8 cmd = info[1]->Int32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63, from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~ /home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ In file included from ../src/i2c.cc:105: ../src/./writeblock.cc:72:39: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] u32 length = info[2]->Uint32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63, from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2477:47: note: declared here V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const); ^~~ /home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ In file included from ../src/i2c.cc:105: ../src/./writeblock.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteBlockSync(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/./writeblock.cc:110:32: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] int fd = info[0]->Int32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63, from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~ /home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ In file included from ../src/i2c.cc:105: ../src/./writeblock.cc:111:34: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] u8 cmd = info[1]->Int32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63, from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~ /home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ In file included from ../src/i2c.cc:105: ../src/./writeblock.cc:112:39: warning: ‘uint32_t v8::Value::Uint32Value() cons ’ is deprecated: Use maybe version [-Wdeprecated-declarations] u32 length = info[2]->Uint32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63, from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2477:47: note: declared here V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const); ^~~ /home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ In file included from ../src/i2c.cc:106: ../src/./writei2cblock.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteI2cBlockAsync(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/./writei2cblock.cc:68:32: warning: ‘int32_t v8::Value::Int32Value() cons ’ is deprecated: Use maybe version [-Wdeprecated-declarations] int fd = info[0]->Int32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63, from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~ /home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ In file included from ../src/i2c.cc:106: ../src/./writei2cblock.cc:69:34: warning: ‘int32_t v8::Value::Int32Value() cons ’ is deprecated: Use maybe version [-Wdeprecated-declarations] u8 cmd = info[1]->Int32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63, from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~ /home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ In file included from ../src/i2c.cc:106: ../src/./writei2cblock.cc:70:39: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] u32 length = info[2]->Uint32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63, from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2477:47: note: declared here V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const); ^~~ /home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ In file included from ../src/i2c.cc:106: ../src/./writei2cblock.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteI2cBlockSync(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/./writei2cblock.cc:108:32: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] int fd = info[0]->Int32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63, from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~ /home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ In file included from ../src/i2c.cc:106: ../src/./writei2cblock.cc:109:34: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] u8 cmd = info[1]->Int32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63, from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~ /home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ In file included from ../src/i2c.cc:106: ../src/./writei2cblock.cc:110:39: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] u32 length = info[2]->Uint32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63, from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2477:47: note: declared here V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const); ^~~ /home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ In file included from ../src/i2c.cc:107: ../src/./writequick.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteQuickAsync(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/./writequick.cc:47:32: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] int fd = info[0]->Int32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63, from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~ /home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ In file included from ../src/i2c.cc:107: ../src/./writequick.cc:48:34: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] u8 bit = info[1]->Int32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63, from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~ /home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ In file included from ../src/i2c.cc:107: ../src/./writequick.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE WriteQuickSync(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/./writequick.cc:60:32: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] int fd = info[0]->Int32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63, from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~ /home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ In file included from ../src/i2c.cc:107: ../src/./writequick.cc:61:34: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] u8 bit = info[1]->Int32Value(); ^ In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:26, from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63, from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~ /home/pi/.cache/node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator attribute((deprecated(message))) ^~~~~~ In file included from /home/pi/.cache/node-gyp/10.16.3/include/node/node.h:63, from ../src/i2c.cc:1: /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h: In instantiation of ‘void v8::PersistentBase::SetWeak(P, typename v8::WeakCallbackInfo

::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo

::Callback = void ()(const v8::WeakCallbackInfo&)]’: /home/pi/.cache/node-gyp/10.16.3/include/node/node_object_wrap.h:84:78: required from here /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo::Callback’ {aka ‘void ()(const v8::WeakCallbackInfo&)’} to ‘Callback’ {aka ‘void ()(const v8::WeakCallbackInfo&)’} [-Wcast-function-type] reinterpret_cast(callback), type); ^~~~~~~~ /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h: In instantiation of ‘void v8::PersistentBase::SetWeak(P, typename v8::WeakCallbackInfo

::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo

::Callback = void ()(const v8::WeakCallbackInfo&)]’: ../../nan/nan_object_wrap.h:66:61: required from here /home/pi/.cache/node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo::Callback’ {aka ‘void ()(const v8::WeakCallbackInfo&)’} to ‘Callbac ’ {aka ‘void ()(const v8::WeakCallbackInfo&)’} [-Wcast-function-type] make: *** [i2c.target.mk:99: Release/obj.target/i2c/src/i2c.o] Error 1 make: Leaving directory '/home/pi/node_modules/node-red-contrib-pca9685/node_modules/i2c-bus/build' gyp ERR! build error gyp ERR! stack Error: make failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:196:23) gyp ERR! stack at ChildProcess.emit (events.js:198:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12) gyp ERR! System Linux 4.19.66-v7+ gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /home/pi/node_modules/node-red-contrib-pca9685/node_modules/i2c-bus gyp ERR! node -v v10.16.3 gyp ERR! node-gyp -v v5.0.3 gyp ERR! not ok npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json' npm WARN pi No description npm WARN pi No repository field. npm WARN pi No README data npm WARN pi No license field.

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! i2c-bus@1.1.2 install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the i2c-bus@1.1.2 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2019-09-22T10_45_25_768Z-debug.log

scrumpydc commented 4 years ago

sorry wrong project github playing with me after log in