Source: bsdgames Version: 2.17-30 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): > x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes > -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 > -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -fstack-clash-protection -Wformat > -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 > -Iinclude -Imille -c mille/extern.c -o mille/extern.o > hunt/hunt/otto.c: In function ‘otto’: > hunt/hunt/otto.c:179:9: warning: ‘sigblock’ is deprecated > [-Wdeprecated-declarations] > 179 | old_mask = sigblock(sigmask(SIGALRM)); > | ^~~~~~~~ > In file included from include/signal.h:40, > from hunt/hunt/otto.c:54: > /usr/include/signal.h:173:12: note: declared here > 173 | extern int sigblock (int __mask) __THROW __attribute_deprecated__; > | ^~~~~~~~ > hunt/hunt/otto.c:179:20: warning: sigmask is deprecated > 179 | old_mask = sigblock(sigmask(SIGALRM)); > | ^~~~~~~~~~~~~~~~~~~~~~~ > hunt/hunt/hunt.c: In function ‘main’: > hunt/hunt/hunt.c:141:9: warning: ignoring return value of ‘setregid’ declared > with attribute ‘warn_unused_result’ [-Wunused-result] > 141 | setregid(getgid(), getgid()); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ > hunt/hunt/otto.c:181:9: error: implicit declaration of function ‘sigpause’; > did you mean ‘pause’? [-Werror=implicit-function-declaration] > 181 | sigpause(old_mask); > | ^~~~~~~~ > | pause > hunt/hunt/otto.c:182:9: warning: ‘sigsetmask’ is deprecated > [-Wdeprecated-declarations] > 182 | sigsetmask(old_mask); > | ^~~~~~~~~~ > /usr/include/signal.h:176:12: note: declared here > 176 | extern int sigsetmask (int __mask) __THROW __attribute_deprecated__; > | ^~~~~~~~~~ > hunt/hunt/hunt.c: In function ‘dump_scores’: > hunt/hunt/hunt.c:678:17: warning: ignoring return value of ‘write’ declared > with attribute ‘warn_unused_result’ [-Wunused-result] > 678 | write(fileno(stdout), buf, cnt); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > hunt/hunt/hunt.c: In function ‘intr’: > hunt/hunt/hunt.c:852:40: warning: ignoring return value of ‘write’ declared > with attribute ‘warn_unused_result’ [-Wunused-result] > 852 | (void) write(Socket, "q", 1); > | ^~~~~~~~~~~~~~~~~~~~~ > hunt/hunt/otto.c:225:16: warning: ignoring return value of ‘write’ declared > with attribute ‘warn_unused_result’ [-Wunused-result] > 225 | (void) write(Socket, command, comlen); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > mille/comp.c: In function ‘calcmove’: > mille/comp.c:98:33: warning: increment of a boolean expression > [-Wbool-operation] > 98 | ++cango; > | ^~ > mille/comp.c:199:45: warning: decrement of a boolean expression > [-Wbool-operation] > 199 | if (--cango <= 0) > | ^~ > hunt/hunt/playit.c: In function ‘send_stuff’: > hunt/hunt/playit.c:292:24: warning: ignoring return value of ‘write’ declared > with attribute ‘warn_unused_result’ [-Wunused-result] > 292 | (void) write(1, "\7", 1); /* CTRL('G') */ > | ^~~~~~~~~~~~~~~~~ > hunt/hunt/playit.c:316:24: warning: ignoring return value of ‘write’ declared > with attribute ‘warn_unused_result’ [-Wunused-result] > 316 | (void) write(Socket, inp, count); > | ^~~~~~~~~~~~~~~~~~~~~~~~~ > mille/comp.c:216:36: warning: this statement may fall through > [-Wimplicit-fallthrough=] > 216 | if (++count200 > 2) { > | ^ > mille/comp.c:220:27: note: here > 220 | case C_75: case C_100: > | ^~~~ > mille/comp.c: In function ‘onecard’: > mille/comp.c:427:28: warning: this statement may fall through > [-Wimplicit-fallthrough=] > 427 | if (spd == C_LIMIT) > | ^ > mille/comp.c:429:19: note: here > 429 | case 50: > | ^~~~ > x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes > -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 > -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -fstack-clash-protection -Wformat > -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 > -Iinclude -Imille -c mille/init.c -o mille/init.o > x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes > -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 > -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -fstack-clash-protection -Wformat > -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 > -Iinclude -Imille -c mille/mille.c -o mille/mille.o > x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes > -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 > -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -fstack-clash-protection -Wformat > -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 > -Iinclude -Imille -c mille/misc.c -o mille/misc.o > mille/mille.c: In function ‘main’: > mille/mille.c:61:9: warning: ignoring return value of ‘setregid’ declared > with attribute ‘warn_unused_result’ [-Wunused-result] > 61 | setregid(getgid(), getgid()); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ > mille/misc.c: In function ‘error’: > mille/misc.c:65:9: warning: ‘vwprintw’ is deprecated > [-Wdeprecated-declarations] > 65 | vwprintw(Score, str, ap); > | ^~~~~~~~ > In file included from mille/mille.h:40, > from mille/misc.c:46: > /usr/include/curses.h:819:28: note: declared here > 819 | extern NCURSES_EXPORT(int) vwprintw (WINDOW *, const char *, va_list) > GCC_DEPRECATED(use vw_printw) /* implemented */ > | ^~~~~~~~ > mille/misc.c: In function ‘getcard’: > x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes > -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 > -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -fstack-clash-protection -Wformat > -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 > -Iinclude -Imille -c mille/move.c -o mille/move.o > mille/misc.c:115:41: warning: ignoring return value of ‘write’ declared with > attribute ‘warn_unused_result’ [-Wunused-result] > 115 | write(0, "\07", 1); > | ^~~~~~~~~~~~~~~~~~ > x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes > -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 > -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -fstack-clash-protection -Wformat > -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 > -Iinclude -Imille -c mille/print.c -o mille/print.o > mille/move.c: In function ‘playcard’: > mille/move.c:229:20: warning: this statement may fall through > [-Wimplicit-fallthrough=] > 229 | if (pp->nummiles[C_200] == 2) > | ^ > mille/move.c:231:11: note: here > 231 | case C_100: case C_75: > | ^~~~ > mille/move.c:232:20: warning: this statement may fall through > [-Wimplicit-fallthrough=] > 232 | if (pp->speed == C_LIMIT) > | ^ > mille/move.c:234:11: note: here > 234 | case C_50: > | ^~~~ > mille/move.c:235:20: warning: this statement may fall through > [-Wimplicit-fallthrough=] > 235 | if (pp->mileage + Value[card] > End) > | ^ > mille/move.c:237:11: note: here > 237 | case C_25: > | ^~~~ > cc1: some warnings being treated as errors > make[2]: *** [GNUmakefile:382: hunt/hunt/otto.o] Error 1 The full build log is available from: http://qa-logs.debian.net/2024/03/13/bsdgames_2.17-30_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.