Bug#812621: libsdl2-ttf: FTBFS - format not a string literal and no format arguments
On Mon, 25 Jan 2016 16:34:31 + Michael Tautschnig 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 signature.asc Description: OpenPGP digital signature
Bug#812621: libsdl2-ttf: FTBFS - format not a string literal and no format arguments
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); ^ SDL_ttf.c: In function 'TTF_OpenFontIndex': SDL_ttf.c:552:9: error: format not a string literal and no format arguments [-Werror=format-security] TTF_SetError(SDL_GetError()); ^ SDL_ttf.c: In function 'UTF8_getch': SDL_ttf.c:1002:14: warning: variable 'overlong' set but not used [-Wunused-but-set-variable] SDL_bool overlong = SDL_FALSE; ^ SDL_ttf.c: In function 'TTF_RenderUTF8_Blended_Wrapped': SDL_ttf.c:1919:13: warning: unused variable 'line' [-Wunused-variable] int line = 0; ^ cc1: some warnings being treated as errors Makefile:557: recipe for target 'SDL_ttf.lo' failed The full build log is attached; please do let me know if the problem is unreproducible, in which case I shall try to investigate further. Best, Michael libsdl2-ttf-build-log.txt.gz Description: application/gunzip signature.asc Description: PGP signature