Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.

Compile failed against libxml2 2.12.0 #245

Open
heitbaum opened this issue Nov 17, 2023 · 0 comments · May be fixed by #246
Open

Compile failed against libxml2 2.12.0 #245

heitbaum opened this issue Nov 17, 2023 · 0 comments · May be fixed by #246

Comments

@heitbaum
Copy link

heitbaum commented Nov 17, 2023

Build works correctly with libxml2 2.11.6

BUILD      xmlstarlet (target)
    TOOLCHAIN      autotools
    AUTORECONF      xmlstarlet
autoreconf: export WARNINGS=
autoreconf: Entering directory '/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/build/xmlstarlet-1.6.8'
autoreconf: configure.ac: not using Gettext
autoreconf: running: /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/bin/aclocal -I /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/share/aclocal -I /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/share/aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/bin/autoconf --include=/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/share/aclocal --force
autoreconf: running: /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/bin/autoheader --include=/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/share/aclocal --force
autoreconf: running: /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/bin/automake --add-missing --copy --force-missing
configure.ac:39: installing './compile'
configure.ac:38: installing './config.guess'
configure.ac:38: installing './config.sub'
configure.ac:8: installing './install-sh'
configure.ac:8: installing './missing'
Makefile.am:34: warning: notdir $(WIN32_doc_DIST: non-POSIX variable name
Makefile.am:34: (probably a GNU make extension)
Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
autoreconf: Leaving directory '/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/build/xmlstarlet-1.6.8'
Executing (target): /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/build/xmlstarlet-1.6.8/configure --host=x86_64-libreelec-linux-gnu --build=x86_64-linux-gnu --prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var --disable-static --enable-shared ac_cv_func_malloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes --enable-static-libs LIBXML_CONFIG=/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/bin/xml2-config LIBXSLT_CONFIG=/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/bin/xslt-config --with-libxml-include-prefix=/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2 --with-libxml-libs-prefix=/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/lib --with-libxslt-include-prefix=/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include --with-libxslt-libs-prefix=/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/lib
configure: WARNING: unrecognized options: --disable-static, --enable-shared
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for x86_64-libreelec-linux-gnu-strip... /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-strip
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-libreelec-linux-gnu
checking for x86_64-libreelec-linux-gnu-gcc... /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc accepts -g... yes
checking for /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc option to enable C11 features... none needed
checking whether /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc... gcc3
checking for a sed that does not truncate output... /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/bin/sed
checking for gawk... (cached) gawk
checking for xml2-config... /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/bin/xml2-config
configure: using libxml-2.12.0
checking for xslt-config... /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/bin/xslt-config
configure: using libxslt-1.1.39
checking for xsltproc... /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/bin/xsltproc
checking for fop... none
checking for pdf2ps... none
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking whether lstat correctly handles trailing slash... yes
checking for GNU libc compatible malloc... (cached) yes
checking for GNU libc compatible realloc... (cached) yes
checking for mode_t... yes
checking for size_t... yes
checking for library containing dlopen... none required
checking for library containing sqrt... -lm
checking for library containing iconv_open... none required
checking for library containing clock_gettime... none required
checking for library containing deflate... -lz
checking for library containing gcry_cipher_encrypt... no
checking for library containing gethostent... none required
checking for library containing setsockopt... none required
checking for library containing connect... none required
checking for lstat... yes
checking for stat... yes
checking for setmode... no
checking for /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/bin/x86_64-libreelec-linux-gnu-gcc options needed to detect all undeclared functions... none needed
checking whether O_BINARY is declared... no
checking whether exsltDateXpathCtxtRegister is declared... yes
configure: WARNING: fop not installed, unable to build pdf documentation
configure: WARNING: pdf2ps not installed, unable to build postscript documentation
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating xmlstarlet.spec
config.status: creating Makefile
config.status: creating solaris/package/sol8-sparc/pkginfo
config.status: creating solaris/package/sol9-sparc/pkginfo
config.status: creating config.h
config.status: executing depfiles commands
configure: WARNING: unrecognized options: --disable-static, --enable-shared
Executing (target): make 
make  all-am
make[1]: Entering directory '/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/build/xmlstarlet-1.6.8/.x86_64-libreelec-linux-gnu'
  GEN      src/usage.c
  GEN      src/c14n-usage.c
version.h: #define VERSION "11.0.0-2562-ge4914a02b5-dirty"
  GEN      src/depyx-usage.c
  GEN      src/edit-usage.c
  GEN      src/elem-usage.c
  GEN      src/escape-usage.c
  GEN      src/format-usage.c
  GEN      src/ls-usage.c
  GEN      src/pyx-usage.c
  GEN      src/select-usage.c
  GEN      src/trans-usage.c
  GEN      src/unescape-usage.c
  GEN      src/validate-usage.c
  CC       src/trans.o
  CC       src/xml.o
  CC       src/xml_C14N.o
  CC       src/xml_depyx.o
  CC       src/xml_edit.o
  CC       src/xml_elem.o
  CC       src/xml_escape.o
  CC       src/xml_format.o
  CC       src/xml_ls.o
  CC       src/xml_pyx.o
  CC       src/xml_select.o
  CC       src/xml_trans.o
  CC       src/xml_validate.o
  CC       src/usage.o
  CC       src/c14n-usage.o
  CC       src/depyx-usage.o
  CC       src/edit-usage.o
  CC       src/elem-usage.o
  CC       src/escape-usage.o
  CC       src/format-usage.o
  CC       src/ls-usage.o
  CC       src/pyx-usage.o
../src/xml_elem.c: In function 'elMain':
../src/xml_elem.c:271:27: warning: passing argument 2 of 'xmlHashScan' from incompatible pointer type [-Wincompatible-pointer-types]
  271 |         xmlHashScan(uniq, hash_key_put, &lines);
      |                           ^~~~~~~~~~~~
      |                           |
      |                           void (*)(void *, void *, xmlChar *) {aka void (*)(void *, void *, unsigned char *)}
In file included from ../src/xml_elem.c:32:
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/hash.h:209:57: note: expected 'xmlHashScanner' {aka 'void (*)(void *, void *, const unsigned char *)'} but argument is of type 'void (*)(void *, void *, xmlChar *)' {aka 'void (*)(void *, void *, unsigned char *)'}
  209 |                                          xmlHashScanner scan,
      |                                          ~~~~~~~~~~~~~~~^~~~
../src/xml_C14N.c: In function 'load_xpath_expr':
../src/xml_C14N.c:240:5: warning: '__xmlLoadExtDtdDefaultValue' is deprecated [-Wdeprecated-declarations]
  240 |     xmlLoadExtDtdDefaultValue = XML_DETECT_IDS | XML_COMPLETE_ATTRS;
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/xml_C14N.c:12:
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/xmlversion.h:499:27: note: declared here
  499 |     attrs XMLPUBFUN type *__##name(void);
      |                           ^~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/parser.h:854:16: note: in expansion of macro 'XML_DECLARE_GLOBAL'
  854 | #define XML_OP XML_DECLARE_GLOBAL
      |                ^~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/parser.h:838:3: note: in expansion of macro 'XML_OP'
  838 |   XML_OP(xmlLoadExtDtdDefaultValue, int, XML_DEPRECATED) \
      |   ^~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/parser.h:851:3: note: in expansion of macro 'XML_GLOBALS_PARSER_CORE'
  851 |   XML_GLOBALS_PARSER_CORE \
      |   ^~~~~~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/parser.h:855:1: note: in expansion of macro 'XML_GLOBALS_PARSER'
  855 | XML_GLOBALS_PARSER
      | ^~~~~~~~~~~~~~~~~~
../src/xml_C14N.c:241:5: warning: 'xmlSubstituteEntitiesDefault' is deprecated [-Wdeprecated-declarations]
  241 |     xmlSubstituteEntitiesDefault(1);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/xml_C14N.c:24:
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/parser.h:911:17: note: declared here
  911 |                 xmlSubstituteEntitiesDefault(int val);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC       src/select-usage.o
  CC       src/trans-usage.o
  CC       src/unescape-usage.o
  CC       src/validate-usage.o
../src/xml_ls.c: In function 'xml_print_dir':
../src/xml_ls.c:149:22: warning: the comparison will always evaluate as 'false' for the address of 'd_name' will never be NULL [-Waddress]
  149 |       if ((d->d_name == NULL) || !strcmp(d->d_name, ".") || !strcmp(d->d_name, ".."))
      |                      ^~
In file included from /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/dirent.h:61,
                 from ../src/xml_ls.c:33:
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/bits/dirent.h:33:10: note: 'd_name' declared here
   33 |     char d_name[256];           /* We must not include limits.h! */
      |          ^~~~~~
../src/xml_edit.c: In function 'edOutput':
../src/xml_edit.c:561:9: warning: implicit declaration of function 'xmlCleanupGlobals'; did you mean 'xmlCleanupThreads'? [-Wimplicit-function-declaration]
  561 |         xmlCleanupGlobals();
      |         ^~~~~~~~~~~~~~~~~
      |         xmlCleanupThreads
../src/xml_edit.c: In function 'edMain':
../src/xml_edit.c:738:5: warning: 'xmlKeepBlanksDefault' is deprecated [-Wdeprecated-declarations]
  738 |     xmlKeepBlanksDefault(0);
      |     ^~~~~~~~~~~~~~~~~~~~
In file included from /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/HTMLparser.h:16,
                 from /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/HTMLtree.h:17,
                 from ../src/xml_edit.c:38:
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/parser.h:915:17: note: declared here
  915 |                 xmlKeepBlanksDefault    (int val);
      |                 ^~~~~~~~~~~~~~~~~~~~
../src/xml_edit.c:740:5: warning: 'xmlKeepBlanksDefault' is deprecated [-Wdeprecated-declarations]
  740 |     if ((!g_ops.noblanks) || g_ops.preserveFormat) xmlKeepBlanksDefault(1);
      |     ^~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/parser.h:915:17: note: declared here
  915 |                 xmlKeepBlanksDefault    (int val);
      |                 ^~~~~~~~~~~~~~~~~~~~
../src/xml_edit.c: In function 'edInsert':
../src/xml_edit.c:371:9: warning: 'node' may be used uninitialized [-Wmaybe-uninitialized]
  371 |         xmlXPathNodeSetAdd(previous_insertion, node);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/xml_edit.c:339:20: note: 'node' was declared here
  339 |         xmlNodePtr node;
      |                    ^~~~
In file included from /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/tree.h:18,
                 from ../src/xml_select.c:38:
../src/xml_select.c: In function 'selPrepareXslt':
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/xmlstring.h:35:18: warning: pointer targets in passing argument 3 of 'xmlStrPrintf' differ in signedness [-Wpointer-sign]
   35 | #define BAD_CAST (xmlChar *)
../src/xml_select.c:552:55: note: in expansion of macro 'BAD_CAST'
  552 |                 xmlStrPrintf(num_buf, sizeof num_buf, BAD_CAST "t%d", t);
      |                                                       ^~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/xmlstring.h:100:54: note: expected 'const char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'}
  100 |                                          const char *msg,
      |                                          ~~~~~~~~~~~~^~~
../src/xml_validate.c: In function 'valMain':
../src/xml_validate.c:300:43: warning: passing argument 2 of 'xmlSetStructuredErrorFunc' from incompatible pointer type [-Wincompatible-pointer-types]
  300 |     xmlSetStructuredErrorFunc(&errorInfo, reportError);
      |                                           ^~~~~~~~~~~
      |                                           |
      |                                           void (*)(void *, xmlError *) {aka void (*)(void *, struct _xmlError *)}
In file included from /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/xpath.h:26,
                 from ../src/xmlstar.h:15,
                 from ../src/xml_validate.c:35:
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/xmlerror.h:898:57: note: expected 'xmlStructuredErrorFunc' {aka 'void (*)(void *, const struct _xmlError *)'} but argument is of type 'void (*)(void *, xmlError *)' {aka 'void (*)(void *, struct _xmlError *)'}
  898 |                                  xmlStructuredErrorFunc handler);
      |                                  ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
../src/xml_validate.c:301:5: warning: 'xmlLineNumbersDefault' is deprecated [-Wdeprecated-declarations]
  301 |     xmlLineNumbersDefault(1);
      |     ^~~~~~~~~~~~~~~~~~~~~
In file included from /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/xmlreader.h:22,
                 from ../src/xmlstar.h:17:
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/parser.h:925:17: note: declared here
  925 |                 xmlLineNumbersDefault   (int val);
      |                 ^~~~~~~~~~~~~~~~~~~~~
../src/xml_validate.c:493:9: warning: 'xmlRelaxNGCleanupTypes' is deprecated [-Wdeprecated-declarations]
  493 |         xmlRelaxNGCleanupTypes();
      |         ^~~~~~~~~~~~~~~~~~~~~~
In file included from /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/xmlreader.h:18:
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/relaxng.h:123:21: note: declared here
  123 |                     xmlRelaxNGCleanupTypes      (void);
      |                     ^~~~~~~~~~~~~~~~~~~~~~
../src/xml_validate.c:494:9: warning: 'xmlSchemaCleanupTypes' is deprecated [-Wdeprecated-declarations]
  494 |         xmlSchemaCleanupTypes();
      |         ^~~~~~~~~~~~~~~~~~~~~
In file included from ../src/xml_validate.c:40:
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/xmlschemastypes.h:37:17: note: declared here
   37 |                 xmlSchemaCleanupTypes           (void);
      |                 ^~~~~~~~~~~~~~~~~~~~~
../src/trans.c: In function 'xsltInitLibXml':
../src/trans.c:46:5: warning: 'xmlInitMemory' is deprecated [-Wdeprecated-declarations]
   46 |     xmlInitMemory();
      |     ^~~~~~~~~~~~~
In file included from ../src/trans.h:32,
                 from ../src/trans.c:4:
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/xmlmemory.h:133:9: note: declared here
  133 |         xmlInitMemory   (void);
      |         ^~~~~~~~~~~~~
../src/trans.c:53:5: warning: 'xmlLineNumbersDefault' is deprecated [-Wdeprecated-declarations]
   53 |     xmlLineNumbersDefault(1);
      |     ^~~~~~~~~~~~~~~~~~~~~
In file included from /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/HTMLparser.h:16,
                 from /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/HTMLtree.h:17,
                 from ../src/trans.h:35:
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/parser.h:925:17: note: declared here
  925 |                 xmlLineNumbersDefault   (int val);
      |                 ^~~~~~~~~~~~~~~~~~~~~
../src/trans.c:71:5: warning: 'xmlKeepBlanksDefault' is deprecated [-Wdeprecated-declarations]
   71 |     xmlKeepBlanksDefault(1);
      |     ^~~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/parser.h:915:17: note: declared here
  915 |                 xmlKeepBlanksDefault    (int val);
      |                 ^~~~~~~~~~~~~~~~~~~~
../src/trans.c:72:5: warning: 'xmlKeepBlanksDefault' is deprecated [-Wdeprecated-declarations]
   72 |     if (ops->noblanks)  xmlKeepBlanksDefault(0);
      |     ^~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/parser.h:915:17: note: declared here
  915 |                 xmlKeepBlanksDefault    (int val);
      |                 ^~~~~~~~~~~~~~~~~~~~
../src/trans.c:73:5: warning: 'xmlPedanticParserDefault' is deprecated [-Wdeprecated-declarations]
   73 |     xmlPedanticParserDefault(0);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/parser.h:921:17: note: declared here
  921 |                 xmlPedanticParserDefault(int val);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~
../src/trans.c:75:5: warning: '__xmlGetWarningsDefaultValue' is deprecated [-Wdeprecated-declarations]
   75 |     xmlGetWarningsDefaultValue = 1;
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/xmlmemory.h:16:
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/xmlversion.h:499:27: note: declared here
  499 |     attrs XMLPUBFUN type *__##name(void);
      |                           ^~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/parser.h:854:16: note: in expansion of macro 'XML_DECLARE_GLOBAL'
  854 | #define XML_OP XML_DECLARE_GLOBAL
      |                ^~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/parser.h:835:3: note: in expansion of macro 'XML_OP'
  835 |   XML_OP(xmlGetWarningsDefaultValue, int, XML_DEPRECATED) \
      |   ^~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/parser.h:851:3: note: in expansion of macro 'XML_GLOBALS_PARSER_CORE'
  851 |   XML_GLOBALS_PARSER_CORE \
      |   ^~~~~~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/parser.h:855:1: note: in expansion of macro 'XML_GLOBALS_PARSER'
  855 | XML_GLOBALS_PARSER
      | ^~~~~~~~~~~~~~~~~~
../src/trans.c:77:5: warning: '__xmlLoadExtDtdDefaultValue' is deprecated [-Wdeprecated-declarations]
   77 |     xmlLoadExtDtdDefaultValue = 1;
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/xmlversion.h:499:27: note: declared here
  499 |     attrs XMLPUBFUN type *__##name(void);
      |                           ^~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/parser.h:854:16: note: in expansion of macro 'XML_DECLARE_GLOBAL'
  854 | #define XML_OP XML_DECLARE_GLOBAL
      |                ^~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/parser.h:838:3: note: in expansion of macro 'XML_OP'
  838 |   XML_OP(xmlLoadExtDtdDefaultValue, int, XML_DEPRECATED) \
      |   ^~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/parser.h:851:3: note: in expansion of macro 'XML_GLOBALS_PARSER_CORE'
  851 |   XML_GLOBALS_PARSER_CORE \
      |   ^~~~~~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/parser.h:855:1: note: in expansion of macro 'XML_GLOBALS_PARSER'
  855 | XML_GLOBALS_PARSER
      | ^~~~~~~~~~~~~~~~~~
../src/trans.c:84:9: warning: '__xmlLoadExtDtdDefaultValue' is deprecated [-Wdeprecated-declarations]
   84 |         xmlLoadExtDtdDefaultValue = XML_DETECT_IDS | XML_COMPLETE_ATTRS;
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/xmlversion.h:499:27: note: declared here
  499 |     attrs XMLPUBFUN type *__##name(void);
      |                           ^~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/parser.h:854:16: note: in expansion of macro 'XML_DECLARE_GLOBAL'
  854 | #define XML_OP XML_DECLARE_GLOBAL
      |                ^~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/parser.h:838:3: note: in expansion of macro 'XML_OP'
  838 |   XML_OP(xmlLoadExtDtdDefaultValue, int, XML_DEPRECATED) \
      |   ^~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/parser.h:851:3: note: in expansion of macro 'XML_GLOBALS_PARSER_CORE'
  851 |   XML_GLOBALS_PARSER_CORE \
      |   ^~~~~~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/parser.h:855:1: note: in expansion of macro 'XML_GLOBALS_PARSER'
  855 | XML_GLOBALS_PARSER
      | ^~~~~~~~~~~~~~~~~~
../src/trans.c:88:9: warning: '__xmlLoadExtDtdDefaultValue' is deprecated [-Wdeprecated-declarations]
   88 |         xmlLoadExtDtdDefaultValue = 0;
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/xmlversion.h:499:27: note: declared here
  499 |     attrs XMLPUBFUN type *__##name(void);
      |                           ^~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/parser.h:854:16: note: in expansion of macro 'XML_DECLARE_GLOBAL'
  854 | #define XML_OP XML_DECLARE_GLOBAL
      |                ^~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/parser.h:838:3: note: in expansion of macro 'XML_OP'
  838 |   XML_OP(xmlLoadExtDtdDefaultValue, int, XML_DEPRECATED) \
      |   ^~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/parser.h:851:3: note: in expansion of macro 'XML_GLOBALS_PARSER_CORE'
  851 |   XML_GLOBALS_PARSER_CORE \
      |   ^~~~~~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/parser.h:855:1: note: in expansion of macro 'XML_GLOBALS_PARSER'
  855 | XML_GLOBALS_PARSER
      | ^~~~~~~~~~~~~~~~~~
../src/trans.c: In function 'xsltRun':
../src/trans.c:229:35: error: 'xmlIndentTreeOutput' undeclared (first use in this function)
  229 |             if (cur->indent == 1) xmlIndentTreeOutput = 1;
      |                                   ^~~~~~~~~~~~~~~~~~~
../src/trans.c:229:35: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [Makefile:936: src/trans.o] Error 1
make[1]: *** Waiting for unfinished jobs....
../src/xml_format.c: In function 'foInitLibXml':
../src/xml_format.c:114:5: warning: 'xmlInitMemory' is deprecated [-Wdeprecated-declarations]
  114 |     xmlInitMemory();
      |     ^~~~~~~~~~~~~
In file included from ../src/xml_format.c:35:
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/xmlmemory.h:133:9: note: declared here
  133 |         xmlInitMemory   (void);
      |         ^~~~~~~~~~~~~
../src/xml_format.c:121:5: warning: 'xmlLineNumbersDefault' is deprecated [-Wdeprecated-declarations]
  121 |     xmlLineNumbersDefault(1);
      |     ^~~~~~~~~~~~~~~~~~~~~
In file included from /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/HTMLparser.h:16,
                 from /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/HTMLtree.h:17,
                 from ../src/xml_format.c:38:
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/parser.h:925:17: note: declared here
  925 |                 xmlLineNumbersDefault   (int val);
      |                 ^~~~~~~~~~~~~~~~~~~~~
../src/xml_format.c:123:5: warning: 'xmlSubstituteEntitiesDefault' is deprecated [-Wdeprecated-declarations]
  123 |     xmlSubstituteEntitiesDefault(1);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/parser.h:911:17: note: declared here
  911 |                 xmlSubstituteEntitiesDefault(int val);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/xml_format.c:124:5: warning: 'xmlKeepBlanksDefault' is deprecated [-Wdeprecated-declarations]
  124 |     xmlKeepBlanksDefault(0);
      |     ^~~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/parser.h:915:17: note: declared here
  915 |                 xmlKeepBlanksDefault    (int val);
      |                 ^~~~~~~~~~~~~~~~~~~~
../src/xml_format.c:125:5: warning: 'xmlPedanticParserDefault' is deprecated [-Wdeprecated-declarations]
  125 |     xmlPedanticParserDefault(0);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/parser.h:921:17: note: declared here
  921 |                 xmlPedanticParserDefault(int val);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~
../src/xml_format.c:127:5: warning: '__xmlGetWarningsDefaultValue' is deprecated [-Wdeprecated-declarations]
  127 |     xmlGetWarningsDefaultValue = 1;
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/xmlmemory.h:16:
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/xmlversion.h:499:27: note: declared here
  499 |     attrs XMLPUBFUN type *__##name(void);
      |                           ^~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/parser.h:854:16: note: in expansion of macro 'XML_DECLARE_GLOBAL'
  854 | #define XML_OP XML_DECLARE_GLOBAL
      |                ^~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/parser.h:835:3: note: in expansion of macro 'XML_OP'
  835 |   XML_OP(xmlGetWarningsDefaultValue, int, XML_DEPRECATED) \
      |   ^~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/parser.h:851:3: note: in expansion of macro 'XML_GLOBALS_PARSER_CORE'
  851 |   XML_GLOBALS_PARSER_CORE \
      |   ^~~~~~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/parser.h:855:1: note: in expansion of macro 'XML_GLOBALS_PARSER'
  855 | XML_GLOBALS_PARSER
      | ^~~~~~~~~~~~~~~~~~
../src/xml_format.c:128:5: warning: '__xmlDoValidityCheckingDefaultValue' is deprecated [-Wdeprecated-declarations]
  128 |     xmlDoValidityCheckingDefaultValue = 0;
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/xmlversion.h:499:27: note: declared here
  499 |     attrs XMLPUBFUN type *__##name(void);
      |                           ^~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/parser.h:854:16: note: in expansion of macro 'XML_DECLARE_GLOBAL'
  854 | #define XML_OP XML_DECLARE_GLOBAL
      |                ^~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/parser.h:834:3: note: in expansion of macro 'XML_OP'
  834 |   XML_OP(xmlDoValidityCheckingDefaultValue, int, XML_DEPRECATED) \
      |   ^~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/parser.h:851:3: note: in expansion of macro 'XML_GLOBALS_PARSER_CORE'
  851 |   XML_GLOBALS_PARSER_CORE \
      |   ^~~~~~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/parser.h:855:1: note: in expansion of macro 'XML_GLOBALS_PARSER'
  855 | XML_GLOBALS_PARSER
      | ^~~~~~~~~~~~~~~~~~
../src/xml_format.c:129:5: warning: '__xmlLoadExtDtdDefaultValue' is deprecated [-Wdeprecated-declarations]
  129 |     xmlLoadExtDtdDefaultValue = 0;
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/xmlversion.h:499:27: note: declared here
  499 |     attrs XMLPUBFUN type *__##name(void);
      |                           ^~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/parser.h:854:16: note: in expansion of macro 'XML_DECLARE_GLOBAL'
  854 | #define XML_OP XML_DECLARE_GLOBAL
      |                ^~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/parser.h:838:3: note: in expansion of macro 'XML_OP'
  838 |   XML_OP(xmlLoadExtDtdDefaultValue, int, XML_DEPRECATED) \
      |   ^~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/parser.h:851:3: note: in expansion of macro 'XML_GLOBALS_PARSER_CORE'
  851 |   XML_GLOBALS_PARSER_CORE \
      |   ^~~~~~~~~~~~~~~~~~~~~~~
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/parser.h:855:1: note: in expansion of macro 'XML_GLOBALS_PARSER'
  855 | XML_GLOBALS_PARSER
      | ^~~~~~~~~~~~~~~~~~
../src/xml_format.c:131:5: error: 'xmlTreeIndentString' undeclared (first use in this function)
  131 |     xmlTreeIndentString = NULL;
      |     ^~~~~~~~~~~~~~~~~~~
../src/xml_format.c:131:5: note: each undeclared identifier is reported only once for each function it appears in
../src/xml_format.c:134:9: error: 'xmlIndentTreeOutput' undeclared (first use in this function)
  134 |         xmlIndentTreeOutput = 1;
      |         ^~~~~~~~~~~~~~~~~~~
make[1]: *** [Makefile:936: src/xml_format.o] Error 1
../src/xml.c: In function 'main':
../src/xml.c:300:43: warning: passing argument 2 of 'xmlSetStructuredErrorFunc' from incompatible pointer type [-Wincompatible-pointer-types]
  300 |     xmlSetStructuredErrorFunc(&errorInfo, reportError);
      |                                           ^~~~~~~~~~~
      |                                           |
      |                                           void (*)(void *, xmlError *) {aka void (*)(void *, struct _xmlError *)}
In file included from /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/xpath.h:26,
                 from ../src/xmlstar.h:15,
                 from ../src/xml.c:46:
/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/libxml2/libxml/xmlerror.h:898:57: note: expected 'xmlStructuredErrorFunc' {aka 'void (*)(void *, const struct _xmlError *)'} but argument is of type 'void (*)(void *, xmlError *)' {aka 'void (*)(void *, struct _xmlError *)'}
  898 |                                  xmlStructuredErrorFunc handler);
      |                                  ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
make[1]: Leaving directory '/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-12.0-devel/build/xmlstarlet-1.6.8/.x86_64-libreelec-linux-gnu'
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant