Package: src:crashmail
Version: 1.7-4
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/crashmail_1.7-4_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

[...]

dpkg-buildpackage
-----------------

Command: dpkg-buildpackage --sanitize-env -us -uc -b
dpkg-buildpackage: info: source package crashmail
dpkg-buildpackage: info: source version 1.7-4
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Boyuan Yang <by...@debian.org>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
 debian/rules clean
dh clean
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/build/reproducible-path/crashmail-1.7'
rm -rf bin
/usr/bin/make -C src cleanlinux
make[2]: Entering directory '/build/reproducible-path/crashmail-1.7/src'
make -C cmnllib -f Makefile.linux clean
make[3]: Entering directory '/build/reproducible-path/crashmail-1.7/src/cmnllib'
rm -f *.o *.a
make[3]: Leaving directory '/build/reproducible-path/crashmail-1.7/src/cmnllib'
make -C jamlib -f Makefile.linux clean
make[3]: Entering directory '/build/reproducible-path/crashmail-1.7/src/jamlib'
rm -f *.o *.a
make[3]: Leaving directory '/build/reproducible-path/crashmail-1.7/src/jamlib'
make -C oslib_linux clean
make[3]: Entering directory 
'/build/reproducible-path/crashmail-1.7/src/oslib_linux'
rm -f *.o *.a
make[3]: Leaving directory 
'/build/reproducible-path/crashmail-1.7/src/oslib_linux'
make -f Makefile.linux clean
make[3]: Entering directory '/build/reproducible-path/crashmail-1.7/src'
rm -f obj/*.o
make[3]: Leaving directory '/build/reproducible-path/crashmail-1.7/src'
make[2]: Leaving directory '/build/reproducible-path/crashmail-1.7/src'
make[1]: Leaving directory '/build/reproducible-path/crashmail-1.7'
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
   debian/rules override_dh_auto_build
make[1]: Entering directory '/build/reproducible-path/crashmail-1.7'
mkdir bin
dh_auto_build --sourcedirectory=src -- linux
        cd src && make -j8 "INSTALL=install --strip-program=true" linux
make[2]: Entering directory '/build/reproducible-path/crashmail-1.7/src'
mkdir -p obj
make -C cmnllib -f Makefile.linux
make[3]: Entering directory '/build/reproducible-path/crashmail-1.7/src/cmnllib'
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -DPLATFORM_LINUX -I ../ -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/crashmail-1.7=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wall -Wl,-z,relro -Wl,-z,now -c 
cmnllib.c -o cmnllib.o
In file included from ../oslib/os.h:4,
                 from cmnllib.c:5:
../shared/types.h:5:13: error: ‘bool’ cannot be defined via ‘typedef’
    5 | typedef int bool;
      |             ^~~~
../shared/types.h:5:13: note: ‘bool’ is a keyword with ‘-std=c23’ onwards
../shared/types.h:5:1: warning: useless type name in empty declaration
    5 | typedef int bool;
      | ^~~~~~~
make[3]: *** [Makefile.linux:15: cmnllib.o] Error 1
make[3]: Leaving directory '/build/reproducible-path/crashmail-1.7/src/cmnllib'
make[2]: *** [Makefile:16: linux] Error 2
make[2]: Leaving directory '/build/reproducible-path/crashmail-1.7/src'
dh_auto_build: error: cd src && make -j8 "INSTALL=install --strip-program=true" 
linux returned exit code 2
make[1]: *** [debian/rules:17: override_dh_auto_build] Error 25
make[1]: Leaving directory '/build/reproducible-path/crashmail-1.7'
make: *** [debian/rules:9: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

Reply via email to