Source: gkermit Version: 2.01-3 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): > cc -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 -Wl,-z,relro -c gproto.c > gkermit.c: In function ‘errpkt’: > gkermit.c:350:7: error: implicit declaration of function ‘sleep’ > [-Werror=implicit-function-declaration] > 350 | sleep(1); /* Time to soak up incoming > junk. */ > | ^~~~~ > gunixio.c: In function ‘sysinit’: > gunixio.c:256:19: warning: passing argument 2 of ‘signal’ from incompatible > pointer type [-Wincompatible-pointer-types] > 256 | signal(SIGHUP,doexit); /* Go here on hangup */ > | ^~~~~~ > | | > | int (*)(int) > In file included from gunixio.c:83: > /usr/include/signal.h:88:57: note: expected ‘__sighandler_t’ {aka ‘void > (*)(int)’} but argument is of type ‘int (*)(int)’ > 88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler) > | ~~~~~~~~~~~~~~~^~~~~~~~~ > gunixio.c: In function ‘ttopen’: > gunixio.c:358:23: warning: passing argument 2 of ‘signal’ from incompatible > pointer type [-Wincompatible-pointer-types] > 358 | signal(SIGINT,doexit); > | ^~~~~~ > | | > | int (*)(int) > /usr/include/signal.h:88:57: note: expected ‘__sighandler_t’ {aka ‘void > (*)(int)’} but argument is of type ‘int (*)(int)’ > 88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler) > | ~~~~~~~~~~~~~~~^~~~~~~~~ > gunixio.c:361:24: warning: passing argument 2 of ‘signal’ from incompatible > pointer type [-Wincompatible-pointer-types] > 361 | signal(SIGTSTP,doexit); > | ^~~~~~ > | | > | int (*)(int) > /usr/include/signal.h:88:57: note: expected ‘__sighandler_t’ {aka ‘void > (*)(int)’} but argument is of type ‘int (*)(int)’ > 88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler) > | ~~~~~~~~~~~~~~~^~~~~~~~~ > gunixio.c:364:24: warning: passing argument 2 of ‘signal’ from incompatible > pointer type [-Wincompatible-pointer-types] > 364 | signal(SIGQUIT,doexit); > | ^~~~~~ > | | > | int (*)(int) > /usr/include/signal.h:88:57: note: expected ‘__sighandler_t’ {aka ‘void > (*)(int)’} but argument is of type ‘int (*)(int)’ > 88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler) > | ~~~~~~~~~~~~~~~^~~~~~~~~ > gunixio.c:395:26: error: implicit declaration of function ‘dup2’ > [-Werror=implicit-function-declaration] > 395 | else if (dup2(ofd, 1) == -1) > | ^~~~ > gunixio.c:398:19: error: implicit declaration of function ‘close’; did you > mean ‘pclose’? [-Werror=implicit-function-declaration] > 398 | close(ofd); > | ^~~~~ > | pclose > gunixio.c: In function ‘ttres’: > gunixio.c:543:19: error: implicit declaration of function ‘write’; did you > mean ‘fwrite’? [-Werror=implicit-function-declaration] > 543 | dummy = (int) write(1,"\015\012",2); > | ^~~~~ > | fwrite > gunixio.c: In function ‘ttchk’: > gunixio.c:553:13: error: implicit declaration of function ‘read’; did you > mean ‘fread’? [-Werror=implicit-function-declaration] > 553 | x = read(0,&tinbuf[tlast],TINBUFSIZ-tlast); > | ^~~~ > | fread > gunixio.c: In function ‘ttinl’: > gunixio.c:634:24: warning: passing argument 2 of ‘signal’ from incompatible > pointer type [-Wincompatible-pointer-types] > 634 | signal(SIGALRM,timerh); /* Enable timer interrupt */ > | ^~~~~~ > | | > | int (*)() > /usr/include/signal.h:88:57: note: expected ‘__sighandler_t’ {aka ‘void > (*)(int)’} but argument is of type ‘int (*)()’ > 88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler) > | ~~~~~~~~~~~~~~~^~~~~~~~~ > gunixio.c:635:9: error: implicit declaration of function ‘alarm’ > [-Werror=implicit-function-declaration] > 635 | alarm(timo); /* Set it. */ > | ^~~~~ > gunixio.c: In function ‘zchki’: > gunixio.c:894:9: error: implicit declaration of function ‘access’ > [-Werror=implicit-function-declaration] > 894 | if (access(fn,R_OK) < 0) { > | ^~~~~~ > gunixio.c: In function ‘zbackup’: > gunixio.c:1095:17: error: implicit declaration of function ‘link’ > [-Werror=implicit-function-declaration] > 1095 | if (link(fn,newname) < 0) { /* Rename old file to backup > name */ > | ^~~~ > gunixio.c:1099:24: error: implicit declaration of function ‘unlink’ > [-Werror=implicit-function-declaration] > 1099 | } else if (unlink(fn) < 0) { > | ^~~~~~ > gunixio.c: In function ‘ttpkt’: > gunixio.c:515:5: warning: ignoring return value of ‘system’ declared with > attribute ‘warn_unused_result’ [-Wunused-result] > 515 | system("stty raw -echo"); > | ^~~~~~~~~~~~~~~~~~~~~~~~ > cc1: some warnings being treated as errors > make[2]: *** [makefile:58: gunixio.o] Error 1 The full build log is available from: http://qa-logs.debian.net/2024/03/13/gkermit_2.01-3_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.