[Gelöst] Build error openssl-host

JohnDoe42

Aktives Mitglied
Mitglied seit
17 Mrz 2009
Beiträge
1,473
Punkte für Reaktionen
3
Punkte
38
Hallo zusammen,

mit dem aktuellen Github-Repo-Stand ergibt sich bei mir am Ende eines Build-Versuchs dies:

Code:
---> tools/openssl-host ...
configuring ... (conf_cmd() { ./configure "$@"  || { [ "2" = "0" ] && echo && cat .build.log 2>/dev/null; kill $ 2>/dev/null || kill $$ 2>/dev/null; printf "\n\\033[33m%s\\033[m\n" "ERROR: ";  exit 1; } }; cd /home/john/Githubs/freetz-ng/source/host-tools/openssl-3.5.4; {  rm -f config.{cache,status}; } ;    PATH="/home/john/Githubs/freetz-ng/tools/path:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/john/gcc-arm-none-eabi-10-2020-q4-major/bin/:/usr/sbin" CC="gcc" CXX="g++" CFLAGS="-Wall -O2" CXXFLAGS="-Wall -O2" LDFLAGS=""  CONFIG_SITE="" conf_cmd    --prefix=/home/john/Githubs/freetz-ng/source/host-tools/openssl-3.5.4/installdir   )
environment: ./configure: No such file or directory

ERROR:
make/host-tools/openssl-host/openssl-host.mk:27: recipe for target '/home/john/Githubs/freetz-ng/source/host-tools/openssl-3.5.4/.configured' failed
make[1]: *** [/home/john/Githubs/freetz-ng/source/host-tools/openssl-3.5.4/.configured] Terminated
Makefile:47: recipe for target 'envira' failed
make: *** [envira] Beendet

Hat jemand eine Idee, was zu tun ist ?
Grüße

JD.
 
Zuletzt bearbeitet:
Das Kommando zum Konfigurieren der OpenSSL-Übersetzung heißt Configure mit großem C:

Es gäbe sicherlich mehrere Wege, das zu korrigieren - auch wenn irgendwie unklar erscheint, wann und wo das als Problem eingeschleppt werden konnte, denn das heißt jetzt schon fast 10 Jahre so (früher hieß es config und auch das gibt es noch heute als Wrapper).

Eigentlich sollte beim Patchen des Pakets openssl-host ein Symlink passend angelegt werden: https://github.com/Freetz-NG/freetz...e/host-tools/openssl-host/openssl-host.mk#L20 - warum das hier nicht geklappt hat, kann nur mit deutlich mehr Protokollierung geklärt werden.
 
Eigentlich sollte beim Patchen des Pakets openssl-host ein Symlink passend angelegt werden: https://github.com/Freetz-NG/freetz...e/host-tools/openssl-host/openssl-host.mk#L20 - warum das hier nicht geklappt hat, kann nur mit deutlich mehr Protokollierung geklärt werden.

Hallo Peter,

könnte das helfen ?

Code:
              Successfully remade target file 'patchelf-host-precompiled'.
             Finished prerequisites of target file 'patchelf-host'.
            Must remake target 'patchelf-host'.
            Successfully remade target file 'patchelf-host'.
            Considering target file 'openssl-host'.
             File 'openssl-host' does not exist.
              Considering target file 'openssl-host-precompiled'.
               File 'openssl-host-precompiled' does not exist.
                Considering target file 'openssl-host-precompiled--int'.
                 File 'openssl-host-precompiled--int' does not exist.
                  Considering target file 'openssl-host-build-prereq'.
                   File 'openssl-host-build-prereq' does not exist.
                    Considering target file '/home/john/Githubs/freetz-ng/source/host-tools/openssl-3.5.4/.build-prereq-checked'.
                     Finished prerequisites of target file '/home/john/Githubs/freetz-ng/source/host-tools/openssl-3.5.4/.build-prereq-checked'.
                    No need to remake target '/home/john/Githubs/freetz-ng/source/host-tools/openssl-3.5.4/.build-prereq-checked'.
                   Finished prerequisites of target file 'openssl-host-build-prereq'.
                  Must remake target 'openssl-host-build-prereq'.
                  Successfully remade target file 'openssl-host-build-prereq'.
                  Pruning file 'kconfig-host'.
                  Pruning file 'busybox-host'.
                  Pruning file 'tar-host'.
                  Pruning file 'patchelf-host'.
                 Finished prerequisites of target file 'openssl-host-precompiled--int'.
                Must remake target 'openssl-host-precompiled--int'.
                Successfully remade target file 'openssl-host-precompiled--int'.
                Pruning file 'clear-echo-temporary'.
                Considering target file '/home/john/Githubs/freetz-ng/source/host-tools/openssl-3.5.4/.installed'.
                 File '/home/john/Githubs/freetz-ng/source/host-tools/openssl-3.5.4/.installed' does not exist.
                  Considering target file '/home/john/Githubs/freetz-ng/source/host-tools/openssl-3.5.4/.compiled'.
                   File '/home/john/Githubs/freetz-ng/source/host-tools/openssl-3.5.4/.compiled' does not exist.
                    Considering target file '/home/john/Githubs/freetz-ng/source/host-tools/openssl-3.5.4/.configured'.
                     File '/home/john/Githubs/freetz-ng/source/host-tools/openssl-3.5.4/.configured' does not exist.
                      Pruning file '/home/john/Githubs/freetz-ng/source/host-tools/openssl-3.5.4/.build-prereq-checked'.
                      Considering target file '/home/john/Githubs/freetz-ng/source/host-tools/openssl-3.5.4/.unpacked'.
                        Considering target file 'dl/openssl-3.5.4.tar.gz'.
                          Pruning file 'dl'.
                         Finished prerequisites of target file 'dl/openssl-3.5.4.tar.gz'.
                         Prerequisite 'dl' is order-only for target 'dl/openssl-3.5.4.tar.gz'.
                        No need to remake target 'dl/openssl-3.5.4.tar.gz'.
                        Pruning file '/home/john/Githubs/freetz-ng/source/host-tools'.
                        Pruning file 'kconfig-host'.
                        Pruning file 'busybox-host'.
                        Pruning file 'tar-host'.
                        Pruning file 'patchelf-host'.
                       Finished prerequisites of target file '/home/john/Githubs/freetz-ng/source/host-tools/openssl-3.5.4/.unpacked'.
                       Prerequisite 'dl/openssl-3.5.4.tar.gz' is older than target '/home/john/Githubs/freetz-ng/source/host-tools/openssl-3.5.4/.unpacked'.
                       Prerequisite '/home/john/Githubs/freetz-ng/source/host-tools' is order-only for target '/home/john/Githubs/freetz-ng/source/host-tools/openssl-3.5.4/.unpacked'.
                       Prerequisite 'kconfig-host' is order-only for target '/home/john/Githubs/freetz-ng/source/host-tools/openssl-3.5.4/.unpacked'.
                       Prerequisite 'busybox-host' is order-only for target '/home/john/Githubs/freetz-ng/source/host-tools/openssl-3.5.4/.unpacked'.
                       Prerequisite 'tar-host' is order-only for target '/home/john/Githubs/freetz-ng/source/host-tools/openssl-3.5.4/.unpacked'.
                       Prerequisite 'patchelf-host' is order-only for target '/home/john/Githubs/freetz-ng/source/host-tools/openssl-3.5.4/.unpacked'.
                      No need to remake target '/home/john/Githubs/freetz-ng/source/host-tools/openssl-3.5.4/.unpacked'.
                     Finished prerequisites of target file '/home/john/Githubs/freetz-ng/source/host-tools/openssl-3.5.4/.configured'.
                    Must remake target '/home/john/Githubs/freetz-ng/source/host-tools/openssl-3.5.4/.configured'.
Putting child 0x5644700502d0 (/home/john/Githubs/freetz-ng/source/host-tools/openssl-3.5.4/.configured) PID 17243 on the chain.
Live child 0x5644700502d0 (/home/john/Githubs/freetz-ng/source/host-tools/openssl-3.5.4/.configured) PID 17243 
---> tools/openssl-host ... 
configuring ... Reaping winning child 0x5644700502d0 PID 17243 
(conf_cmd() { ./configure "$@"  || { [ "2" = "0" ] && echo && cat .build.log 2>/dev/null; kill $ 2>/dev/null || kill $$ 2>/dev/null; printf "\n\\033[33m%s\\033[m\n" "ERROR: ";  exit 1; } }; cd /home/john/Githubs/freetz-ng/source/host-tools/openssl-3.5.4; {  rm -f config.{cache,status}; } ;    PATH="/home/john/Githubs/freetz-ng/tools/path:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/john/gcc-arm-none-eabi-10-2020-q4-major/bin/:/usr/sbin" CC="gcc" CXX="g++" CFLAGS="-Wall -O2" CXXFLAGS="-Wall -O2" LDFLAGS=""  CONFIG_SITE="" conf_cmd    --prefix=/home/john/Githubs/freetz-ng/source/host-tools/openssl-3.5.4/installdir   )
Live child 0x5644700502d0 (/home/john/Githubs/freetz-ng/source/host-tools/openssl-3.5.4/.configured) PID 17251 
environment: ./configure: No such file or directory

ERROR: 
Reaping losing child 0x5644700502d0 PID 17251 
make/host-tools/openssl-host/openssl-host.mk:27: recipe for target '/home/john/Githubs/freetz-ng/source/host-tools/openssl-3.5.4/.configured' failed
make[1]: *** [/home/john/Githubs/freetz-ng/source/host-tools/openssl-3.5.4/.configured] Terminated
Removing child 0x5644700502d0 PID 17251 from chain.
Sammle erfolglosen Kindprozess 0x562cabcaac40 PID 14429 
Makefile:47: recipe for target 'envira' failed
make: *** [envira] Beendet
Entferne Kindprozess 0x562cabcaac40 PID 14429 aus der Kette.
 
Offenbar wird das Paket gar nicht gepatcht und damit auch dieser "post patch"-Teil, den ich oben verlinkt hatte, nicht ausgeführt, weil das Paket bereits entpackt vorlag:
Code:
No need to remake target '/home/john/Githubs/freetz-ng/source/host-tools/openssl-3.5.4/.unpacked'.
Um hier etwas mehr zu sehen, müßte also erst einmal ein make opeenssl-host-dirclean ausgeführt werden: https://github.com/Freetz-NG/freetz...e/host-tools/openssl-host/openssl-host.mk#L59 (nur dabei werden auch die Quellen mitgelöscht, so daß sie beim nächsten Anlauf neu entpackt und gepatcht werden müssen) und dann noch mal mit dem o.g. Protokoll-Level erneut bauen.
 
Hallo Peter,

das schlägt ebenfalls fehl:
Code:
 make opeenssl-host-dirclean
Fixing checkout permissions ...... done.
Freetz-NG 26903-aab624c2a6 master 2025-10-16
make[1]: *** No rule to make target 'opeenssl-host-dirclean'.  Stop.
Makefile:36: recipe for target 'envira' failed
make: *** [envira] Beendet

Grüße

JD.
 
Ich finde ja "blindes Vertrauen" echt rührend, aber besser mehr mitdenken und nicht auch noch meine Schreibfehler einfach übernehmen. Das Paket hat ja nur ein "e" im Namen, aber drei "o" und drei "s".
 
@PeterPawn : Entschuldige bitte, es war früh/bzw spät und ich hab' tatsächlich nicht genau hingeguckt.
Läuft jetzt beim Bau von openssl.
Danke.

Grüße

JD.
 
Kostenlos!

Neueste Beiträge

Statistik des Forums

Themen
247,805
Beiträge
2,273,972
Mitglieder
376,761
Neuestes Mitglied
Liddlm