Bug#812695: pygame-sdl2: FTBFS: format not a string literal and no format arguments

Aaron M. Ucko ucko at debian.org
Tue Jan 26 04:38:28 UTC 2016


Markus Koschany <apo at debian.org> writes:

> Thanks for the report. I believe this is some sort of regression in SDL2
> 2.0.4. Four days ago pygame-sdl2 built fine with SDL2 2.0.2.
> pygame_sdl2.error.c is auto-generated at build-time and the error
> message,(__pyx_t_3) is controlled by SDL_GetError(), so there is not
> much I can do here. I will disable this specific -format hardening check
> for now and re-enable it as soon as this issue is resolved in
> src:libsdl2 and related packages.

Ah, yes, I see that SDL_SetError hadn't previously been annotated as
printf-like.  It would be best if whatever generated pygame_sdl2.error.c
(cython?) respected this annotation itself.

At any rate, thanks for the quick response and workaround!

-- 
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?amu@monk.mit.edu



More information about the Pkg-games-devel mailing list