gegl python tests fails, due to meson unable to extend path lists in environment variables
After successfully compiling gegl, ran the tests and there were a bunch of failed python tests:
-------
36/109 gegl:python / gegl-buffer FAIL 0.07 s (exit status 1)
--- command ---
GEGL_PATH='/home/bernard/opt/gimp/gegl/build/operations' LD_LIBRARY_PATH='/home/bernard/opt/gimp/gegl/build/gegl:$LD_LIBRARY_PATH' GI_TYPELIB_PATH='/home/bernard/opt/gimp/gegl/build/gegl:$GI_TYPELIB_PATH' GEGL_SWAP='RAM' /usr/bin/python3 /home/bernard/opt/gimp/gegl/build/../tests/python/test-gegl-buffer.py
--- stderr ---
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gi/importer.py", line 138, in load_module
introspection_module = get_introspection_module(namespace)
File "/usr/lib/python3/dist-packages/gi/module.py", line 275, in get_introspection_module
module = IntrospectionModule(namespace, version)
File "/usr/lib/python3/dist-packages/gi/module.py", line 122, in __init__
repository.require(namespace, version)
gi.RepositoryError: Typelib file for namespace 'Babl', version '0.1' not found
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/bernard/opt/gimp/gegl/build/../tests/python/test-gegl-buffer.py", line 22, in <module>
from gi.repository import Gegl
File "/usr/lib/python3/dist-packages/gi/importer.py", line 140, in load_module
raise ImportError(e)
ImportError: Typelib file for namespace 'Babl', version '0.1' not found
-------
37/109 gegl:python / gegl-color FAIL 0.07 s (exit status 1)
--- command ---
GEGL_PATH='/home/bernard/opt/gimp/gegl/build/operations' LD_LIBRARY_PATH='/home/bernard/opt/gimp/gegl/build/gegl:$LD_LIBRARY_PATH' GI_TYPELIB_PATH='/home/bernard/opt/gimp/gegl/build/gegl:$GI_TYPELIB_PATH' GEGL_SWAP='RAM' /usr/bin/python3 /home/bernard/opt/gimp/gegl/build/../tests/python/test-gegl-color.py
--- stderr ---
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gi/importer.py", line 138, in load_module
introspection_module = get_introspection_module(namespace)
File "/usr/lib/python3/dist-packages/gi/module.py", line 275, in get_introspection_module
module = IntrospectionModule(namespace, version)
File "/usr/lib/python3/dist-packages/gi/module.py", line 122, in __init__
repository.require(namespace, version)
gi.RepositoryError: Typelib file for namespace 'Babl', version '0.1' not found
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/bernard/opt/gimp/gegl/build/../tests/python/test-gegl-color.py", line 22, in <module>
from gi.repository import Gegl
File "/usr/lib/python3/dist-packages/gi/importer.py", line 140, in load_module
raise ImportError(e)
ImportError: Typelib file for namespace 'Babl', version '0.1' not found
-------
38/109 gegl:python / gegl-format FAIL 0.07 s (exit status 1)
--- command ---
GEGL_PATH='/home/bernard/opt/gimp/gegl/build/operations' LD_LIBRARY_PATH='/home/bernard/opt/gimp/gegl/build/gegl:$LD_LIBRARY_PATH' GI_TYPELIB_PATH='/home/bernard/opt/gimp/gegl/build/gegl:$GI_TYPELIB_PATH' GEGL_SWAP='RAM' /usr/bin/python3 /home/bernard/opt/gimp/gegl/build/../tests/python/test-gegl-format.py
--- stderr ---
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gi/importer.py", line 138, in load_module
introspection_module = get_introspection_module(namespace)
File "/usr/lib/python3/dist-packages/gi/module.py", line 275, in get_introspection_module
module = IntrospectionModule(namespace, version)
File "/usr/lib/python3/dist-packages/gi/module.py", line 122, in __init__
repository.require(namespace, version)
gi.RepositoryError: Typelib file for namespace 'Babl', version '0.1' not found
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/bernard/opt/gimp/gegl/build/../tests/python/test-gegl-format.py", line 23, in <module>
from gi.repository import Gegl
File "/usr/lib/python3/dist-packages/gi/importer.py", line 140, in load_module
raise ImportError(e)
ImportError: Typelib file for namespace 'Babl', version '0.1' not found
-------
39/109 gegl:python / gegl-node FAIL 0.07 s (exit status 1)
--- command ---
GEGL_PATH='/home/bernard/opt/gimp/gegl/build/operations' LD_LIBRARY_PATH='/home/bernard/opt/gimp/gegl/build/gegl:$LD_LIBRARY_PATH' GI_TYPELIB_PATH='/home/bernard/opt/gimp/gegl/build/gegl:$GI_TYPELIB_PATH' GEGL_SWAP='RAM' /usr/bin/python3 /home/bernard/opt/gimp/gegl/build/../tests/python/test-gegl-node.py
--- stderr ---
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gi/importer.py", line 138, in load_module
introspection_module = get_introspection_module(namespace)
File "/usr/lib/python3/dist-packages/gi/module.py", line 275, in get_introspection_module
module = IntrospectionModule(namespace, version)
File "/usr/lib/python3/dist-packages/gi/module.py", line 122, in __init__
repository.require(namespace, version)
gi.RepositoryError: Typelib file for namespace 'Babl', version '0.1' not found
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/bernard/opt/gimp/gegl/build/../tests/python/test-gegl-node.py", line 22, in <module>
from gi.repository import Gegl
File "/usr/lib/python3/dist-packages/gi/importer.py", line 140, in load_module
raise ImportError(e)
ImportError: Typelib file for namespace 'Babl', version '0.1' not found
-------
40/109 gegl:python / gegl FAIL 0.07 s (exit status 1)
--- command ---
GEGL_PATH='/home/bernard/opt/gimp/gegl/build/operations' LD_LIBRARY_PATH='/home/bernard/opt/gimp/gegl/build/gegl:$LD_LIBRARY_PATH' GI_TYPELIB_PATH='/home/bernard/opt/gimp/gegl/build/gegl:$GI_TYPELIB_PATH' GEGL_SWAP='RAM' /usr/bin/python3 /home/bernard/opt/gimp/gegl/build/../tests/python/test-gegl.py
--- stderr ---
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gi/importer.py", line 138, in load_module
introspection_module = get_introspection_module(namespace)
File "/usr/lib/python3/dist-packages/gi/module.py", line 275, in get_introspection_module
module = IntrospectionModule(namespace, version)
File "/usr/lib/python3/dist-packages/gi/module.py", line 122, in __init__
repository.require(namespace, version)
gi.RepositoryError: Typelib file for namespace 'Babl', version '0.1' not found
During handling of the above exception, another exception occured:
Traceback (most recent call last):
File "/home/bernard/opt/gimp/gegl/build/../tests/python/test-gegl.py", line 22, in <module>
from gi.repository import Gegl
File "/usr/lib/python3/dist-packages/gi/importer.py", line 140, in load_module
raise ImportError(e)
ImportError: Typelib file for namespace 'Babl', version '0.1' not found
-------
I have checked that the directory babl-0.1 is in GIMP_PREFIX/lib/x86_64-linux-gnu, but doing "export GI_TYPELIB_PATH=
GIMP_PREFIX/lib/x86_64-linux-gnu/girepository-1.0:$GIMP_PREFIX/lib/girepository-1.0" and recompiled gegl still don't fix the problem.
Tried gegl master + babl master and gegl-0.4.20 + babl0.1.74
Both gave same test errors.
OS is Ubuntu.
Edited by Øyvind "pippin" Kolås