Bug#1066005: epic4: FTBFS on arm{el,hf}: gailib.c:95:17: error: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Werror=implicit-function-declaration]
Control: tags -1 fixed-upstream On 2024-03-10 Sebastian Ramacher wrote: > Source: epic4 > Version: 1:2.10.10-1 > 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=epic4=armhf=1%3A2.10.10-1%2Bb5=1709806588=0 > gcc -g -O2 -Werror=implicit-function-declaration > -ffile-prefix-map=/<>=. -fstack-protector-strong > -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 > -I./../include -I../include -c gailib.c > gailib.c: In function ‘get_name’: > gailib.c:95:17: error: implicit declaration of function ‘strlcpy’; did you > mean ‘strncpy’? [-Werror=implicit-function-declaration] >95 | strlcpy((ai)->ai_canonname, (str), strlen(str) + 1);\ > | ^~~ This is fixed in 2.10.11. cu Andreas
Bug#1066005: epic4: FTBFS on arm{el,hf}: gailib.c:95:17: error: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Werror=implicit-function-declaration]
Source: epic4 Version: 1:2.10.10-1 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=epic4=armhf=1%3A2.10.10-1%2Bb5=1709806588=0 gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I./../include -I../include -c gailib.c gailib.c: In function ‘get_name’: gailib.c:95:17: error: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Werror=implicit-function-declaration] 95 | strlcpy((ai)->ai_canonname, (str), strlen(str) + 1);\ | ^~~ gailib.c:426:17: note: in expansion of macro ‘GET_CANONNAME’ 426 | GET_CANONNAME(cur, hp->h_name); | ^ cc1: some warnings being treated as errors make[2]: *** [Makefile:31: gailib.o] Error 1 Cheers -- Sebastian Ramacher