==> Synchronizing chroot copy [/home/alhp/workspace2/chroot/root] -> [build_dee60df1-be8a-45c1-9c1a-2608b88d7bf8]...done ==> Making package: osinfo-db-tools 1.11.0-1.2 (Sun Dec 10 00:37:42 2023) ==> Retrieving sources... -> Downloading osinfo-db-tools-1.11.0.tar.xz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 13 64792 13 8763 0 0 22223 0 0:00:02 --:--:-- 0:00:02 22184 100 64792 100 64792 0 0 84044 0 --:--:-- --:--:-- --:--:-- 84036 -> Downloading osinfo-db-tools-1.11.0.tar.xz.asc... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 833 100 833 0 0 1969 0 --:--:-- --:--:-- --:--:-- 1973 ==> Validating source files with sha256sums... osinfo-db-tools-1.11.0.tar.xz ... Passed osinfo-db-tools-1.11.0.tar.xz.asc ... Skipped ==> Verifying source file signatures with gpg... osinfo-db-tools-1.11.0.tar.xz ... Passed ==> Making package: osinfo-db-tools 1.11.0-1.2 (Sun Dec 10 00:37:57 2023) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (9) New Version Net Change extra/adobe-source-code-pro-fonts 2.042u+1.062i+1.026vf-1 1.86 MiB extra/cantarell-fonts 1:0.303.1-1 0.19 MiB extra/dconf 0.40.0-2 0.45 MiB extra/duktape 2.7.0-6 0.79 MiB extra/glib-networking 1:2.78.0-1 0.60 MiB extra/gsettings-desktop-schemas 45.0-1 4.92 MiB extra/libproxy 0.5.3-2 0.09 MiB extra/json-glib 1.8.0-1 0.97 MiB extra/libsoup3 3.4.4-1 1.93 MiB Total Installed Size: 11.81 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing json-glib... installing adobe-source-code-pro-fonts... installing cantarell-fonts... installing dconf... installing gsettings-desktop-schemas... installing duktape... installing libproxy... installing glib-networking... installing libsoup3... Optional dependencies for libsoup3 samba: Windows Domain SSO :: Running post-transaction hooks... (1/2) Updating GIO module cache... (2/2) Compiling GSettings XML schema files... [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (14) New Version Net Change core/libnsl 2.0.1-1 0.07 MiB extra/ninja 1.11.1-3 0.35 MiB core/python 3.11.6-1 75.27 MiB extra/python-charset-normalizer 3.3.2-1 0.47 MiB extra/python-idna 3.4-3 0.71 MiB extra/python-iniconfig 2.0.0-4 0.04 MiB extra/python-packaging 23.2-1 0.53 MiB extra/python-pluggy 1.3.0-1 0.20 MiB extra/python-tqdm 4.66.1-2 0.65 MiB extra/python-typing_extensions 4.8.0-1 0.35 MiB extra/python-urllib3 1.26.18-1 1.33 MiB extra/meson 1.3.0-1 13.36 MiB extra/python-pytest 7.4.3-1 4.02 MiB extra/python-requests 2.31.0-1 0.61 MiB Total Installed Size: 97.96 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing ninja... installing libnsl... installing python... Optional dependencies for python python-setuptools: for building Python packages using tooling that is usually bundled with Python python-pip: for installing Python packages using tooling that is usually bundled with Python python-pipx: for installing Python software not packaged on Arch Linux sqlite: for a default database integration [installed] mpdecimal: for decimal xz: for lzma [installed] tk: for tkinter installing python-tqdm... Optional dependencies for python-tqdm python-requests: telegram [pending] installing python-typing_extensions... installing meson... installing python-iniconfig... installing python-packaging... installing python-pluggy... installing python-pytest... installing python-charset-normalizer... installing python-idna... installing python-urllib3... Optional dependencies for python-urllib3 python-brotli: Brotli support python-certifi: security support python-cryptography: security support python-idna: security support [installed] python-pyopenssl: security support python-pysocks: SOCKS support installing python-requests... Optional dependencies for python-requests python-chardet: alternative character encoding library python-pysocks: SOCKS proxy support [?25h==> Retrieving sources... -> Found osinfo-db-tools-1.11.0.tar.xz -> Found osinfo-db-tools-1.11.0.tar.xz.asc ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Extracting osinfo-db-tools-1.11.0.tar.xz with bsdtar ==> Starting build()... + exec meson setup --prefix /usr --libexecdir lib --sbindir bin --buildtype plain --auto-features enabled --wrap-mode nodownload -D b_lto=true -D b_pie=true -D python.bytecompile=1 osinfo-db-tools-1.11.0 build The Meson build system Version: 1.3.0 Source dir: /startdir/src/osinfo-db-tools-1.11.0 Build dir: /startdir/src/build Build type: native build Project name: osinfo-db-tools Project version: 1.11.0 C compiler for the host machine: cc (gcc 13.2.1 "cc (GCC) 13.2.1 20230801") C linker for the host machine: cc ld.bfd 2.41.0 Host machine cpu family: x86_64 Host machine cpu: x86_64 Configuring osinfo-db-tools.spec using configuration Found pkg-config: YES (/usr/bin/pkg-config) 2.1.0 Run-time dependency glib-2.0 found: YES 2.78.3 Run-time dependency gio-2.0 found: YES 2.78.3 Run-time dependency gobject-2.0 found: YES 2.78.3 Run-time dependency json-glib-1.0 found: YES 1.8.0 Run-time dependency libarchive found: YES 3.7.2 Run-time dependency libsoup-3.0 found: YES 3.4.4 Run-time dependency libxml-2.0 found: YES 2.12.2 WARNING: You should add the boolean check kwarg to the run_command call. It currently defaults to false, but it will default to true in future releases of meson. See also: https://github.com/mesonbuild/meson/issues/9300 Compiler for C supports arguments -W: YES Compiler for C supports arguments -Waddress: YES Compiler for C supports arguments -Waggressive-loop-optimizations: YES Compiler for C supports arguments -Wall: YES Compiler for C supports arguments -Warray-bounds: YES Compiler for C supports arguments -Wattributes: YES Compiler for C supports arguments -Wbuiltin-macro-redefined: YES Compiler for C supports arguments -Wcast-align: YES Compiler for C supports arguments -Wchar-subscripts: YES Compiler for C supports arguments -Wclobbered: YES Compiler for C supports arguments -Wcomment: YES Compiler for C supports arguments -Wcomments: YES Compiler for C supports arguments -Wcoverage-mismatch: YES Compiler for C supports arguments -Wcpp: YES Compiler for C supports arguments -Wdate-time: YES Compiler for C supports arguments -Wdeprecated-declarations: YES Compiler for C supports arguments -Wdisabled-optimization: YES Compiler for C supports arguments -Wdiv-by-zero: YES Compiler for C supports arguments -Wdouble-promotion: YES Compiler for C supports arguments -Wempty-body: YES Compiler for C supports arguments -Wendif-labels: YES Compiler for C supports arguments -Wenum-compare: YES Compiler for C supports arguments -Wextra: YES Compiler for C supports arguments -Wformat-contains-nul: YES Compiler for C supports arguments -Wformat-extra-args: YES Compiler for C supports arguments -Wformat-security: YES Compiler for C supports arguments -Wformat-y2k: YES Compiler for C supports arguments -Wformat-zero-length: YES Compiler for C supports arguments -Wfree-nonheap-object: YES Compiler for C supports arguments -Wignored-qualifiers: YES Compiler for C supports arguments -Wimplicit: YES Compiler for C supports arguments -Wimplicit-function-declaration: YES Compiler for C supports arguments -Wimplicit-int: YES Compiler for C supports arguments -Winit-self: YES Compiler for C supports arguments -Winline: YES Compiler for C supports arguments -Wint-to-pointer-cast: YES Compiler for C supports arguments -Winvalid-memory-model: YES Compiler for C supports arguments -Winvalid-pch: YES Compiler for C supports arguments -Wjump-misses-init: YES Compiler for C supports arguments -Wlogical-op: YES Compiler for C supports arguments -Wmain: YES Compiler for C supports arguments -Wmaybe-uninitialized: YES Compiler for C supports arguments -Wmissing-braces: YES Compiler for C supports arguments -Wmissing-declarations: YES Compiler for C supports arguments -Wmissing-field-initializers: YES Compiler for C supports arguments -Wmissing-include-dirs: YES Compiler for C supports arguments -Wmissing-parameter-type: YES Compiler for C supports arguments -Wmissing-prototypes: YES Compiler for C supports arguments -Wmultichar: YES Compiler for C supports arguments -Wnarrowing: YES Compiler for C supports arguments -Wnested-externs: YES Compiler for C supports arguments -Wnonnull: YES Compiler for C supports arguments -Wold-style-declaration: YES Compiler for C supports arguments -Wold-style-definition: YES Compiler for C supports arguments -Wopenmp-simd: YES Compiler for C supports arguments -Woverflow: YES Compiler for C supports arguments -Woverlength-strings: YES Compiler for C supports arguments -Woverride-init: YES Compiler for C supports arguments -Wpacked: YES Compiler for C supports arguments -Wpacked-bitfield-compat: YES Compiler for C supports arguments -Wparentheses: YES Compiler for C supports arguments -Wpointer-arith: YES Compiler for C supports arguments -Wpointer-sign: YES Compiler for C supports arguments -Wpointer-to-int-cast: YES Compiler for C supports arguments -Wpragmas: YES Compiler for C supports arguments -Wreturn-local-addr: YES Compiler for C supports arguments -Wreturn-type: YES Compiler for C supports arguments -Wsequence-point: YES Compiler for C supports arguments -Wshadow: YES Compiler for C supports arguments -Wsizeof-pointer-memaccess: YES Compiler for C supports arguments -Wstack-protector: YES Compiler for C supports arguments -Wstrict-aliasing: YES Compiler for C supports arguments -Wstrict-overflow: YES Compiler for C supports arguments -Wstrict-prototypes: YES Compiler for C supports arguments -Wsuggest-attribute=const: YES Compiler for C supports arguments -Wsuggest-attribute=format: YES Compiler for C supports arguments -Wsuggest-attribute=noreturn: YES Compiler for C supports arguments -Wsuggest-attribute=pure: YES Compiler for C supports arguments -Wswitch: YES Compiler for C supports arguments -Wswitch-default: YES Compiler for C supports arguments -Wsync-nand: YES Compiler for C supports arguments -Wtrampolines: YES Compiler for C supports arguments -Wtrigraphs: YES Compiler for C supports arguments -Wtype-limits: YES Compiler for C supports arguments -Wuninitialized: YES Compiler for C supports arguments -Wunknown-pragmas: YES Compiler for C supports arguments -Wunsafe-loop-optimizations: YES Compiler for C supports arguments -Wunused: YES Compiler for C supports arguments -Wunused-but-set-parameter: YES Compiler for C supports arguments -Wunused-but-set-variable: YES Compiler for C supports arguments -Wunused-function: YES Compiler for C supports arguments -Wunused-label: YES Compiler for C supports arguments -Wunused-local-typedefs: YES Compiler for C supports arguments -Wunused-parameter: YES Compiler for C supports arguments -Wunused-result: YES Compiler for C supports arguments -Wunused-value: YES Compiler for C supports arguments -Wunused-variable: YES Compiler for C supports arguments -Wvarargs: YES Compiler for C supports arguments -Wvariadic-macros: YES Compiler for C supports arguments -Wvector-operation-performance: YES Compiler for C supports arguments -Wvla: YES Compiler for C supports arguments -Wvolatile-register-var: YES Compiler for C supports arguments -Wwrite-strings: YES Compiler for C supports arguments -Wnormalized=nfc: YES Compiler for C supports arguments -Wno-sign-compare: YES Compiler for C supports arguments -Wno-sign-conversion: YES Compiler for C supports arguments -Wno-conversion: YES Compiler for C supports arguments -Wno-unused-parameter: YES Compiler for C supports arguments -Wjump-misses-init: YES (cached) Compiler for C supports arguments -Wframe-larger-than=4096: YES Compiler for C supports arguments -Wno-overlength-strings: YES Compiler for C supports arguments -Wp,-D_FORTIFY_SOURCE=2: YES Compiler for C supports arguments --param=ssp-buffer-size=4: YES Compiler for C supports arguments -fexceptions: YES Compiler for C supports arguments -fasynchronous-unwind-tables: YES Compiler for C supports arguments -fdiagnostics-show-option: YES Compiler for C supports arguments -funit-at-a-time: YES Compiler for C supports arguments -fipa-pure-const: YES Compiler for C supports arguments -Wno-suggest-attribute=pure: YES Compiler for C supports arguments -Wno-suggest-attribute=const: YES Compiler for C supports arguments -fstack-protector-all: YES osinfo-db-tools-1.11.0/meson.build:229: WARNING: Consider using the built-in warning_level option instead of using "-Wall". osinfo-db-tools-1.11.0/meson.build:229: WARNING: Consider using the built-in warning_level option instead of using "-Wextra". Program pod2man found: YES (/usr/bin/core_perl/pod2man) Program msgfmt found: YES (/usr/bin/msgfmt) Program msginit found: YES (/usr/bin/msginit) Program msgmerge found: YES (/usr/bin/msgmerge) Program xgettext found: YES (/usr/bin/xgettext) Program /startdir/src/osinfo-db-tools-1.11.0/build-aux/syntax-check found: YES (/startdir/src/osinfo-db-tools-1.11.0/build-aux/syntax-check) Program python3 found: YES (/usr/bin/python3) Program test_osinfo_db_export_import.py found: YES (/startdir/src/osinfo-db-tools-1.11.0/tests/test_osinfo_db_export_import.py) Program test_osinfo_db_path.py found: YES (/startdir/src/osinfo-db-tools-1.11.0/tests/test_osinfo_db_path.py) Program test_osinfo_db_validate.py found: YES (/startdir/src/osinfo-db-tools-1.11.0/tests/test_osinfo_db_validate.py) Build targets in project: 28 NOTICE: Future-deprecated features used: * 0.56.0: {'meson.build_root', 'meson.source_root'} osinfo-db-tools 1.11.0 User defined options auto_features : enabled buildtype : plain libexecdir : lib prefix : /usr sbindir : bin wrap_mode : nodownload python.bytecompile: 1 b_lto : true b_pie : true Found ninja-1.11.1 at /usr/bin/ninja Generating targets: 0%| | 0/28 eta ? Writing build.ninja: 0%| | 0/64 eta ? ninja: Entering directory `/startdir/src/build' [1/33] Building translation po/cs/LC_MESSAGES/osinfo-db-tools-cs.mo [2/33] Building translation po/ca/LC_MESSAGES/osinfo-db-tools-ca.mo [3/33] Building translation po/es/LC_MESSAGES/osinfo-db-tools-es.mo [4/33] Building translation po/de/LC_MESSAGES/osinfo-db-tools-de.mo [5/33] Building translation po/id/LC_MESSAGES/osinfo-db-tools-id.mo [6/33] Building translation po/fr/LC_MESSAGES/osinfo-db-tools-fr.mo [7/33] Building translation po/ja/LC_MESSAGES/osinfo-db-tools-ja.mo [8/33] Building translation po/tr/LC_MESSAGES/osinfo-db-tools-tr.mo [9/33] Building translation po/pl/LC_MESSAGES/osinfo-db-tools-pl.mo [10/33] Building translation po/uk/LC_MESSAGES/osinfo-db-tools-uk.mo [11/33] Building translation po/pt_PT/LC_MESSAGES/osinfo-db-tools-pt_PT.mo [12/33] Building translation po/pt_BR/LC_MESSAGES/osinfo-db-tools-pt_BR.mo [13/33] Building translation po/ru/LC_MESSAGES/osinfo-db-tools-ru.mo [14/33] Building translation po/fi/LC_MESSAGES/osinfo-db-tools-fi.mo [15/33] Building translation po/si/LC_MESSAGES/osinfo-db-tools-si.mo [16/33] Building translation po/ko/LC_MESSAGES/osinfo-db-tools-ko.mo [17/33] Building translation po/ka/LC_MESSAGES/osinfo-db-tools-ka.mo [18/33] Generating tools/osinfo-db-validate.1 with a custom command [19/33] Generating tools/osinfo-db-import.1 with a custom command [20/33] Generating tools/osinfo-db-path.1 with a custom command [21/33] Generating tools/osinfo-db-export.1 with a custom command [22/33] Compiling C object tools/osinfo-db-validate.p/osinfo-db-validate.c.o FAILED: tools/osinfo-db-validate.p/osinfo-db-validate.c.o cc -Itools/osinfo-db-validate.p -Itools -I../osinfo-db-tools-1.11.0/tools -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/libxml2 -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_36 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_36 '-DPKGDATADIR="/usr/share/osinfo-db-tools"' '-DDATA_DIR="/usr/share"' '-DSYSCONFDIR="/etc"' '-DLOCALEDIR="/usr/share/locale"' '-DGETTEXT_PACKAGE="osinfo-db-tools"' -W -Waddress -Waggressive-loop-optimizations -Wall -Warray-bounds -Wattributes -Wbuiltin-macro-redefined -Wcast-align -Wchar-subscripts -Wclobbered -Wcomment -Wcomments -Wcoverage-mismatch -Wcpp -Wdate-time -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wdouble-promotion -Wempty-body -Wendif-labels -Wenum-compare -Wextra -Wformat-contains-nul -Wformat-extra-args -Wformat-security -Wformat-y2k -Wformat-zero-length -Wfree-nonheap-object -Wignored-qualifiers -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Winit-self -Winline -Wint-to-pointer-cast -Winvalid-memory-model -Winvalid-pch -Wjump-misses-init -Wlogical-op -Wmain -Wmaybe-uninitialized -Wmissing-braces -Wmissing-declarations -Wmissing-field-initializers -Wmissing-include-dirs -Wmissing-parameter-type -Wmissing-prototypes -Wmultichar -Wnarrowing -Wnested-externs -Wnonnull -Wold-style-declaration -Wold-style-definition -Wopenmp-simd -Woverflow -Woverlength-strings -Woverride-init -Wpacked -Wpacked-bitfield-compat -Wparentheses -Wpointer-arith -Wpointer-sign -Wpointer-to-int-cast -Wpragmas -Wreturn-local-addr -Wreturn-type -Wsequence-point -Wshadow -Wsizeof-pointer-memaccess -Wstack-protector -Wstrict-aliasing -Wstrict-overflow -Wstrict-prototypes -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wswitch -Wswitch-default -Wsync-nand -Wtrampolines -Wtrigraphs -Wtype-limits -Wuninitialized -Wunknown-pragmas -Wunsafe-loop-optimizations -Wunused -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-function -Wunused-label -Wunused-local-typedefs -Wunused-parameter -Wunused-result -Wunused-value -Wunused-variable -Wvarargs -Wvariadic-macros -Wvector-operation-performance -Wvla -Wvolatile-register-var -Wwrite-strings -Wnormalized=nfc -Wno-sign-compare -Wno-sign-conversion -Wno-conversion -Wno-unused-parameter -Wjump-misses-init -Wframe-larger-than=4096 -Wno-overlength-strings -Wp,-D_FORTIFY_SOURCE=2 --param=ssp-buffer-size=4 -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -funit-at-a-time -fipa-pure-const -Wno-suggest-attribute=pure -Wno-suggest-attribute=const -fstack-protector-all -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/osinfo-db-tools -flto=auto -falign-functions=32 -fPIE -pthread -MD -MQ tools/osinfo-db-validate.p/osinfo-db-validate.c.o -MF tools/osinfo-db-validate.p/osinfo-db-validate.c.o.d -o tools/osinfo-db-validate.p/osinfo-db-validate.c.o -c ../osinfo-db-tools-1.11.0/tools/osinfo-db-validate.c In file included from ../osinfo-db-tools-1.11.0/tools/osinfo-db-validate.c:23: /usr/include/libxml2/libxml/relaxng.h:134:50: error: unknown type name ‘xmlDocPtr’; did you mean ‘xmlErrorPtr’? 134 | xmlRelaxNGNewDocParserCtxt (xmlDocPtr doc); | ^~~~~~~~~ | xmlErrorPtr /usr/include/libxml2/libxml/relaxng.h:163:50: error: unknown type name ‘FILE’ 163 | xmlRelaxNGDump (FILE *output, | ^~~~ /usr/include/libxml2/libxml/relaxng.h:16:1: note: ‘FILE’ is defined in header ‘’; did you forget to ‘#include ’? 15 | #include +++ |+#include 16 | /usr/include/libxml2/libxml/relaxng.h:166:42: error: unknown type name ‘FILE’ 166 | xmlRelaxNGDumpTree (FILE * output, | ^~~~ /usr/include/libxml2/libxml/relaxng.h:166:42: note: ‘FILE’ is defined in header ‘’; did you forget to ‘#include ’? /usr/include/libxml2/libxml/relaxng.h:191:50: error: unknown type name ‘xmlDocPtr’; did you mean ‘xmlErrorPtr’? 191 | xmlDocPtr doc); | ^~~~~~~~~ | xmlErrorPtr /usr/include/libxml2/libxml/relaxng.h:197:42: error: unknown type name ‘xmlDocPtr’; did you mean ‘xmlErrorPtr’? 197 | xmlDocPtr doc, | ^~~~~~~~~ | xmlErrorPtr /usr/include/libxml2/libxml/relaxng.h:198:42: error: unknown type name ‘xmlNodePtr’ 198 | xmlNodePtr elem); | ^~~~~~~~~~ /usr/include/libxml2/libxml/relaxng.h:205:42: error: unknown type name ‘xmlDocPtr’; did you mean ‘xmlErrorPtr’? 205 | xmlDocPtr doc, | ^~~~~~~~~ | xmlErrorPtr /usr/include/libxml2/libxml/relaxng.h:206:42: error: unknown type name ‘xmlNodePtr’ 206 | xmlNodePtr elem); | ^~~~~~~~~~ /usr/include/libxml2/libxml/relaxng.h:209:42: error: unknown type name ‘xmlDocPtr’; did you mean ‘xmlErrorPtr’? 209 | xmlDocPtr doc, | ^~~~~~~~~ | xmlErrorPtr /usr/include/libxml2/libxml/relaxng.h:210:42: error: unknown type name ‘xmlNodePtr’ 210 | xmlNodePtr elem); | ^~~~~~~~~~ ../osinfo-db-tools-1.11.0/tools/osinfo-db-validate.c:46:8: error: unknown type name ‘xmlDocPtr’ 46 | static xmlDocPtr parse_file(GFile *file, GError **error) | ^~~~~~~~~ ../osinfo-db-tools-1.11.0/tools/osinfo-db-validate.c: In function ‘parse_file’: ../osinfo-db-tools-1.11.0/tools/osinfo-db-validate.c:48:5: error: unknown type name ‘xmlDocPtr’; did you mean ‘xmlErrorPtr’? 48 | xmlDocPtr doc = NULL; | ^~~~~~~~~ | xmlErrorPtr ../osinfo-db-tools-1.11.0/tools/osinfo-db-validate.c:48:21: warning: initialization of ‘int’ from ‘void *’ makes integer from pointer without a cast [-Wint-conversion] 48 | xmlDocPtr doc = NULL; | ^~~~ ../osinfo-db-tools-1.11.0/tools/osinfo-db-validate.c:49:5: error: unknown type name ‘xmlParserCtxtPtr’; did you mean ‘xmlRelaxNGParserCtxtPtr’? 49 | xmlParserCtxtPtr pctxt; | ^~~~~~~~~~~~~~~~ | xmlRelaxNGParserCtxtPtr ../osinfo-db-tools-1.11.0/tools/osinfo-db-validate.c:55:16: warning: returning ‘void *’ from a function with return type ‘int’ makes integer from pointer without a cast [-Wint-conversion] 55 | return NULL; | ^~~~ ../osinfo-db-tools-1.11.0/tools/osinfo-db-validate.c:57:19: warning: implicit declaration of function ‘xmlNewParserCtxt’; did you mean ‘xmlRelaxNGNewParserCtxt’? [-Wimplicit-function-declaration] 57 | if (!(pctxt = xmlNewParserCtxt())) { | ^~~~~~~~~~~~~~~~ | xmlRelaxNGNewParserCtxt ../osinfo-db-tools-1.11.0/tools/osinfo-db-validate.c:57:19: warning: nested extern declaration of ‘xmlNewParserCtxt’ [-Wnested-externs] ../osinfo-db-tools-1.11.0/tools/osinfo-db-validate.c:60:16: warning: returning ‘void *’ from a function with return type ‘int’ makes integer from pointer without a cast [-Wint-conversion] 60 | return NULL; | ^~~~ ../osinfo-db-tools-1.11.0/tools/osinfo-db-validate.c:63:17: warning: implicit declaration of function ‘xmlCtxtReadDoc’ [-Wimplicit-function-declaration] 63 | if (!(doc = xmlCtxtReadDoc(pctxt, (const xmlChar*)data, uri, NULL, | ^~~~~~~~~~~~~~ ../osinfo-db-tools-1.11.0/tools/osinfo-db-validate.c:63:17: warning: nested extern declaration of ‘xmlCtxtReadDoc’ [-Wnested-externs] ../osinfo-db-tools-1.11.0/tools/osinfo-db-validate.c:64:32: error: ‘XML_PARSE_NONET’ undeclared (first use in this function); did you mean ‘XML_FROM_NONE’? 64 | XML_PARSE_NONET | | ^~~~~~~~~~~~~~~ | XML_FROM_NONE ../osinfo-db-tools-1.11.0/tools/osinfo-db-validate.c:64:32: note: each undeclared identifier is reported only once for each function it appears in ../osinfo-db-tools-1.11.0/tools/osinfo-db-validate.c:65:32: error: ‘XML_PARSE_NOWARNING’ undeclared (first use in this function); did you mean ‘XML_ERR_WARNING’? 65 | XML_PARSE_NOWARNING))) { | ^~~~~~~~~~~~~~~~~~~ | XML_ERR_WARNING ../osinfo-db-tools-1.11.0/tools/osinfo-db-validate.c:69:16: warning: returning ‘void *’ from a function with return type ‘int’ makes integer from pointer without a cast [-Wint-conversion] 69 | return NULL; | ^~~~ ../osinfo-db-tools-1.11.0/tools/osinfo-db-validate.c: In function ‘validate_file_regular’: ../osinfo-db-tools-1.11.0/tools/osinfo-db-validate.c:83:5: error: unknown type name ‘xmlDocPtr’; did you mean ‘xmlErrorPtr’? 83 | xmlDocPtr doc = NULL; | ^~~~~~~~~ | xmlErrorPtr ../osinfo-db-tools-1.11.0/tools/osinfo-db-validate.c:83:21: warning: initialization of ‘int’ from ‘void *’ makes integer from pointer without a cast [-Wint-conversion] 83 | xmlDocPtr doc = NULL; | ^~~~ ../osinfo-db-tools-1.11.0/tools/osinfo-db-validate.c:94:9: warning: implicit declaration of function ‘xmlRelaxNGValidateDoc’; did you mean ‘xmlRelaxNGValidatePushCData’? [-Wimplicit-function-declaration] 94 | if (xmlRelaxNGValidateDoc(rngValid, doc) != 0) { | ^~~~~~~~~~~~~~~~~~~~~ | xmlRelaxNGValidatePushCData ../osinfo-db-tools-1.11.0/tools/osinfo-db-validate.c:94:9: warning: nested extern declaration of ‘xmlRelaxNGValidateDoc’ [-Wnested-externs] ../osinfo-db-tools-1.11.0/tools/osinfo-db-validate.c:104:5: warning: implicit declaration of function ‘xmlFreeDoc’ [-Wimplicit-function-declaration] 104 | xmlFreeDoc(doc); | ^~~~~~~~~~ ../osinfo-db-tools-1.11.0/tools/osinfo-db-validate.c:104:5: warning: nested extern declaration of ‘xmlFreeDoc’ [-Wnested-externs] ../osinfo-db-tools-1.11.0/tools/osinfo-db-validate.c: In function ‘validate_files’: ../osinfo-db-tools-1.11.0/tools/osinfo-db-validate.c:176:37: warning: passing argument 2 of ‘xmlSetStructuredErrorFunc’ from incompatible pointer type [-Wincompatible-pointer-types] 176 | xmlSetStructuredErrorFunc(NULL, validate_structured_error_nop); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)(void *, xmlError *) {aka void (*)(void *, struct _xmlError *)} In file included from /usr/include/libxml2/libxml/relaxng.h:14: /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); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ [23/33] Compiling C object tools/osinfo-db-path.p/osinfo-db-path.c.o [24/33] Compiling C object tools/osinfo-db-export.p/osinfo-db-export.c.o [25/33] Compiling C object tools/osinfo-db-import.p/osinfo-db-import.c.o [26/33] Compiling C object tools/osinfo-db-export.p/osinfo-db-util.c.o [27/33] Compiling C object tools/osinfo-db-validate.p/osinfo-db-util.c.o [28/33] Compiling C object tools/osinfo-db-path.p/osinfo-db-util.c.o [29/33] Compiling C object tools/osinfo-db-import.p/osinfo-db-util.c.o ninja: build stopped: subcommand failed. INFO: autodetecting backend as ninja INFO: calculating backend command to run: /usr/bin/ninja -C /startdir/src/build ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Build failed, check /home/alhp/workspace2/chroot/build_dee60df1-be8a-45c1-9c1a-2608b88d7bf8/build