Source: libgdchart-gd2 Version: 0.11.5-10 Severity: serious Tags: ftbfs Justification: fails to build from source (but built successfully in the past) X-Debbugs-Cc: sramac...@debian.org
https://buildd.debian.org/status/fetch.php?pkg=libgdchart-gd2&arch=armhf&ver=0.11.5-10%2Bb1&stamp=1709991773&raw=0 arm-linux-gnueabihf-gcc -I. -I.. -I/usr/include/freetype2 -I/usr/include/freetype2/freetype -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_REENTRANT -pipe -DHAVE_LIBPNG -DHAVE_LIBFREETYPE -DHAVE_LIBJPEG -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o gdc.o ../gdc.c ../gdc.c: In function ‘out_err’: ../gdc.c:284:74: error: implicit declaration of function ‘strlen’ [-Werror=implicit-function-declaration] 284 | IMGWIDTH/2 - GDC_fontc[GDC_MEDBOLD].w*strlen(err_str)/2, | ^~~~~~ ../gdc.c:8:1: note: include ‘<string.h>’ or provide a declaration of ‘strlen’ 7 | #include "gdc.h" +++ |+#include <string.h> 8 | ../gdc.c:284:74: warning: incompatible implicit declaration of built-in function ‘strlen’ [-Wbuiltin-declaration-mismatch] 284 | IMGWIDTH/2 - GDC_fontc[GDC_MEDBOLD].w*strlen(err_str)/2, | ^~~~~~ ../gdc.c:284:74: note: include ‘<string.h>’ or provide a declaration of ‘strlen’ cc1: some warnings being treated as errors make[1]: *** [<builtin>: gdc.o] Error 1 Cheers -- Sebastian Ramacher