maintainer-feedback requested: [Bug 287888] databases/libgda6: error: '__xmlDoValidityCheckingDefaultValue' is deprecated
Date: Sat, 28 Jun 2025 22:57:02 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-gnome (Nobody)
<gnome@FreeBSD.org> for maintainer-feedback:
Bug 287888: databases/libgda6: error: '__xmlDoValidityCheckingDefaultValue' is
deprecated
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287888
--- Description ---
perhaps due to libxml2 update 2.11.x -> 2.14.x?
applied attached patch to git'r'done but would appreciate a chime-in from an
O.G.
FAILED: libgda/libgda-6.0.so.6.p/gda-set.c.o
cc -Ilibgda/libgda-6.0.so.6.p -Ilibgda -I../libgda -I. -I.. -Ilibgda/sqlite
-I../libgda/sqlite -Ilibgda/sql-parser -I../libgda/sql-parser
-I/usr/local/include -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -I/usr/local/include/libxml2
-I/usr/local/include/libsecret-1 -I/usr/local/include/gio-unix-2.0
-fdiagnostics-color=never -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra
-Werror -std=gnu11 -Wno-deprecated-non-prototype -fstack-protector-strong
-fno-strict-aliasing -fPIC -pthread -include
/usr/ports/databases/libgda6/work/libgda-c149606b/_build/config.h
-DABI_VERSION=6.0 '-DABI_NAME="libgda-6.0"' -include
/usr/ports/databases/libgda6/work/libgda-c149606b/_build/config.h
'-DPNAME="SQLite"' '-DCLASS_PREFIX="GdaSqlite"' -DHAVE_SQLITE
'-DSEARCH_LIB_PATH="/usr/local/lib"' '-DLIBGDAPREFIX="/usr/local"'
'-DLIBGDADATA="/usr/local/share"' '-DLIBGDALIB="/usr/local/lib"'
'-DLIBGDALIBEXEC="/usr/local/libexec"' '-DLIBGDABIN="/usr/local/bin"'
'-DLIBGDASBIN="/usr/local/sbin"' '-DLIBGDASYSCONF="/usr/local/etc"' -Wall
-Wextra -Wformat-security -Wno-address -Wno-unused-variable
-Wno-unused-parameter -Wno-pointer-sign -Wno-missing-field-initializers
-DGSEAL_ENABLE -DG_LOG_USE_STRUCTURED '-DLIBGDA_ABI_NAME="libgda-6.0"'
-DHAVE_LIBSECRET -MD -MQ libgda/libgda-6.0.so.6.p/gda-set.c.o -MF
libgda/libgda-6.0.so.6.p/gda-set.c.o.d -o libgda/libgda-6.0.so.6.p/gda-set.c.o
-c ../libgda/gda-set.c
../libgda/gda-set.c:1351:16: error: '__xmlDoValidityCheckingDefaultValue' is
deprecated [-Werror,-Wdeprecated-declarations]
1351 | xmlcheck = xmlDoValidityCheckingDefaultValue;
| ^
/usr/local/include/libxml2/libxml/parser.h:1048:7: note: expanded from macro
'xmlDoValidityCheckingDefaultValue'
1048 | (*__xmlDoValidityCheckingDefaultValue())
| ^
/usr/local/include/libxml2/libxml/parser.h:1025:1: note:
'__xmlDoValidityCheckingDefaultValue' has been explicitly marked deprecated
here
1025 | XML_DEPRECATED
| ^
/usr/local/include/libxml2/libxml/xmlexports.h:61:43: note: expanded from macro
'XML_DEPRECATED'
61 | #define XML_DEPRECATED __attribute__((deprecated))
| ^
../libgda/gda-set.c:1352:5: error: '__xmlDoValidityCheckingDefaultValue' is
deprecated [-Werror,-Wdeprecated-declarations]
1352 | xmlDoValidityCheckingDefaultValue = 1;
| ^
/usr/local/include/libxml2/libxml/parser.h:1048:7: note: expanded from macro
'xmlDoValidityCheckingDefaultValue'
1048 | (*__xmlDoValidityCheckingDefaultValue())
| ^
/usr/local/include/libxml2/libxml/parser.h:1025:1: note:
'__xmlDoValidityCheckingDefaultValue' has been explicitly marked deprecated
here
1025 | XML_DEPRECATED
| ^
/usr/local/include/libxml2/libxml/xmlexports.h:61:43: note: expanded from macro
'XML_DEPRECATED'
61 | #define XML_DEPRECATED __attribute__((deprecated))
| ^
../libgda/gda-set.c:1402:9: error: '__xmlDoValidityCheckingDefaultValue' is
deprecated [-Werror,-Wdeprecated-declarations]
1402 | xmlDoValidityCheckingDefaultValue = xmlcheck;
| ^
/usr/local/include/libxml2/libxml/parser.h:1048:7: note: expanded from macro
'xmlDoValidityCheckingDefaultValue'
1048 | (*__xmlDoValidityCheckingDefaultValue())
| ^
/usr/local/include/libxml2/libxml/parser.h:1025:1: note:
'__xmlDoValidityCheckingDefaultValue' has been explicitly marked deprecated
here
1025 | XML_DEPRECATED
| ^
/usr/local/include/libxml2/libxml/xmlexports.h:61:43: note: expanded from macro
'XML_DEPRECATED'
61 | #define XML_DEPRECATED __attribute__((deprecated))
| ^
../libgda/gda-set.c:1411:5: error: '__xmlDoValidityCheckingDefaultValue' is
deprecated [-Werror,-Wdeprecated-declarations]
1411 | xmlDoValidityCheckingDefaultValue = xmlcheck;
| ^
/usr/local/include/libxml2/libxml/parser.h:1048:7: note: expanded from macro
'xmlDoValidityCheckingDefaultValue'
1048 | (*__xmlDoValidityCheckingDefaultValue())
| ^
/usr/local/include/libxml2/libxml/parser.h:1025:1: note:
'__xmlDoValidityCheckingDefaultValue' has been explicitly marked deprecated
here
1025 | XML_DEPRECATED
| ^
/usr/local/include/libxml2/libxml/xmlexports.h:61:43: note: expanded from macro
'XML_DEPRECATED'
61 | #define XML_DEPRECATED __attribute__((deprecated))
| ^
4 errors generated.
ninja: build stopped: subcommand failed.
*** Error code 1
Stop.
make: stopped in /usr/ports/databases/libgda6