Source: liece Version: 2.0+0.20030527cvs-13 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 -I. -I.. -g -O2 -Werror=implicit-function-declaration > -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong > -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection > -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" > -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" > -DPACKAGE=\"liece\" -DVERSION=\"2.0.0\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 > -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 > -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 > -DHAVE_SYS_SELECT_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_STRTOUL=1 -DHAVE_MEMMOVE=1 > -DHAVE_GETADDRINFO=1 -DHAVE_BASENAME=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 > -g -O2 -Werror=implicit-function-declaration > -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong > -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c > -o dcc.o dcc.c > dcc.c: In function ‘prepare_listen_port’: > dcc.c:128:7: error: implicit declaration of function ‘sleep’ > [-Werror=implicit-function-declaration] > 128 | sleep (20); /* wait 20 seconds and try again */ > | ^~~~~ > dcc.c: In function ‘get_address_externally’: > dcc.c:163:3: error: implicit declaration of function ‘close’; did you mean > ‘pclose’? [-Werror=implicit-function-declaration] > 163 | close(dummy); > | ^~~~~ > | pclose > dcc.c: In function ‘send_file’: > dcc.c:189:3: error: implicit declaration of function ‘gethostname’; did you > mean ‘gethostbyname’? [-Werror=implicit-function-declaration] > 189 | gethostname(namebuf, sizeof (namebuf)); > | ^~~~~~~~~~~ > | gethostbyname > dcc.c:205:34: warning: format ‘%u’ expects argument of type ‘unsigned int’, > but argument 4 has type ‘u_long’ {aka ‘long unsigned int’} [-Wformat=] > 205 | printf ("DCC send %s %d %u %d\n", ifile, port, addr, > statbuf.st_size); > | ~^ ~~~~ > | | | > | unsigned int u_long {aka > long unsigned int} > | %lu > dcc.c:205:37: warning: format ‘%d’ expects argument of type ‘int’, but > argument 5 has type ‘__off_t’ {aka ‘long int’} [-Wformat=] > 205 | printf ("DCC send %s %d %u %d\n", ifile, port, addr, > statbuf.st_size); > | ~^ > ~~~~~~~~~~~~~~~ > | | | > | int > __off_t {aka long int} > | %ld > dcc.c:209:17: error: implicit declaration of function ‘read’; did you mean > ‘fread’? [-Werror=implicit-function-declaration] > 209 | while ((len = read (ifd, buf, sizeof (buf))) > 0) { > | ^~~~ > | fread > dcc.c:210:5: error: implicit declaration of function ‘write’; did you mean > ‘fwrite’? [-Werror=implicit-function-declaration] > 210 | write (ofd, buf, len); > | ^~~~~ > | fwrite > dcc.c: In function ‘receive_file’: > dcc.c:245:5: error: implicit declaration of function ‘lseek’; did you mean > ‘fseek’? [-Werror=implicit-function-declaration] > 245 | lseek (ifd, 0, 2); > | ^~~~~ > | fseek > dcc.c: In function ‘primary_address_of’: > dcc.c:342:12: error: implicit declaration of function ‘inet_addr’ > [-Werror=implicit-function-declaration] > 342 | addr = inet_addr(host); > | ^~~~~~~~~ > dcc.c: In function ‘chat_listen’: > dcc.c:370:27: warning: format ‘%u’ expects argument of type ‘unsigned int’, > but argument 2 has type ‘u_long’ {aka ‘long unsigned int’} [-Wformat=] > 370 | printf("DCC chat %u %d\n", addr, port); > | ~^ ~~~~ > | | | > | | u_long {aka long unsigned int} > | unsigned int > | %lu > dcc.c: In function ‘main’: > dcc.c:397:22: error: implicit declaration of function ‘basename’; did you > mean ‘rename’? [-Werror=implicit-function-declaration] > 397 | progname = (char *)basename(argv[ 0 ]); > | ^~~~~~~~ > | rename > dcc.c:397:14: warning: cast to pointer from integer of different size > [-Wint-to-pointer-cast] > 397 | progname = (char *)basename(argv[ 0 ]); > | ^ > dcc.c:442:20: warning: format ‘%u’ expects argument of type ‘unsigned int’, > but argument 2 has type ‘u_long’ {aka ‘long unsigned int’} [-Wformat=] > 442 | printf("%u\n", addr); > | ~^ ~~~~ > | | | > | | u_long {aka long unsigned int} > | unsigned int > | %lu > cc1: some warnings being treated as errors > make[2]: *** [Makefile:372: dcc.o] Error 1 The full build log is available from: http://qa-logs.debian.net/2024/03/13/liece_2.0+0.20030527cvs-13_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.