tkashkin / GameHub

All your games in one place
https://tkashkin.github.io/projects/gamehub
GNU General Public License v3.0
2.23k stars 129 forks source link

Cannot execute downloaded installations with mojosetup or zipped games #567

Open shakeyourbunny opened 3 years ago

shakeyourbunny commented 3 years ago
Expected behavior

Games from Humble Bundle are being installed.

Actual behavior

Game (Analogue: A Hate Story; EDGE) getting downloaded, but not installed.

Steps to reproduce
Version and environment
- GameHub
    Version: 0.16.0-ee370d2-dev
    Branch:  dev
    Commit:  ee370d2fcf48c4179a4316a4dfc7e6e545c7f0a2
- Environment
    Distro:  [AppImage] openSUSE Tumbleweed
    DE:      KDE
    GTK:     3.24.30
    Themes:  Adwaita | Beauty-yellow-dark

Note that the following errors occur: EDGE

mkdir: /tmp/.mount_GameHuBaQT7o/usr/lib/libselinux.so.1: no version information available (required by mkdir)
Verifying archive integrity... All good.
Uncompressing Mojo Setup...............id: /tmp/.mount_GameHuBaQT7o/usr/lib/libselinux.so.1: no version information available (required by id)
id: /tmp/.mount_GameHuBaQT7o/usr/lib/libselinux.so.1: no version information available (required by id)

/bin/sh: mc: line 1: syntax error: unexpected end of file
/bin/sh: error importing function definition for `mc'
Collecting info for this system...
Operating system: linux
CPU Arch: x86_64
trying mojosetup in bin/linux/x86_64

(process:21270): Gtk-WARNING **: 09:09:54.117: Locale not supported by C library.
        Using the fallback 'C' locale.
Error: Couldn't run mojosetup

You should integrate a basic 32 Bit Runtime environment if it is 64 Bit.

Analogue: A Hate Story

[WARN]   [RunTask.run_async] Failed to execute child process “file-roller” (No such file or directory)
[FATAL]  game_hub_data_providers_data_igdb_parse: assertion 'json != NULL' failed
[FATAL]  game_hub_data_providers_data_igdb_parse: assertion 'json != NULL' failed
[FATAL]  game_hub_data_providers_data_igdb_parse: assertion 'json != NULL' failed

(com.github.tkashkin.gamehub:20799): Gtk-WARNING **: 09:13:04.463: gtk_window_set_titlebar() called on a realized window
[WARN]   [RunTask.run_async] Failed to execute child process “file-roller” (No such file or directory)

... and you should not expect a specific archiver program being and / or expect that GNOME is installed.

AppImages should be self-contained and they SHOULD NOT MAKE ANY ASSUMPTIONS ON THE HOST ENVIRONMENT. o

johnblommers commented 2 years ago

Fast forward to release GameHub-jammy-0.16.3-2-master and GNOME 42 with PopOS still cannot launch GameHub as this still happens:

[AppRun ] GameHub AppImage
[AppRun ] AppDir: /tmp/.mount_GameHu8TUMMJ
[CheckRT] Checking library versions
[CheckRT] libstdc++.so.6: sys: GLIBCXX_3.4.30; app: GLIBCXX_3.4.29
[CheckRT] libgcc_s.so.1: sys: GCC_7.0.0; app: GCC_7.0.0
[CheckRT] LD_LIBRARY_PATH: :/tmp/.mount_GameHu8TUMMJ/usr/lib/x86_64-linux-gnu/webkit2gtk-4.0:/tmp/.mount_GameHu8TUMMJ/usr/lib:
[CheckRT] LD_PRELOAD: /tmp/.mount_GameHu8TUMMJ/usr/optlib/exec.so:
[AppRun ] Starting GameHub
/tmp/.mount_GameHu8TUMMJ/usr/bin/com.github.tkashkin.gamehub: /tmp/.mount_GameHu8TUMMJ/usr/lib/libselinux.so.1: no version information available (required by /lib/x86_64-linux-gnu/libgio-2.0.so.0)
/tmp/.mount_GameHu8TUMMJ/usr/bin/com.github.tkashkin.gamehub: symbol lookup error: /lib/x86_64-linux-gnu/libgio-2.0.so.0: undefined symbol: g_module_open_full