ioBroker Forum


Nutzungsbedingungen |Datenschutzrichtlinie
Cloud |Dokumentation
Aktuelle Zeit: 19.11.2017, 09:23

Alle Zeiten sind UTC+01:00




Ein neues Thema erstellen  Auf das Thema antworten  [ 3 Beiträge ] 
Autor Nachricht
BeitragVerfasst: 12.11.2017, 08:33 
Offline

Registriert: 22.05.2017, 20:23
Beiträge: 5
Здравствуйте.
Обновляю драйвера с веб морды.
Пишет много текста при обновлении, но в результате номер версии меняется на последнюю.
Только вот меня грызут смутные сомнения.
Посмотрите пожалуйста лог.
Драйвер вообще обновился ?

Spoiler: Show hidden text
$ ./iobroker upgrade web
Update web from @2.1.7 to @2.1.8
host.home.angelok.ru Adapter "system.adapter.web.0" is stopped.
npm install iobroker.web@2.1.8 --production --prefix "/opt/iobroker" (System call)
In file included from ../node_modules/nan/nan.h:82:0, from ../src/bufferutil.cc:16:
../node_modules/nan/nan_new.h: В функции «v8::Local<T> NanIntern::To(v8::Handle<v8::Integer>) [with T = v8::Int32; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]»:
../node_modules/nan/nan_new.h:34:64: предупреждение: «v8::Local<v8::Int32> v8::Value::ToInt32() const» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:8214): Use maybe version [-Wdeprecated-declarations]
To<v8::Int32>(v8::Handle<v8::Integer> i) { return i->ToInt32(); }
^

../node_modules/nan/nan_new.h: В функции «v8::Local<T> NanIntern::To(v8::Handle<v8::Integer>) [with T = v8::Uint32; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]»:../node_modules/nan/nan_new.h:39:65: предупреждение: «v8::Local<v8::Uint32> v8::Value::ToUint32() const» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:8208): Use maybe version [-Wdeprecated-declarations]
To<v8::Uint32>(v8::Handle<v8::Integer> i) { return i->ToUint32(); }
^

In file included from ../node_modules/nan/nan_new.h:189:0, from ../node_modules/nan/nan.h:82,
from ../src/bufferutil.cc:16:
../node_modules/nan/nan_implementation_12_inl.h: In static member function «static NanIntern::FactoryBase<v8::BooleanObject>::return_t NanIntern::Factory<v8::BooleanObject>::New(bool)»:
../node_modules/nan/nan_implementation_12_inl.h:49:38: предупреждение: «static v8::Local<v8::Value> v8::BooleanObject::New(bool)» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:4009): Pass an isolate [-Wdeprecated-declarations]
return v8::BooleanObject::New(value).As<v8::BooleanObject>();
^

../node_modules/nan/nan_implementation_12_inl.h: In static member function «static NanIntern::FactoryBase<v8::Script>::return_t NanIntern::Factory<v8::Script>::New(v8::Local<v8::String>)»:../node_modules/nan/nan_implementation_12_inl.h:166:69: предупреждение: «static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:1352): Use maybe version [-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
^

../node_modules/nan/nan_implementation_12_inl.h: In static member function «static NanIntern::FactoryBase<v8::Script>::return_t NanIntern::Factory<v8::Script>::New(v8::Local<v8::String>, const v8::ScriptOrigin&)»:../node_modules/nan/nan_implementation_12_inl.h:173:69: предупреждение: «static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:1352): Use maybe version [-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
^

../node_modules/nan/nan_implementation_12_inl.h: In static member function «static NanIntern::FactoryBase<v8::String>::return_t NanIntern::Factory<v8::String>::New(const uint8_t*, int)»:../node_modules/nan/nan_implementation_12_inl.h:206:42: предупреждение: «static v8::Local<v8::String> v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::String::NewStringType, int)» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:2332): Use maybe version [-Wdeprecated-declarations]
v8::String::kNormalString, length);
^
../node_modules/nan/nan_implementation_12_inl.h: In static member function «static NanIntern::FactoryBase<v8::String>::return_t NanIntern::Factory<v8::String>::New(v8::String::ExternalStringResource*)»:
../node_modules/nan/nan_implementation_12_inl.h:217:66: предупреждение: «static v8::Local<v8::String> v8::String::NewExternal(v8::Isolate*, v8::String::ExternalStringResource*)» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:2371): Use maybe version [-Wdeprecated-declarations]
return v8::String::NewExternal(v8::Isolate::GetCurrent(), value);
^

../node_modules/nan/nan_implementation_12_inl.h: In static member function «static NanIntern::FactoryBase<v8::UnboundScript>::return_t NanIntern::Factory<v8::UnboundScript>::New(v8::Local<v8::String>)»:../node_modules/nan/nan_implementation_12_inl.h:237:76: предупреждение: «static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:1333): Use maybe version [-Wdeprecated-declarations]
return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
^

../node_modules/nan/nan_implementation_12_inl.h: In static member function «static NanIntern::FactoryBase<v8::UnboundScript>::return_t NanIntern::Factory<v8::UnboundScript>::New(v8::Local<v8::String>, const v8::ScriptOrigin&)»:../node_modules/nan/nan_implementation_12_inl.h:244:76: предупреждение: «static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:1333): Use maybe version [-Wdeprecated-declarations]
return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
^

In file included from ../src/bufferutil.cc:16:0:../node_modules/nan/nan.h: At global scope:
../node_modules/nan/nan.h:261:25: ошибка: redefinition of «template<class T> v8::Local<T> _NanEnsureLocal(v8::Local<T>)»
NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Local<T> val) {
^

../node_modules/nan/nan.h:256:25: ошибка: «template<class T> v8::Local<T> _NanEnsureLocal(v8::Handle<T>)» previously declared here NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Handle<T> val) {
^
../node_modules/nan/nan.h: В функции «bool NanIdleNotification(int)»:
../node_modules/nan/nan.h:289:71: предупреждение: «bool v8::Isolate::IdleNotification(int)» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:6115): use IdleNotificationDeadline() [-Wdeprecated-declarations]
return v8::Isolate::GetCurrent()->IdleNotification(idle_time_in_ms);
^

../node_modules/nan/nan.h: At global scope:../node_modules/nan/nan.h:473:20: ошибка: переменная или поле «NanAddGCEpilogueCallback» объявлено void
v8::Isolate::GCEpilogueCallback callback
^

../node_modules/nan/nan.h:473:7: ошибка: «GCEpilogueCallback» не является элементом «v8::Isolate» v8::Isolate::GCEpilogueCallback callback
^
../node_modules/nan/nan.h:474:18: ошибка: expected primary-expression before «gc_type_filter»
, v8::GCType gc_type_filter = v8::kGCTypeAll) {
^
../node_modules/nan/nan.h:479:20: ошибка: переменная или поле «NanRemoveGCEpilogueCallback» объявлено void
v8::Isolate::GCEpilogueCallback callback) {
^
../node_modules/nan/nan.h:479:7: ошибка: «GCEpilogueCallback» не является элементом «v8::Isolate»
v8::Isolate::GCEpilogueCallback callback) {
^
../node_modules/nan/nan.h:484:20: ошибка: переменная или поле «NanAddGCPrologueCallback» объявлено void
v8::Isolate::GCPrologueCallback callback
^

../node_modules/nan/nan.h:484:7: ошибка: «GCPrologueCallback» не является элементом «v8::Isolate» v8::Isolate::GCPrologueCallback callback
^
../node_modules/nan/nan.h:485:18: ошибка: expected primary-expression before «gc_type_filter»
, v8::GCType gc_type_filter = v8::kGCTypeAll) {
^
../node_modules/nan/nan.h:490:20: ошибка: переменная или поле «NanRemoveGCPrologueCallback» объявлено void
v8::Isolate::GCPrologueCallback callback) {
^
../node_modules/nan/nan.h:490:7: ошибка: «GCPrologueCallback» не является элементом «v8::Isolate»
v8::Isolate::GCPrologueCallback callback) {
^

../node_modules/nan/nan.h:661:13: ошибка: «node::smalloc» не был декларирован , node::smalloc::FreeCallback callback
^

../node_modules/nan/nan.h:661:35: ошибка: expected «,» or «...» before «callback» , node::smalloc::FreeCallback callback
^
../node_modules/nan/nan.h: В функции «v8::Local<v8::Object> NanNewBufferHandle(char*, size_t, int)»:
../node_modules/nan/nan.h:665:50: ошибка: нет декларации «callback» в этой области видимости
v8::Isolate::GetCurrent(), data, length, callback, hint);
^

../node_modules/nan/nan.h:665:60: ошибка: нет декларации «hint» в этой области видимости v8::Isolate::GetCurrent(), data, length, callback, hint);
^
../node_modules/nan/nan.h: В функции «v8::Local<v8::Object> NanNewBufferHandle(const char*, uint32_t)»:
../node_modules/nan/nan.h:672:67: ошибка: некорректное преобразование из «const char*» в «char*» [-fpermissive]
return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
^
In file included from ../src/bufferutil.cc:10:0:
/root/.node-gyp/6.11.3/include/node/node_buffer.h:46:40: ошибка: при инициализации 2 -го аргумента «v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t)» [-fpermissive]
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
^
In file included from ../src/bufferutil.cc:16:0:
../node_modules/nan/nan.h:672:67: ошибка: could not convert «node::Buffer::New(v8::Isolate::GetCurrent(), ((char*)data), ((size_t)size))» from «v8::MaybeLocal<v8::Object>» to «v8::Local<v8::Object>»
return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
^
../node_modules/nan/nan.h: В функции «v8::Local<v8::Object> NanNewBufferHandle(uint32_t)»:
../node_modules/nan/nan.h:676:61: ошибка: could not convert «node::Buffer::New(v8::Isolate::GetCurrent(), ((size_t)size))» from «v8::MaybeLocal<v8::Object>» to «v8::Local<v8::Object>»
return node::Buffer::New(v8::Isolate::GetCurrent(), size);
^
../node_modules/nan/nan.h: В функции «v8::Local<v8::Object> NanBufferUse(char*, uint32_t)»:
../node_modules/nan/nan.h:683:12: ошибка: «Use» не является элементом «node::Buffer»
return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
^

../node_modules/nan/nan.h: В функции «v8::Local<v8::Script> NanCompileScript(v8::Local<v8::String>, const v8::ScriptOrigin&)»:../node_modules/nan/nan.h:710:74: предупреждение: «static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:1352): Use maybe version [-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
^
../node_modules/nan/nan.h: В функции «v8::Local<v8::Script> NanCompileScript(v8::Local<v8::String>)»:
../node_modules/nan/nan.h:717:74: предупреждение: «static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:1352): Use maybe version [-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
^

../src/bufferutil.cc: In static member function «static void BufferUtil::Initialize(v8::Handle<v8::Object>)»:../src/bufferutil.cc:30:52: ошибка: вызов перегруженной функции «NODE_SET_METHOD(v8::Local<v8::FunctionTemplate>&, const char [7], void (&)(const v8::FunctionCallbackInfo<v8::Value>&))» неоднозначен
NODE_SET_METHOD(t, "unmask", BufferUtil::Unmask);
^
../src/bufferutil.cc:30:52: замечание: candidates are:
In file included from ../src/bufferutil.cc:8:0:
/root/.node-gyp/6.11.3/include/node/node.h:246:13: замечание: void node::NODE_SET_METHOD(v8::Local<v8::Template>, const char*, v8::FunctionCallback)
inline void NODE_SET_METHOD(v8::Local<v8::Template> recv,
^
/root/.node-gyp/6.11.3/include/node/node.h:259:13: замечание: void node::NODE_SET_METHOD(v8::Local<v8::Object>, const char*, v8::FunctionCallback)
inline void NODE_SET_METHOD(v8::Local<v8::Object> recv,
^
../src/bufferutil.cc:31:48: ошибка: вызов перегруженной функции «NODE_SET_METHOD(v8::Local<v8::FunctionTemplate>&, const char [5], void (&)(const v8::FunctionCallbackInfo<v8::Value>&))» неоднозначен
NODE_SET_METHOD(t, "mask", BufferUtil::Mask);
^
../src/bufferutil.cc:31:48: замечание: candidates are:
In file included from ../src/bufferutil.cc:8:0:
/root/.node-gyp/6.11.3/include/node/node.h:246:13: замечание: void node::NODE_SET_METHOD(v8::Local<v8::Template>, const char*, v8::FunctionCallback)
inline void NODE_SET_METHOD(v8::Local<v8::Template> recv,
^
/root/.node-gyp/6.11.3/include/node/node.h:259:13: замечание: void node::NODE_SET_METHOD(v8::Local<v8::Object>, const char*, v8::FunctionCallback)
inline void NODE_SET_METHOD(v8::Local<v8::Object> recv,
^
../src/bufferutil.cc:32:50: ошибка: вызов перегруженной функции «NODE_SET_METHOD(v8::Local<v8::FunctionTemplate>&, const char [6], void (&)(const v8::FunctionCallbackInfo<v8::Value>&))» неоднозначен
NODE_SET_METHOD(t, "merge", BufferUtil::Merge);
^
../src/bufferutil.cc:32:50: замечание: candidates are:
In file included from ../src/bufferutil.cc:8:0:
/root/.node-gyp/6.11.3/include/node/node.h:246:13: замечание: void node::NODE_SET_METHOD(v8::Local<v8::Template>, const char*, v8::FunctionCallback)
inline void NODE_SET_METHOD(v8::Local<v8::Template> recv,
^

/root/.node-gyp/6.11.3/include/node/node.h:259:13: замечание: void node::NODE_SET_METHOD(v8::Local<v8::Object>, const char*, v8::FunctionCallback) inline void NODE_SET_METHOD(v8::Local<v8::Object> recv,
^

make: *** [Release/obj.target/bufferutil/src/bufferutil.o] Ошибка 1
gyp

ERR!
build error

gyp
ERR! stack Error: `make` failed with exit code: 2gyp ERR!
stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules.bundled/node-gyp/lib/build.js:276:23)gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:219:12)
gyp ERR! System Linux 3.10.0-693.5.2.el7.x86_64
gyp
ERR!
command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/bufferutil
gyp ERR! node -v v6.11.3
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok

node-pre-gyp

ERR! Tried to download: https://github.com/tessel/node-usb/rele ... x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for usb@1.2.0 and node@6.11.3 (node-v48 ABI) (falling back to source compile with node-gyp)
../libusb/libusb/os/linux_udev.c:40:21: фатальная ошибка: libudev.h: Нет такого файла или каталога #include <libudev.h>
^
компиляция прервана.

make: *** [Release/obj.target/libusb/libusb/libusb/os/linux_udev.o] Ошибка 1
gyp

ERR! build error

gyp ERR! stack Error: `make` failed with exit code: 2gyp
ERR! stack at ChildProcess.onExit (/opt/iobroker/node_modules/npm/node_modules/node-gyp/lib/build.js:285:23)
gyp ERR! stack at emitTwo (events.js:106:13)gyp
ERR! stack at ChildProcess.emit (events.js:191:7)gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:219:12)

gyp
ERR! System Linux 3.10.0-693.5.2.el7.x86_64gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/opt/iobroker/node_modules/usb/src/binding/usb_bindings.node" "--module_name=usb_bindings" "--module_path=/opt/iobroker/node_modules/usb/src/binding"
gyp ERR! cwd /opt/iobroker/node_modules/usb
gyp ERR! node -v v6.11.3
gyp ERR! node-gyp -v v3.6.0
gyp ERR! not ok

node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /opt/iobroker/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/opt/iobroker/node_modules/usb/src/binding/usb_bindings.node --module_name=usb_bindings --module_path=/opt/iobroker/node_modules/usb/src/binding' (1)node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/opt/iobroker/node_modules/usb/node_modules/node-pre-gyp/lib/util/compile.js:83:29)

node-pre-gyp ERR! stack at emitTwo (events.js:106:13)node-pre-gyp ERR! stack at ChildProcess.emit (events.js:191:7)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:920:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:230:5)

node-pre-gyp ERR! System Linux 3.10.0-693.5.2.el7.x86_64node-pre-gyp ERR! command
"/usr/bin/node" "/opt/iobroker/node_modules/usb/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"node-pre-gyp ERR! cwd /opt/iobroker/node_modules/usb
node-pre-gyp ERR! node -v v6.11.3

node-pre-gyp ERR! node-pre-gyp -v v0.6.30node-pre-gyp ERR! not ok

In file included from ../node_modules/nan/nan.h:82:0, from ../src/validation.cc:15:
../node_modules/nan/nan_new.h: В функции «v8::Local<T> NanIntern::To(v8::Handle<v8::Integer>) [with T = v8::Int32; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]»:
../node_modules/nan/nan_new.h:34:64: предупреждение: «v8::Local<v8::Int32> v8::Value::ToInt32() const» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:8214): Use maybe version [-Wdeprecated-declarations]
To<v8::Int32>(v8::Handle<v8::Integer> i) { return i->ToInt32(); }
^

../node_modules/nan/nan_new.h: В функции «v8::Local<T> NanIntern::To(v8::Handle<v8::Integer>) [with T = v8::Uint32; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]»:../node_modules/nan/nan_new.h:39:65: предупреждение: «v8::Local<v8::Uint32> v8::Value::ToUint32() const» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:8208): Use maybe version [-Wdeprecated-declarations]
To<v8::Uint32>(v8::Handle<v8::Integer> i) { return i->ToUint32(); }
^

In file included from ../node_modules/nan/nan_new.h:189:0, from ../node_modules/nan/nan.h:82,
from ../src/validation.cc:15:
../node_modules/nan/nan_implementation_12_inl.h: In static member function «static NanIntern::FactoryBase<v8::BooleanObject>::return_t NanIntern::Factory<v8::BooleanObject>::New(bool)»:
../node_modules/nan/nan_implementation_12_inl.h:49:38: предупреждение: «static v8::Local<v8::Value> v8::BooleanObject::New(bool)» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:4009): Pass an isolate [-Wdeprecated-declarations]
return v8::BooleanObject::New(value).As<v8::BooleanObject>();
^

../node_modules/nan/nan_implementation_12_inl.h: In static member function «static NanIntern::FactoryBase<v8::Script>::return_t NanIntern::Factory<v8::Script>::New(v8::Local<v8::String>)»:../node_modules/nan/nan_implementation_12_inl.h:166:69: предупреждение: «static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:1352): Use maybe version [-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
^

../node_modules/nan/nan_implementation_12_inl.h: In static member function «static NanIntern::FactoryBase<v8::Script>::return_t NanIntern::Factory<v8::Script>::New(v8::Local<v8::String>, const v8::ScriptOrigin&)»:../node_modules/nan/nan_implementation_12_inl.h:173:69: предупреждение: «static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:1352): Use maybe version [-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
^

../node_modules/nan/nan_implementation_12_inl.h: In static member function «static NanIntern::FactoryBase<v8::String>::return_t NanIntern::Factory<v8::String>::New(const uint8_t*, int)»:../node_modules/nan/nan_implementation_12_inl.h:206:42: предупреждение: «static v8::Local<v8::String> v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::String::NewStringType, int)» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:2332): Use maybe version [-Wdeprecated-declarations]
v8::String::kNormalString, length);
^

../node_modules/nan/nan_implementation_12_inl.h: In static member function «static NanIntern::FactoryBase<v8::String>::return_t NanIntern::Factory<v8::String>::New(v8::String::ExternalStringResource*)»:../node_modules/nan/nan_implementation_12_inl.h:217:66: предупреждение: «static v8::Local<v8::String> v8::String::NewExternal(v8::Isolate*, v8::String::ExternalStringResource*)» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:2371): Use maybe version [-Wdeprecated-declarations]
return v8::String::NewExternal(v8::Isolate::GetCurrent(), value);
^
../node_modules/nan/nan_implementation_12_inl.h: In static member function «static NanIntern::FactoryBase<v8::UnboundScript>::return_t NanIntern::Factory<v8::UnboundScript>::New(v8::Local<v8::String>)»:
../node_modules/nan/nan_implementation_12_inl.h:237:76: предупреждение: «static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:1333): Use maybe version [-Wdeprecated-declarations]
return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
^
../node_modules/nan/nan_implementation_12_inl.h: In static member function «static NanIntern::FactoryBase<v8::UnboundScript>::return_t NanIntern::Factory<v8::UnboundScript>::New(v8::Local<v8::String>, const v8::ScriptOrigin&)»:
../node_modules/nan/nan_implementation_12_inl.h:244:76: предупреждение: «static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:1333): Use maybe version [-Wdeprecated-declarations]
return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
^

In file included from ../src/validation.cc:15:0:../node_modules/nan/nan.h: At global scope:
../node_modules/nan/nan.h:261:25: ошибка: redefinition of «template<class T> v8::Local<T> _NanEnsureLocal(v8::Local<T>)»
NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Local<T> val) {
^

../node_modules/nan/nan.h:256:25: ошибка: «template<class T> v8::Local<T> _NanEnsureLocal(v8::Handle<T>)» previously declared here NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Handle<T> val) {
^

../node_modules/nan/nan.h: В функции «bool NanIdleNotification(int)»:../node_modules/nan/nan.h:289:71: предупреждение: «bool v8::Isolate::IdleNotification(int)» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:6115): use IdleNotificationDeadline() [-Wdeprecated-declarations]
return v8::Isolate::GetCurrent()->IdleNotification(idle_time_in_ms);
^

../node_modules/nan/nan.h: At global scope:../node_modules/nan/nan.h:473:20: ошибка: переменная или поле «NanAddGCEpilogueCallback» объявлено void
v8::Isolate::GCEpilogueCallback callback
^
../node_modules/nan/nan.h:473:7: ошибка: «GCEpilogueCallback» не является элементом «v8::Isolate»
v8::Isolate::GCEpilogueCallback callback
^
../node_modules/nan/nan.h:474:18: ошибка: expected primary-expression before «gc_type_filter»
, v8::GCType gc_type_filter = v8::kGCTypeAll) {
^
../node_modules/nan/nan.h:479:20: ошибка: переменная или поле «NanRemoveGCEpilogueCallback» объявлено void
v8::Isolate::GCEpilogueCallback callback) {
^
../node_modules/nan/nan.h:479:7: ошибка: «GCEpilogueCallback» не является элементом «v8::Isolate»
v8::Isolate::GCEpilogueCallback callback) {
^
../node_modules/nan/nan.h:484:20: ошибка: переменная или поле «NanAddGCPrologueCallback» объявлено void
v8::Isolate::GCPrologueCallback callback
^
../node_modules/nan/nan.h:484:7: ошибка: «GCPrologueCallback» не является элементом «v8::Isolate»
v8::Isolate::GCPrologueCallback callback
^
../node_modules/nan/nan.h:485:18: ошибка: expected primary-expression before «gc_type_filter»
, v8::GCType gc_type_filter = v8::kGCTypeAll) {
^
../node_modules/nan/nan.h:490:20: ошибка: переменная или поле «NanRemoveGCPrologueCallback» объявлено void
v8::Isolate::GCPrologueCallback callback) {
^

../node_modules/nan/nan.h:490:7: ошибка: «GCPrologueCallback» не является элементом «v8::Isolate» v8::Isolate::GCPrologueCallback callback) {
^

../node_modules/nan/nan.h:661:13: ошибка: «node::smalloc» не был декларирован , node::smalloc::FreeCallback callback
^

../node_modules/nan/nan.h:661:35: ошибка: expected «,» or «...» before «callback» , node::smalloc::FreeCallback callback
^
../node_modules/nan/nan.h: В функции «v8::Local<v8::Object> NanNewBufferHandle(char*, size_t, int)»:
../node_modules/nan/nan.h:665:50: ошибка: нет декларации «callback» в этой области видимости
v8::Isolate::GetCurrent(), data, length, callback, hint);
^
../node_modules/nan/nan.h:665:60: ошибка: нет декларации «hint» в этой области видимости
v8::Isolate::GetCurrent(), data, length, callback, hint);
^
../node_modules/nan/nan.h: В функции «v8::Local<v8::Object> NanNewBufferHandle(const char*, uint32_t)»:
../node_modules/nan/nan.h:672:67: ошибка: некорректное преобразование из «const char*» в «char*» [-fpermissive]
return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
^

In file included from ../src/validation.cc:10:0:/root/.node-gyp/6.11.3/include/node/node_buffer.h:46:40: ошибка: при инициализации 2 -го аргумента «v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t)» [-fpermissive]
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
^
In file included from ../src/validation.cc:15:0:
../node_modules/nan/nan.h:672:67: ошибка: could not convert «node::Buffer::New(v8::Isolate::GetCurrent(), ((char*)data), ((size_t)size))» from «v8::MaybeLocal<v8::Object>» to «v8::Local<v8::Object>»
return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
^
../node_modules/nan/nan.h: В функции «v8::Local<v8::Object> NanNewBufferHandle(uint32_t)»:
../node_modules/nan/nan.h:676:61: ошибка: could not convert «node::Buffer::New(v8::Isolate::GetCurrent(), ((size_t)size))» from «v8::MaybeLocal<v8::Object>» to «v8::Local<v8::Object>»
return node::Buffer::New(v8::Isolate::GetCurrent(), size);
^
../node_modules/nan/nan.h: В функции «v8::Local<v8::Object> NanBufferUse(char*, uint32_t)»:
../node_modules/nan/nan.h:683:12: ошибка: «Use» не является элементом «node::Buffer»
return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
^

../node_modules/nan/nan.h: В функции «v8::Local<v8::Script> NanCompileScript(v8::Local<v8::String>, const v8::ScriptOrigin&)»:../node_modules/nan/nan.h:710:74: предупреждение: «static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:1352): Use maybe version [-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
^

../node_modules/nan/nan.h: В функции «v8::Local<v8::Script> NanCompileScript(v8::Local<v8::String>)»:../node_modules/nan/nan.h:717:74: предупреждение: «static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:1352): Use maybe version [-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
^

../src/validation.cc: In static member function «static void Validation::Initialize(v8::Handle<v8::Object>)»:../src/validation.cc:112:62: ошибка: вызов перегруженной функции «NODE_SET_METHOD(v8::Local<v8::FunctionTemplate>&, const char [12], void (&)(const v8::FunctionCallbackInfo<v8::Value>&))» неоднозначен
NODE_SET_METHOD(t, "isValidUTF8", Validation::IsValidUTF8);
^
../src/validation.cc:112:62: замечание: candidates are:

In file included from ../src/validation.cc:8:0:/root/.node-gyp/6.11.3/include/node/node.h:246:13: замечание: void node::NODE_SET_METHOD(v8::Local<v8::Template>, const char*, v8::FunctionCallback)
inline void NODE_SET_METHOD(v8::Local<v8::Template> recv,
^
/root/.node-gyp/6.11.3/include/node/node.h:259:13: замечание: void node::NODE_SET_METHOD(v8::Local<v8::Object>, const char*, v8::FunctionCallback)
inline void NODE_SET_METHOD(v8::Local<v8::Object> recv,
^

make: *** [Release/obj.target/validation/src/validation.o] Ошибка 1
gyp

ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2gyp
ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules.bundled/node-gyp/lib/build.js:276:23)gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack
at ChildProcess.emit (events.js:191:7)gyp
ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:219:12)gyp ERR! System Linux 3.10.0-693.5.2.el7.x86_64
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /opt/iobroker/node_modules/utf-8-validate
gyp ERR! node -v v6.11.3
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok

In file included from ../src/dns_sd.cpp:1:0:../src/mdns.hpp:32:20: фатальная ошибка: dns_sd.h: Нет такого файла или каталога
#include <dns_sd.h>
^
компиляция прервана.

make: *** [Release/obj.target/dns_sd_bindings/src/dns_sd.o] Ошибка 1
gyp

ERR! build error
gyp
ERR! stack Error: `make` failed with exit code: 2gyp ERR!
stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules.bundled/node-gyp/lib/build.js:276:23)gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR!
stack at ChildProcess.emit (events.js:191:7)gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:219:12)
gyp
ERR! System Linux 3.10.0-693.5.2.el7.x86_64gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /opt/iobroker/node_modules/mdns
gyp
ERR! node -v v6.11.3gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok

npm
WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@~0.1.4 (node_modules/iobroker.radar/node_modules/noble/node_modules/xpc-connection):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@~0.1.4 (node_modules/noble/node_modules/xpc-connection):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})npm WARN babel-eslint@5.0.4 requires a peer of eslint@<2.3.0 but none was installed.
npm WARN babel-eslint@5.0.4 requires a peer of eslint@<2.3.0 but none was installed.

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bufferutil@1.1.0 (node_modules/bufferutil):npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bufferutil@1.1.0 install: `node-gyp rebuild`
npm
WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1npm WARN optional SKIPPING OPTIONAL DEPENDENCY: usb@1.2.0 (node_modules/usb):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: usb@1.2.0 install: `node-pre-gyp install --fallback-to-build`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: utf-8-validate@1.1.0 (node_modules/utf-8-validate):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: utf-8-validate@1.1.0 install: `node-gyp rebuild`
npm WARN
optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1npm WARN optional SKIPPING OPTIONAL DEPENDENCY: mdns@2.3.3 (node_modules/mdns):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: mdns@2.3.3 install: `node-gyp rebuild`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

host.home.angelok.ru Adapter "system.adapter.web.0" is started
npm install --production (System call) in "/opt/iobroker/node_modules/iobroker.web"


Nach oben
   
BeitragVerfasst: 15.11.2017, 16:51 
Offline
guru
Benutzeravatar

Registriert: 09.11.2014, 16:50
Beiträge: 1191
Wohnort: Барнаул
Hat sich bedankt: 8 Mal
Danksagung erhalten: 35 Mal
sscorpio hat geschrieben:
Здравствуйте.
Обновляю драйвера с веб морды.
Пишет много текста при обновлении, но в результате номер версии меняется на последнюю.
Только вот меня грызут смутные сомнения.
Посмотрите пожалуйста лог.
Драйвер вообще обновился ?

Spoiler: Show hidden text
$ ./iobroker upgrade web
Update web from @2.1.7 to @2.1.8
host.home.angelok.ru Adapter "system.adapter.web.0" is stopped.
npm install iobroker.web@2.1.8 --production --prefix "/opt/iobroker" (System call)
In file included from ../node_modules/nan/nan.h:82:0, from ../src/bufferutil.cc:16:
../node_modules/nan/nan_new.h: В функции «v8::Local<T> NanIntern::To(v8::Handle<v8::Integer>) [with T = v8::Int32; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]»:
../node_modules/nan/nan_new.h:34:64: предупреждение: «v8::Local<v8::Int32> v8::Value::ToInt32() const» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:8214): Use maybe version [-Wdeprecated-declarations]
To<v8::Int32>(v8::Handle<v8::Integer> i) { return i->ToInt32(); }
^

../node_modules/nan/nan_new.h: В функции «v8::Local<T> NanIntern::To(v8::Handle<v8::Integer>) [with T = v8::Uint32; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]»:../node_modules/nan/nan_new.h:39:65: предупреждение: «v8::Local<v8::Uint32> v8::Value::ToUint32() const» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:8208): Use maybe version [-Wdeprecated-declarations]
To<v8::Uint32>(v8::Handle<v8::Integer> i) { return i->ToUint32(); }
^

In file included from ../node_modules/nan/nan_new.h:189:0, from ../node_modules/nan/nan.h:82,
from ../src/bufferutil.cc:16:
../node_modules/nan/nan_implementation_12_inl.h: In static member function «static NanIntern::FactoryBase<v8::BooleanObject>::return_t NanIntern::Factory<v8::BooleanObject>::New(bool)»:
../node_modules/nan/nan_implementation_12_inl.h:49:38: предупреждение: «static v8::Local<v8::Value> v8::BooleanObject::New(bool)» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:4009): Pass an isolate [-Wdeprecated-declarations]
return v8::BooleanObject::New(value).As<v8::BooleanObject>();
^

../node_modules/nan/nan_implementation_12_inl.h: In static member function «static NanIntern::FactoryBase<v8::Script>::return_t NanIntern::Factory<v8::Script>::New(v8::Local<v8::String>)»:../node_modules/nan/nan_implementation_12_inl.h:166:69: предупреждение: «static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:1352): Use maybe version [-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
^

../node_modules/nan/nan_implementation_12_inl.h: In static member function «static NanIntern::FactoryBase<v8::Script>::return_t NanIntern::Factory<v8::Script>::New(v8::Local<v8::String>, const v8::ScriptOrigin&)»:../node_modules/nan/nan_implementation_12_inl.h:173:69: предупреждение: «static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:1352): Use maybe version [-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
^

../node_modules/nan/nan_implementation_12_inl.h: In static member function «static NanIntern::FactoryBase<v8::String>::return_t NanIntern::Factory<v8::String>::New(const uint8_t*, int)»:../node_modules/nan/nan_implementation_12_inl.h:206:42: предупреждение: «static v8::Local<v8::String> v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::String::NewStringType, int)» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:2332): Use maybe version [-Wdeprecated-declarations]
v8::String::kNormalString, length);
^
../node_modules/nan/nan_implementation_12_inl.h: In static member function «static NanIntern::FactoryBase<v8::String>::return_t NanIntern::Factory<v8::String>::New(v8::String::ExternalStringResource*)»:
../node_modules/nan/nan_implementation_12_inl.h:217:66: предупреждение: «static v8::Local<v8::String> v8::String::NewExternal(v8::Isolate*, v8::String::ExternalStringResource*)» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:2371): Use maybe version [-Wdeprecated-declarations]
return v8::String::NewExternal(v8::Isolate::GetCurrent(), value);
^

../node_modules/nan/nan_implementation_12_inl.h: In static member function «static NanIntern::FactoryBase<v8::UnboundScript>::return_t NanIntern::Factory<v8::UnboundScript>::New(v8::Local<v8::String>)»:../node_modules/nan/nan_implementation_12_inl.h:237:76: предупреждение: «static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:1333): Use maybe version [-Wdeprecated-declarations]
return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
^

../node_modules/nan/nan_implementation_12_inl.h: In static member function «static NanIntern::FactoryBase<v8::UnboundScript>::return_t NanIntern::Factory<v8::UnboundScript>::New(v8::Local<v8::String>, const v8::ScriptOrigin&)»:../node_modules/nan/nan_implementation_12_inl.h:244:76: предупреждение: «static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:1333): Use maybe version [-Wdeprecated-declarations]
return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
^

In file included from ../src/bufferutil.cc:16:0:../node_modules/nan/nan.h: At global scope:
../node_modules/nan/nan.h:261:25: ошибка: redefinition of «template<class T> v8::Local<T> _NanEnsureLocal(v8::Local<T>)»
NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Local<T> val) {
^

../node_modules/nan/nan.h:256:25: ошибка: «template<class T> v8::Local<T> _NanEnsureLocal(v8::Handle<T>)» previously declared here NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Handle<T> val) {
^
../node_modules/nan/nan.h: В функции «bool NanIdleNotification(int)»:
../node_modules/nan/nan.h:289:71: предупреждение: «bool v8::Isolate::IdleNotification(int)» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:6115): use IdleNotificationDeadline() [-Wdeprecated-declarations]
return v8::Isolate::GetCurrent()->IdleNotification(idle_time_in_ms);
^

../node_modules/nan/nan.h: At global scope:../node_modules/nan/nan.h:473:20: ошибка: переменная или поле «NanAddGCEpilogueCallback» объявлено void
v8::Isolate::GCEpilogueCallback callback
^

../node_modules/nan/nan.h:473:7: ошибка: «GCEpilogueCallback» не является элементом «v8::Isolate» v8::Isolate::GCEpilogueCallback callback
^
../node_modules/nan/nan.h:474:18: ошибка: expected primary-expression before «gc_type_filter»
, v8::GCType gc_type_filter = v8::kGCTypeAll) {
^
../node_modules/nan/nan.h:479:20: ошибка: переменная или поле «NanRemoveGCEpilogueCallback» объявлено void
v8::Isolate::GCEpilogueCallback callback) {
^
../node_modules/nan/nan.h:479:7: ошибка: «GCEpilogueCallback» не является элементом «v8::Isolate»
v8::Isolate::GCEpilogueCallback callback) {
^
../node_modules/nan/nan.h:484:20: ошибка: переменная или поле «NanAddGCPrologueCallback» объявлено void
v8::Isolate::GCPrologueCallback callback
^

../node_modules/nan/nan.h:484:7: ошибка: «GCPrologueCallback» не является элементом «v8::Isolate» v8::Isolate::GCPrologueCallback callback
^
../node_modules/nan/nan.h:485:18: ошибка: expected primary-expression before «gc_type_filter»
, v8::GCType gc_type_filter = v8::kGCTypeAll) {
^
../node_modules/nan/nan.h:490:20: ошибка: переменная или поле «NanRemoveGCPrologueCallback» объявлено void
v8::Isolate::GCPrologueCallback callback) {
^
../node_modules/nan/nan.h:490:7: ошибка: «GCPrologueCallback» не является элементом «v8::Isolate»
v8::Isolate::GCPrologueCallback callback) {
^

../node_modules/nan/nan.h:661:13: ошибка: «node::smalloc» не был декларирован , node::smalloc::FreeCallback callback
^

../node_modules/nan/nan.h:661:35: ошибка: expected «,» or «...» before «callback» , node::smalloc::FreeCallback callback
^
../node_modules/nan/nan.h: В функции «v8::Local<v8::Object> NanNewBufferHandle(char*, size_t, int)»:
../node_modules/nan/nan.h:665:50: ошибка: нет декларации «callback» в этой области видимости
v8::Isolate::GetCurrent(), data, length, callback, hint);
^

../node_modules/nan/nan.h:665:60: ошибка: нет декларации «hint» в этой области видимости v8::Isolate::GetCurrent(), data, length, callback, hint);
^
../node_modules/nan/nan.h: В функции «v8::Local<v8::Object> NanNewBufferHandle(const char*, uint32_t)»:
../node_modules/nan/nan.h:672:67: ошибка: некорректное преобразование из «const char*» в «char*» [-fpermissive]
return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
^
In file included from ../src/bufferutil.cc:10:0:
/root/.node-gyp/6.11.3/include/node/node_buffer.h:46:40: ошибка: при инициализации 2 -го аргумента «v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t)» [-fpermissive]
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
^
In file included from ../src/bufferutil.cc:16:0:
../node_modules/nan/nan.h:672:67: ошибка: could not convert «node::Buffer::New(v8::Isolate::GetCurrent(), ((char*)data), ((size_t)size))» from «v8::MaybeLocal<v8::Object>» to «v8::Local<v8::Object>»
return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
^
../node_modules/nan/nan.h: В функции «v8::Local<v8::Object> NanNewBufferHandle(uint32_t)»:
../node_modules/nan/nan.h:676:61: ошибка: could not convert «node::Buffer::New(v8::Isolate::GetCurrent(), ((size_t)size))» from «v8::MaybeLocal<v8::Object>» to «v8::Local<v8::Object>»
return node::Buffer::New(v8::Isolate::GetCurrent(), size);
^
../node_modules/nan/nan.h: В функции «v8::Local<v8::Object> NanBufferUse(char*, uint32_t)»:
../node_modules/nan/nan.h:683:12: ошибка: «Use» не является элементом «node::Buffer»
return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
^

../node_modules/nan/nan.h: В функции «v8::Local<v8::Script> NanCompileScript(v8::Local<v8::String>, const v8::ScriptOrigin&)»:../node_modules/nan/nan.h:710:74: предупреждение: «static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:1352): Use maybe version [-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
^
../node_modules/nan/nan.h: В функции «v8::Local<v8::Script> NanCompileScript(v8::Local<v8::String>)»:
../node_modules/nan/nan.h:717:74: предупреждение: «static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:1352): Use maybe version [-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
^

../src/bufferutil.cc: In static member function «static void BufferUtil::Initialize(v8::Handle<v8::Object>)»:../src/bufferutil.cc:30:52: ошибка: вызов перегруженной функции «NODE_SET_METHOD(v8::Local<v8::FunctionTemplate>&, const char [7], void (&)(const v8::FunctionCallbackInfo<v8::Value>&))» неоднозначен
NODE_SET_METHOD(t, "unmask", BufferUtil::Unmask);
^
../src/bufferutil.cc:30:52: замечание: candidates are:
In file included from ../src/bufferutil.cc:8:0:
/root/.node-gyp/6.11.3/include/node/node.h:246:13: замечание: void node::NODE_SET_METHOD(v8::Local<v8::Template>, const char*, v8::FunctionCallback)
inline void NODE_SET_METHOD(v8::Local<v8::Template> recv,
^
/root/.node-gyp/6.11.3/include/node/node.h:259:13: замечание: void node::NODE_SET_METHOD(v8::Local<v8::Object>, const char*, v8::FunctionCallback)
inline void NODE_SET_METHOD(v8::Local<v8::Object> recv,
^
../src/bufferutil.cc:31:48: ошибка: вызов перегруженной функции «NODE_SET_METHOD(v8::Local<v8::FunctionTemplate>&, const char [5], void (&)(const v8::FunctionCallbackInfo<v8::Value>&))» неоднозначен
NODE_SET_METHOD(t, "mask", BufferUtil::Mask);
^
../src/bufferutil.cc:31:48: замечание: candidates are:
In file included from ../src/bufferutil.cc:8:0:
/root/.node-gyp/6.11.3/include/node/node.h:246:13: замечание: void node::NODE_SET_METHOD(v8::Local<v8::Template>, const char*, v8::FunctionCallback)
inline void NODE_SET_METHOD(v8::Local<v8::Template> recv,
^
/root/.node-gyp/6.11.3/include/node/node.h:259:13: замечание: void node::NODE_SET_METHOD(v8::Local<v8::Object>, const char*, v8::FunctionCallback)
inline void NODE_SET_METHOD(v8::Local<v8::Object> recv,
^
../src/bufferutil.cc:32:50: ошибка: вызов перегруженной функции «NODE_SET_METHOD(v8::Local<v8::FunctionTemplate>&, const char [6], void (&)(const v8::FunctionCallbackInfo<v8::Value>&))» неоднозначен
NODE_SET_METHOD(t, "merge", BufferUtil::Merge);
^
../src/bufferutil.cc:32:50: замечание: candidates are:
In file included from ../src/bufferutil.cc:8:0:
/root/.node-gyp/6.11.3/include/node/node.h:246:13: замечание: void node::NODE_SET_METHOD(v8::Local<v8::Template>, const char*, v8::FunctionCallback)
inline void NODE_SET_METHOD(v8::Local<v8::Template> recv,
^

/root/.node-gyp/6.11.3/include/node/node.h:259:13: замечание: void node::NODE_SET_METHOD(v8::Local<v8::Object>, const char*, v8::FunctionCallback) inline void NODE_SET_METHOD(v8::Local<v8::Object> recv,
^

make: *** [Release/obj.target/bufferutil/src/bufferutil.o] Ошибка 1
gyp

ERR!
build error

gyp
ERR! stack Error: `make` failed with exit code: 2gyp ERR!
stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules.bundled/node-gyp/lib/build.js:276:23)gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:219:12)
gyp ERR! System Linux 3.10.0-693.5.2.el7.x86_64
gyp
ERR!
command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/bufferutil
gyp ERR! node -v v6.11.3
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok

node-pre-gyp

ERR! Tried to download: https://github.com/tessel/node-usb/rele ... x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for usb@1.2.0 and node@6.11.3 (node-v48 ABI) (falling back to source compile with node-gyp)
../libusb/libusb/os/linux_udev.c:40:21: фатальная ошибка: libudev.h: Нет такого файла или каталога #include <libudev.h>
^
компиляция прервана.

make: *** [Release/obj.target/libusb/libusb/libusb/os/linux_udev.o] Ошибка 1
gyp

ERR! build error

gyp ERR! stack Error: `make` failed with exit code: 2gyp
ERR! stack at ChildProcess.onExit (/opt/iobroker/node_modules/npm/node_modules/node-gyp/lib/build.js:285:23)
gyp ERR! stack at emitTwo (events.js:106:13)gyp
ERR! stack at ChildProcess.emit (events.js:191:7)gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:219:12)

gyp
ERR! System Linux 3.10.0-693.5.2.el7.x86_64gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/opt/iobroker/node_modules/usb/src/binding/usb_bindings.node" "--module_name=usb_bindings" "--module_path=/opt/iobroker/node_modules/usb/src/binding"
gyp ERR! cwd /opt/iobroker/node_modules/usb
gyp ERR! node -v v6.11.3
gyp ERR! node-gyp -v v3.6.0
gyp ERR! not ok

node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /opt/iobroker/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/opt/iobroker/node_modules/usb/src/binding/usb_bindings.node --module_name=usb_bindings --module_path=/opt/iobroker/node_modules/usb/src/binding' (1)node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/opt/iobroker/node_modules/usb/node_modules/node-pre-gyp/lib/util/compile.js:83:29)

node-pre-gyp ERR! stack at emitTwo (events.js:106:13)node-pre-gyp ERR! stack at ChildProcess.emit (events.js:191:7)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:920:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:230:5)

node-pre-gyp ERR! System Linux 3.10.0-693.5.2.el7.x86_64node-pre-gyp ERR! command
"/usr/bin/node" "/opt/iobroker/node_modules/usb/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"node-pre-gyp ERR! cwd /opt/iobroker/node_modules/usb
node-pre-gyp ERR! node -v v6.11.3

node-pre-gyp ERR! node-pre-gyp -v v0.6.30node-pre-gyp ERR! not ok

In file included from ../node_modules/nan/nan.h:82:0, from ../src/validation.cc:15:
../node_modules/nan/nan_new.h: В функции «v8::Local<T> NanIntern::To(v8::Handle<v8::Integer>) [with T = v8::Int32; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]»:
../node_modules/nan/nan_new.h:34:64: предупреждение: «v8::Local<v8::Int32> v8::Value::ToInt32() const» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:8214): Use maybe version [-Wdeprecated-declarations]
To<v8::Int32>(v8::Handle<v8::Integer> i) { return i->ToInt32(); }
^

../node_modules/nan/nan_new.h: В функции «v8::Local<T> NanIntern::To(v8::Handle<v8::Integer>) [with T = v8::Uint32; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]»:../node_modules/nan/nan_new.h:39:65: предупреждение: «v8::Local<v8::Uint32> v8::Value::ToUint32() const» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:8208): Use maybe version [-Wdeprecated-declarations]
To<v8::Uint32>(v8::Handle<v8::Integer> i) { return i->ToUint32(); }
^

In file included from ../node_modules/nan/nan_new.h:189:0, from ../node_modules/nan/nan.h:82,
from ../src/validation.cc:15:
../node_modules/nan/nan_implementation_12_inl.h: In static member function «static NanIntern::FactoryBase<v8::BooleanObject>::return_t NanIntern::Factory<v8::BooleanObject>::New(bool)»:
../node_modules/nan/nan_implementation_12_inl.h:49:38: предупреждение: «static v8::Local<v8::Value> v8::BooleanObject::New(bool)» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:4009): Pass an isolate [-Wdeprecated-declarations]
return v8::BooleanObject::New(value).As<v8::BooleanObject>();
^

../node_modules/nan/nan_implementation_12_inl.h: In static member function «static NanIntern::FactoryBase<v8::Script>::return_t NanIntern::Factory<v8::Script>::New(v8::Local<v8::String>)»:../node_modules/nan/nan_implementation_12_inl.h:166:69: предупреждение: «static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:1352): Use maybe version [-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
^

../node_modules/nan/nan_implementation_12_inl.h: In static member function «static NanIntern::FactoryBase<v8::Script>::return_t NanIntern::Factory<v8::Script>::New(v8::Local<v8::String>, const v8::ScriptOrigin&)»:../node_modules/nan/nan_implementation_12_inl.h:173:69: предупреждение: «static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:1352): Use maybe version [-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
^

../node_modules/nan/nan_implementation_12_inl.h: In static member function «static NanIntern::FactoryBase<v8::String>::return_t NanIntern::Factory<v8::String>::New(const uint8_t*, int)»:../node_modules/nan/nan_implementation_12_inl.h:206:42: предупреждение: «static v8::Local<v8::String> v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::String::NewStringType, int)» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:2332): Use maybe version [-Wdeprecated-declarations]
v8::String::kNormalString, length);
^

../node_modules/nan/nan_implementation_12_inl.h: In static member function «static NanIntern::FactoryBase<v8::String>::return_t NanIntern::Factory<v8::String>::New(v8::String::ExternalStringResource*)»:../node_modules/nan/nan_implementation_12_inl.h:217:66: предупреждение: «static v8::Local<v8::String> v8::String::NewExternal(v8::Isolate*, v8::String::ExternalStringResource*)» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:2371): Use maybe version [-Wdeprecated-declarations]
return v8::String::NewExternal(v8::Isolate::GetCurrent(), value);
^
../node_modules/nan/nan_implementation_12_inl.h: In static member function «static NanIntern::FactoryBase<v8::UnboundScript>::return_t NanIntern::Factory<v8::UnboundScript>::New(v8::Local<v8::String>)»:
../node_modules/nan/nan_implementation_12_inl.h:237:76: предупреждение: «static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:1333): Use maybe version [-Wdeprecated-declarations]
return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
^
../node_modules/nan/nan_implementation_12_inl.h: In static member function «static NanIntern::FactoryBase<v8::UnboundScript>::return_t NanIntern::Factory<v8::UnboundScript>::New(v8::Local<v8::String>, const v8::ScriptOrigin&)»:
../node_modules/nan/nan_implementation_12_inl.h:244:76: предупреждение: «static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:1333): Use maybe version [-Wdeprecated-declarations]
return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
^

In file included from ../src/validation.cc:15:0:../node_modules/nan/nan.h: At global scope:
../node_modules/nan/nan.h:261:25: ошибка: redefinition of «template<class T> v8::Local<T> _NanEnsureLocal(v8::Local<T>)»
NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Local<T> val) {
^

../node_modules/nan/nan.h:256:25: ошибка: «template<class T> v8::Local<T> _NanEnsureLocal(v8::Handle<T>)» previously declared here NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Handle<T> val) {
^

../node_modules/nan/nan.h: В функции «bool NanIdleNotification(int)»:../node_modules/nan/nan.h:289:71: предупреждение: «bool v8::Isolate::IdleNotification(int)» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:6115): use IdleNotificationDeadline() [-Wdeprecated-declarations]
return v8::Isolate::GetCurrent()->IdleNotification(idle_time_in_ms);
^

../node_modules/nan/nan.h: At global scope:../node_modules/nan/nan.h:473:20: ошибка: переменная или поле «NanAddGCEpilogueCallback» объявлено void
v8::Isolate::GCEpilogueCallback callback
^
../node_modules/nan/nan.h:473:7: ошибка: «GCEpilogueCallback» не является элементом «v8::Isolate»
v8::Isolate::GCEpilogueCallback callback
^
../node_modules/nan/nan.h:474:18: ошибка: expected primary-expression before «gc_type_filter»
, v8::GCType gc_type_filter = v8::kGCTypeAll) {
^
../node_modules/nan/nan.h:479:20: ошибка: переменная или поле «NanRemoveGCEpilogueCallback» объявлено void
v8::Isolate::GCEpilogueCallback callback) {
^
../node_modules/nan/nan.h:479:7: ошибка: «GCEpilogueCallback» не является элементом «v8::Isolate»
v8::Isolate::GCEpilogueCallback callback) {
^
../node_modules/nan/nan.h:484:20: ошибка: переменная или поле «NanAddGCPrologueCallback» объявлено void
v8::Isolate::GCPrologueCallback callback
^
../node_modules/nan/nan.h:484:7: ошибка: «GCPrologueCallback» не является элементом «v8::Isolate»
v8::Isolate::GCPrologueCallback callback
^
../node_modules/nan/nan.h:485:18: ошибка: expected primary-expression before «gc_type_filter»
, v8::GCType gc_type_filter = v8::kGCTypeAll) {
^
../node_modules/nan/nan.h:490:20: ошибка: переменная или поле «NanRemoveGCPrologueCallback» объявлено void
v8::Isolate::GCPrologueCallback callback) {
^

../node_modules/nan/nan.h:490:7: ошибка: «GCPrologueCallback» не является элементом «v8::Isolate» v8::Isolate::GCPrologueCallback callback) {
^

../node_modules/nan/nan.h:661:13: ошибка: «node::smalloc» не был декларирован , node::smalloc::FreeCallback callback
^

../node_modules/nan/nan.h:661:35: ошибка: expected «,» or «...» before «callback» , node::smalloc::FreeCallback callback
^
../node_modules/nan/nan.h: В функции «v8::Local<v8::Object> NanNewBufferHandle(char*, size_t, int)»:
../node_modules/nan/nan.h:665:50: ошибка: нет декларации «callback» в этой области видимости
v8::Isolate::GetCurrent(), data, length, callback, hint);
^
../node_modules/nan/nan.h:665:60: ошибка: нет декларации «hint» в этой области видимости
v8::Isolate::GetCurrent(), data, length, callback, hint);
^
../node_modules/nan/nan.h: В функции «v8::Local<v8::Object> NanNewBufferHandle(const char*, uint32_t)»:
../node_modules/nan/nan.h:672:67: ошибка: некорректное преобразование из «const char*» в «char*» [-fpermissive]
return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
^

In file included from ../src/validation.cc:10:0:/root/.node-gyp/6.11.3/include/node/node_buffer.h:46:40: ошибка: при инициализации 2 -го аргумента «v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t)» [-fpermissive]
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
^
In file included from ../src/validation.cc:15:0:
../node_modules/nan/nan.h:672:67: ошибка: could not convert «node::Buffer::New(v8::Isolate::GetCurrent(), ((char*)data), ((size_t)size))» from «v8::MaybeLocal<v8::Object>» to «v8::Local<v8::Object>»
return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
^
../node_modules/nan/nan.h: В функции «v8::Local<v8::Object> NanNewBufferHandle(uint32_t)»:
../node_modules/nan/nan.h:676:61: ошибка: could not convert «node::Buffer::New(v8::Isolate::GetCurrent(), ((size_t)size))» from «v8::MaybeLocal<v8::Object>» to «v8::Local<v8::Object>»
return node::Buffer::New(v8::Isolate::GetCurrent(), size);
^
../node_modules/nan/nan.h: В функции «v8::Local<v8::Object> NanBufferUse(char*, uint32_t)»:
../node_modules/nan/nan.h:683:12: ошибка: «Use» не является элементом «node::Buffer»
return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
^

../node_modules/nan/nan.h: В функции «v8::Local<v8::Script> NanCompileScript(v8::Local<v8::String>, const v8::ScriptOrigin&)»:../node_modules/nan/nan.h:710:74: предупреждение: «static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:1352): Use maybe version [-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
^

../node_modules/nan/nan.h: В функции «v8::Local<v8::Script> NanCompileScript(v8::Local<v8::String>)»:../node_modules/nan/nan.h:717:74: предупреждение: «static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:1352): Use maybe version [-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
^

../src/validation.cc: In static member function «static void Validation::Initialize(v8::Handle<v8::Object>)»:../src/validation.cc:112:62: ошибка: вызов перегруженной функции «NODE_SET_METHOD(v8::Local<v8::FunctionTemplate>&, const char [12], void (&)(const v8::FunctionCallbackInfo<v8::Value>&))» неоднозначен
NODE_SET_METHOD(t, "isValidUTF8", Validation::IsValidUTF8);
^
../src/validation.cc:112:62: замечание: candidates are:

In file included from ../src/validation.cc:8:0:/root/.node-gyp/6.11.3/include/node/node.h:246:13: замечание: void node::NODE_SET_METHOD(v8::Local<v8::Template>, const char*, v8::FunctionCallback)
inline void NODE_SET_METHOD(v8::Local<v8::Template> recv,
^
/root/.node-gyp/6.11.3/include/node/node.h:259:13: замечание: void node::NODE_SET_METHOD(v8::Local<v8::Object>, const char*, v8::FunctionCallback)
inline void NODE_SET_METHOD(v8::Local<v8::Object> recv,
^

make: *** [Release/obj.target/validation/src/validation.o] Ошибка 1
gyp

ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2gyp
ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules.bundled/node-gyp/lib/build.js:276:23)gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack
at ChildProcess.emit (events.js:191:7)gyp
ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:219:12)gyp ERR! System Linux 3.10.0-693.5.2.el7.x86_64
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /opt/iobroker/node_modules/utf-8-validate
gyp ERR! node -v v6.11.3
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok

In file included from ../src/dns_sd.cpp:1:0:../src/mdns.hpp:32:20: фатальная ошибка: dns_sd.h: Нет такого файла или каталога
#include <dns_sd.h>
^
компиляция прервана.

make: *** [Release/obj.target/dns_sd_bindings/src/dns_sd.o] Ошибка 1
gyp

ERR! build error
gyp
ERR! stack Error: `make` failed with exit code: 2gyp ERR!
stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules.bundled/node-gyp/lib/build.js:276:23)gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR!
stack at ChildProcess.emit (events.js:191:7)gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:219:12)
gyp
ERR! System Linux 3.10.0-693.5.2.el7.x86_64gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /opt/iobroker/node_modules/mdns
gyp
ERR! node -v v6.11.3gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok

npm
WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@~0.1.4 (node_modules/iobroker.radar/node_modules/noble/node_modules/xpc-connection):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@~0.1.4 (node_modules/noble/node_modules/xpc-connection):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})npm WARN babel-eslint@5.0.4 requires a peer of eslint@<2.3.0 but none was installed.
npm WARN babel-eslint@5.0.4 requires a peer of eslint@<2.3.0 but none was installed.

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bufferutil@1.1.0 (node_modules/bufferutil):npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bufferutil@1.1.0 install: `node-gyp rebuild`
npm
WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1npm WARN optional SKIPPING OPTIONAL DEPENDENCY: usb@1.2.0 (node_modules/usb):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: usb@1.2.0 install: `node-pre-gyp install --fallback-to-build`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: utf-8-validate@1.1.0 (node_modules/utf-8-validate):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: utf-8-validate@1.1.0 install: `node-gyp rebuild`
npm WARN
optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1npm WARN optional SKIPPING OPTIONAL DEPENDENCY: mdns@2.3.3 (node_modules/mdns):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: mdns@2.3.3 install: `node-gyp rebuild`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

host.home.angelok.ru Adapter "system.adapter.web.0" is started
npm install --production (System call) in "/opt/iobroker/node_modules/iobroker.web"

Работает?

_________________
Высокий уровень Децибел вреден для здоровья!
Мой блог


Nach oben
   
BeitragVerfasst: 15.11.2017, 19:15 
Offline

Registriert: 22.05.2017, 20:23
Beiträge: 5
да.

или вот "обновилось".
чё ему надо то ???

Spoiler: Show hidden text
$ ./iobroker upgrade sayit
Update sayit from @1.6.4 to @1.6.5
host.home.angelok.ru Adapter "system.adapter.sayit.0" is stopped.
npm install iobroker.sayit@1.6.5 --production --prefix "/opt/iobroker" (System call)
In file included from ../node_modules/nan/nan.h:82:0, from ../src/bufferutil.cc:16:
../node_modules/nan/nan_new.h: В функции «v8::Local<T> NanIntern::To(v8::Handle<v8::Integer>) [with T = v8::Int32; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]»:
../node_modules/nan/nan_new.h:34:64: предупреждение: «v8::Local<v8::Int32> v8::Value::ToInt32() const» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:8214): Use maybe version [-Wdeprecated-declarations]
To<v8::Int32>(v8::Handle<v8::Integer> i) { return i->ToInt32(); }
^

../node_modules/nan/nan_new.h: В функции «v8::Local<T> NanIntern::To(v8::Handle<v8::Integer>) [with T = v8::Uint32; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]»:../node_modules/nan/nan_new.h:39:65: предупреждение: «v8::Local<v8::Uint32> v8::Value::ToUint32() const» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:8208): Use maybe version [-Wdeprecated-declarations]
To<v8::Uint32>(v8::Handle<v8::Integer> i) { return i->ToUint32(); }
^

In file included from ../node_modules/nan/nan_new.h:189:0, from ../node_modules/nan/nan.h:82,
from ../src/bufferutil.cc:16:
../node_modules/nan/nan_implementation_12_inl.h: In static member function «static NanIntern::FactoryBase<v8::BooleanObject>::return_t NanIntern::Factory<v8::BooleanObject>::New(bool)»:
../node_modules/nan/nan_implementation_12_inl.h:49:38: предупреждение: «static v8::Local<v8::Value> v8::BooleanObject::New(bool)» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:4009): Pass an isolate [-Wdeprecated-declarations]
return v8::BooleanObject::New(value).As<v8::BooleanObject>();
^

../node_modules/nan/nan_implementation_12_inl.h: In static member function «static NanIntern::FactoryBase<v8::Script>::return_t NanIntern::Factory<v8::Script>::New(v8::Local<v8::String>)»:../node_modules/nan/nan_implementation_12_inl.h:166:69: предупреждение: «static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:1352): Use maybe version [-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
^

../node_modules/nan/nan_implementation_12_inl.h: In static member function «static NanIntern::FactoryBase<v8::Script>::return_t NanIntern::Factory<v8::Script>::New(v8::Local<v8::String>, const v8::ScriptOrigin&)»:../node_modules/nan/nan_implementation_12_inl.h:173:69: предупреждение: «static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:1352): Use maybe version [-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
^

../node_modules/nan/nan_implementation_12_inl.h: In static member function «static NanIntern::FactoryBase<v8::String>::return_t NanIntern::Factory<v8::String>::New(const uint8_t*, int)»:../node_modules/nan/nan_implementation_12_inl.h:206:42: предупреждение: «static v8::Local<v8::String> v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::String::NewStringType, int)» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:2332): Use maybe version [-Wdeprecated-declarations]
v8::String::kNormalString, length);
^
../node_modules/nan/nan_implementation_12_inl.h: In static member function «static NanIntern::FactoryBase<v8::String>::return_t NanIntern::Factory<v8::String>::New(v8::String::ExternalStringResource*)»:
../node_modules/nan/nan_implementation_12_inl.h:217:66: предупреждение: «static v8::Local<v8::String> v8::String::NewExternal(v8::Isolate*, v8::String::ExternalStringResource*)» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:2371): Use maybe version [-Wdeprecated-declarations]
return v8::String::NewExternal(v8::Isolate::GetCurrent(), value);
^

../node_modules/nan/nan_implementation_12_inl.h: In static member function «static NanIntern::FactoryBase<v8::UnboundScript>::return_t NanIntern::Factory<v8::UnboundScript>::New(v8::Local<v8::String>)»:../node_modules/nan/nan_implementation_12_inl.h:237:76: предупреждение: «static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:1333): Use maybe version [-Wdeprecated-declarations]
return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
^
../node_modules/nan/nan_implementation_12_inl.h: In static member function «static NanIntern::FactoryBase<v8::UnboundScript>::return_t NanIntern::Factory<v8::UnboundScript>::New(v8::Local<v8::String>, const v8::ScriptOrigin&)»:
../node_modules/nan/nan_implementation_12_inl.h:244:76: предупреждение: «static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:1333): Use maybe version [-Wdeprecated-declarations]
return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
^

In file included from ../src/bufferutil.cc:16:0:../node_modules/nan/nan.h: At global scope:
../node_modules/nan/nan.h:261:25: ошибка: redefinition of «template<class T> v8::Local<T> _NanEnsureLocal(v8::Local<T>)»
NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Local<T> val) {
^

../node_modules/nan/nan.h:256:25: ошибка: «template<class T> v8::Local<T> _NanEnsureLocal(v8::Handle<T>)» previously declared here NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Handle<T> val) {
^

../node_modules/nan/nan.h: В функции «bool NanIdleNotification(int)»:../node_modules/nan/nan.h:289:71: предупреждение: «bool v8::Isolate::IdleNotification(int)» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:6115): use IdleNotificationDeadline() [-Wdeprecated-declarations]
return v8::Isolate::GetCurrent()->IdleNotification(idle_time_in_ms);
^

../node_modules/nan/nan.h: At global scope:../node_modules/nan/nan.h:473:20: ошибка: переменная или поле «NanAddGCEpilogueCallback» объявлено void
v8::Isolate::GCEpilogueCallback callback
^
../node_modules/nan/nan.h:473:7: ошибка: «GCEpilogueCallback» не является элементом «v8::Isolate»
v8::Isolate::GCEpilogueCallback callback
^
../node_modules/nan/nan.h:474:18: ошибка: expected primary-expression before «gc_type_filter»
, v8::GCType gc_type_filter = v8::kGCTypeAll) {
^
../node_modules/nan/nan.h:479:20: ошибка: переменная или поле «NanRemoveGCEpilogueCallback» объявлено void
v8::Isolate::GCEpilogueCallback callback) {
^
../node_modules/nan/nan.h:479:7: ошибка: «GCEpilogueCallback» не является элементом «v8::Isolate»
v8::Isolate::GCEpilogueCallback callback) {
^
../node_modules/nan/nan.h:484:20: ошибка: переменная или поле «NanAddGCPrologueCallback» объявлено void
v8::Isolate::GCPrologueCallback callback
^
../node_modules/nan/nan.h:484:7: ошибка: «GCPrologueCallback» не является элементом «v8::Isolate»
v8::Isolate::GCPrologueCallback callback
^
../node_modules/nan/nan.h:485:18: ошибка: expected primary-expression before «gc_type_filter»
, v8::GCType gc_type_filter = v8::kGCTypeAll) {
^
../node_modules/nan/nan.h:490:20: ошибка: переменная или поле «NanRemoveGCPrologueCallback» объявлено void
v8::Isolate::GCPrologueCallback callback) {
^

../node_modules/nan/nan.h:490:7: ошибка: «GCPrologueCallback» не является элементом «v8::Isolate» v8::Isolate::GCPrologueCallback callback) {
^

../node_modules/nan/nan.h:661:13: ошибка: «node::smalloc» не был декларирован , node::smalloc::FreeCallback callback
^

../node_modules/nan/nan.h:661:35: ошибка: expected «,» or «...» before «callback» , node::smalloc::FreeCallback callback
^
../node_modules/nan/nan.h: В функции «v8::Local<v8::Object> NanNewBufferHandle(char*, size_t, int)»:
../node_modules/nan/nan.h:665:50: ошибка: нет декларации «callback» в этой области видимости
v8::Isolate::GetCurrent(), data, length, callback, hint);
^
../node_modules/nan/nan.h:665:60: ошибка: нет декларации «hint» в этой области видимости
v8::Isolate::GetCurrent(), data, length, callback, hint);
^
../node_modules/nan/nan.h: В функции «v8::Local<v8::Object> NanNewBufferHandle(const char*, uint32_t)»:
../node_modules/nan/nan.h:672:67: ошибка: некорректное преобразование из «const char*» в «char*» [-fpermissive]
return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
^
In file included from ../src/bufferutil.cc:10:0:
/root/.node-gyp/6.11.3/include/node/node_buffer.h:46:40: ошибка: при инициализации 2 -го аргумента «v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t)» [-fpermissive]
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
^
In file included from ../src/bufferutil.cc:16:0:
../node_modules/nan/nan.h:672:67: ошибка: could not convert «node::Buffer::New(v8::Isolate::GetCurrent(), ((char*)data), ((size_t)size))» from «v8::MaybeLocal<v8::Object>» to «v8::Local<v8::Object>»
return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
^

../node_modules/nan/nan.h: В функции «v8::Local<v8::Object> NanNewBufferHandle(uint32_t)»:../node_modules/nan/nan.h:676:61: ошибка: could not convert «node::Buffer::New(v8::Isolate::GetCurrent(), ((size_t)size))» from «v8::MaybeLocal<v8::Object>» to «v8::Local<v8::Object>»
return node::Buffer::New(v8::Isolate::GetCurrent(), size);
^
../node_modules/nan/nan.h: В функции «v8::Local<v8::Object> NanBufferUse(char*, uint32_t)»:
../node_modules/nan/nan.h:683:12: ошибка: «Use» не является элементом «node::Buffer»
return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
^

../node_modules/nan/nan.h: В функции «v8::Local<v8::Script> NanCompileScript(v8::Local<v8::String>, const v8::ScriptOrigin&)»:../node_modules/nan/nan.h:710:74: предупреждение: «static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:1352): Use maybe version [-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
^

../node_modules/nan/nan.h: В функции «v8::Local<v8::Script> NanCompileScript(v8::Local<v8::String>)»:../node_modules/nan/nan.h:717:74: предупреждение: «static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:1352): Use maybe version [-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
^

../src/bufferutil.cc: In static member function «static void BufferUtil::Initialize(v8::Handle<v8::Object>)»:../src/bufferutil.cc:30:52: ошибка: вызов перегруженной функции «NODE_SET_METHOD(v8::Local<v8::FunctionTemplate>&, const char [7], void (&)(const v8::FunctionCallbackInfo<v8::Value>&))» неоднозначен
NODE_SET_METHOD(t, "unmask", BufferUtil::Unmask);
^

../src/bufferutil.cc:30:52: замечание: candidates are:In file included from ../src/bufferutil.cc:8:0:
/root/.node-gyp/6.11.3/include/node/node.h:246:13: замечание: void node::NODE_SET_METHOD(v8::Local<v8::Template>, const char*, v8::FunctionCallback)
inline void NODE_SET_METHOD(v8::Local<v8::Template> recv,
^
/root/.node-gyp/6.11.3/include/node/node.h:259:13: замечание: void node::NODE_SET_METHOD(v8::Local<v8::Object>, const char*, v8::FunctionCallback)
inline void NODE_SET_METHOD(v8::Local<v8::Object> recv,
^
../src/bufferutil.cc:31:48: ошибка: вызов перегруженной функции «NODE_SET_METHOD(v8::Local<v8::FunctionTemplate>&, const char [5], void (&)(const v8::FunctionCallbackInfo<v8::Value>&))» неоднозначен
NODE_SET_METHOD(t, "mask", BufferUtil::Mask);
^
../src/bufferutil.cc:31:48: замечание: candidates are:
In file included from ../src/bufferutil.cc:8:0:
/root/.node-gyp/6.11.3/include/node/node.h:246:13: замечание: void node::NODE_SET_METHOD(v8::Local<v8::Template>, const char*, v8::FunctionCallback)
inline void NODE_SET_METHOD(v8::Local<v8::Template> recv,
^

/root/.node-gyp/6.11.3/include/node/node.h:259:13: замечание: void node::NODE_SET_METHOD(v8::Local<v8::Object>, const char*, v8::FunctionCallback) inline void NODE_SET_METHOD(v8::Local<v8::Object> recv,
^
../src/bufferutil.cc:32:50: ошибка: вызов перегруженной функции «NODE_SET_METHOD(v8::Local<v8::FunctionTemplate>&, const char [6], void (&)(const v8::FunctionCallbackInfo<v8::Value>&))» неоднозначен
NODE_SET_METHOD(t, "merge", BufferUtil::Merge);
^
../src/bufferutil.cc:32:50: замечание: candidates are:
In file included from ../src/bufferutil.cc:8:0:
/root/.node-gyp/6.11.3/include/node/node.h:246:13: замечание: void node::NODE_SET_METHOD(v8::Local<v8::Template>, const char*, v8::FunctionCallback)
inline void NODE_SET_METHOD(v8::Local<v8::Template> recv,
^
/root/.node-gyp/6.11.3/include/node/node.h:259:13: замечание: void node::NODE_SET_METHOD(v8::Local<v8::Object>, const char*, v8::FunctionCallback)
inline void NODE_SET_METHOD(v8::Local<v8::Object> recv,
^

make: *** [Release/obj.target/bufferutil/src/bufferutil.o] Ошибка 1
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.bundled/node-gyp/lib/build.js:276:23)gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:219:12)
gyp ERR! System Linux 3.10.0-693.5.2.el7.x86_64

gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/bufferutil
gyp ERR! node -v v6.11.3
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok

node-pre-gyp
ERR! Tried to download: https://github.com/tessel/node-usb/rele ... x64.tar.gz node-pre-gyp ERR! Pre-built binaries not found for usb@1.2.0 and node@6.11.3 (node-v48 ABI) (falling back to source compile with node-gyp)

../libusb/libusb/os/linux_udev.c:40:21: фатальная ошибка: libudev.h: Нет такого файла или каталога #include <libudev.h>
^
компиляция прервана.

make: *** [Release/obj.target/libusb/libusb/libusb/os/linux_udev.o] Ошибка 1
gyp

ERR! build error
gyp
ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/opt/iobroker/node_modules/npm/node_modules/node-gyp/lib/build.js:285:23)

gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:219:12)

gyp ERR! System Linux 3.10.0-693.5.2.el7.x86_64gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/opt/iobroker/node_modules/usb/src/binding/usb_bindings.node" "--module_name=usb_bindings" "--module_path=/opt/iobroker/node_modules/usb/src/binding"
gyp ERR! cwd /opt/iobroker/node_modules/usb
gyp ERR! node -v v6.11.3
gyp
ERR! node-gyp -v v3.6.0gyp ERR! not ok

node-pre-gyp ERR! build error
node-pre-gyp
ERR! stack Error: Failed to execute '/usr/bin/node /opt/iobroker/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/opt/iobroker/node_modules/usb/src/binding/usb_bindings.node --module_name=usb_bindings --module_path=/opt/iobroker/node_modules/usb/src/binding' (1)node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/opt/iobroker/node_modules/usb/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at emitTwo (events.js:106:13)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:191:7)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:920:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:230:5)
node-pre-gyp ERR! System Linux 3.10.0-693.5.2.el7.x86_64
node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/usb/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /opt/iobroker/node_modules/usb
node-pre-gyp ERR! node -v v6.11.3
node-pre-gyp ERR! node-pre-gyp -v v0.6.30
node-pre-gyp ERR!
not ok
In file included from ../node_modules/nan/nan.h:82:0, from ../src/validation.cc:15:
../node_modules/nan/nan_new.h: В функции «v8::Local<T> NanIntern::To(v8::Handle<v8::Integer>) [with T = v8::Int32; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]»:
../node_modules/nan/nan_new.h:34:64: предупреждение: «v8::Local<v8::Int32> v8::Value::ToInt32() const» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:8214): Use maybe version [-Wdeprecated-declarations]
To<v8::Int32>(v8::Handle<v8::Integer> i) { return i->ToInt32(); }
^

../node_modules/nan/nan_new.h: В функции «v8::Local<T> NanIntern::To(v8::Handle<v8::Integer>) [with T = v8::Uint32; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]»:../node_modules/nan/nan_new.h:39:65: предупреждение: «v8::Local<v8::Uint32> v8::Value::ToUint32() const» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:8208): Use maybe version [-Wdeprecated-declarations]
To<v8::Uint32>(v8::Handle<v8::Integer> i) { return i->ToUint32(); }
^

In file included from ../node_modules/nan/nan_new.h:189:0, from ../node_modules/nan/nan.h:82,
from ../src/validation.cc:15:
../node_modules/nan/nan_implementation_12_inl.h: In static member function «static NanIntern::FactoryBase<v8::BooleanObject>::return_t NanIntern::Factory<v8::BooleanObject>::New(bool)»:
../node_modules/nan/nan_implementation_12_inl.h:49:38: предупреждение: «static v8::Local<v8::Value> v8::BooleanObject::New(bool)» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:4009): Pass an isolate [-Wdeprecated-declarations]
return v8::BooleanObject::New(value).As<v8::BooleanObject>();
^

../node_modules/nan/nan_implementation_12_inl.h: In static member function «static NanIntern::FactoryBase<v8::Script>::return_t NanIntern::Factory<v8::Script>::New(v8::Local<v8::String>)»:../node_modules/nan/nan_implementation_12_inl.h:166:69: предупреждение: «static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:1352): Use maybe version [-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
^

../node_modules/nan/nan_implementation_12_inl.h: In static member function «static NanIntern::FactoryBase<v8::Script>::return_t NanIntern::Factory<v8::Script>::New(v8::Local<v8::String>, const v8::ScriptOrigin&)»:../node_modules/nan/nan_implementation_12_inl.h:173:69: предупреждение: «static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:1352): Use maybe version [-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
^

../node_modules/nan/nan_implementation_12_inl.h: In static member function «static NanIntern::FactoryBase<v8::String>::return_t NanIntern::Factory<v8::String>::New(const uint8_t*, int)»:../node_modules/nan/nan_implementation_12_inl.h:206:42: предупреждение: «static v8::Local<v8::String> v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::String::NewStringType, int)» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:2332): Use maybe version [-Wdeprecated-declarations]
v8::String::kNormalString, length);
^
../node_modules/nan/nan_implementation_12_inl.h: In static member function «static NanIntern::FactoryBase<v8::String>::return_t NanIntern::Factory<v8::String>::New(v8::String::ExternalStringResource*)»:
../node_modules/nan/nan_implementation_12_inl.h:217:66: предупреждение: «static v8::Local<v8::String> v8::String::NewExternal(v8::Isolate*, v8::String::ExternalStringResource*)» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:2371): Use maybe version [-Wdeprecated-declarations]
return v8::String::NewExternal(v8::Isolate::GetCurrent(), value);
^

../node_modules/nan/nan_implementation_12_inl.h: In static member function «static NanIntern::FactoryBase<v8::UnboundScript>::return_t NanIntern::Factory<v8::UnboundScript>::New(v8::Local<v8::String>)»:../node_modules/nan/nan_implementation_12_inl.h:237:76: предупреждение: «static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:1333): Use maybe version [-Wdeprecated-declarations]
return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
^

../node_modules/nan/nan_implementation_12_inl.h: In static member function «static NanIntern::FactoryBase<v8::UnboundScript>::return_t NanIntern::Factory<v8::UnboundScript>::New(v8::Local<v8::String>, const v8::ScriptOrigin&)»:../node_modules/nan/nan_implementation_12_inl.h:244:76: предупреждение: «static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:1333): Use maybe version [-Wdeprecated-declarations]
return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
^

In file included from ../src/validation.cc:15:0:../node_modules/nan/nan.h: At global scope:
../node_modules/nan/nan.h:261:25: ошибка: redefinition of «template<class T> v8::Local<T> _NanEnsureLocal(v8::Local<T>)»
NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Local<T> val) {
^

../node_modules/nan/nan.h:256:25: ошибка: «template<class T> v8::Local<T> _NanEnsureLocal(v8::Handle<T>)» previously declared here NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Handle<T> val) {
^
../node_modules/nan/nan.h: В функции «bool NanIdleNotification(int)»:
../node_modules/nan/nan.h:289:71: предупреждение: «bool v8::Isolate::IdleNotification(int)» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:6115): use IdleNotificationDeadline() [-Wdeprecated-declarations]
return v8::Isolate::GetCurrent()->IdleNotification(idle_time_in_ms);
^

../node_modules/nan/nan.h: At global scope:../node_modules/nan/nan.h:473:20: ошибка: переменная или поле «NanAddGCEpilogueCallback» объявлено void
v8::Isolate::GCEpilogueCallback callback
^

../node_modules/nan/nan.h:473:7: ошибка: «GCEpilogueCallback» не является элементом «v8::Isolate» v8::Isolate::GCEpilogueCallback callback
^
../node_modules/nan/nan.h:474:18: ошибка: expected primary-expression before «gc_type_filter»
, v8::GCType gc_type_filter = v8::kGCTypeAll) {
^
../node_modules/nan/nan.h:479:20: ошибка: переменная или поле «NanRemoveGCEpilogueCallback» объявлено void
v8::Isolate::GCEpilogueCallback callback) {
^
../node_modules/nan/nan.h:479:7: ошибка: «GCEpilogueCallback» не является элементом «v8::Isolate»
v8::Isolate::GCEpilogueCallback callback) {
^
../node_modules/nan/nan.h:484:20: ошибка: переменная или поле «NanAddGCPrologueCallback» объявлено void
v8::Isolate::GCPrologueCallback callback
^
../node_modules/nan/nan.h:484:7: ошибка: «GCPrologueCallback» не является элементом «v8::Isolate»
v8::Isolate::GCPrologueCallback callback
^
../node_modules/nan/nan.h:485:18: ошибка: expected primary-expression before «gc_type_filter»
, v8::GCType gc_type_filter = v8::kGCTypeAll) {
^

../node_modules/nan/nan.h:490:20: ошибка: переменная или поле «NanRemoveGCPrologueCallback» объявлено void v8::Isolate::GCPrologueCallback callback) {
^
../node_modules/nan/nan.h:490:7: ошибка: «GCPrologueCallback» не является элементом «v8::Isolate»
v8::Isolate::GCPrologueCallback callback) {
^

../node_modules/nan/nan.h:661:13: ошибка: «node::smalloc» не был декларирован , node::smalloc::FreeCallback callback
^

../node_modules/nan/nan.h:661:35: ошибка: expected «,» or «...» before «callback» , node::smalloc::FreeCallback callback
^
../node_modules/nan/nan.h: В функции «v8::Local<v8::Object> NanNewBufferHandle(char*, size_t, int)»:
../node_modules/nan/nan.h:665:50: ошибка: нет декларации «callback» в этой области видимости
v8::Isolate::GetCurrent(), data, length, callback, hint);
^
../node_modules/nan/nan.h:665:60: ошибка: нет декларации «hint» в этой области видимости
v8::Isolate::GetCurrent(), data, length, callback, hint);
^
../node_modules/nan/nan.h: В функции «v8::Local<v8::Object> NanNewBufferHandle(const char*, uint32_t)»:
../node_modules/nan/nan.h:672:67: ошибка: некорректное преобразование из «const char*» в «char*» [-fpermissive]
return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
^
In file included from ../src/validation.cc:10:0:
/root/.node-gyp/6.11.3/include/node/node_buffer.h:46:40: ошибка: при инициализации 2 -го аргумента «v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t)» [-fpermissive]
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
^
In file included from ../src/validation.cc:15:0:
../node_modules/nan/nan.h:672:67: ошибка: could not convert «node::Buffer::New(v8::Isolate::GetCurrent(), ((char*)data), ((size_t)size))» from «v8::MaybeLocal<v8::Object>» to «v8::Local<v8::Object>»
return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
^
../node_modules/nan/nan.h: В функции «v8::Local<v8::Object> NanNewBufferHandle(uint32_t)»:
../node_modules/nan/nan.h:676:61: ошибка: could not convert «node::Buffer::New(v8::Isolate::GetCurrent(), ((size_t)size))» from «v8::MaybeLocal<v8::Object>» to «v8::Local<v8::Object>»
return node::Buffer::New(v8::Isolate::GetCurrent(), size);
^
../node_modules/nan/nan.h: В функции «v8::Local<v8::Object> NanBufferUse(char*, uint32_t)»:
../node_modules/nan/nan.h:683:12: ошибка: «Use» не является элементом «node::Buffer»
return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
^

../node_modules/nan/nan.h: В функции «v8::Local<v8::Script> NanCompileScript(v8::Local<v8::String>, const v8::ScriptOrigin&)»:../node_modules/nan/nan.h:710:74: предупреждение: «static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:1352): Use maybe version [-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
^
../node_modules/nan/nan.h: В функции «v8::Local<v8::Script> NanCompileScript(v8::Local<v8::String>)»:
../node_modules/nan/nan.h:717:74: предупреждение: «static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)» is deprecated (declared at /root/.node-gyp/6.11.3/include/node/v8.h:1352): Use maybe version [-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
^

../src/validation.cc: In static member function «static void Validation::Initialize(v8::Handle<v8::Object>)»:../src/validation.cc:112:62: ошибка: вызов перегруженной функции «NODE_SET_METHOD(v8::Local<v8::FunctionTemplate>&, const char [12], void (&)(const v8::FunctionCallbackInfo<v8::Value>&))» неоднозначен
NODE_SET_METHOD(t, "isValidUTF8", Validation::IsValidUTF8);
^
../src/validation.cc:112:62: замечание: candidates are:
In file included from ../src/validation.cc:8:0:
/root/.node-gyp/6.11.3/include/node/node.h:246:13: замечание: void node::NODE_SET_METHOD(v8::Local<v8::Template>, const char*, v8::FunctionCallback)
inline void NODE_SET_METHOD(v8::Local<v8::Template> recv,
^
/root/.node-gyp/6.11.3/include/node/node.h:259:13: замечание: void node::NODE_SET_METHOD(v8::Local<v8::Object>, const char*, v8::FunctionCallback)
inline void NODE_SET_METHOD(v8::Local<v8::Object> recv,
^

make: *** [Release/obj.target/validation/src/validation.o] Ошибка 1
gyp

ERR! build error
gyp
ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules.bundled/node-gyp/lib/build.js:276:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR!
stack at ChildProcess.emit (events.js:191:7)gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:219:12)

gyp ERR! System Linux 3.10.0-693.5.2.el7.x86_64gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"

gyp ERR! cwd /opt/iobroker/node_modules/utf-8-validategyp ERR! node -v v6.11.3
gyp ERR!
node-gyp -v v3.4.0gyp ERR! not ok

In file included from ../src/dns_sd.cpp:1:0:../src/mdns.hpp:32:20: фатальная ошибка: dns_sd.h: Нет такого файла или каталога
#include <dns_sd.h>
^
компиляция прервана.

make: *** [Release/obj.target/dns_sd_bindings/src/dns_sd.o] Ошибка 1
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.bundled/node-gyp/lib/build.js:276:23)gyp
ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:219:12)
gyp ERR! System Linux 3.10.0-693.5.2.el7.x86_64
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd
/opt/iobroker/node_modules/mdnsgyp

ERR! node -v v6.11.3gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok

npm
WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@~0.1.4 (node_modules/iobroker.radar/node_modules/noble/node_modules/xpc-connection):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@~0.1.4 (node_modules/noble/node_modules/xpc-connection):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

npm
WARN babel-eslint@5.0.4 requires a peer of eslint@<2.3.0 but none was installed.npm WARN babel-eslint@5.0.4 requires a peer of eslint@<2.3.0 but none was installed.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bufferutil@1.1.0 (node_modules/bufferutil):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bufferutil@1.1.0 install: `node-gyp rebuild`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: usb@1.2.0 (node_modules/usb):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: usb@1.2.0 install: `node-pre-gyp install --fallback-to-build`
npm WARN optional
SKIPPING OPTIONAL DEPENDENCY: Exit status 1npm
WARN optional SKIPPING OPTIONAL DEPENDENCY: utf-8-validate@1.1.0 (node_modules/utf-8-validate):npm WARN optional SKIPPING OPTIONAL DEPENDENCY: utf-8-validate@1.1.0 install: `node-gyp rebuild`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: mdns@2.3.4 (node_modules/mdns):

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: mdns@2.3.4 install: `node-gyp rebuild`npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

host.home.angelok.ru Adapter "system.adapter.sayit.0" is started
npm install --production (System call) in "/opt/iobroker/node_modules/iobroker.sayit"


Nach oben
   
Beiträge der letzten Zeit anzeigen:  Sortiere nach  
Ein neues Thema erstellen  Auf das Thema antworten  [ 3 Beiträge ] 

Alle Zeiten sind UTC+01:00


Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 1 Gast


Du darfst keine neuen Themen in diesem Forum erstellen.
Du darfst keine Antworten zu Themen in diesem Forum erstellen.
Du darfst deine Beiträge in diesem Forum nicht ändern.
Du darfst deine Beiträge in diesem Forum nicht löschen.
Du darfst keine Dateianhänge in diesem Forum erstellen.

Suche nach:
Gehe zu Forum:  
Powered by phpBB® Forum Software © phpBB Limited
Deutsche Übersetzung durch phpBB.de