Package: src:tinydyndns Version: 0.4.2.debian1-3 Severity: important Tags: sid trixie User: debian-...@lists.debian.org Usertags: ftbfs-gcc-14
[This bug is targeted to the upcoming trixie release] Please keep this issue open in the bug tracker for the package it was filed for. If a fix in another package is required, please file a bug for the other package (or clone), and add a block in this package. Please keep the issue open until the package can be built in a follow-up test rebuild. The package fails to build in a test rebuild on at least amd64 with gcc-14/g++-14, but succeeds to build with gcc-13/g++-13. The severity of this report will be raised before the trixie release. The full build log can be found at: http://qa-logs.debian.net/2024/07/01/tinydyndns_0.4.2.debian1-3_unstable_gccexp.log The last lines of the build log are at the end of this report. To build with GCC 14, either set CC=gcc-14 CXX=g++-14 explicitly, or install the gcc, g++, gfortran, ... packages from experimental. apt-get -t=experimental install g++ Common build failures are new warnings resulting in build failures with -Werror turned on, or new/dropped symbols in Debian symbols files. For other C/C++ related build failures see the porting guide at http://gcc.gnu.org/gcc-14/porting_to.html [...] | ^~~~~~ ./compile response.c ./compile dd.c ./choose c trydrent direntry.h1 direntry.h2 > direntry.h response.c:52:45: warning: argument 2 of type ‘const char[2]’ with mismatched bound [-Warray-parameter=] 52 | int response_query(const char *q,const char qtype[2],const char qclass[2]) | ~~~~~~~~~~~^~~~~~~~ In file included from response.c:4: response.h:9:40: note: previously declared as ‘const char *’ 9 | extern int response_query(const char *,const char *,const char *); | ^~~~~~~~~~~~ response.c:52:65: warning: argument 3 of type ‘const char[2]’ with mismatched bound [-Warray-parameter=] 52 | int response_query(const char *q,const char qtype[2],const char qclass[2]) | ~~~~~~~~~~~^~~~~~~~~ response.h:9:53: note: previously declared as ‘const char *’ 9 | extern int response_query(const char *,const char *,const char *); | ^~~~~~~~~~~~ response.c:73:46: warning: argument 2 of type ‘const char[2]’ with mismatched bound [-Warray-parameter=] 73 | int response_rstart(const char *d,const char type[2],uint32 ttl) | ~~~~~~~~~~~^~~~~~~ response.h:18:41: note: previously declared as ‘const char *’ 18 | extern int response_rstart(const char *,const char *,uint32); | ^~~~~~~~~~~~ response.c:112:29: warning: argument 1 of type ‘const char[2]’ with mismatched bound [-Warray-parameter=] 112 | void response_id(const char id[2]) | ~~~~~~~~~~~^~~~~ response.h:12:25: note: previously declared as ‘const char *’ 12 | extern void response_id(const char *); | ^~~~~~~~~~~~ dd.c:4:44: warning: argument 3 of type ‘char[4]’ with mismatched bound [-Warray-parameter=] 4 | int dd(const char *q,const char *base,char ip[4]) | ~~~~~^~~~~ In file included from dd.c:2: dd.h:4:41: note: previously declared as ‘char *’ 4 | extern int dd(const char *,const char *,char *); | ^~~~~~ ./choose c trysysel select.h1 select.h2 > select.h ./compile chkshsgr.c ( ( ./compile trylsock.c && \ ./load trylsock -lsocket -lnsl ) >/dev/null 2>&1 \ && echo -lsocket -lnsl || exit 0 ) > socket.lib ./compile walldns-conf.c chkshsgr.c: In function ‘main’: chkshsgr.c:10:19: error: passing argument 2 of ‘getgroups’ from incompatible pointer type [-Wincompatible-pointer-types] 10 | if (getgroups(1,x) == 0) if (setgroups(1,x) == -1) _exit(1); | ^ | | | short int * In file included from /usr/include/features.h:502, from /usr/include/errno.h:25, from <command-line>: /usr/include/x86_64-linux-gnu/bits/unistd.h:113:1: note: expected ‘__gid_t *’ {aka ‘unsigned int *’} but argument is of type ‘short int *’ 113 | __NTH (getgroups (int __size, __gid_t __list[])) | ^~~~~ chkshsgr.c:10:44: error: passing argument 2 of ‘setgroups’ from incompatible pointer type [-Wincompatible-pointer-types] 10 | if (getgroups(1,x) == 0) if (setgroups(1,x) == -1) _exit(1); | ^ | | | short int * In file included from chkshsgr.c:2: /usr/include/grp.h:180:50: note: expected ‘const __gid_t *’ {aka ‘const unsigned int *’} but argument is of type ‘short int *’ 180 | extern int setgroups (size_t __n, const __gid_t *__groups) __THROW; | ~~~~~~~~~~~~~~~^~~~~~~~ make[1]: *** [Makefile.djbdns:203: chkshsgr.o] Error 1 make[1]: *** Waiting for unfinished jobs.... rm -f trylsock.o trylsock make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_test: error: make -j8 check returned exit code 2 make: *** [debian/rules:7: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2