AppImageCrafters / appimage-builder

GNU/Linux packaging solution using the AppImage format
MIT License
308 stars 58 forks source link

Appimage creation fails for Retroarch - Arch Linux #339

Open Ketrel opened 8 months ago

Ketrel commented 8 months ago

I built Retroarch like so

./configure \
    --prefix=/usr \
    --disable-cdrom \
    --enable-ffmpeg \
    --enable-ssa \
    --enable-qt \
    --enable-lua \
    --enable-vulkan \
    --enable-hid 

make -j10  

make install DESTDIR=AppDir  

I then generated the recipe with

appimage-builder --generate

then tried to build with

appimage-builder

This is the output from where it starts erroring and then fails

INFO:root:Running test: fedora-30
INFO:root:-----------------------------
INFO:TEST CASE 'fedora-30':before command
$ useradd -mu 1000 master

$ mkdir -p /home/master/.config

INFO:TEST CASE 'fedora-30':command
$ ./AppRun
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
libGL error: MESA-LOADER: failed to retrieve device information
libGL error: MESA-LOADER: failed to open amdgpu (search paths /usr/lib64/dri)
libGL error: failed to load driver: amdgpu
libGL error: failed to open drm device: No such file or directory
libGL error: failed to load driver: radeonsi
sh: symbol lookup error: /app/runtime/compat/usr/lib/libc.so.6: undefined symbol: _dl_audit_symbind_alt, version GLIBC_PRIVATE
ALSA lib conf.c:4579:(snd_config_update_r) Cannot access file /usr/share/alsa/alsa.conf
ALSA lib conf.c:4579:(snd_config_update_r) Cannot access file /usr/share/alsa/alsa.conf
ALSA lib seq.c:935:(snd_seq_open_noupdate) Unknown SEQ default

INFO:root:
INFO:root:Running test: debian-stable
INFO:root:-----------------------------
INFO:TEST CASE 'debian-stable':before command
$ useradd -mu 1000 master

$ mkdir -p /home/master/.config

INFO:TEST CASE 'debian-stable':command
$ ./AppRun
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
libGL error: MESA-LOADER: failed to retrieve device information
libGL error: unable to load driver: amdgpu_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: amdgpu
libGL error: failed to open drm device: No such file or directory
libGL error: failed to load driver: radeonsi
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  152 (GLX)
  Minor opcode of failed request:  24 (X_GLXCreateNewContext)
  Value in failed request:  0x0
  Serial number of failed request:  51
  Current serial number in output stream:  52

$ ./AppRun FAILED, exit code: 1
ERROR:root:test failed
ERROR:root:

I'm not quite sure what I'm doing wrong here.