Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Neue Installationsroutine (für Linux)

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Neue Installationsroutine (für Linux)

    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      LED last edited by

      Hallo

      Wollte eure Anleitung unter https://www.iobroker.net/#de/documentation/install/linux.md testen und habe Raspbian Buster Lite Image auf die SD gezogen und in den Raspberry PI 3 gesteckt. Dann der Anleitung gefolgt und Installation gestartet:

      
      pi@iobroker:~ $ node -v
      v10.16.0
      pi@iobroker:~ $ npm -v
      6.9.0
      pi@iobroker:~ $ curl -sL https://iobroker.net/install.sh | bash -
      
      ==========================================================================
      
          Welcome to the ioBroker installer!
          Installer version: 2019-07-03
      
          You might need to enter your password a couple of times.
      
      ==========================================================================
      
      
      ==========================================================================
          Installing prerequisites (1/4)
      ==========================================================================
      
      Installed acl
      Installed libavahi-compat-libdnssd-dev
      Installed libudev-dev
      Installed libpam0g-dev
      Installed git
      
      ==========================================================================
          Creating ioBroker user and directory (2/4)
      ==========================================================================
      
      User iobroker created
      Created /etc/sudoers.d/iobroker
      Directory /opt/iobroker created
      
      ==========================================================================
          Installing ioBroker (3/4)
      ==========================================================================
      
      In file included from ../src/main.cpp:3:
      ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
      ../../nan/nan.h:2298:62: warning: cast between incompatible function types from                                          ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka                                           void (*)(uv_work_s*, int)’} [-Wcast-function-type]
           , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
                                                                    ^
      ../src/main.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE GetDiskUsage(Nan::NAN_                                         METHOD_ARGS_TYPE)’:
      ../src/main.cpp:26:71: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::                                         Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
               DiskUsage result = GetDiskUsage(*v8::String::Utf8Value(info[0]));
                                                                             ^
      In file included from /home/pi/.node-gyp/10.16.0/include/node/v8.h:26,
                       from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                       from ../../nan/nan.h:54,
                       from ../src/main.cpp:3:
      /home/pi/.node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here
                         explicit Utf8Value(Local<v8::Value> obj));
                                  ^~~~~~~~~
      /home/pi/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of                                          macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      In file included from ../../nan/nan.h:54,
                       from ../src/main.cpp:3:
      ../src/main.cpp: At global scope:
      /home/pi/.node-gyp/10.16.0/include/node/node.h:573:43: warning: cast between inc                                         ompatible function types from ‘void (*)(v8::Handle<v8::Object>)’ {aka ‘void (*)(                                         v8::Local<v8::Object>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local                                         <v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
             (node::addon_register_func) (regfunc),                          \
                                                 ^
      /home/pi/.node-gyp/10.16.0/include/node/node.h:607:3: note: in expansion of macr                                         o ‘NODE_MODULE_X’
         NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
         ^~~~~~~~~~~~~
      ../src/main.cpp:42:1: note: in expansion of macro ‘NODE_MODULE’
       NODE_MODULE(diskusage, Init)
       ^~~~~~~~~~~
      In file included from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                       from ../../nan/nan.h:54,
                       from ../src/main.cpp:3:
      /home/pi/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::Pers                                         istentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakC                                         allbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallba                                         ckInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
      /home/pi/.node-gyp/10.16.0/include/node/node_object_wrap.h:84:78:   required fro                                         m here
      /home/pi/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between inco                                         mpatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’                                          {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {a                                         ka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                      reinterpret_cast<Callback>(callback), type);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /home/pi/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::Pers                                         istentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakC                                         allbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbac                                         kInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
      ../../nan/nan_object_wrap.h:65:61:   required from here
      /home/pi/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between inco                                         mpatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {                                         aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka                                          ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
      In file included from ../node_modules/nan/nan.h:190,
                       from ../src/unix_dgram.cc:5:
      ../node_modules/nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe<bool> Nan::Force                                         Set(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::Prope                                         rtyAttribute)’:
      ../node_modules/nan/nan_maybe_43_inl.h:88:15: error: ‘class v8::Object’ has no m                                         ember named ‘ForceSet’
         return obj->ForceSet(GetCurrentContext(), key, value, attribs);
                     ^~~~~~~~
      In file included from ../src/unix_dgram.cc:5:
      ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v                                         8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’:
      ../node_modules/nan/nan.h:817:60: warning: ‘v8::Local<v8::Value> node::MakeCallb                                         ack(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local                                         <v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated                                         -declarations]
               v8::Isolate::GetCurrent(), target, func, argc, argv);
                                                                  ^
      In file included from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /home/pi/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                       NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                        ^~~~~~~~~~~~
      /home/pi/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of mac                                         ro ‘NODE_DEPRECATED’
           __attribute__((deprecated(message))) declarator
                                                ^~~~~~~~~~
      In file included from ../src/unix_dgram.cc:5:
      ../node_modules/nan/nan.h:817:60: warning: ‘v8::Local<v8::Value> node::MakeCallb                                         ack(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local                                         <v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated                                         -declarations]
               v8::Isolate::GetCurrent(), target, func, argc, argv);
                                                                  ^
      In file included from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /home/pi/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                       NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                        ^~~~~~~~~~~~
      /home/pi/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of mac                                         ro ‘NODE_DEPRECATED’
           __attribute__((deprecated(message))) declarator
                                                ^~~~~~~~~~
      In file included from ../src/unix_dgram.cc:5:
      ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v                                         8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’:
      ../node_modules/nan/nan.h:831:62: warning: ‘v8::Local<v8::Value> node::MakeCallb                                         ack(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v                                         8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-d                                         eclarations]
               v8::Isolate::GetCurrent(), target, symbol, argc, argv);
                                                                    ^
      In file included from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /home/pi/.node-gyp/10.16.0/include/node/node.h:170:50: note: declared here
                       NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                        ^~~~~~~~~~~~
      /home/pi/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of mac                                         ro ‘NODE_DEPRECATED’
           __attribute__((deprecated(message))) declarator
                                                ^~~~~~~~~~
      In file included from ../src/unix_dgram.cc:5:
      ../node_modules/nan/nan.h:831:62: warning: ‘v8::Local<v8::Value> node::MakeCallb                                         ack(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v                                         8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-d                                         eclarations]
               v8::Isolate::GetCurrent(), target, symbol, argc, argv);
                                                                    ^
      In file included from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /home/pi/.node-gyp/10.16.0/include/node/node.h:170:50: note: declared here
                       NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                        ^~~~~~~~~~~~
      /home/pi/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of mac                                         ro ‘NODE_DEPRECATED’
           __attribute__((deprecated(message))) declarator
                                                ^~~~~~~~~~
      In file included from ../src/unix_dgram.cc:5:
      ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v                                         8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’:
      ../node_modules/nan/nan.h:845:62: warning: ‘v8::Local<v8::Value> node::MakeCallb                                         ack(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*                                         )’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declaration                                         s]
               v8::Isolate::GetCurrent(), target, method, argc, argv);
                                                                    ^
      In file included from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /home/pi/.node-gyp/10.16.0/include/node/node.h:163:50: note: declared here
                       NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                        ^~~~~~~~~~~~
      /home/pi/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of mac                                         ro ‘NODE_DEPRECATED’
           __attribute__((deprecated(message))) declarator
                                                ^~~~~~~~~~
      In file included from ../src/unix_dgram.cc:5:
      ../node_modules/nan/nan.h:845:62: warning: ‘v8::Local<v8::Value> node::MakeCallb                                         ack(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*                                         )’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declaration                                         s]
               v8::Isolate::GetCurrent(), target, method, argc, argv);
                                                                    ^
      In file included from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /home/pi/.node-gyp/10.16.0/include/node/node.h:163:50: note: declared here
                       NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                        ^~~~~~~~~~~~
      /home/pi/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of mac                                         ro ‘NODE_DEPRECATED’
           __attribute__((deprecated(message))) declarator
                                                ^~~~~~~~~~
      In file included from ../src/unix_dgram.cc:5:
      ../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callbac                                         k::Call_(v8::Isolate*, v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’                                         :
      ../node_modules/nan/nan.h:1463:5: warning: ‘v8::Local<v8::Value> node::MakeCallb                                         ack(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local                                         <v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated                                         -declarations]
           ));
           ^
      In file included from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /home/pi/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                       NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                        ^~~~~~~~~~~~
      /home/pi/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of mac                                         ro ‘NODE_DEPRECATED’
           __attribute__((deprecated(message))) declarator
                                                ^~~~~~~~~~
      In file included from ../src/unix_dgram.cc:5:
      ../node_modules/nan/nan.h:1463:5: warning: ‘v8::Local<v8::Value> node::MakeCallb                                         ack(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local                                         <v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated                                         -declarations]
           ));
           ^
      In file included from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /home/pi/.node-gyp/10.16.0/include/node/node.h:177:50: note: declared here
                       NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                        ^~~~~~~~~~~~
      /home/pi/.node-gyp/10.16.0/include/node/node.h:91:42: note: in definition of mac                                         ro ‘NODE_DEPRECATED’
           __attribute__((deprecated(message))) declarator
                                                ^~~~~~~~~~
      In file included from ../src/unix_dgram.cc:5:
      ../node_modules/nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWor                                         ker*)’:
      ../node_modules/nan/nan.h:1706:62: warning: cast between incompatible function t                                         ypes from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_                                         cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
           , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
                                                                    ^
      ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Sock                                         et(Nan::NAN_METHOD_ARGS_TYPE)’:
      ../src/unix_dgram.cc:189:37: warning: ‘int32_t v8::Value::Int32Value() const’ is                                          deprecated: Use maybe version [-Wdeprecated-declarations]
         domain      = info[0]->Int32Value();
                                           ^
      In file included from /home/pi/.node-gyp/10.16.0/include/node/v8.h:26,
                       from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                       from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /home/pi/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                    ^~~~~~~~~~
      /home/pi/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of                                          macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      ../src/unix_dgram.cc:190:37: warning: ‘int32_t v8::Value::Int32Value() const’ is                                          deprecated: Use maybe version [-Wdeprecated-declarations]
         type        = info[1]->Int32Value();
                                           ^
      In file included from /home/pi/.node-gyp/10.16.0/include/node/v8.h:26,
                       from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                       from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /home/pi/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                    ^~~~~~~~~~
      /home/pi/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of                                          macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      ../src/unix_dgram.cc:191:37: warning: ‘int32_t v8::Value::Int32Value() const’ is                                          deprecated: Use maybe version [-Wdeprecated-declarations]
         protocol    = info[2]->Int32Value();
                                           ^
      In file included from /home/pi/.node-gyp/10.16.0/include/node/v8.h:26,
                       from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                       from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /home/pi/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                    ^~~~~~~~~~
      /home/pi/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of                                          macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Bind                                         (Nan::NAN_METHOD_ARGS_TYPE)’:
      ../src/unix_dgram.cc:230:28: warning: ‘int32_t v8::Value::Int32Value() const’ is                                          deprecated: Use maybe version [-Wdeprecated-declarations]
         fd = info[0]->Int32Value();
                                  ^
      In file included from /home/pi/.node-gyp/10.16.0/include/node/v8.h:26,
                       from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                       from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /home/pi/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                    ^~~~~~~~~~
      /home/pi/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of                                          macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      ../src/unix_dgram.cc:231:33: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Loca                                         l<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
         String::Utf8Value path(info[1]);
                                       ^
      In file included from /home/pi/.node-gyp/10.16.0/include/node/v8.h:26,
                       from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                       from ../node_modules/nan/nan.h:47,
                       from ../src/unix_dgram.cc:5:
      /home/pi/.node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here
                         explicit Utf8Value(Local<v8::Value> obj));
                                  ^~~~~~~~~
      /home/pi/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of                                          macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Send                                         To(Nan::NAN_METHOD_ARGS_TYPE)’:
      ../src/unix_dgram.cc:258:28: warning: ‘int32_t v8::Value::Int32Value() const’ is                                          deprecated: Use maybe version [-Wdeprecated-declarations]
         fd = info[0]->Int32Value();
                                  ^
      SCHNIPP SCHNAPP
      
      
      

      Hab dann noch den Fixer ausgeführt und iobroker läuft. Also alles gut?

      Gruß
      LED

      J AlCalzone 2 Replies Last reply Reply Quote 0
      • J
        Jan1 @LED last edited by

        @LED
        Der Fixer war nicht nötig, da das alles schon bei einer Neuinstallation mit drin ist, schadet aber auch nicht 😊

        1 Reply Last reply Reply Quote 0
        • AlCalzone
          AlCalzone Developer @LED last edited by

          @LED sagte in Neue Installationsroutine und neue Anleitungen (für Linux-basierte Systeme):

          Hab dann noch den Fixer ausgeführt und iobroker läuft

          Was ich nicht verstehe... Im Ankündigungspost zum Fixer steht:

          Mittels einem Kommando wird eine bestehende Installation in /opt/iobroker auf den gleichen Stand gebracht wie eine aktuelle neue Installation.

          Wie kommt man dann auf die Idee, diesen direkt nach einer nagelneuen Installation auszuführen? Ernst gemeinte Frage.

          L 1 Reply Last reply Reply Quote 0
          • L
            LED last edited by

            Hier noch der Rest

            In file included from /home/pi/.node-gyp/10.16.0/include/node/v8.h:26,
                             from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                             from ../node_modules/nan/nan.h:47,
                             from ../src/unix_dgram.cc:5:
            /home/pi/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
               V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                          ^~~~~~~~~~
            /home/pi/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of                                          macro ‘V8_DEPRECATED’
               declarator __attribute__((deprecated(message)))
               ^~~~~~~~~~
            ../src/unix_dgram.cc:259:27: warning: ‘v8::Local<v8::Object> v8::Value::ToObject                                         () const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
               buf = info[1]->ToObject();
                                       ^
            In file included from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                             from ../node_modules/nan/nan.h:47,
                             from ../src/unix_dgram.cc:5:
            /home/pi/.node-gyp/10.16.0/include/node/v8.h:10046:15: note: declared here
             Local<Object> Value::ToObject() const {
                           ^~~~~
            ../src/unix_dgram.cc:260:33: warning: ‘uint32_t v8::Value::Uint32Value() const’                                          is deprecated: Use maybe version [-Wdeprecated-declarations]
               offset = info[2]->Uint32Value();
                                             ^
            In file included from /home/pi/.node-gyp/10.16.0/include/node/v8.h:26,
                             from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                             from ../node_modules/nan/nan.h:47,
                             from ../src/unix_dgram.cc:5:
            /home/pi/.node-gyp/10.16.0/include/node/v8.h:2477:47: note: declared here
               V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
                                                           ^~~~~~~~~~~
            /home/pi/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of                                          macro ‘V8_DEPRECATED’
               declarator __attribute__((deprecated(message)))
               ^~~~~~~~~~
            ../src/unix_dgram.cc:261:33: warning: ‘uint32_t v8::Value::Uint32Value() const’                                          is deprecated: Use maybe version [-Wdeprecated-declarations]
               length = info[3]->Uint32Value();
                                             ^
            In file included from /home/pi/.node-gyp/10.16.0/include/node/v8.h:26,
                             from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                             from ../node_modules/nan/nan.h:47,
                             from ../src/unix_dgram.cc:5:
            /home/pi/.node-gyp/10.16.0/include/node/v8.h:2477:47: note: declared here
               V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
                                                           ^~~~~~~~~~~
            /home/pi/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of                                          macro ‘V8_DEPRECATED’
               declarator __attribute__((deprecated(message)))
               ^~~~~~~~~~
            ../src/unix_dgram.cc:262:33: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Loca                                         l<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
               String::Utf8Value path(info[4]);
                                             ^
            In file included from /home/pi/.node-gyp/10.16.0/include/node/v8.h:26,
                             from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                             from ../node_modules/nan/nan.h:47,
                             from ../src/unix_dgram.cc:5:
            /home/pi/.node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here
                               explicit Utf8Value(Local<v8::Value> obj));
                                        ^~~~~~~~~
            /home/pi/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of                                          macro ‘V8_DEPRECATED’
               declarator __attribute__((deprecated(message)))
               ^~~~~~~~~~
            ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Send                                         (Nan::NAN_METHOD_ARGS_TYPE)’:
            ../src/unix_dgram.cc:302:28: warning: ‘int32_t v8::Value::Int32Value() const’ is                                          deprecated: Use maybe version [-Wdeprecated-declarations]
               fd = info[0]->Int32Value();
                                        ^
            In file included from /home/pi/.node-gyp/10.16.0/include/node/v8.h:26,
                             from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                             from ../node_modules/nan/nan.h:47,
                             from ../src/unix_dgram.cc:5:
            /home/pi/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
               V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                          ^~~~~~~~~~
            /home/pi/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of                                          macro ‘V8_DEPRECATED’
               declarator __attribute__((deprecated(message)))
               ^~~~~~~~~~
            ../src/unix_dgram.cc:303:27: warning: ‘v8::Local<v8::Object> v8::Value::ToObject                                         () const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
               buf = info[1]->ToObject();
                                       ^
            In file included from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                             from ../node_modules/nan/nan.h:47,
                             from ../src/unix_dgram.cc:5:
            /home/pi/.node-gyp/10.16.0/include/node/v8.h:10046:15: note: declared here
             Local<Object> Value::ToObject() const {
                           ^~~~~
            ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Conn                                         ect(Nan::NAN_METHOD_ARGS_TYPE)’:
            ../src/unix_dgram.cc:340:28: warning: ‘int32_t v8::Value::Int32Value() const’ is                                          deprecated: Use maybe version [-Wdeprecated-declarations]
               fd = info[0]->Int32Value();
                                        ^
            In file included from /home/pi/.node-gyp/10.16.0/include/node/v8.h:26,
                             from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                             from ../node_modules/nan/nan.h:47,
                             from ../src/unix_dgram.cc:5:
            /home/pi/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
               V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                          ^~~~~~~~~~
            /home/pi/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of                                          macro ‘V8_DEPRECATED’
               declarator __attribute__((deprecated(message)))
               ^~~~~~~~~~
            ../src/unix_dgram.cc:341:33: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Loca                                         l<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
               String::Utf8Value path(info[1]);
                                             ^
            In file included from /home/pi/.node-gyp/10.16.0/include/node/v8.h:26,
                             from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                             from ../node_modules/nan/nan.h:47,
                             from ../src/unix_dgram.cc:5:
            /home/pi/.node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here
                               explicit Utf8Value(Local<v8::Value> obj));
                                        ^~~~~~~~~
            /home/pi/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of                                          macro ‘V8_DEPRECATED’
               declarator __attribute__((deprecated(message)))
               ^~~~~~~~~~
            ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Clos                                         e(Nan::NAN_METHOD_ARGS_TYPE)’:
            ../src/unix_dgram.cc:361:28: warning: ‘int32_t v8::Value::Int32Value() const’ is                                          deprecated: Use maybe version [-Wdeprecated-declarations]
               fd = info[0]->Int32Value();
                                        ^
            In file included from /home/pi/.node-gyp/10.16.0/include/node/v8.h:26,
                             from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                             from ../node_modules/nan/nan.h:47,
                             from ../src/unix_dgram.cc:5:
            /home/pi/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
               V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                          ^~~~~~~~~~
            /home/pi/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of                                          macro ‘V8_DEPRECATED’
               declarator __attribute__((deprecated(message)))
               ^~~~~~~~~~
            In file included from ../node_modules/nan/nan.h:47,
                             from ../src/unix_dgram.cc:5:
            ../src/unix_dgram.cc: At global scope:
            /home/pi/.node-gyp/10.16.0/include/node/node.h:573:43: warning: cast between inc                                         ompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_                                         register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*                                         )’} [-Wcast-function-type]
                   (node::addon_register_func) (regfunc),                          \
                                                       ^
            /home/pi/.node-gyp/10.16.0/include/node/node.h:607:3: note: in expansion of macr                                         o ‘NODE_MODULE_X’
               NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
               ^~~~~~~~~~~~~
            ../src/unix_dgram.cc:420:1: note: in expansion of macro ‘NODE_MODULE’
             NODE_MODULE(unix_dgram, Initialize)
             ^~~~~~~~~~~
            In file included from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                             from ../node_modules/nan/nan.h:47,
                             from ../src/unix_dgram.cc:5:
            /home/pi/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::Pers                                         istentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakC                                         allbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallba                                         ckInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
            /home/pi/.node-gyp/10.16.0/include/node/node_object_wrap.h:84:78:   required fro                                         m here
            /home/pi/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between inco                                         mpatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’                                          {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {a                                         ka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                            reinterpret_cast<Callback>(callback), type);
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            /home/pi/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::Pers                                         istentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakC                                         allbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbac                                         kInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
            ../node_modules/nan/nan_object_wrap.h:66:61:   required from here
            /home/pi/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between inco                                         mpatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {                                         aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka                                          ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
            make: *** [unix_dgram.target.mk:99: Release/obj.target/unix_dgram/src/unix_dgram                                         .o] Fehler 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_module                                         s/node-gyp/lib/build.js:262:23)
            gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
            gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_proces                                         s.js:248:12)
            gyp ERR! System Linux 4.19.57-v7+
            gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gy                                         p/bin/node-gyp.js" "rebuild"
            gyp ERR! cwd /opt/iobroker/node_modules/unix-dgram
            gyp ERR! node -v v10.16.0
            gyp ERR! node-gyp -v v3.8.0
            gyp ERR! not ok
            In file included from ../src/./serialport.h:6,
                             from ../src/serialport.cpp:1:
            ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
            ../../nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                 , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
                                                                          ^
            ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:
            ../src/serialport.cpp:41:49: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
               v8::String::Utf8Value path(info[0]->ToString());
                                                             ^
            In file included from /home/pi/.node-gyp/10.16.0/include/node/v8.h:26,
                             from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                             from ../../nan/nan.h:54,
                             from ../src/./serialport.h:6,
                             from ../src/serialport.cpp:1:
            /home/pi/.node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here
                               explicit Utf8Value(Local<v8::Value> obj));
                                        ^~~~~~~~~
            /home/pi/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
               declarator __attribute__((deprecated(message)))
               ^~~~~~~~~~
            ../src/serialport.cpp:48:53: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
               v8::Local<v8::Object> options = info[1]->ToObject();
                                                                 ^
            In file included from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                             from ../../nan/nan.h:54,
                             from ../src/./serialport.h:6,
                             from ../src/serialport.cpp:1:
            /home/pi/.node-gyp/10.16.0/include/node/v8.h:10046:15: note: declared here
             Local<Object> Value::ToObject() const {
                           ^~~~~
            ../src/serialport.cpp:78:69: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
               uv_queue_work(uv_default_loop(), req, EIO_Open, (uv_after_work_cb)EIO_AfterOpen);
                                                                                 ^~~~~~~~~~~~~
            ../src/serialport.cpp: In function ‘void EIO_AfterOpen(uv_work_t*)’:
            ../src/serialport.cpp:95:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
               data->callback.Call(2, argv);
                                          ^
            In file included from ../src/./serialport.h:6,
                             from ../src/serialport.cpp:1:
            ../../nan/nan.h:1740:3: note: declared here
               Call(int argc, v8::Local<v8::Value> argv[]) const {
               ^~~~
            ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’:
            ../src/serialport.cpp:113:53: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
               v8::Local<v8::Object> options = info[1]->ToObject();
                                                                 ^
            In file included from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                             from ../../nan/nan.h:54,
                             from ../src/./serialport.h:6,
                             from ../src/serialport.cpp:1:
            /home/pi/.node-gyp/10.16.0/include/node/v8.h:10046:15: note: declared here
             Local<Object> Value::ToObject() const {
                           ^~~~~
            ../src/serialport.cpp:135:71: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
               uv_queue_work(uv_default_loop(), req, EIO_Update, (uv_after_work_cb)EIO_AfterUpdate);
                                                                                   ^~~~~~~~~~~~~~~
            ../src/serialport.cpp: In function ‘void EIO_AfterUpdate(uv_work_t*)’:
            ../src/serialport.cpp:150:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
               data->callback.Call(1, argv);
                                          ^
            In file included from ../src/./serialport.h:6,
                             from ../src/serialport.cpp:1:
            ../../nan/nan.h:1740:3: note: declared here
               Call(int argc, v8::Local<v8::Value> argv[]) const {
               ^~~~
            ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)’:
            ../src/serialport.cpp:175:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
               uv_queue_work(uv_default_loop(), req, EIO_Close, (uv_after_work_cb)EIO_AfterClose);
                                                                                  ^~~~~~~~~~~~~~
            ../src/serialport.cpp: In function ‘void EIO_AfterClose(uv_work_t*)’:
            ../src/serialport.cpp:188:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
               data->callback.Call(1, argv);
                                          ^
            In file included from ../src/./serialport.h:6,
                             from ../src/serialport.cpp:1:
            ../../nan/nan.h:1740:3: note: declared here
               Call(int argc, v8::Local<v8::Value> argv[]) const {
               ^~~~
            ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)’:
            ../src/serialport.cpp:215:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
               uv_queue_work(uv_default_loop(), req, EIO_Flush, (uv_after_work_cb)EIO_AfterFlush);
                                                                                  ^~~~~~~~~~~~~~
            ../src/serialport.cpp: In function ‘void EIO_AfterFlush(uv_work_t*)’:
            ../src/serialport.cpp:231:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
               data->callback.Call(1, argv);
                                          ^
            In file included from ../src/./serialport.h:6,
                             from ../src/serialport.cpp:1:
            ../../nan/nan.h:1740:3: note: declared here
               Call(int argc, v8::Local<v8::Value> argv[]) const {
               ^~~~
            ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:
            ../src/serialport.cpp:250:53: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
               v8::Local<v8::Object> options = info[1]->ToObject();
                                                                 ^
            In file included from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                             from ../../nan/nan.h:54,
                             from ../src/./serialport.h:6,
                             from ../src/serialport.cpp:1:
            /home/pi/.node-gyp/10.16.0/include/node/v8.h:10046:15: note: declared here
             Local<Object> Value::ToObject() const {
                           ^~~~~
            ../src/serialport.cpp:270:68: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
               uv_queue_work(uv_default_loop(), req, EIO_Set, (uv_after_work_cb)EIO_AfterSet);
                                                                                ^~~~~~~~~~~~
            ../src/serialport.cpp: In function ‘void EIO_AfterSet(uv_work_t*)’:
            ../src/serialport.cpp:285:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
               data->callback.Call(1, argv);
                                          ^
            In file included from ../src/./serialport.h:6,
                             from ../src/serialport.cpp:1:
            ../../nan/nan.h:1740:3: note: declared here
               Call(int argc, v8::Local<v8::Value> argv[]) const {
               ^~~~
            ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Get(Nan::NAN_METHOD_ARGS_TYPE)’:
            ../src/serialport.cpp:314:68: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
               uv_queue_work(uv_default_loop(), req, EIO_Get, (uv_after_work_cb)EIO_AfterGet);
                                                                                ^~~~~~~~~~~~
            ../src/serialport.cpp: In function ‘void EIO_AfterGet(uv_work_t*)’:
            ../src/serialport.cpp:336:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
               data->callback.Call(2, argv);
                                          ^
            In file included from ../src/./serialport.h:6,
                             from ../src/serialport.cpp:1:
            ../../nan/nan.h:1740:3: note: declared here
               Call(int argc, v8::Local<v8::Value> argv[]) const {
               ^~~~
            ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE GetBaudRate(Nan::NAN_METHOD_ARGS_TYPE)’:
            ../src/serialport.cpp:363:76: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
               uv_queue_work(uv_default_loop(), req, EIO_GetBaudRate, (uv_after_work_cb)EIO_AfterGetBaudRate);
                                                                                        ^~~~~~~~~~~~~~~~~~~~
            ../src/serialport.cpp: In function ‘void EIO_AfterGetBaudRate(uv_work_t*)’:
            ../src/serialport.cpp:383:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
               data->callback.Call(2, argv);
                                          ^
            In file included from ../src/./serialport.h:6,
                             from ../src/serialport.cpp:1:
            ../../nan/nan.h:1740:3: note: declared here
               Call(int argc, v8::Local<v8::Value> argv[]) const {
               ^~~~
            ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)’:
            ../src/serialport.cpp:409:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
               uv_queue_work(uv_default_loop(), req, EIO_Drain, (uv_after_work_cb)EIO_AfterDrain);
                                                                                  ^~~~~~~~~~~~~~
            ../src/serialport.cpp: In function ‘void EIO_AfterDrain(uv_work_t*)’:
            ../src/serialport.cpp:424:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
               data->callback.Call(1, argv);
                                          ^
            In file included from ../src/./serialport.h:6,
                             from ../src/serialport.cpp:1:
            ../../nan/nan.h:1740:3: note: declared here
               Call(int argc, v8::Local<v8::Value> argv[]) const {
               ^~~~
            ../src/serialport.cpp: At global scope:
            ../src/serialport.cpp:430:28: warning: unnecessary parentheses in declaration of ‘ToParityEnum’ [-Wparentheses]
             SerialPortParity NAN_INLINE(ToParityEnum(const v8::Local<v8::String>& v8str)) {
                                        ^
            ../src/serialport.cpp:449:30: warning: unnecessary parentheses in declaration of ‘ToStopBitEnum’ [-Wparentheses]
             SerialPortStopBits NAN_INLINE(ToStopBitEnum(double stopBits)) {
                                          ^
            In file included from ../../nan/nan.h:54,
                             from ../src/./serialport.h:6,
                             from ../src/serialport.cpp:1:
            /home/pi/.node-gyp/10.16.0/include/node/node.h:573:43: warning: cast between incompatible function types from ‘void (*)(v8::Handle<v8::Object>)’ {aka ‘void (*)(v8::Local<v8::Object>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
                   (node::addon_register_func) (regfunc),                          \
                                                       ^
            /home/pi/.node-gyp/10.16.0/include/node/node.h:607:3: note: in expansion of macro ‘NODE_MODULE_X’
               NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
               ^~~~~~~~~~~~~
            ../src/serialport.cpp:485:1: note: in expansion of macro ‘NODE_MODULE’
             NODE_MODULE(serialport, init);
             ^~~~~~~~~~~
            In file included from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                             from ../../nan/nan.h:54,
                             from ../src/./serialport.h:6,
                             from ../src/serialport.cpp:1:
            /home/pi/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
            /home/pi/.node-gyp/10.16.0/include/node/node_object_wrap.h:84:78:   required from here
            /home/pi/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                            reinterpret_cast<Callback>(callback), type);
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            /home/pi/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
            ../../nan/nan_object_wrap.h:65:61:   required from here
            /home/pi/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka  void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
            In file included from ../src/serialport.h:6,
                             from ../src/serialport_unix.cpp:2:
            ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
            ../../nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                 , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
                                                                          ^
            In file included from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                             from ../../nan/nan.h:54,
                             from ../src/serialport.h:6,
                             from ../src/serialport_unix.cpp:2:
            /home/pi/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
            /home/pi/.node-gyp/10.16.0/include/node/node_object_wrap.h:84:78:   required from here
            /home/pi/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                            reinterpret_cast<Callback>(callback), type);
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            /home/pi/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
            ../../nan/nan_object_wrap.h:65:61:   required from here
            /home/pi/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka  void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
            ../src/serialport_unix.cpp: In function ‘int setup(int, OpenBaton*)’:
            ../src/serialport_unix.cpp:176:60: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1005 [-Wformat-truncation=]
                 snprintf(data->errorString, sizeof(data->errorString), "Error %s Cannot open %s", strerror(errno), data->path);
                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~
            ../src/serialport_unix.cpp:176:13: note: ‘snprintf’ output 20 or more bytes (assuming 1043) into a destination of size 1024
                 snprintf(data->errorString, sizeof(data->errorString), "Error %s Cannot open %s", strerror(errno), data->path);
                 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            ../src/serialport_unix.cpp: In function ‘void EIO_Open(uv_work_t*)’:
            ../src/serialport_unix.cpp:86:60: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1003 [-Wformat-truncation=]
                 snprintf(data->errorString, sizeof(data->errorString), "Error: %s, cannot open %s", strerror(errno), data->path);
                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
            ../src/serialport_unix.cpp:86:13: note: ‘snprintf’ output 22 or more bytes (assuming 1045) into a destination of size 1024
                 snprintf(data->errorString, sizeof(data->errorString), "Error: %s, cannot open %s", strerror(errno), data->path);
                 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            In file included from ../src/poller.cpp:1:
            ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
            ../../nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                 , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
                                                                          ^
            ../src/poller.cpp: In static member function ‘static void Poller::onData(uv_poll_t*, int, int)’:
            ../src/poller.cpp:69:29: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
               obj->callback.Call(2, argv);
                                         ^
            In file included from ../src/poller.cpp:1:
            ../../nan/nan.h:1740:3: note: declared here
               Call(int argc, v8::Local<v8::Value> argv[]) const {
               ^~~~
            In file included from /home/pi/.node-gyp/10.16.0/include/node/node.h:63,
                             from ../../nan/nan.h:54,
                             from ../src/poller.cpp:1:
            /home/pi/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
            /home/pi/.node-gyp/10.16.0/include/node/node_object_wrap.h:84:78:   required from here
            /home/pi/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                            reinterpret_cast<Callback>(callback), type);
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            /home/pi/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
            ../../nan/nan_object_wrap.h:65:61:   required from here
            /home/pi/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka  void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
            
            1 Reply Last reply Reply Quote 0
            • L
              LED @AlCalzone last edited by

              @AlCalzone said in Neue Installationsroutine und neue Anleitungen (für Linux-basierte Systeme):

              Wie kommt man dann auf die Idee, diesen direkt nach einer nagelneuen Installation auszuführen? Ernst gemeinte Frage.

              Na ja, wenn etwas nicht klappt und es einen Fixer gibt 🙂
              Hat aber wohl nicht geschadet... ich lerne noch.

              AlCalzone 1 Reply Last reply Reply Quote 0
              • A
                Atticus last edited by

                Hallo,

                ich versuche gerade ioBroker auf einem Raspberry 4 mit Rasbian Buster zu installieren.
                Hier in diesem Beitrag gibt es ja links zu neuen Installationsanleitungen/Scripten...
                Leider kann ich keines diese Scripte nutzen, da die Links nicht funktionieren.
                Kann mir jemand helfen und einen Link zu einer funktionierenden Installationsanleitung posten?
                Danke
                Thomas

                J 1 Reply Last reply Reply Quote 0
                • L
                  LED last edited by LED

                  https://www.iobroker.net/#de/documentation/install/linux.md

                  Ich bin jetzt seit etwa 40h an dem Thema iobroker auf Raspberry dran und kann schon gar nicht mehr zählen wie oft ich auf tote Links geklickt habe. OK, ich bin auch ein totaler Linux Noob und hab immer nur Windows genutzt. Aber der Einstieg war schon echt schwer, obwohl es im Grunde so einfach sein könnte.

                  apollon77 1 Reply Last reply Reply Quote 1
                  • AlCalzone
                    AlCalzone Developer @LED last edited by

                    @LED sagte in Neue Installationsroutine und neue Anleitungen (für Linux-basierte Systeme):

                    Na ja, wenn etwas nicht klappt

                    Was denn? Lief ioBroker etwa nicht?

                    1 Reply Last reply Reply Quote 0
                    • J
                      Jan1 @Atticus last edited by Jan1

                      @TomsHome
                      Die toten Links kommen von der Neustrukturierung des Forum und sind in der Tat etwas nervig zumal die neue Doku die irgendwann mal alles zusammenfassen soll noch nicht fertig ist.
                      Im Grunde ist das wesentliche aber erreichbar und damit bekommt man ohne Probleme IOBroker installiert. Wie Rasbian auf dem Pi einzurichten ist, sollte eh nicht hier gesucht werden, sondern im entsprechenden Raspian Forum, da dort der Support eben darauf ausgelegt ist und hier der Schwerpunkt bei IOBroker liegt.

                      Oder man nimmt eben ein fertiges Image von hier und spart sich die Raspian Einrichtung. Meine Empfehlung ist aber das ganze selber zu machen, da nur so das Grundverständnis für spätere eventuelle Probleme gesammelt wird (wenn nicht eh schon vorhanden).

                      L 1 Reply Last reply Reply Quote 0
                      • A
                        Atticus last edited by

                        Danke für Eure schnelle Hilfe, ich ab es gefunden.

                        Die Einrichtung von Rasbian auf dem Pi ist ja kein Problem, das war ja auch schon erledigt.

                        Ich hatte nur arge Probleme, ioBroker zu installieren und zum laufen zu bringen.
                        Jetzt hat es aber funktioniert.

                        ich hab den ioBroker deshalb auf meinem Testsystem neu aufgesetzt, weil ich darauf den SQL-Adapter nicht zum laufen bringen konnte. Hab den jetzt als erste installiert, jetzt läuft er.

                        Es sieht aber auch so aus, als ob die Installation von Adaptern jetzt anders abläuft, bzw. länger dauert, er wird im Installationsfenster jedenfalls viel mehr angezeigt als bei früheren Installationen.

                        Danke

                        Thomas

                        1 Reply Last reply Reply Quote 0
                        • L
                          LED @Jan1 last edited by

                          @Jan1 said in Neue Installationsroutine und neue Anleitungen (für Linux-basierte Systeme):

                          Die toten Links kommen von der Neustrukturierung des Forum und sind in der Tat etwas nervig zumal die neue Doku die irgendwann mal alles zusammenfassen soll noch nicht fertig ist.

                          Ja, hab ich schon verstanden und inzwischen ist mir auch klar wo ich was finde. Für neue User aber in der Tat sehr nervig.

                          @TomsHome said in Neue Installationsroutine und neue Anleitungen (für Linux-basierte Systeme):

                          ich hab den ioBroker deshalb auf meinem Testsystem neu aufgesetzt, weil ich darauf den SQL-Adapter nicht zum laufen bringen konnte. Hab den jetzt als erste installiert, jetzt läuft er.
                          Es sieht aber auch so aus, als ob die Installation von Adaptern jetzt anders abläuft, bzw. länger dauert, er wird im Installationsfenster jedenfalls viel mehr angezeigt als bei früheren Installationen.

                          Ich hab inzwischen bestimmt 20x iobroker installiert, am Anfang über fertige Images um erst einmal zu verstehen was da so geht und wie es aussehen sollte und danach auch selbst installiert. Eine SD-Karte hab ich irgendwie geschrottet und mit den Berechtigungen unter Linux komme ich auch noch nicht wirklich klar. Auch wenn es nicht empfohlen wird, auf meinen Testsystemen arbeite ich erst einmal als Root.

                          Mit dem SQL Adapter hatte ich auch Probleme und eine Datenbank konnte ich auf dem fertigen IoBroker Image erst recht nicht installieren. Und das die Adapter jetzt ewig brauchen und es sehr viele (Fehler-)Meldungen gibt ist mir ebenfalls aufgefallen. Aber ich glaube ich hab da vorher auch einfach nicht drauf geachtet und die Ausgabe deaktiviert.

                          Trotzdem macht es mich unsicher, ob ich auf dem richtigen Weg bin und das alles so gewollt ist 🙂

                          apollon77 1 Reply Last reply Reply Quote 0
                          • A
                            Atticus last edited by

                            Dann hab ich gleich noch eine Frage.
                            Benutzt jemand den BLE-Adapter, läuft der bei Euch?
                            Auf meinem "Arbeitssystem"(Node/js 10.16.0, npm 6.9.0, js-controller 1.5.11) ist die BLE Version 0.7.2 installiert.
                            Der BLE hat funktionert, aber ich meine seit dem ich den js-contoller auf 1.5.11 upgedate habe, läuft er nicht mehr. Hat jemand eine Idee?
                            Dake
                            Thomas

                            AlCalzone 1 Reply Last reply Reply Quote 0
                            • apollon77
                              apollon77 @LED last edited by

                              @LED Tote Links ... wenn Du Sie nochmal findest bitte melden.

                              Wir haben die Doku und Webseite umgestellt und jetzt müssen wir hier ggf solche Dinge nachziehen und fixen. Also hier im Forum bitte nicht davor scheuen totel Links zu melden! Und auch auf den Webseiten und so.

                              1 Reply Last reply Reply Quote 0
                              • apollon77
                                apollon77 @LED last edited by

                                @LED Das bei einigen Adaptern "Warnungen" kommen ist unschön und wir sind immer versucht die zu fixen. Einige kommen aber auch abhängigen Paketen und von daher haben wir darauf nur einen bedingten Einfluss. Das ist leider eine Unschöne Eigenheit von Nodejs bzw der Art wie Pakete mit npm gemanaged werden. 😞

                                Eine SQL-Datenbank auf einem Raspi mit SD Karte würde ich auch nicht als Sinnvoll ansehen! Da ist deine SD Karte shcneller hin als Du schauen kannst und es sei denn DU nimmst einen Raspi 4 mit genug RAM das limitiert auch. Hier ist auch die sqlite3 Library grund für einige Warnjungen, die am Ende aber ignoriert werden können.

                                1 Reply Last reply Reply Quote 0
                                • AlCalzone
                                  AlCalzone Developer @Atticus last edited by

                                  @TomsHome sagte in Neue Installationsroutine und neue Anleitungen (für Linux-basierte Systeme):

                                  Der BLE hat funktionert, aber ich meine seit dem ich den js-contoller auf 1.5.11 upgedate habe, läuft er nicht mehr. Hat jemand eine Idee?

                                  Wie immer ist "läuft nicht" keine ausreichende Fehlerbeschreibung. Das mindeste was du liefern solltest, sind die passenden Logs. Anhand diesen findest du sicher auch ähnliche Probleme samt Lösung hier im Forum. Eine Abhängigkeit des Adapters ist leider etwas fragil, was Installationen angeht.

                                  Und die Frage ist in einem Extra Thread eigentlich besser aufgehoben.

                                  A 1 Reply Last reply Reply Quote 0
                                  • A
                                    Atticus @AlCalzone last edited by Atticus

                                    @AlCalzone ja, das mach ich doch. Da ich aber noch recht neu in der Materie bin, die Frage, wo finde ich das passende Log?
                                    Danke
                                    Thomas

                                    AlCalzone 1 Reply Last reply Reply Quote 0
                                    • A
                                      Atticus last edited by

                                      Und noch was, betrifft nur das Forum hier, kann ich meine Beiträge nicht editieren? Ich finde keinen Button, um den Beitrag zu ändern.

                                      sigi234 1 Reply Last reply Reply Quote 0
                                      • sigi234
                                        sigi234 Forum Testing Most Active @Atticus last edited by sigi234

                                        @TomsHome sagte in Neue Installationsroutine und neue Anleitungen (für Linux-basierte Systeme):

                                        Screenshot (3683)_LI.jpg

                                        1 Reply Last reply Reply Quote 0
                                        • A
                                          Atticus last edited by

                                          Ok, danke

                                          1 Reply Last reply Reply Quote 0
                                          • 1Topf
                                            1Topf @apollon77 last edited by

                                            @apollon77 sagte in Neue Installationsroutine und neue Anleitungen (für Linux-basierte Systeme):

                                            Versuch mal:

                                            sudo su -

                                            Und dann den installer als root laufen lassen. Hat dort funktioniert

                                            Sudo su - funzt nicht, aber su -. Und juhu, ioB läuft, zumindest die Grundinstallation 👍 . Werde demnächst mal eine Sicherung meines laufenden Sytems einspielen und schaun, ob das funzt. Vielen Dank! ☺

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            949
                                            Online

                                            31.6k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

                                            installation
                                            64
                                            415
                                            94278
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo