[Gelöst] SAX1 support für 7.59 auf der 7590

BenGurion_

Mitglied
Mitglied seit
10 Nov 2005
Beiträge
240
Punkte für Reaktionen
5
Punkte
18
Huhu liebe Community,

ich wollte ein build für die 7590 mit dem aktuellen release 7.59-image erstellen.
libxml2 und libexpat hab ich nun aktiviert - es erscheint beim build immer:
Code:
checking SAX1 support in libxml2... configure: error:
*** SAX1 support in libxml2 is required. enable it or use expat instead.

ERROR: Build failed.
make[1]: *** [make/pkgs/fontconfig/fontconfig.mk:39: source/target-mips_gcc-13.3.0_uClibc-1.0.49-nptl_kernel-4.9/fontconfig-2.15.0/.configured] Beendet
make: *** [Makefile:47: envira] Beendet
 
Hast du, was an was auf fontconfig zugreift. Also so was wie rrdtool 1.8.0. Wenn ja mach das aus dann geht es wieder.

Denn den Fehler hat FDA gestern mit https://github.com/Freetz-NG/freetz-ng/commit/e9b36c514086d760fbdbe01c46af31e66b69377a eingebaut.

Oder du machst selber ein Downgrade
Code:
--- make/libs/libxml2/external.files    2024-06-24 06:30:08.889056027 +0200
+++ make/libs/libxml2/external.files    2024-06-24 07:37:46.007282000 +0200
@@ -1 +1 @@
-[ "$EXTERNAL_FREETZ_LIB_libxml2" == "y" ] && EXTERNAL_FILES+=" ${FREETZ_LIBRARY_DIR}/libxml2.so.2.13.1"
+[ "$EXTERNAL_FREETZ_LIB_libxml2" == "y" ] && EXTERNAL_FILES+=" ${FREETZ_LIBRARY_DIR}/libxml2.so.2.12.8"
--- make/libs/libxml2/external.in    2024-06-24 06:30:08.889056027 +0200
+++ make/libs/libxml2/external.in    2024-06-24 07:37:55.375177000 +0200
@@ -4,5 +4,5 @@
     default n
     help
         externals the following file(s):
-         ${FREETZ_LIBRARY_DIR}/libxml2.so.2.13.1
+         ${FREETZ_LIBRARY_DIR}/libxml2.so.2.12.8
 
--- make/libs/libxml2/libxml2.mk    2024-06-24 06:30:08.889056027 +0200
+++ make/libs/libxml2/libxml2.mk    2024-06-24 07:35:52.872569000 +0200
@@ -1,7 +1,7 @@
-$(call PKG_INIT_LIB, 2.13.1)
+$(call PKG_INIT_LIB, 2.12.8)
 $(PKG)_LIB_VERSION:=$($(PKG)_VERSION)
 $(PKG)_SOURCE:=$(pkg)-$($(PKG)_VERSION).tar.xz
-$(PKG)_HASH:=25239263dc37f5f55a5393eff27b35f0b7d9ea4b2a7653310598ea8299e3b741
+$(PKG)_HASH:=43ad877b018bc63deb2468d71f95219c2fac196876ef36d1bee51d226173ec93
 $(PKG)_SITE:=https://download.gnome.org/sources/libxml2/$(call GET_MAJOR_VERSION,$($(PKG)_VERSION))
 ### WEBSITE:=http://www.xmlsoft.org
 ### MANPAGE:=https://gitlab.gnome.org/GNOME/libxml2/-/wikis/home#html-documentation
--- make/libs/libxml2/patches/100-no_docs_examples_tests.libxml2.patch    2024-06-24 06:30:08.889056027 +0200
+++ make/libs/libxml2/patches/100-no_docs_examples_tests.libxml2.patch    2024-01-09 15:46:12.000000000 +0100
@@ -9,16 +9,16 @@
  check_PROGRAMS = runsuite$(EXEEXT) runtest$(EXEEXT) \
      runxmlconf$(EXEEXT) testModule$(EXEEXT) testThreads$(EXEEXT) \
      testapi$(EXEEXT) testchar$(EXEEXT) testdict$(EXEEXT) \
-@@ -388,7 +388,7 @@
+@@ -402,7 +402,7 @@
      n|no|NO) false;; \
      *) (install-info --version) >/dev/null 2>&1;; \
    esac
--DATA = $(cmake_DATA) $(dist_m4data_DATA) $(pkgconfig_DATA)
-+DATA =                                   $(pkgconfig_DATA)
+-DATA = $(cmake_DATA) $(dist_m4data_DATA) $(examples_DATA) \
++DATA =                                                    \
+     $(pkgconfig_DATA)
  RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive    \
    distclean-recursive maintainer-clean-recursive
- am__recursive_targets = \
-@@ -667,7 +667,7 @@
+@@ -685,7 +685,7 @@
  top_builddir = @top_builddir@
  top_srcdir = @top_srcdir@
  ACLOCAL_AMFLAGS = -I m4
@@ -27,7 +27,7 @@
  DIST_SUBDIRS = include . doc example fuzz python xstc
  AM_CPPFLAGS = -I$(top_builddir)/include -I$(srcdir)/include -DSYSCONFDIR='"$(sysconfdir)"'
  bin_SCRIPTS = xml2-config
-@@ -1832,7 +1832,7 @@
+@@ -1925,7 +1925,7 @@
      $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
      $(MAKE) $(AM_MAKEFLAGS) check-local
  check: check-recursive
@@ -36,20 +36,21 @@
          config.h
  install-binPROGRAMS: install-libLTLIBRARIES
 
-@@ -1957,14 +1957,14 @@
+@@ -2052,14 +2052,14 @@
 
  info-am:
 
 -install-data-am: install-cmakeDATA install-dist_m4dataDATA \
+-    install-examplesDATA install-pkgconfigDATA
 +install-data-am: \
-     install-pkgconfigDATA
++    install-pkgconfigDATA
 
  install-dvi: install-dvi-recursive
 
  install-dvi-am:
 
 -install-exec-am: install-binPROGRAMS install-binSCRIPTS \
-+install-exec-am:                     install-binSCRIPTS \
++install-exec-am: install-binSCRIPTS \
      install-libLTLIBRARIES
 
  install-html: install-html-recursive
--- make/libs/libxml2/patches/110-pthread_fixes.libxml2.patch    2024-06-24 06:30:08.889056027 +0200
+++ make/libs/libxml2/patches/110-pthread_fixes.libxml2.patch    2024-01-22 16:38:39.000000000 +0100
@@ -1,6 +1,6 @@
 --- configure
 +++ configure
-@@ -15403,7 +15403,7 @@
+@@ -15636,7 +15636,7 @@
          *linux*)
              if test "${GCC}" = "yes" ; then
                  BASE_THREAD_LIBS="$THREAD_LIBS"
 
Also mein rrdtool würde ich schon gerne weiter nutzen...
Oder ich warte einfach auf ein fix/patch ;)
 
Hab rrdtool auf die 1.2.30 gesetzt - leider immer noch die gleiche Meldung.
Dann warte ich einfach ab ...
 
  • Like
Reaktionen: Master SaMMy
Kann mir kurz jemand erläutern, wie ich den obigen Downgrade-Patch einbauen kann?
 
Will irgendwie bei mir nich ...
Code:
patch -p0 -b < libdn2128.patch
patching file make/libs/libxml2/external.files
patching file make/libs/libxml2/external.in
Hunk #1 FAILED at 4.
1 out of 1 hunk FAILED -- saving rejects to file make/libs/libxml2/external.in.rej
patching file make/libs/libxml2/libxml2.mk
patching file make/libs/libxml2/patches/100-no_docs_examples_tests.libxml2.patch
Hunk #1 FAILED at 9.
Hunk #2 FAILED at 27.
Hunk #3 FAILED at 36.
3 out of 3 hunks FAILED -- saving rejects to file make/libs/libxml2/patches/100-no_docs_examples_tests.libxml2.patch.rej
patching file make/libs/libxml2/patches/110-pthread_fixes.libxml2.patch
 
Code:
patch -p0 -b < libxml2.patch
patching file make/libs/libxml2/external.files
patching file make/libs/libxml2/external.in
patching file make/libs/libxml2/libxml2.mk
patching file make/libs/libxml2/patches/100-no_docs_examples_tests.libxml2.patch
patching file make/libs/libxml2/patches/110-pthread_fixes.libxml2.patch
 
hab die Datei nun "libxml2.patch" genannt und wollte im freetz-ng Verzeichnis patchen.
Jetzt kommt das:
Code:
 patch -p0 -b < libxml2.patch
patching file make/libs/libxml2/external.files
Reversed (or previously applied) patch detected!  Assume -R? [n]
 
ok ... das ging ... Nur will das make jetzt auch nicht mehr weiter...
Code:
    applying patch file make/libs/libxml2/patches/100-no_docs_examples_tests.libxml2.patch
    patching file Makefile.in
    Hunk #2 FAILED at 388.
    Hunk #3 succeeded at 685 (offset 18 lines).
    Hunk #4 succeeded at 1925 (offset 93 lines).
    Hunk #5 FAILED at 1957.
    2 out of 5 hunks FAILED -- saving rejects to file Makefile.in.rej
ERROR: modpatch: Error in patch-file make/libs/libxml2/patches/100-no_docs_examples_tests.libxml2.patch
make[1]: *** [make/libs/libxml2/libxml2.mk:73: source/target-mips_gcc-13.3.0_uClibc-1.0.49-nptl_kernel-4.9/libxml2-2.12.8/.unpacked] Fehler 2
make: *** [Makefile:47: envira] Beendet
 
Hab den patch nochmal angesetzt ...
Code:
patch -p0 -b < libxml2.patch
patching file make/libs/libxml2/external.files
Reversed (or previously applied) patch detected!  Assume -R? [n] y
patching file make/libs/libxml2/external.in
Reversed (or previously applied) patch detected!  Assume -R? [n] y
patching file make/libs/libxml2/libxml2.mk
patching file make/libs/libxml2/patches/100-no_docs_examples_tests.libxml2.patch
Reversed (or previously applied) patch detected!  Assume -R? [n] y
patching file make/libs/libxml2/patches/110-pthread_fixes.libxml2.patch
Für "Freetz-NG 24020M-7f717d502 master 2024-06-30"

Dann kommt leider noch das:
Code:
JUIS: Using cached value ... http://download.avm.de/fritzbox/fritzbox-7590/deutschland/fritz.os/FRITZ.Box_7590-07.59.image ... done.
ln -sf "aclocal-1.16" "/home/pi/freetz-ng/tools/build/bin/aclocal"
ln -sf "automake-1.16" "/home/pi/freetz-ng/tools/build/bin/automake"
preparing ... mkdir -p source/target-mips_gcc-13.3.0_uClibc-1.0.49-nptl_kernel-4.9/libxml2-2.13.1; tools/unxz -c dl/libxml2-2.13.1.tar.xz | tools/tar-gnu -x -C source/target-mips_gcc-13.3.0_uClibc-1.0.49-nptl_kernel-4.9/libxml2-2.13.1 --transform='s|^./\+||' --strip-components=1
set -e; shopt -s nullglob; for i in make/libs/libxml2/patches/*.patch*; do case $i in *.patch|*.patch.gz|*.patch.bzip2|*.patch.bz2|*.patch.bz|*.patch.xz|*.patch.lz|*.patch.lzma|*.patch.Z|*.patch.diff) ;; *) continue ;; esac; tools/freetz_patch source/target-mips_gcc-13.3.0_uClibc-1.0.49-nptl_kernel-4.9/libxml2-2.13.1 $i ; done;
    applying patch file make/libs/libxml2/patches/100-no_docs_examples_tests.libxml2.patch
    patching file Makefile.in
    Hunk #2 FAILED at 402.
    Hunk #3 succeeded at 667 (offset -18 lines).
    Hunk #4 succeeded at 1832 (offset -93 lines).
    Hunk #5 FAILED at 2052.
    2 out of 5 hunks FAILED -- saving rejects to file Makefile.in.rej
ERROR: modpatch: Error in patch-file make/libs/libxml2/patches/100-no_docs_examples_tests.libxml2.patch
make[1]: *** [make/libs/libxml2/libxml2.mk:73: source/target-mips_gcc-13.3.0_uClibc-1.0.49-nptl_kernel-4.9/libxml2-2.13.1/.unpacked] Fehler 2
make: *** [Makefile:47: envira] Beendet
 
Warum auch immer - der Patch lief nun erneut durch und ich konnte erfolgreich ein Image mit der FW 7.59 bauen.
Vielen Dank an Master SaMMy !!!
 
  • Like
Reaktionen: Master SaMMy
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.