NEWS
Ошибки mdns при обновдение драйверов
-
При обновлении драйверов постоянно такие ошибки. Кажись обновляется, но как-то стремно это:
$ ./iobroker upgrade javascript Update javascript from @4.1.0 to @4.1.2 NPM version: 6.7.0 npm install iobroker.javascript@4.1.2 --unsafe-perm --production --save --prefix "/opt/iobroker" (System call) In file included from ../src/dns_sd.cpp:1:0:../src/mdns.hpp:32:20: fatal error: dns_sd.h: No such file or directory #include <dns_sd.h> ^ compilation terminated. make: *** [Release/obj.target/dns_sd_bindings/src/dns_sd.o] Error 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/node-gyp/lib/build.js:262:23) gyp ERR! stack at emitTwo (events.js:126:13) gyp ERR! stack at ChildProcess.emit (events.js:214:7)gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)gyp ERR! System Linux 4.19.20-sunxi 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/mdns gyp ERR! node -v v8.15.0gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok npm WARN optional SKIPPING OPTIONAL DEPENDENCY: mdns@2.4.0 (node_modules/mdns):npm WARN optional SKIPPING OPTIONAL DEPENDENCY: mdns@2.4.0 install: `node-gyp rebuild` npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 npm install --production (System call) in "/opt/iobroker/node_modules/iobroker.javascript" npm WARN deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen) npm WARN deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5 npm WARN deprecated graceful-fs@3.0.11: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor. npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN deprecated graceful-fs@1.2.3: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
Что с этим делать?
-
После инсталяции всего что нарыл на форуме:
sudo apt-get install libnss-mdns avahi-discover avahi-utils build-essential libavahi-compat-libdnssd-dev
пошло веселее:
iobroker upgrade javascript Update javascript from @4.1.2 to @4.1.3 NPM version: 6.7.0 npm install iobroker.javascript@4.1.3 --unsafe-perm --production --save --prefix "/opt/iobroker" (System call) ../src/dns_service_browse.cpp: In function ‘void node_mdns::OnServiceChanged(DNSServiceRef, DNSServiceFlags, uint32_t, DNSServiceErrorType, const char*, const char*, const char*, void*)’: ../src/dns_service_browse.cpp:39:50: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations] Nan::MakeCallback(this_, callback, argc, info); ^ In file included from ../src/mdns.hpp:12:0, from ../src/dns_service_browse.cpp:1: ../../nan/nan.h:958:46: note: declared here NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~ ../src/dns_service_enumerate_domains.cpp: In function ‘void node_mdns::OnEnumeration(DNSServiceRef, DNSServiceFlags, uint32_t, DNSServiceErrorType, const char*, void*)’: ../src/dns_service_enumerate_domains.cpp:29:50: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations] Nan::MakeCallback(this_, callback, argc, info); ^ In file included from ../src/mdns.hpp:12:0, from ../src/dns_service_enumerate_domains.cpp:1: ../../nan/nan.h:958:46: note: declared here NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~ ../src/dns_service_register.cpp: In function ‘void node_mdns::OnServiceRegistered(DNSServiceRef, DNSServiceFlags, DNSServiceErrorType, const char*, const char*, const char*, void*)’: ../src/dns_service_register.cpp:48:54: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations] Nan::MakeCallback(this_, callback, argc, info); ^ In file included from ../src/mdns.hpp:12:0, from ../src/dns_service_register.cpp:1: ../../nan/nan.h:958:46: note: declared here NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~ ../src/dns_service_resolve.cpp: In function ‘void node_mdns::OnResolve(DNSServiceRef, DNSServiceFlags, uint32_t, DNSServiceErrorType, const char*, const char*, uint16_t, uint16_t, const unsigned char*, void*)’: ../src/dns_service_resolve.cpp:51:50: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations] Nan::MakeCallback(this_, callback, argc, info); ^ In file included from ../src/mdns.hpp:12:0, from ../src/dns_service_resolve.cpp:1: ../../nan/nan.h:958:46: note: declared here NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~ ../src/socket_watcher.cpp: In static member function ‘static void node_mdns::SocketWatcher::Callback(uv_poll_t*, int, int)’: ../src/socket_watcher.cpp:100:63: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations] Nan::MakeCallback(watcher->handle(), callback, 2, argv); ^ In file included from ../src/mdns.hpp:12:0, from ../src/socket_watcher.cpp:1: ../../nan/nan.h:958:46: note: declared here NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~ npm install --production (System call) in "/opt/iobroker/node_modules/iobroker.javascript" npm WARN deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen) npm WARN deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5 npm WARN deprecated graceful-fs@3.0.11: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor. npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN deprecated graceful-fs@1.2.3: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js npm WARN lifecycle iobroker.javascript@4.1.3~postinstall: cannot run in wd iobroker.javascript@4.1.3 node ./install/installTypings.js (wd=/opt/iobroker/node_modules/iobroker.javascript) Update "system.adapter.javascript.0" got /opt/iobroker/node_modules/iobroker.javascript/admin upload [100] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/vs/basic-languages/razor/razor.js vs/basic-languages/razor/razor.js application/javascript upload [90] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/vs/basic-languages/msdax/msdax.js vs/basic-languages/msdax/msdax.js application/javascript upload [80] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/vs/basic-languages/dockerfile/dockerfile.js vs/basic-languages/dockerfile/dockerfile.js application/javascript upload [70] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/static/media/copy-content.770c7d5d.svg static/media/copy-content.770c7d5d.svg image/svg+xml upload [60] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/precache-manifest.b4cb9f7f98e4d5115595edf28f571273.js precache-manifest.b4cb9f7f98e4d5115595edf28f571273.js application/javascript upload [50] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/own/msg/fr.js google-blockly/own/msg/fr.js application/javascript upload [40] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/own/blocks_time.js google-blockly/own/blocks_time.js application/javascript upload [30] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/msg/js/pl.js google-blockly/msg/js/pl.js application/javascript upload [20] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/quote0.png google-blockly/media/quote0.png image/png upload [19] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/handopen.cur google-blockly/media/handopen.cur application/octet-stream upload [18] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/handdelete.cur google-blockly/media/handdelete.cur application/octet-stream upload [17] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/handclosed.cur google-blockly/media/handclosed.cur application/octet-stream upload [16] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/disconnect.wav google-blockly/media/disconnect.wav audio/x-wav upload [15] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/disconnect.ogg google-blockly/media/disconnect.ogg audio/ogg upload [14] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/disconnect.mp3 google-blockly/media/disconnect.mp3 audio/mpeg upload [13] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/delete.wav google-blockly/media/delete.wav audio/x-wav upload [12] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/delete.ogg google-blockly/media/delete.ogg audio/ogg upload [11] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/delete.mp3 google-blockly/media/delete.mp3 audio/mpeg upload [10] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/click.wav google-blockly/media/click.wav audio/x-wav upload [9] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/click.ogg google-blockly/media/click.ogg audio/ogg upload [8] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/click.mp3 google-blockly/media/click.mp3 audio/mpeg upload [7] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/1x1.gif google-blockly/media/1x1.gif image/gif upload [6] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/javascript_compressed.js google-blockly/javascript_compressed.js application/javascript upload [5] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/blocks_compressed.js google-blockly/blocks_compressed.js application/javascript upload [4] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/blockly_compressed.js google-blockly/blockly_compressed.js application/javascript upload [3] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/LICENSE google-blockly/LICENSE application/octet-stream upload [2] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/favicon.ico favicon.ico image/x-icon upload [1] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/asset-manifest.json asset-manifest.json application/json upload [0] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/adminWords.js adminWords.js application/javascript Adapter "javascript" updated
Но что делать с тем что осталось? Как обновить?
../src/dns_service_browse.cpp: In function ‘void node_mdns::OnServiceChanged(DNSServiceRef, DNSServiceFlags, uint32_t, DNSServiceErrorType, const char*, const char*, const char*, void*)’: ../src/dns_service_browse.cpp:39:50: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations] Nan::MakeCallback(this_, callback, argc, info); ^ In file included from ../src/mdns.hpp:12:0, from ../src/dns_service_browse.cpp:1: ../../nan/nan.h:958:46: note: declared here NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~ ../src/dns_service_enumerate_domains.cpp: In function ‘void node_mdns::OnEnumeration(DNSServiceRef, DNSServiceFlags, uint32_t, DNSServiceErrorType, const char*, void*)’: ../src/dns_service_enumerate_domains.cpp:29:50: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations] Nan::MakeCallback(this_, callback, argc, info); ^ In file included from ../src/mdns.hpp:12:0, from ../src/dns_service_enumerate_domains.cpp:1: ../../nan/nan.h:958:46: note: declared here NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~ ../src/dns_service_register.cpp: In function ‘void node_mdns::OnServiceRegistered(DNSServiceRef, DNSServiceFlags, DNSServiceErrorType, const char*, const char*, const char*, void*)’: ../src/dns_service_register.cpp:48:54: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations] Nan::MakeCallback(this_, callback, argc, info); ^ In file included from ../src/mdns.hpp:12:0, from ../src/dns_service_register.cpp:1: ../../nan/nan.h:958:46: note: declared here NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~ ../src/dns_service_resolve.cpp: In function ‘void node_mdns::OnResolve(DNSServiceRef, DNSServiceFlags, uint32_t, DNSServiceErrorType, const char*, const char*, uint16_t, uint16_t, const unsigned char*, void*)’: ../src/dns_service_resolve.cpp:51:50: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations] Nan::MakeCallback(this_, callback, argc, info); ^ In file included from ../src/mdns.hpp:12:0, from ../src/dns_service_resolve.cpp:1: ../../nan/nan.h:958:46: note: declared here NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~ ../src/socket_watcher.cpp: In static member function ‘static void node_mdns::SocketWatcher::Callback(uv_poll_t*, int, int)’: ../src/socket_watcher.cpp:100:63: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations] Nan::MakeCallback(watcher->handle(), callback, 2, argv); ^ In file included from ../src/mdns.hpp:12:0, from ../src/socket_watcher.cpp:1: ../../nan/nan.h:958:46: note: declared here NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~ npm install --production (System call) in "/opt/iobroker/node_modules/iobroker.javascript" npm WARN deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen) npm WARN deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5 npm WARN deprecated graceful-fs@3.0.11: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor. npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN deprecated graceful-fs@1.2.3: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js npm WARN lifecycle iobroker.javascript@4.1.3~postinstall: cannot run in wd iobroker.javascript@4.1.3 node ./install/installTypings.js (wd=/opt/iobroker/node_modules/iobroker.javascript)