Source: sane-frontends Version: 1.0.14-17 Severity: serious Justification: FTBFS Tags: trixie sid ftbfs User: lu...@debian.org Usertags: ftbfs-20240313 ftbfs-trixie ftbfs-impfuncdef
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. This is most likely caused by a change in dpkg 1.22.6, that enabled -Werror=implicit-function-declaration. For more information, see https://wiki.debian.org/qa.debian.org/FTBFS#A2024-03-13_-Werror.3Dimplicit-function-declaration Relevant part (hopefully): > gcc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include -Wdate-time > -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE > -DPATH_SANE_DATA_DIR=/usr/share/sane -DV_MAJOR=1 -DV_MINOR=0 -DV_BUILD=14 > -DSANE_V_MAJOR=1 -g -O2 -Werror=implicit-function-declaration > -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong > -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection > -Wall sanei_load_values.c > sanei_wire.c: In function ‘sanei_w_array’: > sanei_wire.c:213:23: warning: format ‘%u’ expects argument of type ‘unsigned > int’, but argument 4 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=] > 213 | DBG (0, "sanei_w_array: DECODE: maximum amount of > allocated memory " > | > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 214 | "exceeded (limit: %u, new allocation: %u, total: > %u bytes)\n", > 215 | MAX_MEM, len * element_size, MAX_MEM + len * > element_size); > | ~~~~~~~~~~~~~~~~~~ > | | > | size_t {aka long unsigned int} > sanei_wire.c:214:59: note: format string is defined here > 214 | "exceeded (limit: %u, new allocation: %u, total: > %u bytes)\n", > | ~^ > | | > | unsigned int > | %lu > sanei_wire.c:213:23: warning: format ‘%u’ expects argument of type ‘unsigned > int’, but argument 5 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=] > 213 | DBG (0, "sanei_w_array: DECODE: maximum amount of > allocated memory " > | > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > sanei_wire.c:214:70: note: format string is defined here > 214 | "exceeded (limit: %u, new allocation: %u, total: > %u bytes)\n", > | ~^ > | | > | > unsigned int > | > %lu > sanei_wire.c: In function ‘sanei_w_ptr’: > sanei_wire.c:291:23: warning: format ‘%u’ expects argument of type ‘unsigned > int’, but argument 4 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=] > 291 | DBG (0, "sanei_w_ptr: DECODE: maximum amount of > allocated memory " > | > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 292 | "exceeded (limit: %u, new allocation: %u, total: > %u bytes)\n", > 293 | MAX_MEM, value_size, (w->allocated_memory + > value_size)); > | ~~~~~~~~~~ > | | > | size_t {aka long unsigned int} > sanei_wire.c:292:59: note: format string is defined here > 292 | "exceeded (limit: %u, new allocation: %u, total: > %u bytes)\n", > | ~^ > | | > | unsigned int > | %lu > sanei_wire.c:291:23: warning: format ‘%u’ expects argument of type ‘unsigned > int’, but argument 5 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=] > 291 | DBG (0, "sanei_w_ptr: DECODE: maximum amount of > allocated memory " > | > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 292 | "exceeded (limit: %u, new allocation: %u, total: > %u bytes)\n", > 293 | MAX_MEM, value_size, (w->allocated_memory + > value_size)); > | > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | | > | size_t > {aka long unsigned int} > sanei_wire.c:292:70: note: format string is defined here > 292 | "exceeded (limit: %u, new allocation: %u, total: > %u bytes)\n", > | ~^ > | | > | > unsigned int > | > %lu > sanei_init_debug.c: In function ‘sanei_debug_msg’: > sanei_init_debug.c:103:17: error: implicit declaration of function > ‘isfdtype’; did you mean ‘isctype’? [-Werror=implicit-function-declaration] > 103 | if ( 1 == isfdtype(fileno(stderr), S_IFSOCK) ) > | ^~~~~~~~ > | isctype > cc1: some warnings being treated as errors > make[2]: *** [Makefile:68: sanei_init_debug.o] Error 1 The full build log is available from: http://qa-logs.debian.net/2024/03/13/sane-frontends_1.0.14-17_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240313;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240313&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! If you reassign this bug to another package, please mark it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.