[SOLVED] regression on -current with libsoup
by marav from LinuxQuestions.org on (#6H30W)
libsoup FTBFS
It ends with:
Code:FAILED: libsoup/libsoup-2.4.so.1.11.2.p/soup-xmlrpc.c.o
ccache cc -Ilibsoup/libsoup-2.4.so.1.11.2.p -Ilibsoup -I../libsoup -I. -I.. -Isubprojects/sysprof/src/libsysprof-capture -I../subprojects/sysprof/src/libsysprof-capture -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=c99 -O3 -D_DEFAULT_SOURCE -DHAVE_CONFIG_H -Wall -Wmissing-include-dirs -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=aggregate-return -Werror=format=2 -Wstrict-prototypes -Wno-format-zero-length -DUSE_NTLM_AUTH=1 '-DNTLM_AUTH="/usr/bin/ntlm_auth"' -O2 -fPIC -fPIC -pthread '-DG_LOG_DOMAIN="libsoup"' -DLIBSOUP_COMPILATION -fvisibility=hidden -MD -MQ libsoup/libsoup-2.4.so.1.11.2.p/soup-xmlrpc.c.o -MF libsoup/libsoup-2.4.so.1.11.2.p/soup-xmlrpc.c.o.d -o libsoup/libsoup-2.4.so.1.11.2.p/soup-xmlrpc.c.o -c ../libsoup/soup-xmlrpc.c
../libsoup/soup-xmlrpc.c: In function 'soup_xmlrpc_parse_request':
../libsoup/soup-xmlrpc.c:1206:15: error: implicit declaration of function 'xmlParseMemory' [-Werror=implicit-function-declaration]
1206 | doc = xmlParseMemory (method_call, length == -1 ? strlen (method_call) : length);
|Patch:
https://gitlab.gnome.org/GNOME/libso...1561799dfefb0d
It ends with:
Code:FAILED: libsoup/libsoup-2.4.so.1.11.2.p/soup-xmlrpc.c.o
ccache cc -Ilibsoup/libsoup-2.4.so.1.11.2.p -Ilibsoup -I../libsoup -I. -I.. -Isubprojects/sysprof/src/libsysprof-capture -I../subprojects/sysprof/src/libsysprof-capture -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=c99 -O3 -D_DEFAULT_SOURCE -DHAVE_CONFIG_H -Wall -Wmissing-include-dirs -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=aggregate-return -Werror=format=2 -Wstrict-prototypes -Wno-format-zero-length -DUSE_NTLM_AUTH=1 '-DNTLM_AUTH="/usr/bin/ntlm_auth"' -O2 -fPIC -fPIC -pthread '-DG_LOG_DOMAIN="libsoup"' -DLIBSOUP_COMPILATION -fvisibility=hidden -MD -MQ libsoup/libsoup-2.4.so.1.11.2.p/soup-xmlrpc.c.o -MF libsoup/libsoup-2.4.so.1.11.2.p/soup-xmlrpc.c.o.d -o libsoup/libsoup-2.4.so.1.11.2.p/soup-xmlrpc.c.o -c ../libsoup/soup-xmlrpc.c
../libsoup/soup-xmlrpc.c: In function 'soup_xmlrpc_parse_request':
../libsoup/soup-xmlrpc.c:1206:15: error: implicit declaration of function 'xmlParseMemory' [-Werror=implicit-function-declaration]
1206 | doc = xmlParseMemory (method_call, length == -1 ? strlen (method_call) : length);
|Patch:
https://gitlab.gnome.org/GNOME/libso...1561799dfefb0d