Implicit declaration of function ‘g_canonicalize_filename’
Hi,
Building gstreamer gets me the following error. Upgrading glib is probably an option, can I disable building/testing libsoup? Or is it needed for gstreamer in some way?
[1927/5347] Compiling C object 'subprojects/libsoup/tests/0044f34@@test-utils@sha/test-utils.c.o'. FAILED: subprojects/libsoup/tests/0044f34@@test-utils@sha/test-utils.c.o cc -Isubprojects/libsoup/tests/0044f34@@test-utils@sha -Isubprojects/libsoup/tests -I../subprojects/libsoup/tests -Isubprojects/libsoup -I../subprojects/libsoup -Isubprojects/libsoup/libsoup -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -g -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 -fPIC -pthread -MD -MQ 'subprojects/libsoup/tests/0044f34@@test-utils@sha/test-utils.c.o' -MF 'subprojects/libsoup/tests/0044f34@@test-utils@sha/test-utils.c.o.d' -o 'subprojects/libsoup/tests/0044f34@@test-utils@sha/test-utils.c.o' -c ../subprojects/libsoup/tests/test-utils.c ../subprojects/libsoup/tests/test-utils.c: In function ‘soup_test_session_new’: ../subprojects/libsoup/tests/test-utils.c:245:16: error: implicit declaration of function ‘g_canonicalize_filename’; did you mean ‘g_build_filename’? [-Werror=implicit-function-declaration] abs_cafile = g_canonicalize_filename (cafile, NULL); ^~~~~~~~~~~~~~~~~~~~~~~ g_build_filename ../subprojects/libsoup/tests/test-utils.c:245:14: warning: assignment makes pointer from integer without a cast [-Wint-conversion] abs_cafile = g_canonicalize_filename (cafile, NULL); ^ cc1: some warnings being treated as errors