Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Synfig Studio 1.4.3 AppImage does not start on Archlinux #2625

Closed
Gilraiser opened this issue May 3, 2022 · 10 comments · Fixed by morevnaproject/morevna-builds#72
Closed

Comments

@Gilraiser
Copy link

Bug description

After giving the corresponding execute permissions and answering yes or no to the integration dialogs, Synfig does not start. When running it in terminal it throws the following error message:

/tmp/.mount_ZZpn0Y/usr/bin/synfigstudio: error while loading shared libraries: libselinux.so.1: wrong ELF class: ELFCLASS32

To Reproduce

  1. Give execution permissions.
  2. Double click on the AppImage file.
  3. Answer yes or no in the integration dialogs.
  4. Double click again.

Expected behavior

The program should be displayed in a window with all its interaction.

System information:

  • Linux distro: Archlinux x64 with Linux 5.15.37-1-lts
  • Package: SynfigStudio-1.4.3-testing-2022.05.03-linux64-b02a5.appimage
  • Synfig version: 1.4.3

Additional comments

I hope the information is useful, thanks for the excellent work.

@Gilraiser Gilraiser changed the title Synfig Studio 1.4.3 AppImage no inicia en Archlinux Synfig Studio 1.4.3 AppImage does not start on Archlinux May 3, 2022
@ice0
Copy link
Collaborator

ice0 commented May 4, 2022

@morevnaproject

libselinux.so.1 is a dependency for libgio-2.0.so

ldd ./libgio-2.0.so
	linux-vdso.so.1 (0x00007ffe07bbf000)
	libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007f96f5a32000)
	libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x00007f96f55a1000)
	libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x00007f96f5a2b000)
	libz.so.1 => /usr/lib/libz.so.1 (0x00007f96f5a11000)
	libmount.so.1 => /usr/lib/libmount.so.1 (0x00007f96f555c000)
	libselinux.so.1 => not found
...

but it compiled for i386 arch:

file ./usr/lib/libselinux.so.1
./usr/lib/libselinux.so.1.old: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, BuildID[sha1]=9ffb1b951e7c7863bba83bf8b7f8de636a1cc1a8, stripped

find.sh

#!/bin/bash

for f in $(find ./ -name '*'); do file $f | grep ELF | grep 32-bit; done
./lib/libdb-5.3.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, BuildID[sha1]=b01f765075ca5bd0d15c3f711e879a26134f4bde, stripped
./lib/libudev.so.1.6.5: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, BuildID[sha1]=76d736e39918d04590478050df42159871c2ab03, stripped
./lib/libdbus-1.so.3: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, BuildID[sha1]=0c1403e68fc44aa0386e3ae65e27ab708a1ebc9a, stripped
./lib/libpcreposix.so.3.13.3: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, BuildID[sha1]=beb5c4b81d31ce1c03186b217ea6f449c0368f8e, stripped
./lib/libpcreposix.so.3: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, BuildID[sha1]=beb5c4b81d31ce1c03186b217ea6f449c0368f8e, stripped
./lib/libudev.so.1: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, BuildID[sha1]=76d736e39918d04590478050df42159871c2ab03, stripped
./lib/libstdc++.so.6.0.22: ELF 32-bit LSB shared object, Intel 80386, version 1 (GNU/Linux), dynamically linked, BuildID[sha1]=36359b70180ff63c0cda6c0abad980454d381493, stripped
./lib/libstdc++.so.6: ELF 32-bit LSB shared object, Intel 80386, version 1 (GNU/Linux), dynamically linked, BuildID[sha1]=36359b70180ff63c0cda6c0abad980454d381493, stripped
./lib/libgcc_s.so.1: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, BuildID[sha1]=c422a77b90579d33541d4ca57d0e8610fa59958d, stripped
./lib/libgomp.so.1: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, BuildID[sha1]=748368ef3d3c49de74043588e9cfa7cd4c3dd2b2, stripped
./lib/libselinux.so.1.old: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, BuildID[sha1]=9ffb1b951e7c7863bba83bf8b7f8de636a1cc1a8, stripped
./lib/libpcre.so.3: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, BuildID[sha1]=e5ed1b417a7f029b60830a36eab4a4dda22acbb1, stripped
./lib/libdbus-1.so.3.14.18: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, BuildID[sha1]=0c1403e68fc44aa0386e3ae65e27ab708a1ebc9a, stripped
./lib/libpcre.so.3.13.3: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, BuildID[sha1]=e5ed1b417a7f029b60830a36eab4a4dda22acbb1, stripped
./lib/libgomp.so.1.0.0: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, BuildID[sha1]=748368ef3d3c49de74043588e9cfa7cd4c3dd2b2, stripped

@morevnaproject
Copy link
Member

@ice0 Hmmm, I see... I'll check our Docker image, thank you!

@morevnaproject morevnaproject self-assigned this May 4, 2022
@morevnaproject morevnaproject added this to Planned in v1.4.3 May 4, 2022
@ice0
Copy link
Collaborator

ice0 commented May 4, 2022

@morevnaproject

Also I noticed this - GNU/SYSV difference on some libraries:

./lib/libstdc++.so.6: ELF 32-bit LSB shared object, Intel 80386, version 1 (GNU/Linux)
./lib/libgcc_s.so.1: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV)

@morevnaproject
Copy link
Member

@Gilraiser
The issue should be fixed now. Please check the updated appimage packages:

Thank you for reporting on this issue!

@Gilraiser
Copy link
Author

With pleasure friends, happy to help. I've tried the x64 version and it works fine as far as I've tested. But now, you see rectangles instead of text:
bug

These are the console messages:

Synfig Studio: iniciando aplicación...

Gtk-Message: 20:02:50.649: Failed to load module "xapp-gtk3-module"
Gtk-Message: 20:02:50.669: Failed to load module "canberra-gtk-module"
synfig(6846) [20:02:51] información: Comenzado Subsistema "Sound"
synfig(6846) [20:02:51] información: Comenzando subsistema "Types"
synfig(6846) [20:02:51] información: Comenzando el subsistema "Renderizado"
synfig(6846) [20:02:51] información: rendering threads 4
synfig(6846) [20:02:51] información: Comenzando Subsistema "Modules"
synfig(6846) [20:02:51] información: Comenzando subsistema "Layers"
synfig(6846) [20:02:51] información: Comenzando subsistema "Targets"
synfig(6846) [20:02:51] información: Comenzando subsistema "Importers"
synfig(6846) [20:02:51] información: Comenzando subsistema "Cairo Importers"
synfig(6846) [20:02:51] información: Starting Subsystem "Thread Pool"
synfig(6846) [20:02:51] información: Cargando módulos desde /tmp/.mount_RIEQib/usr/etc/synfig_modules.cfg
synfig(6846) [20:02:51] información: Cargando módulos desde /tmp/.mount_RIEQib/usr/etc/synfig_modules.cfg
synfig(6846) [20:02:51] información: Loading lyr_std..
synfig(6846) [20:02:51] información: Intentando registrar "lyr_std"
synfig(6846) [20:02:52] información: Encontrado módulo "lyr_std"
synfig(6846) [20:02:52] información: Éxito para "lyr_std"
synfig(6846) [20:02:52] información: Loading lyr_freetype..
synfig(6846) [20:02:52] información: Intentando registrar "lyr_freetype"
synfig(6846) [20:02:52] información: Encontrado módulo "lyr_freetype"
synfig(6846) [20:02:52] información: Initializing FreeType...
synfig(6846) [20:02:52] información: Éxito para "lyr_freetype"
synfig(6846) [20:02:52] información: Loading mod_geometry..
synfig(6846) [20:02:52] información: Intentando registrar "mod_geometry"
synfig(6846) [20:02:52] información: Encontrado módulo "mod_geometry"
synfig(6846) [20:02:52] información: Éxito para "mod_geometry"
synfig(6846) [20:02:52] información: Loading mod_gradient..
synfig(6846) [20:02:52] información: Intentando registrar "mod_gradient"
synfig(6846) [20:02:52] información: Encontrado módulo "mod_gradient"
synfig(6846) [20:02:52] información: Éxito para "mod_gradient"
synfig(6846) [20:02:52] información: Loading mod_particle..
synfig(6846) [20:02:52] información: Intentando registrar "mod_particle"
synfig(6846) [20:02:52] información: Encontrado módulo "mod_particle"
synfig(6846) [20:02:52] información: Éxito para "mod_particle"
synfig(6846) [20:02:52] información: Loading mod_example..
synfig(6846) [20:02:52] información: Intentando registrar "mod_example"
synfig(6846) [20:02:52] información: Encontrado módulo "mod_example"
synfig(6846) [20:02:52] información: Éxito para "mod_example"
synfig(6846) [20:02:52] información: Loading mod_gif..
synfig(6846) [20:02:52] información: Intentando registrar "mod_gif"
synfig(6846) [20:02:52] información: Encontrado módulo "mod_gif"
synfig(6846) [20:02:52] información: Éxito para "mod_gif"
synfig(6846) [20:02:52] información: Loading mod_imagemagick..
synfig(6846) [20:02:52] información: Intentando registrar "mod_imagemagick"
synfig(6846) [20:02:52] información: Encontrado módulo "mod_imagemagick"
synfig(6846) [20:02:52] información: Éxito para "mod_imagemagick"
synfig(6846) [20:02:52] información: Loading mod_magickpp..
synfig(6846) [20:02:52] información: Intentando registrar "mod_magickpp"
synfig(6846) [20:02:52] información: Encontrado módulo "mod_magickpp"
synfig(6846) [20:02:52] información: Éxito para "mod_magickpp"
synfig(6846) [20:02:52] información: Loading mod_mng..
synfig(6846) [20:02:52] información: Intentando registrar "mod_mng"
synfig(6846) [20:02:52] precaución: Imposible encontrar módulo "mod_mng" (file not found)
synfig(6846) [20:02:52] información: Loading mod_noise..
synfig(6846) [20:02:52] información: Intentando registrar "mod_noise"
synfig(6846) [20:02:52] información: Encontrado módulo "mod_noise"
synfig(6846) [20:02:52] información: Éxito para "mod_noise"
synfig(6846) [20:02:52] información: Loading mod_filter..
synfig(6846) [20:02:52] información: Intentando registrar "mod_filter"
synfig(6846) [20:02:52] información: Encontrado módulo "mod_filter"
synfig(6846) [20:02:52] información: Éxito para "mod_filter"
synfig(6846) [20:02:52] información: Loading mod_ffmpeg..
synfig(6846) [20:02:52] información: Intentando registrar "mod_ffmpeg"
synfig(6846) [20:02:52] información: Encontrado módulo "mod_ffmpeg"
synfig(6846) [20:02:52] información: Éxito para "mod_ffmpeg"
synfig(6846) [20:02:52] información: Loading mod_bmp..
synfig(6846) [20:02:52] información: Intentando registrar "mod_bmp"
synfig(6846) [20:02:52] información: Encontrado módulo "mod_bmp"
synfig(6846) [20:02:52] información: Éxito para "mod_bmp"
synfig(6846) [20:02:52] información: Loading mod_dv..
synfig(6846) [20:02:52] información: Intentando registrar "mod_dv"
synfig(6846) [20:02:52] información: Encontrado módulo "mod_dv"
synfig(6846) [20:02:52] información: Éxito para "mod_dv"
synfig(6846) [20:02:52] información: Loading mod_png..
synfig(6846) [20:02:52] información: Intentando registrar "mod_png"
synfig(6846) [20:02:52] información: Encontrado módulo "mod_png"
synfig(6846) [20:02:52] información: Éxito para "mod_png"
synfig(6846) [20:02:52] información: Loading mod_ppm..
synfig(6846) [20:02:52] información: Intentando registrar "mod_ppm"
synfig(6846) [20:02:52] información: Encontrado módulo "mod_ppm"
synfig(6846) [20:02:52] información: Éxito para "mod_ppm"
synfig(6846) [20:02:52] información: Loading mod_openexr..
synfig(6846) [20:02:52] información: Intentando registrar "mod_openexr"
synfig(6846) [20:02:52] precaución: Imposible encontrar módulo "mod_openexr" (file not found)
synfig(6846) [20:02:52] información: Loading mod_jpeg..
synfig(6846) [20:02:52] información: Intentando registrar "mod_jpeg"
synfig(6846) [20:02:52] información: Encontrado módulo "mod_jpeg"
synfig(6846) [20:02:52] información: Éxito para "mod_jpeg"
synfig(6846) [20:02:52] información: Loading mod_libavcodec..
synfig(6846) [20:02:52] información: Intentando registrar "mod_libavcodec"
synfig(6846) [20:02:52] información: Encontrado módulo "mod_libavcodec"
synfig(6846) [20:02:52] información: Éxito para "mod_libavcodec"
synfig(6846) [20:02:52] información: Loading mod_yuv420p..
synfig(6846) [20:02:52] información: Intentando registrar "mod_yuv420p"
synfig(6846) [20:02:52] información: Encontrado módulo "mod_yuv420p"
synfig(6846) [20:02:52] información: Éxito para "mod_yuv420p"
synfig(6846) [20:02:52] información: Loading mod_svg..
synfig(6846) [20:02:52] información: Intentando registrar "mod_svg"
synfig(6846) [20:02:52] información: Encontrado módulo "mod_svg"
synfig(6846) [20:02:52] información: Éxito para "mod_svg"
synfig(6846) [20:02:52] información: HECHO
synfig(6846) [20:02:52] información: Cargando Preferencias Básicas...
synfig(6846) [20:02:52] información: Cargando Plugins...
synfig(6846) [20:02:52] información: Loading plugins from /tmp/.mount_RIEQib/usr/share/synfig/plugins
synfig(6846) [20:02:52] información:    Loading plugin: add-skeleton-simple
synfig(6846) [20:02:52] información:    Loading plugin: lottie-exporter
synfig(6846) [20:02:52] información:    Loading plugin: view-unhide-all-layers
synfig(6846) [20:02:52] información: Loading plugins from /home/sword/.config/synfig/plugins
synfig(6846) [20:02:52] información:    Loading plugin: sliderPlugin
synfig(6846) [20:02:52] información:    Loading plugin: joystickPlugin
synfig(6846) [20:02:52] información:    Loading plugin: switchTemplatePlugin
synfig(6846) [20:02:52] información:    Loading plugin: pylot-exporter
synfig(6846) [20:02:52] información:    Loading plugin: Set the origin to center
synfig(6846) [20:02:52] información: Iniciar Encargado de Interfaz de Usuario ...
synfig(6846) [20:02:52] información: Iniciar Encargado de Empotrables...
synfig(6846) [20:02:52] información: Iniciar Encargado de Estado...
synfig(6846) [20:02:52] información: Iniciar Ventana Principal...
synfig(6846) [20:02:52] información: Iniciar Caja de Herramientas...
synfig(6846) [20:02:53] información: Iniciar Diálogo Acerca de...
synfig(6846) [20:02:53] información: Iniciar Opciones de Herramienta...
synfig(6846) [20:02:53] información: Iniciar Historial...
synfig(6846) [20:02:53] información: Iniciar Lienzos...
synfig(6846) [20:02:53] información: Iniciar Fotogramas Claves...
synfig(6846) [20:02:53] información: Iniciar Capas...
synfig(6846) [20:02:53] información: Iniciar Parámetros...
synfig(6846) [20:02:53] información: Iniciar Meta Datos...
synfig(6846) [20:02:53] información: Iniciar Librería...
synfig(6846) [20:02:53] información: Iniciar Información...
synfig(6846) [20:02:53] información: Iniciar Navegador...
synfig(6846) [20:02:53] información: Init SoundWave...
synfig(6846) [20:02:56] información: Iniciar Línea de Tiempo...
synfig(6846) [20:02:56] información: Iniciar Editor de Curvas...
synfig(6846) [20:02:56] información: Iniciar Conjuntos de Capas...
synfig(6846) [20:02:56] información: Iniciar Diálogo de Color...
synfig(6846) [20:02:56] información: Iniciar Diálogo de Gradiente...
synfig(6846) [20:02:56] información: Iniciar Seguimiento Dispositivos...
synfig(6846) [20:02:56] información: Iniciar Módulo Paleta...
synfig(6846) [20:02:56] información: Iniciar Diálogo de Preferencias...
synfig(6846) [20:02:56] información: Iniciar Diálogo de Entrada...
synfig(6846) [20:02:56] información: Loading Custom Workspace List...
synfig(6846) [20:02:56] información: Iniciar Auto Recuperación...
synfig(6846) [20:02:56] información: Cargando Preferencias...
synfig(6846) [20:02:57] información: Iniciar Herramientas...
synfig(6846) [20:02:57] información: Chequeando Auto Recuperación...
synfig(6846) [20:02:58] información: Hecho.

(synfigstudio:6846): Gtk-WARNING **: 20:02:58.703: Allocating size to gtkmm__GtkWindow 0x564890980510 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?

(synfigstudio:6846): Gtk-WARNING **: 20:02:58.720: Allocating size to gtkmm__GtkNotebook 0x56489380cf20 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?

(synfigstudio:6846): Gtk-WARNING **: 20:02:58.833: Allocating size to gtkmm__GtkNotebook 0x56489380cf20 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?

(synfigstudio:6846): Gtk-WARNING **: 20:03:03.781: Allocating size to gtkmm__GtkNotebook 0x56489380cf20 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?

(synfigstudio:6846): Gtk-WARNING **: 20:03:09.894: Allocating size to gtkmm__GtkNotebook 0x56489380cf20 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?

(synfigstudio:6846): Gtk-WARNING **: 20:03:26.927: Allocating size to gtkmm__GtkNotebook 0x56489380cf20 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?

(synfigstudio:6846): Gtk-WARNING **: 20:05:51.082: Allocating size to gtkmm__GtkNotebook 0x56489380cf20 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?

(synfigstudio:6846): Gtk-WARNING **: 20:05:52.422: Allocating size to gtkmm__GtkNotebook 0x56489380cf20 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?

(synfigstudio:6846): Gtk-WARNING **: 20:05:52.471: Allocating size to gtkmm__GtkNotebook 0x56489380cf20 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?

(synfigstudio:6846): Gtk-WARNING **: 20:05:52.506: Allocating size to gtkmm__GtkNotebook 0x56489380cf20 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?

(synfigstudio:6846): Gtk-WARNING **: 20:05:52.544: Allocating size to gtkmm__GtkNotebook 0x56489380cf20 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?

(synfigstudio:6846): Gtk-WARNING **: 20:05:52.616: Allocating size to gtkmm__GtkNotebook 0x56489380cf20 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?

(synfigstudio:6846): Gtk-WARNING **: 20:05:52.691: Allocating size to gtkmm__GtkNotebook 0x56489380cf20 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?



@ice0
Copy link
Collaborator

ice0 commented May 5, 2022

@Gilraiser
Can you try to clean FontConfig cache? You need to remove folder:

$HOME/.cache/fontconfig

@Gilraiser
Copy link
Author

Ok, now everything looks good. Many thanks friends.

@morevnaproject
Copy link
Member

Hmm, should I add automatic cleanup for fontconfig folder when new Synfig version started for first time?

@ice0
Copy link
Collaborator

ice0 commented May 10, 2022

Hmm, should I add automatic cleanup for fontconfig folder when new Synfig version started for first time?

I'm not sure, but maybe you need to do this when the FontConfig version has changed (not the Synfig version).

@morevnaproject
Copy link
Member

@ice0 Yes, I have added a mark-file. The absence of the file will trigger cache clearing.
Please check the change here and let me know what you think - morevnaproject/morevna-builds#77

Here is a test build - SynfigStudio-1.5.1-testing-2022.05.17-linux64-865f1.appimage

ice0 pushed a commit to morevnaproject/morevna-builds that referenced this issue May 18, 2022
@morevnaproject morevnaproject moved this from Planned to Backported in v1.4.3 Oct 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
v1.4.3
Backported
Development

Successfully merging a pull request may close this issue.

3 participants