Control: tags -1 confirmed pending Am 25.01.2016 um 23:51 schrieb Aaron M. Ucko: > Source: pygame-sdl2 > Version: 6.99.8-1 > Severity: serious > Justification: fails to build from source > > Builds of pygame-sdl2 with modern hardening flags have been failing: > > gen/pygame_sdl2.error.c: In function > ‘__pyx_pf_11pygame_sdl2_5error_2set_error’: > gen/pygame_sdl2.error.c:1072:3: error: format not a string literal and no > format arguments [-Werror=format-security] > SDL_SetError(__pyx_t_3); > ^ > cc1: some warnings being treated as errors > error: command 'aarch64-linux-gnu-gcc' failed with exit status 1 > > Could you please take a look? I presume you'll want to arrange for this > call to wind up as > > SDL_SetError("%s", __pyx_t_3); > > Thanks!
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. Regards, Markus
signature.asc
Description: OpenPGP digital signature