Début de l'installation Reading package lists... Building dependency tree... Reading state information... libpcap-dev is already the newest version (1.8.1-6). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. --2020-05-23 21:05:55-- https://raw.githubusercontent.com/lunarok/jeedom_nodejs/master/nodejs.sh Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.120.133 Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.120.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 1491 (1.5K) [text/plain] Saving to: 'dependencies.sh' 0K . 100% 11.6M=0s 2020-05-23 21:05:55 (11.6 MB/s) - 'dependencies.sh' saved [1491/1491] dependencies.sh: 3: [: dashbutton: unexpected operator Version actuelle : 12 Hit:1 http://debian.proxad.net/debian buster InRelease Hit:2 http://debian.proxad.net/debian buster-updates InRelease Hit:3 http://security.debian.org/debian-security buster/updates InRelease Hit:4 https://deb.nodesource.com/node_12.x buster InRelease Reading package lists... Reading package lists... Building dependency tree... Reading state information... lsb-release is already the newest version (10.2019051400). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Ok, version suffisante npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 > pcap@git+https://github.com/mranney/node_pcap.git#fb9dfc9914f631dd90bc33535f4f5bdbd861cd8e install /var/www/html/plugins/dashbutton/resources/node_modules/pcap > node-gyp rebuild make: Entering directory '/var/www/html/plugins/dashbutton/resources/node_modules/pcap/build' CXX(target) Release/obj.target/pcap_binding/pcap_binding.o In file included from ../../nan/nan_converters.h:67, from ../../nan/nan.h:221, from ../pcap_session.h:13, from ../pcap_binding.cc:12: ../../nan/nan_converters_43_inl.h: In static member function 'static Nan::imp::ToFactoryBase::return_t Nan::imp::ToFactory::convert(v8::Local)': ../../nan/nan_converters_43_inl.h:18:51: warning: 'v8::MaybeLocal v8::Value::ToBoolean(v8::Local) const' is deprecated: ToBoolean can never throw. Use Local version. [-Wdeprecated-declarations] val->To ## TYPE(isolate->GetCurrentContext()) \ ^ ../../nan/nan_converters_43_inl.h:22:1: note: in expansion of macro 'X' X(Boolean) ^ In file included from /var/www/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14, from /var/www/.cache/node-gyp/12.16.3/include/node/v8.h:27, from /var/www/.cache/node-gyp/12.16.3/include/node/node.h:67, from ../../nan/nan.h:52, from ../pcap_session.h:13, from ../pcap_binding.cc:12: /var/www/.cache/node-gyp/12.16.3/include/node/v8.h:2664:59: note: declared here V8_WARN_UNUSED_RESULT MaybeLocal ToBoolean( ^~~~~~~~~ /var/www/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../../nan/nan_converters.h:67, from ../../nan/nan.h:221, from ../pcap_session.h:13, from ../pcap_binding.cc:12: ../../nan/nan_converters_43_inl.h: In static member function 'static Nan::imp::ValueFactoryBase::return_t Nan::imp::ToFactory::convert(v8::Local)': ../../nan/nan_converters_43_inl.h:37:57: warning: 'v8::Maybe v8::Value::BooleanValue(v8::Local) const' is deprecated: BooleanValue can never throw. Use Isolate version. [-Wdeprecated-declarations] return val->NAME ## Value(isolate->GetCurrentContext()); \ ^ ../../nan/nan_converters_43_inl.h:40:1: note: in expansion of macro 'X' X(bool, Boolean) ^ In file included from /var/www/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14, from /var/www/.cache/node-gyp/12.16.3/include/node/v8.h:27, from /var/www/.cache/node-gyp/12.16.3/include/node/node.h:67, from ../../nan/nan.h:52, from ../pcap_session.h:13, from ../pcap_binding.cc:12: /var/www/.cache/node-gyp/12.16.3/include/node/v8.h:2702:51: note: declared here V8_WARN_UNUSED_RESULT Maybe BooleanValue( ^~~~~~~~~~~~ /var/www/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../../nan/nan_new.h:189, from ../../nan/nan.h:222, from ../pcap_session.h:13, from ../pcap_binding.cc:12: ../../nan/nan_implementation_12_inl.h: In static member function 'static Nan::imp::FactoryBase::return_t Nan::imp::Factory::New(Nan::FunctionCallback, v8::Local)': ../../nan/nan_implementation_12_inl.h:105:32: error: no matching function for call to 'v8::Function::New(v8::Isolate*&, void (&)(const v8::FunctionCallbackInfo&), v8::Local&)' , obj)); ^ In file included from /var/www/.cache/node-gyp/12.16.3/include/node/node.h:67, from ../../nan/nan.h:52, from ../pcap_session.h:13, from ../pcap_binding.cc:12: /var/www/.cache/node-gyp/12.16.3/include/node/v8.h:4275:31: note: candidate: 'static v8::MaybeLocal v8::Function::New(v8::Local, v8::FunctionCallback, v8::Local, int, v8::ConstructorBehavior, v8::SideEffectType)' static MaybeLocal New( ^~~ /var/www/.cache/node-gyp/12.16.3/include/node/v8.h:4275:31: note: no known conversion for argument 1 from 'v8::Isolate*' to 'v8::Local' In file included from ../pcap_session.h:13, from ../pcap_binding.cc:12: ../../nan/nan.h: In constructor 'Nan::Utf8String::Utf8String(v8::Local)': ../../nan/nan.h:1064:78: warning: 'v8::Local v8::Value::ToString(v8::Isolate*) const' is deprecated: Use maybe version [-Wdeprecated-declarations] v8::Local string = from->ToString(v8::Isolate::GetCurrent()); ^ In file included from /var/www/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14, from /var/www/.cache/node-gyp/12.16.3/include/node/v8.h:27, from /var/www/.cache/node-gyp/12.16.3/include/node/node.h:67, from ../../nan/nan.h:52, from ../pcap_session.h:13, from ../pcap_binding.cc:12: /var/www/.cache/node-gyp/12.16.3/include/node/v8.h:2684:31: note: declared here Local ToString(Isolate* isolate) const); ^~~~~~~~ /var/www/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../pcap_session.h:13, from ../pcap_binding.cc:12: ../../nan/nan.h: In member function 'void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local&)': ../../nan/nan.h:1855:64: warning: 'bool v8::Object::Set(v8::Local, v8::Local)' is deprecated: Use maybe version [-Wdeprecated-declarations] New(persistentHandle)->Set(New(key).ToLocalChecked(), value); ^ In file included from /var/www/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14, from /var/www/.cache/node-gyp/12.16.3/include/node/v8.h:27, from /var/www/.cache/node-gyp/12.16.3/include/node/node.h:67, from ../../nan/nan.h:52, from ../pcap_session.h:13, from ../pcap_binding.cc:12: /var/www/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here bool Set(Local key, Local value)); ^~~ /var/www/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../pcap_session.h:13, from ../pcap_binding.cc:12: ../../nan/nan.h: In member function 'void Nan::AsyncWorker::SaveToPersistent(const v8::Local&, const v8::Local&)': ../../nan/nan.h:1861:42: warning: 'bool v8::Object::Set(v8::Local, v8::Local)' is deprecated: Use maybe version [-Wdeprecated-declarations] New(persistentHandle)->Set(key, value); ^ In file included from /var/www/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14, from /var/www/.cache/node-gyp/12.16.3/include/node/v8.h:27, from /var/www/.cache/node-gyp/12.16.3/include/node/node.h:67, from ../../nan/nan.h:52, from ../pcap_session.h:13, from ../pcap_binding.cc:12: /var/www/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here bool Set(Local key, Local value)); ^~~ /var/www/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../pcap_session.h:13, from ../pcap_binding.cc:12: ../../nan/nan.h: In member function 'void Nan::AsyncWorker::SaveToPersistent(uint32_t, const v8::Local&)': ../../nan/nan.h:1867:44: warning: 'bool v8::Object::Set(uint32_t, v8::Local)' is deprecated: Use maybe version [-Wdeprecated-declarations] New(persistentHandle)->Set(index, value); ^ In file included from /var/www/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14, from /var/www/.cache/node-gyp/12.16.3/include/node/v8.h:27, from /var/www/.cache/node-gyp/12.16.3/include/node/node.h:67, from ../../nan/nan.h:52, from ../pcap_session.h:13, from ../pcap_binding.cc:12: /var/www/.cache/node-gyp/12.16.3/include/node/v8.h:3508:22: note: declared here bool Set(uint32_t index, Local value)); ^~~ /var/www/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../pcap_session.h:13, from ../pcap_binding.cc:12: ../../nan/nan.h: In member function 'v8::Local Nan::AsyncWorker::GetFromPersistent(const char*) const': ../../nan/nan.h:1873:61: warning: 'v8::Local v8::Object::Get(v8::Local)' is deprecated: Use maybe version [-Wdeprecated-declarations] New(persistentHandle)->Get(New(key).ToLocalChecked())); ^ In file included from /var/www/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14, from /var/www/.cache/node-gyp/12.16.3/include/node/v8.h:27, from /var/www/.cache/node-gyp/12.16.3/include/node/node.h:67, from ../../nan/nan.h:52, from ../pcap_session.h:13, from ../pcap_binding.cc:12: /var/www/.cache/node-gyp/12.16.3/include/node/v8.h:3553:51: note: declared here V8_DEPRECATED("Use maybe version", Local Get(Local key)); ^~~ /var/www/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../pcap_session.h:13, from ../pcap_binding.cc:12: ../../nan/nan.h: In member function 'v8::Local Nan::AsyncWorker::GetFromPersistent(const v8::Local&) const': ../../nan/nan.h:1879:55: warning: 'v8::Local v8::Object::Get(v8::Local)' is deprecated: Use maybe version [-Wdeprecated-declarations] return scope.Escape(New(persistentHandle)->Get(key)); ^ In file included from /var/www/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14, from /var/www/.cache/node-gyp/12.16.3/include/node/v8.h:27, from /var/www/.cache/node-gyp/12.16.3/include/node/node.h:67, from ../../nan/nan.h:52, from ../pcap_session.h:13, from ../pcap_binding.cc:12: /var/www/.cache/node-gyp/12.16.3/include/node/v8.h:3553:51: note: declared here V8_DEPRECATED("Use maybe version", Local Get(Local key)); ^~~ /var/www/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from ../pcap_session.h:13, from ../pcap_binding.cc:12: ../../nan/nan.h: In member function 'v8::Local Nan::AsyncWorker::GetFromPersistent(uint32_t) const': ../../nan/nan.h:1884:57: warning: 'v8::Local v8::Object::Get(uint32_t)' is deprecated: Use maybe version [-Wdeprecated-declarations] return scope.Escape(New(persistentHandle)->Get(index)); ^ In file included from /var/www/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14, from /var/www/.cache/node-gyp/12.16.3/include/node/v8.h:27, from /var/www/.cache/node-gyp/12.16.3/include/node/node.h:67, from ../../nan/nan.h:52, from ../pcap_session.h:13, from ../pcap_binding.cc:12: /var/www/.cache/node-gyp/12.16.3/include/node/v8.h:3557:51: note: declared here V8_DEPRECATED("Use maybe version", Local Get(uint32_t index)); ^~~ /var/www/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from /usr/include/c++/8/cassert:44, from /var/www/.cache/node-gyp/12.16.3/include/node/node_object_wrap.h:26, from ../../nan/nan.h:54, from ../pcap_session.h:13, from ../pcap_binding.cc:12: ../../nan/nan_object_wrap.h: In destructor 'virtual Nan::ObjectWrap::~ObjectWrap()': ../../nan/nan_object_wrap.h:24:25: error: 'class Nan::Persistent' has no member named 'IsNearDeath' assert(persistent().IsNearDeath()); ^~~~~~~~~~~ In file included from ../../nan/nan.h:2698, from ../pcap_session.h:13, from ../pcap_binding.cc:12: ../../nan/nan_object_wrap.h: In member function 'void Nan::ObjectWrap::MakeWeak()': ../../nan/nan_object_wrap.h:67:34: warning: 'void v8::PersistentBase::MarkIndependent() [with T = v8::Object]' is deprecated: Weak objects are always considered independent. Use TracedGlobal when trying to use EmbedderHeapTracer. Use a strong handle when trying to keep an object alive. [-Wdeprecated-declarations] persistent().MarkIndependent(); ^ In file included from /var/www/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14, from /var/www/.cache/node-gyp/12.16.3/include/node/v8.h:27, from /var/www/.cache/node-gyp/12.16.3/include/node/node.h:67, from ../../nan/nan.h:52, from ../pcap_session.h:13, from ../pcap_binding.cc:12: /var/www/.cache/node-gyp/12.16.3/include/node/v8.h:570:22: note: declared here V8_INLINE void MarkIndependent()); ^~~~~~~~~~~~~~~ /var/www/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ In file included from /usr/include/c++/8/cassert:44, from /var/www/.cache/node-gyp/12.16.3/include/node/node_object_wrap.h:26, from ../../nan/nan.h:54, from ../pcap_session.h:13, from ../pcap_binding.cc:12: ../../nan/nan_object_wrap.h: In static member function 'static void Nan::ObjectWrap::WeakCallback(const v8::WeakCallbackInfo&)': ../../nan/nan_object_wrap.h:124:26: error: 'class Nan::Persistent' has no member named 'IsNearDeath' assert(wrap->handle_.IsNearDeath()); ^~~~~~~~~~~ make: *** [pcap_binding.target.mk:112: Release/obj.target/pcap_binding/pcap_binding.o] Error 1 make: Leaving directory '/var/www/html/plugins/dashbutton/resources/node_modules/pcap/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:194:23) gyp ERR! stack at ChildProcess.emit (events.js:310:20) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12) gyp ERR! System Linux 4.19.0-9-amd64 gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /var/www/html/plugins/dashbutton/resources/node_modules/pcap gyp ERR! node -v v12.16.3 gyp ERR! node-gyp -v v5.1.0 gyp ERR! not ok npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! pcap@git+https://github.com/mranney/node_pcap.git#fb9dfc9914f631dd90bc33535f4f5bdbd861cd8e install: `node-gyp rebuild` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the pcap@git+https://github.com/mranney/node_pcap.git#fb9dfc9914f631dd90bc33535f4f5bdbd861cd8e 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! /var/www/.npm/_logs/2020-05-23T19_06_06_966Z-debug.log Fin de l'installation