[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/mftrace_1.2.20+git20191022.3b4bc2e-3_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
[...]
dh clean --with python3,autoreconf
dh_clean
debian/rules binary
dh binary --with python3,autoreconf
dh_update_autotools_config
dh_autoreconf
autoreconf: warning: autoconf input should be named 'configure.ac', not 'configure.in'
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:2: warning: The macro 'AC_CONFIG_HEADER' is obsolete.
configure.in:2: You should run autoupdate.
./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from...
configure.in:2: the top level
configure.in:16: warning: AC_OUTPUT should be used without arguments.
configure.in:16: You should run autoupdate.
autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in'
debian/rules override_dh_auto_configure
make[1]: Entering directory '/build/reproducible-path/mftrace-1.2.20+git20191022.3b4bc2e'
dh_auto_configure -- --prefix=/usr --mandir=\${prefix}/share/man
./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking --prefix=/usr --mandir=\${prefix}/share/man
checking for python3... /usr/bin/python3
checking for autotrace... none
checking for potrace... /usr/bin/potrace
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
configure: creating ./config.status
config.status: creating GNUmakefile
config.status: WARNING: 'GNUmakefile.in' seems to ignore the --datarootdir setting
config.status: creating mftrace
config.status: WARNING: 'mftrace.py' seems to ignore the --datarootdir setting
config.status: creating mftrace.spec
config.status: creating config.h
make[1]: Leaving directory '/build/reproducible-path/mftrace-1.2.20+git20191022.3b4bc2e'
debian/rules override_dh_auto_build
make[1]: Entering directory '/build/reproducible-path/mftrace-1.2.20+git20191022.3b4bc2e'
dh_auto_build
make -j8
make[2]: Entering directory '/build/reproducible-path/mftrace-1.2.20+git20191022.3b4bc2e'
cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mftrace-1.2.20+git20191022.3b4bc2e=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro gf2pbm.c -o gf2pbm
gf2pbm.c:109:15: error: cannot use keyword ‘false’ as enumeration constant
109 | typedef enum {false,true}bool;
| ^~~~~
gf2pbm.c:109:15: note: ‘false’ is a keyword with ‘-std=c23’ onwards
gf2pbm.c:109:26: error: expected ‘;’, identifier or ‘(’ before ‘bool’
109 | typedef enum {false,true}bool;
| ^~~~
gf2pbm.c:109:26: warning: useless type name in empty declaration
make[2]: *** [<builtin>: gf2pbm] Error 1
make[2]: Leaving directory '/build/reproducible-path/mftrace-1.2.20+git20191022.3b4bc2e'
dh_auto_build: error: make -j8 returned exit code 2
make[1]: *** [debian/rules:10: override_dh_auto_build] Error 25
make[1]: Leaving directory '/build/reproducible-path/mftrace-1.2.20+git20191022.3b4bc2e'
make: *** [debian/rules:4: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2