Bug#812621: libsdl2-ttf: FTBFS - format not a string literal and no format arguments

Markus Koschany apo at debian.org
Tue Jan 26 00:58:58 UTC 2016


On Mon, 25 Jan 2016 16:34:31 +0000 Michael Tautschnig <mt at debian.org> wrote:
> Package: libsdl2-ttf
> Version: 2.0.12+dfsg1-2
> Severity: serious
> Usertags: goto-cc
> 
> During a rebuild of all Debian packages in a clean sid chroot (using cowbuilder
> and pbuilder) the build failed with the following error.
> 
> [...]
> make[1]: Entering directory '/srv/jenkins-slave/workspace/sid-goto-cc-libsdl2-ttf/libsdl2-ttf-2.0.12+dfsg1'
> /bin/bash ./libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DPACKAGE=\"SDL2_ttf\" -DVERSION=\"2.0.12\" -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -I.   -Wdate-time  -g -O0 -fstack-protector-strong -Wformat -Werror=format-security -pipe -Wall -I/usr/include/freetype2 -D_REENTRANT -I/usr/include/SDL2  -DHAVE_OPENGL -c -o SDL_ttf.lo SDL_ttf.c
> libtool: compile:  gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DPACKAGE=\"SDL2_ttf\" -DVERSION=\"2.0.12\" -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -I. -Wdate-time -g -O0 -fstack-protector-strong -Wformat -Werror=format-security -pipe -Wall -I/usr/include/freetype2 -D_REENTRANT -I/usr/include/SDL2 -DHAVE_OPENGL -c SDL_ttf.c  -fPIC -DPIC -o .libs/SDL_ttf.o
> SDL_ttf.c: In function 'TTF_SetFTError':
> SDL_ttf.c:331:5: error: format not a string literal and no format arguments [-Werror=format-security]
>      TTF_SetError(msg);

[...]

FYI, pygame-sdl2 is also affected and I believe it is related to the
last upload of SDL2 2.0.4.

https://bugs.debian.org/812695

It definitely worked four days ago when I built pygame-sdl2.

Markus

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-sdl-maintainers/attachments/20160126/9f381f08/attachment.sig>


More information about the Pkg-sdl-maintainers mailing list