Slackware_x64-current fully updated, with kernel 6.7.6 (my custom compile)
Following steps on
https://docs.slackware.com/howtos:em...manage_install and found Ponces slackbuld script for compiling second dependency in a row (osinfo-db-tools-v1.11.0) I get stuck with error.
At compiling/preparing a package with compile described in above mentioned Slackware Howtos at releasing a command:
The same happened with Ponces osinfoosinfo-db-tools.SlackBuild from slackbuilds.org
The config went without error, all dependencies and compile options were green "YES" and ninja compile started and failed with the following output:
Quote:
Found ninja-1.12.1 at /usr/bin/ninja
WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated.
[25/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
ccache cc -Itools/osinfo-db-validate.p -Itools -I../tools -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/libxml2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -O3 -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 -O2 -fPIC -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 ../tools/osinfo-db-validate.c
../tools/osinfo-db-validate.c: In function ‘validate_files’:
../tools/osinfo-db-validate.c:176:37: error: 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,
from ../tools/osinfo-db-validate.c:23:
/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);
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
[29/33] Compiling C object tools/osinfo-db-import.p/osinfo-db-import.c.o
ninja: build stopped: subcommand failed
|
Help needed