Bug#951281: FTBFS: /usr/bin/ld: cannot find -lpthreads

Juhani Numminen juhaninumminen0 at gmail.com
Sat Feb 15 08:49:59 GMT 2020


Control: retitle -1 widelands FTBFS: SDL2 include dir not found

On Thu, 13 Feb 2020 19:02:17 +0100 Hans Joachim Desserud <debian at desserud.org> wrote:
> Source: widelands
> Version: 1:20-1
> Severity: serious
> Justification: ftbfs
> Tags: ftbfs
> 
> Dear Maintainer,
> 
> Widelands currently fails to build in Sid with the following error 
> message:
> ...

I think the error is actually this (abridged):

-- SDL2_INCLUDE_DIR is SDL2_INCLUDE_DIR-NOTFOUND
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
/build/widelands-20/src/SDL2_INCLUDE_DIR
   used as include directory in directory /build/widelands-20/src
-- Configuring incomplete, errors occurred!

The trigger to breaking cmake/Modules/FindSDL2.cmake in widelands is
libsdl2 2.0.10+dfsg1-2, it seems. The attached patch fixes this FTBFS.

Markus, you have made team uploads of widelands before. I wonder if you
could make an upload that adds the patch?

--
yst. terv. / mvh / mfG
Juhani


More information about the Pkg-games-devel mailing list