[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/pecomato_0.0.15-11_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
[...]
cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pecomato-0.0.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_GNU_SOURCE -DOS_UNIX -DOS_LINUX -DPRODUCT_ID="\"pecomato\"" -DPRODUCT_VERSION="\"0.0.15\"" -c -o util.o util.c
cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pecomato-0.0.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_GNU_SOURCE -DOS_UNIX -DOS_LINUX -DPRODUCT_ID="\"pecomato\"" -DPRODUCT_VERSION="\"0.0.15\"" -c -o exif.o exif.c
cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pecomato-0.0.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_GNU_SOURCE -DOS_UNIX -DOS_LINUX -DPRODUCT_ID="\"pecomato\"" -DPRODUCT_VERSION="\"0.0.15\"" -c -o iptc.o iptc.c
cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pecomato-0.0.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_GNU_SOURCE -DOS_UNIX -DOS_LINUX -DPRODUCT_ID="\"pecomato\"" -DPRODUCT_VERSION="\"0.0.15\"" -c -o jfif.o jfif.c
cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pecomato-0.0.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_GNU_SOURCE -DOS_UNIX -DOS_LINUX -DPRODUCT_ID="\"pecomato\"" -DPRODUCT_VERSION="\"0.0.15\"" -c -o adobe.o adobe.c
cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pecomato-0.0.15=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_GNU_SOURCE -DOS_UNIX -DOS_LINUX -DPRODUCT_ID="\"pecomato\"" -DPRODUCT_VERSION="\"0.0.15\"" -c -o tiff.o tiff.c
In file included from jfif.h:5,
from jfif.c:1:
util.h:141:19: error: ‘bool’ cannot be defined via ‘typedef’
141 | typedef short int bool;
| ^~~~
util.h:141:19: note: ‘bool’ is a keyword with ‘-std=c23’ onwards
util.h:141:1: warning: useless type name in empty declaration
141 | typedef short int bool;
| ^~~~~~~
In file included from adobe.h:5,
from adobe.c:1:
util.h:141:19: error: ‘bool’ cannot be defined via ‘typedef’
141 | typedef short int bool;
| ^~~~
In file included from util.c:9:
util.h:141:19: error: ‘bool’ cannot be defined via ‘typedef’
141 | typedef short int bool;
| ^~~~
util.h:141:19: note: ‘bool’ is a keyword with ‘-std=c23’ onwards
util.h:141:19: note: ‘bool’ is a keyword with ‘-std=c23’ onwards
util.h:141:1: warning: useless type name in empty declaration
141 | typedef short int bool;
| ^~~~~~~
util.h:141:1: warning: useless type name in empty declaration
141 | typedef short int bool;
| ^~~~~~~
In file included from exif.h:6,
from exif.c:1:
util.h:141:19: error: ‘bool’ cannot be defined via ‘typedef’
141 | typedef short int bool;
| ^~~~
util.h:141:19: note: ‘bool’ is a keyword with ‘-std=c23’ onwards
util.h:141:1: warning: useless type name in empty declaration
141 | typedef short int bool;
| ^~~~~~~
make[1]: *** [Makefile:40: jfif.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from iptc.h:5,
from iptc.c:1:
util.h:141:19: error: ‘bool’ cannot be defined via ‘typedef’
141 | typedef short int bool;
| ^~~~
util.h:141:19: note: ‘bool’ is a keyword with ‘-std=c23’ onwards
util.h:141:1: warning: useless type name in empty declaration
141 | typedef short int bool;
| ^~~~~~~
make[1]: *** [Makefile:40: adobe.o] Error 1
make[1]: *** [Makefile:40: exif.o] Error 1
make[1]: *** [Makefile:40: iptc.o] Error 1
make[1]: *** [Makefile:40: util.o] Error 1
In file included from jfif.h:5,
from main.c:18:
util.h:141:19: error: ‘bool’ cannot be defined via ‘typedef’
141 | typedef short int bool;
| ^~~~
util.h:141:19: note: ‘bool’ is a keyword with ‘-std=c23’ onwards
util.h:141:1: warning: useless type name in empty declaration
141 | typedef short int bool;
| ^~~~~~~
make[1]: *** [<builtin>: main.o] Error 1
make[1]: Leaving directory '/build/reproducible-path/pecomato-0.0.15'
dh_auto_build: error: make -j8 "INSTALL=install --strip-program=true" returned exit code 2
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2