Your message dated Mon, 27 Apr 2020 10:11:22 +0100
with message-id <[email protected]>
and subject line Bug#950627: Regression: Unable to config with CMake
has caused the Debian Bug report #950627,
regarding Regression: Unable to config with CMake
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
950627: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950627
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libsdl2-dev
Version: 2.0.10+dfsg1-2
Severity: important
Dear Maintainer,
From this version, building any softwares with CMake,
not configurable.
This is *REGRESSION* of fix of BUG #946496.
Please revert this fix, or apply fixes to CMake package, FindSDL.cmake.
Regards,
Ohta.
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'stable'), (1,
'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.5.0-homebrew-amd64 (SMP w/12 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
set to ja_JP.UTF-8), LANGUAGE=ja_JP.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set
to ja_JP.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages libsdl2-dev depends on:
ii libasound2-dev 1.2.1.2-2
ii libdbus-1-dev 1.12.16-2
ii libegl1-mesa-dev 19.3.3-1
ii libgl1-mesa-dev 19.3.3-1
ii libgles2-mesa-dev 19.3.3-1
ii libglu1-mesa-dev 9.0.1-1
ii libibus-1.0-dev 1.5.21-5
ii libpulse-dev 13.0-4
ii libsdl2-2.0-0 2.0.10+dfsg1-2
ii libsndio-dev 1.5.0-3
iu libudev-dev 244.1-3
ii libwayland-dev 1.17.0-1+b1
ii libx11-dev 2:1.6.8-1
ii libxcursor-dev 1:1.2.0-2
ii libxext-dev 2:1.3.3-1+b2
ii libxi-dev 2:1.7.9-1
ii libxinerama-dev 2:1.1.4-2
ii libxkbcommon-dev 0.9.1-1
ii libxrandr-dev 2:1.5.1-1
ii libxss-dev 1:1.2.3-1
ii libxt-dev 1:1.1.5-1+b3
ii libxv-dev 2:1.0.11-1
ii libxxf86vm-dev 1:1.1.4-1+b2
ii pkg-config 0.29-6
libsdl2-dev recommends no packages.
libsdl2-dev suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Version: 2.0.10+dfsg1-3
On Tue, 04 Feb 2020 at 19:41:11 +0900, Kyuma Ohta wrote:
> From this version, building any softwares with CMake,
> not configurable.
> This is *REGRESSION* of fix of BUG #946496.
This appears to be the same bug as #909740, #951087, etc. and should be
fixed in version 2.0.10+dfsg1-3, which is now available in bullseye and sid.
However, bundling a FindSDL2.cmake "find-module package" with each game
is no longer recommended:
On Tue, 11 Feb 2020 at 01:04:32 +0000, Brian Clinkenbeard wrote:
> Since SDL2 now comes bundled with sdl2-config.cmake, it seems that using
> an external FindSDL2.cmake is no longer necessary in SDL2 projects using
> CMake. [...] this seems to be an issue
> with projects using a legacy way including SDL2 with CMake and not with
> the package.
Yes. The recommended way to find SDL2 from a CMake project is to rely on
SDL >= 2.0.4 being a "config-file package", like this commit in OpenJK:
https://github.com/JACoders/OpenJK/commit/52030235f052772008d99e6ccb16de48e7ddb688
That change works around the regression in the libsdl2_2.0.10+dfsg1-2
Debian package, but is also a better way to find SDL2 in general.
> Please [...] apply fixes to CMake package, FindSDL.cmake.
That solution was not possible, because FindSDL2.cmake is bundled with
each game that uses it, rather than being provided by some central
location like SDL or CMake - so bugs in it cannot be fixed, except by
changing every game.
sdl2-config.cmake is the better answer to this because it *is* provided
by SDL.
smcv
--- End Message ---