https://pdr2.bofh.network/data/140-diizzy/libxml2-libxslt-run2/logs/errors/osinfo-db-tools-1.11.0_1.log
I guess you're testing some private branch of yours, as libxml2 is older in the main branch. In that case I'd be interested to know how I can access this branch, otherwise it's a bit of an effort trying to reproduce that. FWIW, probably a simple fix like that will work: diff --git a/sysutils/osinfo-db-tools/files/patch-tools_osinfo-db-validate.c b/sysutils/osinfo-db-tools/files/patch-tools_osinfo-db-validate.c new file mode 100644 index 000000000000..7132a837e075 --- /dev/null +++ b/sysutils/osinfo-db-tools/files/patch-tools_osinfo-db-validate.c @@ -0,0 +1,11 @@ +--- tools/osinfo-db-validate.c.orig 2024-06-24 18:48:37 UTC ++++ tools/osinfo-db-validate.c +@@ -35,7 +35,7 @@ static void validate_structured_error_nop(void *userDa + } + + static void validate_structured_error_nop(void *userData G_GNUC_UNUSED, +- xmlErrorPtr error G_GNUC_UNUSED) ++ const xmlErrorPtr error G_GNUC_UNUSED) + { + if (error->file) + g_printerr("%s:%d %s", error->file, error->line, error->message);
Patches are available in the PRs listed in "Blocks"
Created attachment 251780 [details] patch
Upstream has a fix: https://gitlab.com/libosinfo/osinfo-db-tools/-/commit/34378a4ac257f2f5fcf364786d1634a8c36b304f It only supports the newer libxml2. I've created a similar patch, but which supports both older and the newer libxml2. I guess it would be easier for you if I commit the fix that works with both versions?
Looks good on my end too, thanks!