ubuntu / gnome-sdk

GNOME SDK/Platform snap
21 stars 21 forks source link

BUG/ISSUE: libgirepository undefined symbol: g_string_free_and_steal error #164

Closed ghost closed 8 months ago

ghost commented 1 year ago

Hey there, this error is generated when lutris tries to import gi.

Traceback (most recent call last):
  File "/snap/lutris/141/usr/share/lutris/bin/lutris-wrapper", line 16, in <module>
    from lutris.util.log import logger
  File "/snap/lutris/141/usr/lib/python3/dist-packages/lutris/util/log.py", line 7, in <module>
    from gi.repository import GLib
  File "/snap/lutris/141/gnome-platform/usr/lib/python3/dist-packages/gi/__init__.py", line 40, in <module>
    from . import _gi
ImportError: /snap/lutris/141/gnome-platform/usr/lib/x86_64-linux-gnu/libgirepository-1.0.so.1: undefined symbol: g_string_free_and_steal

This occurs even though i have carefully staged deps using stage and prime to avoid conflicts with the gnome-snap, also am using the cleanup part, which should prevent de-duplication of gtk libs ? P.S. Am not staging any gtk related deps/libs etc.

My YAML: https://git.launchpad.net/lutris-snap/tree/snapcraft.yaml