Bug#951087: openjk: FTBFS against libsdl2 2.0.10+dfsg1-2: fatal error: SDL.h: No such file or directory
Andreas Beckmann
anbe at debian.org
Tue Feb 11 00:45:15 GMT 2020
Source: openjk
Version: 0~20191030.4881be7~dfsg-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
Hi,
openjk FTBFS against libsdl2 2.0.10+dfsg1-2 which has moved the headers
to an arch-dependent location:
[ 53%] Building CXX object code/CMakeFiles/openjo_sp.x86_64.dir/client/cl_cgame.cpp.o
cd "/build/openjk-0~20191030.4881be7~dfsg/obj/code" && /usr/bin/c++ -DARCH_STRING=\"x86_64\" -DFINAL_BUILD -DJK2_MODE -DSOURCE_DATE="\"Nov 2 2019\"" -D_JK2EXE -I"/build/openjk-0~20191030.4881be7~dfsg/shared" -I"
/build/openjk-0~20191030.4881be7~dfsg/code" -I"/build/openjk-0~20191030.4881be7~dfsg/lib/gsl-lite/include" -I"/build/openjk-0~20191030.4881be7~dfsg/lib/minizip/include" -g -O2 -fdebug-prefix-map=/build/openjk-0~2
0191030.4881be7~dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-unused-parameter -Wno-missing-field-initializers -fno-strict-aliasing -Wno-strict-aliasing -Wno-unused-but-set-variable
-Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -msse2 -std=c++11 -Wall -Wno-invalid-offsetof -Wno-write-strings -Wno-comment -fsigned-char -mstackrealign -mfpmath=sse -fvisibility=hidden -o CMakeFiles/openjo_sp.x86_6
4.dir/client/cl_cgame.cpp.o -c "/build/openjk-0~20191030.4881be7~dfsg/code/client/cl_cgame.cpp"
In file included from /build/openjk-0~20191030.4881be7~dfsg/code/client/cl_cgame.cpp:34:
/build/openjk-0~20191030.4881be7~dfsg/shared/sys/sys_loadlib.h:39:11: fatal error: SDL.h: No such file or directory
39 | # include <SDL.h>
| ^~~~~~~
compilation terminated.
Andreas
More information about the Pkg-games-devel
mailing list