Bug#909778: libsdl2-dev: SDL_config.h no longer in cflags provided by pkg-config/sdl2-config
Adrian Bunk
bunk at debian.org
Fri Sep 28 06:30:27 BST 2018
Package: libsdl2-dev
Version: 2.0.8+dfsg1-3
Severity: serious
Control: affects -1 src:fifechan src:gigalomania src:jumpnbump
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/i386/fifechan.html
...
In file included from /usr/include/SDL2/SDL_main.h:25,
from /usr/include/SDL2/SDL.h:32,
from /build/1st/fifechan-0.1.4+git20180904/include/fifechan/sdl/sdlgraphics.hpp:68,
from /build/1st/fifechan-0.1.4+git20180904/include/fifechan/sdl.hpp:68,
from /build/1st/fifechan-0.1.4+git20180904/src/sdl/sdl.cpp:69:
/usr/include/SDL2/SDL_stdinc.h:31:10: fatal error: SDL_config.h: No such file or directory
#include "SDL_config.h"
^~~~~~~~~~~~~~
compilation terminated.
Root cause:
$ pkg-config --cflags sdl2
-D_REENTRANT -I/usr/include/SDL2
$ sdl2-config --cflags
-I/usr/include/SDL2 -D_REENTRANT
$ dpkg -S SDL_config.h
libsdl2-dev:amd64: /usr/include/x86_64-linux-gnu/SDL2/SDL_config.h
$
More information about the Pkg-sdl-maintainers
mailing list