Package: src:linux-atm Version: 1:2.5.1-7 Severity: important Tags: sid forky User: [email protected] Usertags: ftbfs-gcc-15
[This bug is NOT 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-15/g++-15, but succeeds to build with gcc-14/g++-14. The severity of this report will be raised before the forky release. The full build log can be found at: http://qa-logs.debian.net/2025/02/16/amd64exp/linux-atm_2.5.1-7_unstable_gccexp.log.gz The last lines of the build log are at the end of this report. To build with GCC 15, either set CC=gcc-15 CXX=g++-15 explicitly, or install the gcc, g++, gfortran, ... packages from experimental. apt-get -t=experimental install g++ GCC 15 now defaults to the C23/C++23 standards, exposing many FTBFS. Other 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-15/porting_to.html [...] 386 | if ((itf = kernel_init(mac_addr, itf)) < 0 ) { | ^~~~~~~~ | | | char * In file included from main.c:56: kernel.h:31:32: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 31 | int kernel_init(unsigned char *mac_addr, int itf); | ~~~~~~~~~~~~~~~^~~~~~~~ main.c:436:33: warning: pointer targets in passing argument 1 of ‘init_lec_params’ differ in signedness [-Wpointer-sign] 436 | init_lec_params(mac_addr, elan_name, listen_addr.sas_addr.prv, | ^~~~~~~~ | | | char * In file included from main.c:52: join.h:6:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 6 | void init_lec_params(unsigned char *mac_addr, char *elan_name, | ~~~~~~~~~~~~~~~^~~~~~~~ main.c:417:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 417 | write(fd, pidbuf, strlen(pidbuf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/main.Tpo .deps/main.Po gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I../../src/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/linux-atm-2.5.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-strict-aliasing -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -MT address.o -MD -MP -MF .deps/address.Tpo -c -o address.o address.c mv -f .deps/address.Tpo .deps/address.Po gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I../../src/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/linux-atm-2.5.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-strict-aliasing -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -MT frames.o -MD -MP -MF .deps/frames.Tpo -c -o frames.o frames.c frames.c: In function ‘handle_frame’: frames.c:319:28: warning: pointer targets in passing argument 1 of ‘validate_frame’ differ in signedness [-Wpointer-sign] 319 | if (validate_frame(buff, size) < 0) | ^~~~ | | | char * frames.c:60:35: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 60 | int validate_frame(unsigned char *buff, int size) | ~~~~~~~~~~~~~~~^~~~ mv -f .deps/frames.Tpo .deps/frames.Po gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I../../src/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/linux-atm-2.5.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-strict-aliasing -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -MT display.o -MD -MP -MF .deps/display.Tpo -c -o display.o display.c mv -f .deps/display.Tpo .deps/display.Po gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I../../src/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/linux-atm-2.5.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-strict-aliasing -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -MT kernel.o -MD -MP -MF .deps/kernel.Tpo -c -o kernel.o kernel.c mv -f .deps/kernel.Tpo .deps/kernel.Po /bin/bash ../../libtool --tag=CC --mode=link gcc -I../../src/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/linux-atm-2.5.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-strict-aliasing -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z,relro -o zeppelin join.o conn.o main.o address.o frames.o display.o kernel.o ../../src/lib/libatm.la libtool: link: gcc -I../../src/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/linux-atm-2.5.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-strict-aliasing -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wl,-z -Wl,relro -o .libs/zeppelin join.o conn.o main.o address.o frames.o display.o kernel.o ../../src/lib/.libs/libatm.so make[4]: Leaving directory '/build/reproducible-path/linux-atm-2.5.1/src/led' Making all in lane make[4]: Entering directory '/build/reproducible-path/linux-atm-2.5.1/src/lane' gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I../../src/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/linux-atm-2.5.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-strict-aliasing -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -MT mem.o -MD -MP -MF .deps/mem.Tpo -c -o mem.o mem.c mv -f .deps/mem.Tpo .deps/mem.Po gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I../../src/include -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/linux-atm-2.5.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-strict-aliasing -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -MT load.o -MD -MP -MF .deps/load.Tpo -c -o load.o load.c In file included from load.c:29: load_lex.h:27:10: error: two or more data types in declaration specifiers 27 | Bool_t bool; | ^~~~ load_lex.h:27:14: warning: declaration does not declare anything 27 | Bool_t bool; | ^ load.c: In function ‘load_vars’: load.c:501:29: error: expected identifier before ‘bool’ 501 | g_return.bool==BL_TRUE?"True":"False"); | ^~~~ load.c:502:51: error: expected identifier before ‘bool’ 502 | set_var_bool(curr_unit, varname, g_return.bool); | ^~~~ make[4]: *** [Makefile:508: load.o] Error 1 make[4]: Leaving directory '/build/reproducible-path/linux-atm-2.5.1/src/lane' make[3]: *** [Makefile:371: all-recursive] Error 1 make[3]: Leaving directory '/build/reproducible-path/linux-atm-2.5.1/src' make[2]: *** [Makefile:419: all-recursive] Error 1 make[2]: Leaving directory '/build/reproducible-path/linux-atm-2.5.1' make[1]: *** [Makefile:351: all] Error 2 make[1]: Leaving directory '/build/reproducible-path/linux-atm-2.5.1' make: *** [debian/rules:39: build-stamp] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

