Package: src:trickle Version: 1.07-13 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/trickle_1.07-13_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 [...] libtool: link: gcc -Wall -Icompat -I/usr/include/tirpc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z -Wl,relro -Wl,-z -Wl,now -o trickle trickle.o util.o getopt.o -lbsd -ldl gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Icompat -I/usr/include/tirpc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o trickled.o trickled.c gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Icompat -I/usr/include/tirpc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o atomicio.o atomicio.c gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Icompat -I/usr/include/tirpc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o print.o print.c gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Icompat -I/usr/include/tirpc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o bwstat.o bwstat.c bwstat.c: In function ‘bwstat_getdelay’: bwstat.c:151:14: warning: variable ‘initent’ set but not used [-Wunused-but-set-variable] 151 | uint initent; | ^~~~~~~ gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Icompat -I/usr/include/tirpc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o client.o client.c gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Icompat -I/usr/include/tirpc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o conf.o conf.c conf.c: In function ‘conf_decode_base64’: conf.c:548:38: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 548 | if (!strcmp (buf, "==")) | ^~~ | | | u_char * {aka unsigned char *} In file included from conf.c:55: /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ conf.c:564:45: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 564 | if (strcmp (buf, "=")) | ^~~ | | | u_char * {aka unsigned char *} /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Icompat -I/usr/include/tirpc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o cleanup.o cleanup.c gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Icompat -I/usr/include/tirpc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o xdr.o xdr.c xdr.c: In function ‘xdr_msg’: xdr.c:106:32: error: passing argument 5 of ‘xdr_union’ from incompatible pointer type [-Wincompatible-pointer-types] 106 | xdr_msg_discrim, _xdr_void)); | ^~~~~~~~~ | | | bool_t (*)(void) {aka int (*)(void)} xdr.c:15:14: note: in definition of macro ‘X’ 15 | if (!x) \ | ^ In file included from /usr/include/tirpc/rpc/rpc.h:43, from xdr.c:10: /usr/include/tirpc/rpc/xdr.h:315:80: note: expected ‘xdrproc_t’ {aka ‘int (*)(struct __rpc_xdr *, ...)’} but argument is of type ‘bool_t (*)(void)’ {aka ‘int (*)(void)’} 315 | extern bool_t xdr_union(XDR *, enum_t *, char *, const struct xdr_discrim *, xdrproc_t); | ^~~~~~~~~ xdr.c: In function ‘msg2xdr’: xdr.c:116:30: warning: pointer targets in passing argument 2 of ‘xdrmem_create’ differ in signedness [-Wpointer-sign] 116 | xdrmem_create(&xdrs, buf, *buflen, XDR_ENCODE); | ^~~ | | | u_char * {aka unsigned char *} /usr/include/tirpc/rpc/xdr.h:355:36: note: expected ‘char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 355 | extern void xdrmem_create(XDR *, char *, u_int, enum xdr_op); | ^~~~~~ xdr.c: In function ‘xdr2msg’: xdr.c:136:30: warning: pointer targets in passing argument 2 of ‘xdrmem_create’ differ in signedness [-Wpointer-sign] 136 | xdrmem_create(&xdrs, buf, buflen, XDR_DECODE); | ^~~ | | | u_char * {aka unsigned char *} /usr/include/tirpc/rpc/xdr.h:355:36: note: expected ‘char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 355 | extern void xdrmem_create(XDR *, char *, u_int, enum xdr_op); | ^~~~~~ make[2]: *** [Makefile:529: xdr.o] Error 1 make[2]: Leaving directory '/<<PKGBUILDDIR>>' make[1]: *** [Makefile:407: all] Error 2 make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_build: error: make -j1 returned exit code 2 make: *** [debian/rules:6: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2