base: meson: linking errors when running tests
@gdesmott
Submitted by Guillaume Desmottes Link to original bug (#778270)
Description
$ mesontest.py -C build --suite gst-plugins-base elements/volume
the test passes but its output contains:
(volume:13357): GStreamer-WARNING **: External plugin loader failed. This most likely means that the plugin loader helper binary was not found or could not be run. You might need to set the GST_PLUGIN_SCANNER environment variable if your setup is unusual. This should normally not be required though.
This applies to all base tests.
The test is run using GST_PLUGIN_PATH_1_0='/home/cassidy/dev/gst/master/gst-build/build' which is the top root of the build dir.
I'm not sure what exactly but there seems to have some linking problems when using this path:
$ rm -rf ~/.cache/gstreamer-1.0/
$ GST_PLUGIN_PATH_1_0='/home/cassidy/dev/gst/master/gst-build/build' gst-inspect-1.0
(gst-plugin-scanner:13760): GStreamer-WARNING **: Failed to load plugin '/home/cassidy/dev/gst/master/gst-build/build/subprojects/gst-devtools/validate/plugins/gapplication/libgstvalidategapplication.so': /home/cassidy/dev/gst/master/gst-build/build/subprojects/gst-devtools/validate/gst/validate/libgstvalidate-1.0.so.0: undefined symbol: gst_debug_get_stack_trace
(gst-plugin-scanner:13760): GStreamer-WARNING **: Failed to load plugin '/home/cassidy/dev/gst/master/gst-build/build/subprojects/gst-devtools/validate/plugins/gtk/libgstvalidategtk.so': /home/cassidy/dev/gst/master/gst-build/build/subprojects/gst-devtools/validate/gst/validate/libgstvalidate-1.0.so.0: undefined symbol: gst_debug_get_stack_trace
(gst-plugin-scanner:13760): GStreamer-WARNING **: Failed to load plugin '/home/cassidy/dev/gst/master/gst-build/build/subprojects/gst-devtools/validate/plugins/fault_injection/libgstvalidatefaultinjection.so': /home/cassidy/dev/gst/master/gst-build/build/subprojects/gst-devtools/validate/gst/validate/libgstvalidate-1.0.so.0: undefined symbol: gst_debug_get_stack_trace
(gst-plugin-scanner:13760): GStreamer-WARNING **: Failed to load plugin '/home/cassidy/dev/gst/master/gst-build/build/subprojects/gst-devtools/validate/plugins/ssim/libgstvalidatessim.so': /home/cassidy/dev/gst/master/gst-build/build/subprojects/gst-devtools/validate/gst/validate/libgstvalidate-1.0.so.0: undefined symbol: gst_debug_get_stack_trace
(gst-plugin-scanner:13760): GStreamer-WARNING **: Failed to load plugin '/home/cassidy/dev/gst/master/gst-build/build/subprojects/gst-devtools/validate/gst/validate/libgstvalidateplugin.so': /home/cassidy/dev/gst/master/gst-build/build/subprojects/gst-devtools/validate/gst/validate/libgstvalidateplugin.so: undefined symbol: gst_debug_get_stack_trace
(gst-plugin-scanner:13760): GStreamer-WARNING **: Failed to load plugin '/home/cassidy/dev/gst/master/gst-build/build/subprojects/gst-devtools/validate/gst/validate/libgstvalidate-1.0.so': /home/cassidy/dev/gst/master/gst-build/build/subprojects/gst-devtools/validate/gst/validate/libgstvalidate-1.0.so: undefined symbol: gst_debug_get_stack_trace
(gst-plugin-scanner:13760): GStreamer-WARNING **: Failed to load plugin '/home/cassidy/dev/gst/master/gst-build/build/subprojects/gst-plugins-base/gst/pbtypes/libgstpbtypes.so': /home/cassidy/dev/gst/master/gst-build/build/subprojects/gst-plugins-base/gst/pbtypes/libgstpbtypes.so: undefined symbol: gst_dynamic_type_register
(gst-plugin-scanner:13760): GStreamer-WARNING **: Failed to load plugin '/home/cassidy/dev/gst/master/gst-build/build/subprojects/gst-editing-services/ges/libges-1.0.so': /home/cassidy/dev/gst/master/gst-build/build/subprojects/gst-devtools/validate/gst/validate/libgstvalidate-1.0.so.0: undefined symbol: gst_debug_get_stack_trace
(gst-plugin-scanner:13760): GStreamer-WARNING **: Failed to load plugin '/home/cassidy/dev/gst/master/gst-build/build/subprojects/gst-plugins-bad/sys/decklink/libgstdecklink.so': /home/cassidy/dev/gst/master/gst-build/build/subprojects/gst-plugins-bad/sys/decklink/libgstdecklink.so: undefined symbol: gst_calculate_linear_regression
(gst-plugin-scanner:13760): GStreamer-WARNING **: Failed to load plugin '/home/cassidy/dev/gst/master/gst-build/build/subprojects/gstreamer/plugins/tracers/libgstcoretracers.so': /home/cassidy/dev/gst/master/gst-build/build/subprojects/gstreamer/plugins/tracers/libgstcoretracers.so: undefined symbol: gst_debug_get_stack_trace
(gst-plugin-scanner:13760): GLib-GObject-WARNING **: specified class size for type 'GstDashDemux' is smaller than the parent type's 'GstAdaptiveDemux' class size
(gst-plugin-scanner:13760): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed
(gst-plugin-scanner:13760): GStreamer-CRITICAL **: gst_element_register: assertion 'g_type_is_a (type, GST_TYPE_ELEMENT)' failed
(gst-plugin-scanner:13760): GStreamer-WARNING **: Failed to load plugin '/usr/lib64/gstreamer-1.0/libgstopengl.so': /usr/lib64/gstreamer-1.0/libgstopengl.so: undefined symbol: gst_gl_caps_replace_all_caps_features
(gst-plugin-scanner:13760): GLib-GObject-WARNING **: specified class size for type 'GstMssDemux' is smaller than the parent type's 'GstAdaptiveDemux' class size
(gst-plugin-scanner:13760): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed
(gst-plugin-scanner:13760): GStreamer-CRITICAL **: gst_element_register: assertion 'g_type_is_a (type, GST_TYPE_ELEMENT)' failed
(gst-plugin-scanner:13760): GLib-GObject-WARNING **: specified class size for type 'GstHLSDemux' is smaller than the parent type's 'GstAdaptiveDemux' class size
(gst-plugin-scanner:13760): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed
(gst-plugin-scanner:13760): GStreamer-CRITICAL **: gst_element_register: assertion 'g_type_is_a (type, GST_TYPE_ELEMENT)' failed