-
Notifications
You must be signed in to change notification settings - Fork 214
Description
Spotify fails to compile with multiple issues.
- lib mismatch
- it tries to compile schemas and fails
To fix this one should remove bundled glib ecosystem libraries to use system versions instead. The bundled Debian oldstable glib (2.74) is incompatible with modern distros (Fedora 43, etc.) that have glib 2.80+ where libtinysparql/libgio require newer symbols like g_task_set_static_name. Using system glib avoids symbol lookup errors and version mismatches.
Update excludelist, lines 101-105:
# UNCOMMENTED for modern distros (Fedora 43+, etc.) where bundled old glib causes symbol conflicts
# with system libtinysparql requiring g_task_set_static_name and other modern glib symbols
libgio-2.0.so.0
libglib-2.0.so.0
libgmodule-2.0.so.0
libgobject-2.0.so.0
libgthread-2.0.so.0
libmount.so.1
libblkid.so.1
libpcre2-8.so.0
Need to update Spotify.yml recipe to remove GSettings schemas directory to prevent glib-compile-schemas from being called by pkg2appimage. Spotify doesn't require custom GSettings schemas to function.
- rm -rf usr/share/glib-2.0/schemas
P.S. excludelist bundled in pkg2appimage is ommited, instead one from github is fetched. This creates kind of confusion and makes debugging much harder.