[Debichem-devel] Bug#1097200: libint: ftbfs with GCC-15
Matthias Klose
doko at debian.org
Mon Feb 17 17:31:34 GMT 2025
Package: src:libint
Version: 1.2.1-6
Severity: important
Tags: sid forky
User: debian-gcc at 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/libint_1.2.1-6_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
[...]
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
emit_hrr_build.c: In function ‘emit_hrr_build’:
emit_hrr_build.c:257:31: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=]
257 | sprintf(code_name,"%s.cc",function_name);
| ^
In function ‘sprintf’,
inlined from ‘emit_hrr_build’ at emit_hrr_build.c:257:7:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 4 and 21 bytes into a destination of size 20
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
emit_hrr_build.c: In function ‘emit_hrr_build’:
emit_hrr_build.c:257:31: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=]
257 | sprintf(code_name,"%s.cc",function_name);
| ^
In function ‘sprintf’,
inlined from ‘emit_hrr_build’ at emit_hrr_build.c:257:7:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 4 and 21 bytes into a destination of size 20
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
emit_hrr_build.c: In function ‘emit_hrr_build’:
emit_hrr_build.c:252:44: warning: ‘%d’ directive writing between 1 and 10 bytes into a region of size between 1 and 18 [-Wformat-overflow=]
252 | sprintf(subfunction_name[i],"_%s_%d",
| ^~
emit_hrr_build.c:252:39: note: directive argument in the range [0, 2147483646]
252 | sprintf(subfunction_name[i],"_%s_%d",
| ^~~~~~~~
In function ‘sprintf’,
inlined from ‘emit_hrr_build’ at emit_hrr_build.c:252:4:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 4 and 30 bytes into a destination of size 20
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
emit_hrr_build.c: In function ‘emit_hrr_build’:
emit_hrr_build.c:257:31: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=]
257 | sprintf(code_name,"%s.cc",function_name);
| ^
In function ‘sprintf’,
inlined from ‘emit_hrr_build’ at emit_hrr_build.c:257:7:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 4 and 21 bytes into a destination of size 20
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
make[5]: Leaving directory '/build/reproducible-path/libint-1.2.1/src/bin/libint'
make[4]: *** [Makefile:17: default] Error 1
make[4]: Leaving directory '/build/reproducible-path/libint-1.2.1/src/bin'
make[3]: *** [Makefile:11: default] Error 1
make[3]: Leaving directory '/build/reproducible-path/libint-1.2.1/src'
make[2]: *** [Makefile:12: default] Error 1
make[2]: Leaving directory '/build/reproducible-path/libint-1.2.1'
dh_auto_build: error: make -j8 returned exit code 2
make[1]: *** [debian/rules:49: override_dh_auto_build] Error 25
make[1]: Leaving directory '/build/reproducible-path/libint-1.2.1'
make: *** [debian/rules:20: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the Debichem-devel
mailing list