Gstreamer build failing for gstreamer 1.22.8
Hii devs, I have been trying to compile gstreamer for a snap package, clapper. But, while compiling it from source, I started to get this error in gst-base-video
part.
FAILED: subprojects/gst-plugins-base/gst-libs/gst/video/GstVideo-1.0.gir
2024-01-24 11:50:46.891 :: 2024-01-24 11:50:45.900 :: env PKG_CONFIG_PATH=/snap/gnome-42-2204-sdk/current/usr/lib/x86_64-linux-gnu/pkgconfig:/snap/gnome-42-2204-sdk/current/usr/lib/pkgconfig:/snap/gnome-42-2204-sdk/current/usr/share/pkgconfig:/root/stage/usr/lib/x86_64-linux-gnu/pkgconfig:/root/parts/gstreamer/build/meson-uninstalled CC=cc /snap/gnome-42-2204-sdk/current/usr/bin/g-ir-scanner --quiet --no-libtool --namespace=GstVideo --nsversion=1.0 --warn-all --output subprojects/gst-plugins-base/gst-libs/gst/video/GstVideo-1.0.gir '--add-init-section=extern void gst_init(gint*,gchar**);g_setenv("GST_REGISTRY_DISABLE", "yes", TRUE);g_setenv("GST_REGISTRY_1.0", "/root/parts/gstreamer/build/subprojects/gst-plugins-base/gir_empty_registry.reg", TRUE);g_setenv("GST_PLUGIN_PATH_1_0", "", TRUE);g_setenv("GST_PLUGIN_SYSTEM_PATH_1_0", "", TRUE);gst_init(NULL,NULL);' --quiet --c-include=gst/video/video.h -I/root/parts/gstreamer/src/subprojects/gst-plugins-base/gst-libs/gst/video -I/root/parts/gstreamer/build/subprojects/gst-plugins-base/gst-libs/gst/video -I/root/parts/gstreamer/src/subprojects/gst-plugins-base/. -I/root/parts/gstreamer/build/subprojects/gst-plugins-base/. -I/root/parts/gstreamer/src/subprojects/gst-plugins-base/gst-libs -I/root/parts/gstreamer/build/subprojects/gst-plugins-base/gst-libs -I/root/parts/gstreamer/src/subprojects/gstreamer/libs -I/root/parts/gstreamer/build/subprojects/gstreamer/libs -I/root/parts/gstreamer/src/subprojects/gstreamer/. -I/root/parts/gstreamer/build/subprojects/gstreamer/. --filelist=/root/parts/gstreamer/build/subprojects/gst-plugins-base/gst-libs/gst/video/libgstvideo-1.0.so.0.2205.0.p/GstVideo_1.0_gir_filelist --include=Gst-1.0 --include=GstBase-1.0 --symbol-prefix=gst --identifier-prefix=Gst --pkg-export=gstreamer-video-1.0 --cflags-begin -DG_DISABLE_CAST_CHECKS -I/root/parts/gstreamer/src/subprojects/gst-plugins-base/. -I/root/parts/gstreamer/build/subprojects/gst-plugins-base/. -I/root/parts/gstreamer/src/subprojects/gst-plugins-base/gst-libs -I/root/parts/gstreamer/build/subprojects/gst-plugins-base/gst-libs -I/root/parts/gstreamer/src/subprojects/gstreamer/libs -I/root/parts/gstreamer/build/subprojects/gstreamer/libs -I/root/parts/gstreamer/src/subprojects/gstreamer/. -I/root/parts/gstreamer/build/subprojects/gstreamer/. -I/root/parts/gstreamer/src/subprojects/gstreamer/gst/parse -I/root/parts/gstreamer/build/subprojects/gstreamer/gst/parse -I/snap/gnome-42-2204-sdk/current/usr/include/glib-2.0 -I/snap/gnome-42-2204-sdk/current/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/snap/gnome-42-2204-sdk/current/usr/include -I/usr/include/orc-0.4 -I/snap/gnome-42-2204-sdk/current/usr/include/gobject-introspection-1.0 --cflags-end --add-include-path=/root/parts/gstreamer/build/subprojects/gstreamer/gst --add-include-path=/root/parts/gstreamer/build/subprojects/gstreamer/libs/gst/base --add-include-path=/snap/gnome-42-2204-sdk/current/usr/share/gir-1.0 -L/root/parts/gstreamer/build/subprojects/gstreamer/libs/gst/base -L/root/parts/gstreamer/build/subprojects/gstreamer/gst -L/snap/gnome-42-2204-sdk/current/usr/lib/x86_64-linux-gnu --extra-library=gstbase-1.0 --extra-library=gstreamer-1.0 -L/root/parts/gstreamer/build/subprojects/gst-plugins-base/gst-libs/gst/video --library gstvideo-1.0 -L/root/parts/gstreamer/build/subprojects/gstreamer/libs/gst/base -L/root/parts/gstreamer/build/subprojects/gstreamer/gst -L/snap/gnome-42-2204-sdk/current/usr/lib/x86_64-linux-gnu -L/snap/gnome-42-2204-sdk/current/usr/lib/x86_64-linux-gnu --extra-library=glib-2.0 --extra-library=gobject-2.0 --extra-library=gmodule-2.0 --extra-library=m --extra-library=orc-0.4 --extra-library=dl --extra-library=girepository-1.0 --sources-top-dirs /root/parts/gstreamer/src/subprojects/gst-plugins-base --sources-top-dirs /root/parts/gstreamer/build/subprojects/gst-plugins-base
2024-01-24 11:50:46.891 :: 2024-01-24 11:50:45.900 :: /root/parts/gstreamer/build/tmp-introspectr60fxf5u/GstVideo-1.0: symbol lookup error: /root/parts/gstreamer/build/tmp-introspectr60fxf5u/GstVideo-1.0: undefined symbol: gst_navigation_modifier_type_get_type
2024-01-24 11:50:46.891 :: 2024-01-24 11:50:45.900 :: Command '['/root/parts/gstreamer/build/tmp-introspectr60fxf5u/GstVideo-1.0', '--introspect-dump=/root/parts/gstreamer/build/tmp-introspectr60fxf5u/functions.txt,/root/parts/gstreamer/build/tmp-introspectr60fxf5u/dump.xml']' returned non-zero exit status 127.
Before compiling this version, I compiled the 1.20.2
version also, which was successful and I never faced any issue. It'd be great if anyone can show some light, on why is such happening.