[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1096473: marked as done (cpu: ftbfs with GCC-15)



Your message dated Sat, 06 Sep 2025 12:50:38 +0000
with message-id <E1uusNK-002t1y-1y@fasolo.debian.org>
and subject line Bug#1096473: fixed in cpu 1.4.3-16
has caused the Debian Bug report #1096473,
regarding cpu: ftbfs with GCC-15
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1096473: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1096473
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:cpu
Version: 1.4.3-15
Severity: important
Tags: sid forky
User: debian-gcc@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

--- End Message ---
--- Begin Message ---
Source: cpu
Source-Version: 1.4.3-16
Done: Andreas Beckmann <anbe@debian.org>

We believe that the bug you reported is fixed in the latest version of
cpu, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1096473@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas Beckmann <anbe@debian.org> (supplier of updated cpu package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 06 Sep 2025 09:57:27 +0200
Source: cpu
Architecture: source
Version: 1.4.3-16
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Andreas Beckmann <anbe@debian.org>
Closes: 1096473 1106910
Changes:
 cpu (1.4.3-16) unstable; urgency=medium
 .
   [ Andreas Beckmann ]
   * QA upload.
   * Add Build-Depends: libcrypt-dev.  (Closes: #1106910)
   * Fix FTBFS with GCC 15.  (Closes: #1096473)
 .
   [ Carles Pina i Estany ]
   * Added po-debconf Catalan translation.
Checksums-Sha1:
 095b043b64ecb461ae6c23d475d151859f23515c 1865 cpu_1.4.3-16.dsc
 03e9cd7db69f1cbdab34c7043458a54bb85882c5 31072 cpu_1.4.3-16.debian.tar.xz
 ec3bd2c6f905261ad05bd9c185979f47a0b8a09e 5540 cpu_1.4.3-16_source.buildinfo
Checksums-Sha256:
 247a7e5748a156356254a1ac06e01a3026b949f428794af5957c3a8089ed4246 1865 cpu_1.4.3-16.dsc
 423ec9e5b0ce9348c80d25dbe165b896dab2a4deb6c022b6da2a734f22154f60 31072 cpu_1.4.3-16.debian.tar.xz
 d8d9a389244b79704722f4d7b63b6b3e0082bdf18462da6170a02dca4ec9cd16 5540 cpu_1.4.3-16_source.buildinfo
Files:
 fb9f263c1b552f8968620d0a814cba41 1865 admin optional cpu_1.4.3-16.dsc
 4a72829e45fd578e2106752f647138c2 31072 admin optional cpu_1.4.3-16.debian.tar.xz
 b366def79e44a768d9b2052db8dd167f 5540 admin optional cpu_1.4.3-16_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJEBAEBCAAuFiEE6/MKMKjZxjvaRMaUX7M/k1np7QgFAmi76gMQHGFuYmVAZGVi
aWFuLm9yZwAKCRBfsz+TWentCH+tD/oCari/WfvPgOiHnU0dqkPgtemtp9GhGmy3
txLG/w8s75wjzZ0PSqndpYjtzpB4O0UR6JzaXkkdT1qtuLmrh+LFPUKidVC/eRk6
0tN7x8COdKEC2d+j8rIgMgZaMz4d+qWlOh+3PeoW+5pRRCn4Cu3tWLW3qv/KcRpi
zs87FqRsdBO9kMhgxNKe8bbef5EdCxeR1iYr8DUz96RejzzxSKzYuDNKcdsucIs0
3cXV9KpVIUOE43ua4ydmA2tR/zJRhQTDrSMzCydlRaj52ScMRS01ZuL0R5rdLIL2
acYsKaseiBbisZrboOeIUgTtVBlHpFj1Qs2b3WXYFosfTYEof5OmHEySxa/XblYu
hyIzQMAxY7WP9+DWXQQmitb6OH+C+TiSwlxzu6mk3F+6UnqYwCfRT7BuSjoKx/AK
j2GitVyuX4M73A9ux6reUxd6ApFbznEutA9M8J+t80TXV7C5MpRbUVMGhPnInXrS
XHSy84jvVP/RC3qlxf0cvcqX56LGAm0c1XybZYbx+9XPVPcj7f0bmwOCndMkmp7l
ollm2OIVzVK3t4PtCnHMEJh1HVkvPpGpw2AdbGmKjxQvXMRbQFXTM/5sgR7icwJk
jI3TNE4j7b1cr2MjdSB5grXI2kuCKuWbMfzLAPqzOiWkUBQHQldWWQjjW0CHR6Jj
ZpIsyNzpAw==
=XraW
-----END PGP SIGNATURE-----

Attachment: pgp8gY4lQqQSO.pgp
Description: PGP signature


--- End Message ---

Reply to: