Bug#947061: libsdl2-gfx-dev missing SDL2_gfxPrimitives_font.h

David Griffith dave at 661.org
Fri Dec 20 07:10:36 GMT 2019


Package: libsdl2-gfx-dev
Version: 1.0.4+dfsg-3
Severity: important

I tried to compile a program that requires SDL2_gfxPrimitives_font.h
from libsdl2-gfx-dev.  Specifically I tried to compile
https://github.com/lkundrak/koules from the SDL2 branch.

Doing "make -f Makefile.sdl" resulted in this:
...
gcc -g3 -Wall -Wno-error=array-bounds -Wno-error=unused-but-set-variable -Wno-error=unused-function -Isdl -DHAVEUSLEEP  -D_REENTRANT -I/usr/include/SDL2   -DSOUNDDIR="\"/usr/local/lib/koules\"" -D SOUND -D MOUSE -D NETSUPPORT -DSOUNDSERVER=\"/usr/local/libexec/koules/koules.sndsrv.linux\" -DSOUNDDIR=\"/usr/local/lib/koules\" -DSOUNDDEV=\"/dev/dsp\" -DNODIRECT -DSDLSUPPORT -fomit-frame-pointer -O3 -ffast-math -Dlinux -Wall -Wall -c -o sdl/init.o sdl/init.c
sdl/init.c:24:10: fatal error: SDL2_gfxPrimitives_font.h: No such file or directory
 #include <SDL2_gfxPrimitives_font.h>
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile.sdl:54: sdl/init.o] Error 1

I then did "apt-get source libsdl2-gfx-dev" to see what was going on
there.  The missing header file is there in libsdl2-gfx-1.0.4+dfsg/.
Moving along, I did "less
/var/cache/apt/archives/libsdl2-gfx-dev_1.0.4+dfsg-3_amd64.deb.
Surprisingly, the header file is missing.

-- System Information:
Debian Release: 10.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-6-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libsdl2-gfx-dev depends on:
ii  libsdl2-dev        2.0.9+dfsg1-1
ii  libsdl2-gfx-1.0-0  1.0.4+dfsg-3

libsdl2-gfx-dev recommends no packages.

Versions of packages libsdl2-gfx-dev suggests:
pn  libsdl2-gfx-doc  <none>

-- no debconf information



More information about the Pkg-sdl-maintainers mailing list