haraka / haraka-plugin-syslog

Haraka plugin that logs via syslog
MIT License
3 stars 4 forks source link

Installation on node v8 #19

Closed thenitai closed 5 years ago

thenitai commented 5 years ago

Just installed but throws error:

> modern-syslog@1.1.4 install /opt/haraka/incoming/node_modules/modern-syslog
> node-gyp rebuild

make: Entering directory '/opt/haraka/incoming/node_modules/modern-syslog/build'
  CXX(target) Release/obj.target/core/core.o
../core.cc: In member function ‘virtual void {anonymous}::Worker::HandleOKCallback()’:
../core.cc:34:39: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                 callback->Call(0, NULL);
                                       ^
In file included from ../core.cc:2:0:
../../nan/nan.h:1655:3: note: declared here
   Call(int argc, v8::Local<v8::Value> argv[]) const {
   ^~~~
../core.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::SysLog(Nan::NAN_METHOD_ARGS_TYPE)’:
../core.cc:97:31: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
         callback->Call(0, NULL);
                               ^
In file included from ../core.cc:2:0:
../../nan/nan.h:1655:3: note: declared here
   Call(int argc, v8::Local<v8::Value> argv[]) const {
   ^~~~
  SOLINK_MODULE(target) Release/obj.target/core.node
  COPY Release/core.node
make: Leaving directory '/opt/haraka/incoming/node_modules/modern-syslog/build'
npm WARN haraka_local@0.0.1 No repository field.

+ haraka-plugin-syslog@1.0.3
added 3 packages from 3 contributors and audited 48 packages in 3.008s
found 0 vulnerabilities
msimerson commented 5 years ago

Warnings != errors.