Package: src:cpu Version: 1.4.3-15 Severity: important Tags: sid forky User: debian-...@lists.debian.org 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/cpu_1.4.3-15_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 [...] configure: LDAP: true configure: TLS: true configure: FLATFILE: false make[1]: Leaving directory '/build/reproducible-path/cpu-1.4.3' dh_auto_build make -j8 make[1]: Entering directory '/build/reproducible-path/cpu-1.4.3' Making all in src make[2]: Entering directory '/build/reproducible-path/cpu-1.4.3/src' Making all in util make[3]: Entering directory '/build/reproducible-path/cpu-1.4.3/src/util' Making all in . make[4]: Entering directory '/build/reproducible-path/cpu-1.4.3/src/util' /bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../src/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/cpu-1.4.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DLDAP_DEPRECATED -w -c -o bitvector.lo bitvector.c /bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../src/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/cpu-1.4.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DLDAP_DEPRECATED -w -c -o getopt.lo getopt.c /bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../src/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/cpu-1.4.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DLDAP_DEPRECATED -w -c -o getopt1.lo getopt1.c /bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../src/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/cpu-1.4.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DLDAP_DEPRECATED -w -c -o xmem.lo xmem.c /bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../src/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/cpu-1.4.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DLDAP_DEPRECATED -w -c -o helper.lo helper.c /bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../src/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/cpu-1.4.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DLDAP_DEPRECATED -w -c -o cgetpwent.lo cgetpwent.c /bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../src/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/cpu-1.4.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DLDAP_DEPRECATED -w -c -o parseconfig.lo parseconfig.c /bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../src/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/cpu-1.4.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DLDAP_DEPRECATED -w -c -o dll.lo dll.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/cpu-1.4.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DLDAP_DEPRECATED -w -c xmem.c -fPIC -DPIC -o .libs/xmem.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/cpu-1.4.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DLDAP_DEPRECATED -w -c bitvector.c -fPIC -DPIC -o .libs/bitvector.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/cpu-1.4.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DLDAP_DEPRECATED -w -c helper.c -fPIC -DPIC -o .libs/helper.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/cpu-1.4.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DLDAP_DEPRECATED -w -c getopt1.c -fPIC -DPIC -o .libs/getopt1.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/cpu-1.4.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DLDAP_DEPRECATED -w -c dll.c -fPIC -DPIC -o .libs/dll.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/cpu-1.4.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DLDAP_DEPRECATED -w -c cgetpwent.c -fPIC -DPIC -o .libs/cgetpwent.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/cpu-1.4.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DLDAP_DEPRECATED -w -c parseconfig.c -fPIC -DPIC -o .libs/parseconfig.o In file included from helper.c:26: ../../src/include/conf.h:70:13: error: 'bool' cannot be defined via 'typedef' 70 | typedef int bool; | ^~~~ ../../src/include/conf.h:70:13: note: 'bool' is a keyword with '-std=c23' onwards libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/cpu-1.4.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DLDAP_DEPRECATED -w -c getopt.c -fPIC -DPIC -o .libs/getopt.o In file included from ../../src/include/util/xmem.h:34, from xmem.c:30: ../../src/include/conf.h:70:13: error: 'bool' cannot be defined via 'typedef' 70 | typedef int bool; | ^~~~ ../../src/include/conf.h:70:13: note: 'bool' is a keyword with '-std=c23' onwards make[4]: *** [Makefile:506: helper.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: *** [Makefile:506: xmem.lo] Error 1 In file included from cgetpwent.c:31: ../../src/include/conf.h:70:13: error: 'bool' cannot be defined via 'typedef' 70 | typedef int bool; | ^~~~ ../../src/include/conf.h:70:13: note: 'bool' is a keyword with '-std=c23' onwards In file included from ../../src/include/util/dll.h:34, from dll.c:30: ../../src/include/conf.h:70:13: error: 'bool' cannot be defined via 'typedef' 70 | typedef int bool; | ^~~~ ../../src/include/conf.h:70:13: note: 'bool' is a keyword with '-std=c23' onwards libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/cpu-1.4.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DLDAP_DEPRECATED -w -c getopt1.c -o getopt1.o >/dev/null 2>&1 make[4]: *** [Makefile:506: cgetpwent.lo] Error 1 make[4]: *** [Makefile:506: dll.lo] Error 1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/cpu-1.4.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DLDAP_DEPRECATED -w -c parseconfig.c -o parseconfig.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/cpu-1.4.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DLDAP_DEPRECATED -w -c getopt.c -o getopt.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/cpu-1.4.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DLDAP_DEPRECATED -w -c bitvector.c -o bitvector.o >/dev/null 2>&1 make[4]: Leaving directory '/build/reproducible-path/cpu-1.4.3/src/util' make[3]: *** [Makefile:521: all-recursive] Error 1 make[3]: Leaving directory '/build/reproducible-path/cpu-1.4.3/src/util' make[2]: *** [Makefile:352: all-recursive] Error 1 make[2]: Leaving directory '/build/reproducible-path/cpu-1.4.3/src' make[1]: *** [Makefile:422: all-recursive] Error 1 make[1]: Leaving directory '/build/reproducible-path/cpu-1.4.3' dh_auto_build: error: make -j8 returned exit code 2 make: *** [debian/rules:7: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2