[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/gbdfed_1.6-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
[...]
| ^~~~~
bdf.c: In function ‘_bdf_eight_to_four’:
bdf.c:4809:28: warning: variable ‘masks’ set but not used [-Wunused-but-set-variable]
4809 | unsigned char *nbmap, *masks;
| ^~~~~
bdfgrid.c: In function ‘bdf_grid_shear’:
bdfgrid.c:1871:15: warning: variable ‘cy’ set but not used [-Wunused-but-set-variable]
1871 | short cx, cy, wd, ht, gx, gy, x, y;
| ^~
bdfgrid.c:1871:11: warning: variable ‘cx’ set but not used [-Wunused-but-set-variable]
1871 | short cx, cy, wd, ht, gx, gy, x, y;
| ^~
bdf.c: In function ‘_bdf_parse_hbf_header’:
bdf.c:921:16: warning: ‘FONT_ASCENT property missing...’ directive writing 50 bytes into a region of size 24 [-Wformat-overflow=]
921 | #define ACMSG1 "FONT_ASCENT property missing. Added \"FONT_ASCENT %hd\"."
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bdf.c:2228:31: note: in expansion of macro ‘ACMSG1’
2228 | sprintf(nbuf, ACMSG1, p->font->bbx.ascent);
| ^~~~~~
bdf.c:921:41: note: format string is defined here
921 | #define ACMSG1 "FONT_ASCENT property missing. Added \"FONT_ASCENT %hd\"."
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
bdf.c:921:16: note: using the range [-32768, 32767] for directive argument
921 | #define ACMSG1 "FONT_ASCENT property missing. Added \"FONT_ASCENT %hd\"."
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bdf.c:2228:31: note: in expansion of macro ‘ACMSG1’
2228 | sprintf(nbuf, ACMSG1, p->font->bbx.ascent);
| ^~~~~~
In file included from /usr/include/stdio.h:970,
from bdf.h:25,
from bdfP.h:25,
from bdf.c:22:
In function ‘sprintf’,
inlined from ‘_bdf_parse_hbf_header’ at bdf.c:2228:17:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 54 and 59 bytes into a destination of size 24
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
bdf.c: In function ‘_bdf_parse_hbf_header’:
bdf.c:922:16: warning: ‘FONT_DESCENT property missin...’ directive writing 52 bytes into a region of size 24 [-Wformat-overflow=]
922 | #define ACMSG2 "FONT_DESCENT property missing. Added \"FONT_DESCENT %hd\"."
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bdf.c:2236:31: note: in expansion of macro ‘ACMSG2’
2236 | sprintf(nbuf, ACMSG2, p->font->bbx.descent);
| ^~~~~~
bdf.c:922:41: note: format string is defined here
922 | #define ACMSG2 "FONT_DESCENT property missing. Added \"FONT_DESCENT %hd\"."
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bdf.c:922:16: note: using the range [-32768, 32767] for directive argument
922 | #define ACMSG2 "FONT_DESCENT property missing. Added \"FONT_DESCENT %hd\"."
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bdf.c:2236:31: note: in expansion of macro ‘ACMSG2’
2236 | sprintf(nbuf, ACMSG2, p->font->bbx.descent);
| ^~~~~~
In function ‘sprintf’,
inlined from ‘_bdf_parse_hbf_header’ at bdf.c:2236:17:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 56 and 61 bytes into a destination of size 24
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/build/reproducible-path/gbdfed-1.6'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2