Test plugins unit test fails when built from tarball: "Element factory metadata for 'test_identity_py' has no valid long-name field"
Project name: gst-python
Project version: 1.17.90
C compiler for the host machine: ccache cc (gcc 10.1.0 "cc (Debian 10.1.0-6) 10.1.0")
C linker for the host machine: cc ld.bfd 2.35
C++ compiler for the host machine: ccache c++ (gcc 10.1.0 "c++ (Debian 10.1.0-6) 10.1.0")
C++ linker for the host machine: c++ ld.bfd 2.35
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (0.29.2)
Run-time dependency gstreamer-1.0 found: YES 1.17.90
Run-time dependency gstreamer-base-1.0 found: YES 1.17.90
Run-time dependency gmodule-2.0 found: YES 2.64.4
Run-time dependency pygobject-3.0 found: YES 3.36.0
Program python3 found: YES (/usr/bin/python3)
Run-time dependency python-3.8-embed found: YES 3.8
Message: python_abi_flags =
Message: pylib_loc = /usr/lib/python3.8/config-3.8-x86_64-linux-gnu
Message: pygobject overrides directory = /tmp/release-1.17.90/install-prefix/lib/python3.8/site-packages/gi/overrides
Configuring config.h using configuration
Program pkg-config found: YES
Run-time dependency gstreamer-plugins-base-1.0 found: YES 1.17.90
Build targets in project: 2
Found ninja-1.10.0 at /usr/bin/ninja
[4/4] Linking target gi/overrides/_gi_gst.cpython-38-x86_64-linux-gnu.so
[0/1] Running all tests.
1/3 Test gst OK 1.47s
2/3 Test fundamentals OK 2.42s
3/3 Test plugins FAIL 1.12s (exit status 1)
Ok: 2
Expected Fail: 0
Fail: 1
Unexpected Pass: 0
Skipped: 0
Timeout: 0
The output from the failed tests:
3/3 Test plugins FAIL 1.12s (exit status 1)
--- command ---
11:16:41 GST_PLUGIN_LOADING_WHITELIST='gstreamer:gst-plugins-base@/tmp/release-1.17.90/b/gst-python/meson-private/dist-build:gst-python@/tmp/release-1.17.90/b/gst-python/meson-private/dist-build' GST_OVERRIDE_SRC_PATH='/tmp/release-1.17.90/b/gst-python/meson-private/dist-unpack/gst-python-1.17.90/testsuite/../gi/overrides' GST_REGISTRY='/tmp/release-1.17.90/b/gst-python/meson-private/dist-build/testsuite/Test plugins.registry' GST_PLUGIN_PATH_1_0='/tmp/release-1.17.90/b/gst-python/meson-private/dist-build:/tmp/release-1.17.90/install-prefix/lib/x86_64-linux-gnu/gstreamer-1.0:/tmp/release-1.17.90/install-prefix/lib/x86_64-linux-gnu/gstreamer-1.0:/tmp/release-1.17.90/b/gst-python/meson-private/dist-build/plugin:/tmp/release-1.17.90/b/gst-python/meson-private/dist-unpack/gst-python-1.17.90/testsuite' GST_OVERRIDE_BUILD_PATH='/tmp/release-1.17.90/b/gst-python/meson-private/dist-build/testsuite/../gi/overrides' /usr/bin/python3 /tmp/release-1.17.90/b/gst-python/meson-private/dist-build/../dist-unpack/gst-python-1.17.90/testsuite/runtests.py test_plugin.py
--- stderr ---
** (gst-plugin-scanner:113110): CRITICAL **: 12:16:41.748: gi.repository.Gst is no dict
(gst-plugin-scanner:113110): GStreamer-WARNING **: 12:16:42.303: Element factory metadata for 'test_identity_py' has no valid long-name field
E
======================================================================
ERROR: testLoad (test_plugin.TestPlugin)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/release-1.17.90/b/gst-python/meson-private/dist-unpack/gst-python-1.17.90/testsuite/test_plugin.py", line 34, in testLoad
p = Gst.parse_launch ("fakesrc ! test_identity_py name=id ! fakesink")
gi.repository.GLib.GError: gst_parse_error: no element "test_identity_py" (1)
----------------------------------------------------------------------
Ran 1 test in 0.898s
FAILED (errors=1)