Bug#951962: fife: FTBFS: Could NOT find SDL2 (missing: SDL2_INCLUDE_DIR)

Simon McVittie smcv at debian.org
Tue Mar 3 09:01:49 GMT 2020


On Sun, 23 Feb 2020 at 08:26:20 +0100, Lucas Nussbaum wrote:
> During a rebuild of all packages in sid, your package failed to build
> on amd64.

CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
  Could NOT find SDL2 (missing: SDL2_INCLUDE_DIR)
Call Stack (most recent call first):
  /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE)
  cmake/FindSDL2.cmake:167 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:751 (find_package)

I think this is a bug in SDL (#951087, proposed patch:
<https://salsa.debian.org/sdl-team/libsdl2/merge_requests/3>).

fife might be able to work around it by relying on SDL >= 2.0.4
providing its own CMake integration (which presumably wasn't available when
fife's build system was written), similar to
<https://github.com/JACoders/OpenJK/pull/1033>.

    smcv



More information about the Pkg-games-devel mailing list