Bug#986986: libretro-mgba: doesn't work in retro-runner: undefined symbol: glUniform2i

Ryan Tandy ryan at nardis.ca
Thu Apr 15 04:10:33 BST 2021


Package: libretro-mgba
Version: 0.8.4+dfsg-1
Severity: important
Control: affects -1 gnome-games-app

In bullseye, invoking libretro-gba from GNOME Games doesn't work. Other cores such as nestopia and bsnes are working fine.

I debugged into retro-runner and got this:

(gdb) n
100	in ../../../gmodule/gmodule-dl.c
(gdb) p handle
$2 = (gpointer) 0x0
(gdb) p dlerror()
$3 = 0x7fffe8015030 "/usr/lib/x86_64-linux-gnu/libretro/mgba_libretro.so: undefined symbol: glUniform2i"

I guess libretro-mgba needs to link -lGL.

It does work in retroarch, but I'm guessing that's probably by coincidence, as retroarch already links -lGL itself.

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-5-amd64 (SMP w/4 CPU threads)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libretro-mgba depends on:
ii  gnome-games-app [libretro-frontend]  3.38.0-1
ii  libc6                                2.31-11
ii  libinih1                             53-1+b2
ii  retroarch                            1.7.3+dfsg1-1.1+b2
ii  zlib1g                               1:1.2.11.dfsg-2

libretro-mgba recommends no packages.

libretro-mgba suggests no packages.

-- no debconf information



More information about the Pkg-games-devel mailing list