Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Bug bei Update usw..

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    UNSOLVED Bug bei Update usw..

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

      Hallo zusammen,

      unter dieser Konfiguration:

      Platform: linux
      os: linux
      Architecture: arm64
      CPUs: 4
      Speed: 1296 MHz
      Model: unknown
      RAM: 3.8 GB 
      System uptime: 1 T. 03:22:21
      Node.js: v12.18.4
      NPM: 6.14.6
      Disk size: 227.2 GiB
      Disk free: 222.3 GiB
      adapters count: 363
      Uptime: 1 T. 03:50:33
      Active instances: 40
      ioBroker.admin 4.1.8
      

      habe ich dauernd dies Fehlermeldung.

      Trotz Suche konnte ich dies nicht beheben.

      Kann jemand helfen!? Danke vorab.

      make: *** [Release/obj.target/sharp/src/common.o] Fehler 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:194:23)gyp ERR! stack     at ChildProcess.emit (events.js:315:20)gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)gyp ERR! System Linux 4.4.192-rockchip64gyp 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/sharpgyp ERR! node -v v12.18.4gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok 
      

      VG

      BLRD

      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @BLRD last edited by

        @BLRD sharp bzw sharp-dev installiert?

        B 1 Reply Last reply Reply Quote 0
        • B
          BLRD @Thomas Braun last edited by

          @Thomas-Braun

          Hi nicht das ich wüsste!?

          Danke

          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @BLRD last edited by Thomas Braun

            @BLRD
            Was ist denn das da für ein Betriebssystem?
            Was Debian-artiges?
            Versuch mal:

            cd /opt/iobroker
            npm install sharp
            

            Wenn das klemmt: Prüfe welches glibc installiert ist

            ldd --version
            
            B 1 Reply Last reply Reply Quote 0
            • B
              BLRD @Thomas Braun last edited by BLRD

              @Thomas-Braun

              Hi siehe dies

              5ae6c48a-dc1c-4ab5-9706-3f021cc5301f-grafik.png

              Ich werde dies versuchen und eine Rückmeldung geben.

              Danke.

              BLRD

              so der Nachtrag:

              XXXXX:/opt/iobroker$ npm install sharp
              [sudo] password for XX:
              
              > sharp@0.25.4 install /opt/iobroker/node_modules/iobroker.iot/node_modules/sharp
              > (node install/libvips && node install/dll-copy && prebuild-install --runtime=napi) || (node-gyp rebuild && node install/dll-copy)
              
              ERR! sharp Use with glibc 2.24 requires manual installation of libvips >= 8.9.1
              info sharp Attempting to build from source via node-gyp but this may fail due to the above error
              info sharp Please see https://sharp.pixelplumbing.com/install for required dependencies
              make: Entering directory '/opt/iobroker/node_modules/iobroker.iot/node_modules/sharp/build'
                CC(target) Release/obj.target/nothing/../../../node-addon-api/nothing.o
                AR(target) Release/obj.target/../../../node-addon-api/nothing.a
                COPY Release/nothing.a
                TOUCH Release/obj.target/libvips-cpp.stamp
                CXX(target) Release/obj.target/sharp/src/common.o
              ../src/common.cc:23:22: fatal error: vips/vips8: No such file or directory
               #include <vips/vips8>
                                    ^
              compilation terminated.
              sharp.target.mk:139: recipe for target 'Release/obj.target/sharp/src/common.o' failed
              make: *** [Release/obj.target/sharp/src/common.o] Error 1
              make: Leaving directory '/opt/iobroker/node_modules/iobroker.iot/node_modules/sharp/build'
              gyp ERR! build error
              gyp ERR! stack Error: `make` failed with exit code: 2
              gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
              gyp ERR! stack     at ChildProcess.emit (events.js:315:20)
              gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
              gyp ERR! System Linux 4.4.192-rockchip64
              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/iobroker.iot/node_modules/sharp
              gyp ERR! node -v v12.18.4
              gyp ERR! node-gyp -v v5.1.0
              gyp ERR! not ok
              
              > sharp@0.26.0 install /opt/iobroker/node_modules/sharp
              > (node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)
              
              ERR! sharp Use with glibc 2.24 requires manual installation of libvips >= 8.10.0
              info sharp Attempting to build from source via node-gyp but this may fail due to the above error
              info sharp Please see https://sharp.pixelplumbing.com/install for required dependencies
              make: Entering directory '/opt/iobroker/node_modules/sharp/build'
                CC(target) Release/obj.target/nothing/../node-addon-api/nothing.o
                AR(target) Release/obj.target/../node-addon-api/nothing.a
                COPY Release/nothing.a
                TOUCH Release/obj.target/libvips-cpp.stamp
                CXX(target) Release/obj.target/sharp/src/common.o
              ../src/common.cc:24:22: fatal error: vips/vips8: No such file or directory
               #include <vips/vips8>
                                    ^
              compilation terminated.
              sharp.target.mk:139: recipe for target 'Release/obj.target/sharp/src/common.o' failed
              make: *** [Release/obj.target/sharp/src/common.o] Error 1
              make: Leaving directory '/opt/iobroker/node_modules/sharp/build'
              gyp ERR! build error
              gyp ERR! stack Error: `make` failed with exit code: 2
              gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
              gyp ERR! stack     at ChildProcess.emit (events.js:315:20)
              gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
              gyp ERR! System Linux 4.4.192-rockchip64
              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/sharp
              gyp ERR! node -v v12.18.4
              gyp ERR! node-gyp -v v5.1.0
              gyp ERR! not ok
              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/fsevents):
              npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})
              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.7 (node_modules/osx-temperature-sensor):
              npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})
              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/zigbee-herdsman-converters/node_modules/fsevents):
              npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})
              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/zigbee-herdsman/node_modules/fsevents):
              npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})
              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/zigbee-herdsman/node_modules/jest-haste-map/node_modules/fsevents):
              npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})
              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: sharp@0.25.4 (node_modules/iobroker.iot/node_modules/sharp):
              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: sharp@0.25.4 install: `(node install/libvips && node install/dll-copy && prebuild-install --runtime=napi) || (node-gyp rebuild && node install/dll-copy)`
              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
              
              npm ERR! code ELIFECYCLE
              npm ERR! errno 1
              npm ERR! sharp@0.26.0 install: `(node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)`
              npm ERR! Exit status 1
              npm ERR!
              npm ERR! Failed at the sharp@0.26.0 install script.
              npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
              
              npm ERR! A complete log of this run can be found in:
              npm ERR!     /home/iobroker/.npm/_logs/2020-09-18T14_25_26_570Z-debug.log
              XXXXXX:/opt/iobroker$ ldd --version
              ldd (Debian GLIBC 2.24-11+deb9u4) 2.24
              Copyright (C) 2016 Free Software Foundation, Inc.
              This is free software; see the source for copying conditions.  There is NO
              warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
              Written by Roland McGrath and Ulrich Drepper.
              XXXXXXX:/opt/iobroker$
              
              
              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @BLRD last edited by

                @BLRD
                Stretch ist ja jetzt nicht ganz aktuell.
                Vermutlich musst du da libvips sowie sharp bauen. Siehe auch hier:

                https://sharp.pixelplumbing.com/install

                B 1 Reply Last reply Reply Quote 0
                • B
                  BLRD @Thomas Braun last edited by

                  @Thomas-Braun

                  Und was könnte ich statt Stretch nehmen und wie mache ich dies!?

                  Danke.

                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @BLRD last edited by

                    @BLRD
                    Ist Armbian, oder?
                    https://wiki.pine64.org/index.php/ROCK64_Software_Release#Armbian_Debian_Buster_on_mainline_Kernel_.5BmicroSD_.2F_eMMC_Boot.5D

                    Ich würde aber wohl zunächst einfach die beiden Dinger selber bauen. Ist etwas weniger aufwändig.

                    Homoran 1 Reply Last reply Reply Quote 0
                    • Homoran
                      Homoran Global Moderator Administrators @Thomas Braun last edited by

                      @Thomas-Braun Dann spiele ich mal mit:
                      Rock64_old_versions.png

                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @Homoran last edited by Thomas Braun

                        @Homoran
                        Da bist du ja prädestiniert für den weiteren Support. Armbian ist mir nicht so geläufig.
                        Fein wäre ja ein Buster in Server-Setup mit Kernel 5.8.x

                        Homoran 2 Replies Last reply Reply Quote 0
                        • Homoran
                          Homoran Global Moderator Administrators @Thomas Braun last edited by

                          @Thomas-Braun sagte in Bug bei Update usw..:

                          Da bist du ja prädestiniert für den weiteren Support.

                          eben nicht - sonst wäre das nicht mehr so alt.

                          Aber wenn du meinst, dann nehme ich mal die Anleitung von dir für Linux und jage das drüber

                          B 1 Reply Last reply Reply Quote 0
                          • Homoran
                            Homoran Global Moderator Administrators @Thomas Braun last edited by

                            @Thomas-Braun sagte in Bug bei Update usw..:

                            Fein wäre ja ein Buster in Server-Setup mit Kernel 5.8.x

                            buster_Rock.png

                            Das wäre mein üblicher Ansatz.
                            Backup
                            palttmachen
                            neu installiern
                            restore

                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @Homoran last edited by

                              @Homoran Och, ich dachte du baust jetzt libvip und sharp zusammen.

                              1 Reply Last reply Reply Quote 0
                              • B
                                BLRD @Homoran last edited by

                                @Homoran

                                Oh schön zu hören, dass Profis daran arbeiten.

                                Da kann ich nicht viel dazu beitragen.

                                Danke.

                                VG

                                BLRD

                                Homoran 1 Reply Last reply Reply Quote 0
                                • Homoran
                                  Homoran Global Moderator Administrators @BLRD last edited by

                                  @BLRD sagte in Bug bei Update usw..:

                                  Oh schön zu hören, dass Profis daran arbeiten.

                                  hier arbeitet keiner 😉

                                  wie ich schrieb würde ich ein Backup mit backitup erstellen, die neueste Version downloaden, dann neu installieren und das Backup zurückspielen.

                                  @Thomas-Braun kann das sicher auch am lebenden Objekt, und da er Armbian nicht so gut kennt, hätte ich das Versuchskarnickel gespielt.
                                  Meine Installation ist nicht lebenswichtig

                                  Thomas Braun 1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @Homoran last edited by Thomas Braun

                                    @Homoran @BLRD
                                    Ich kann ja mal versuchen euch das in die 'Tastaturen zu flüstern'.

                                    Zunächst mal schauen, ob nodejs sauber ist:

                                    node -v 
                                    nodejs -v
                                    

                                    Sollte beides > 12.0.0 sein und die gleiche Version haben.

                                    sudo apt install build-essential pkg-config libglib2.0-dev libexpat1-dev
                                    
                                    wget https://github.com/libvips/libvips/releases/download/v8.10.1/vips-8.10.1.tar.gz
                                    tar xf vips-8.10.1.tar.gz
                                    cd vips-8.10.1
                                    ./configure
                                    

                                    Wenn da nix böses um die Ecke kommt, dann

                                    make
                                    sudo make install
                                    sudo ldconfig
                                    
                                    Homoran 1 Reply Last reply Reply Quote 0
                                    • Homoran
                                      Homoran Global Moderator Administrators @Thomas Braun last edited by

                                      @Thomas-Braun sagte in Bug bei Update usw..:

                                      Ich kann ja mal versuchen euch das in die 'Tastaturen zu flüstern'.

                                      das ist ganz lieb von dir!

                                      Ich versuche aber gerade von Stretch auf Buster mit Kernel 5.x zu kommen

                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @Homoran last edited by

                                        @Homoran sagte in Bug bei Update usw..:

                                        Ich versuche aber gerade von Stretch auf Buster mit Kernel 5.x zu kommen

                                        Dann müsste da ein Teil der Kompliererei überflüssig sein. Ggf. kann man sharp dann auch ganz normal über npm installieren.

                                        Homoran 1 Reply Last reply Reply Quote 0
                                        • Homoran
                                          Homoran Global Moderator Administrators @Thomas Braun last edited by

                                          @Thomas-Braun sagte in Bug bei Update usw..:

                                          @Homoran sagte in Bug bei Update usw..:

                                          Ich versuche aber gerade von Stretch auf Buster mit Kernel 5.x zu kommen

                                          Dann müsste da ein Teil der Kompliererei überflüssig sein. Ggf. kann man sharp dann auch ganz normal über npm installieren.

                                          das war mein Ziel!

                                          ich finde aber deine Anleitung nicht mehr, bei der du irgendwo in einer Datei Stretch mit Buster ersetzt hattest und dann mit update, upgrade und dist-upgrade Buster aufgesetzt hattest.
                                          Habe jetzt eine andere Anleitung im Netz gefunden und danach über sed -i 's/stretch/buster/g' /etc/apt/sources.list angepasst.

                                          Ob das bei Armbian der richtige Weg war, weiß ich nicht

                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @Homoran last edited by Thomas Braun

                                            @Homoran sagte in Bug bei Update usw..:

                                            bei der du irgendwo in einer Datei Stretch mit Buster ersetzt hattest

                                            Das war die sources.list
                                            Nur ich mach das immer zu Fuß und nicht über sed.
                                            Ist natürlich eleganter, ich kann mir aber die Syntax von sed nie merken...

                                            Homoran 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            945
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            build error
                                            3
                                            27
                                            1247
                                            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