[Debichem-devel] Bug#1096668: ga: ftbfs with GCC-15
Matthias Klose
doko at debian.org
Mon Feb 17 17:14:31 GMT 2025
Package: src:ga
Version: 5.8.2-11
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/ga_5.8.2-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
[...]
../ma/ma.c: In function 'mh2ad':
../ma/ma.c:1599:17: warning: old-style function definition [-Wold-style-definition]
1599 | private Boolean mh2ad(memhandle, adout, location, caller)
| ^~~~~
../ma/ma.c: In function 'mh_free':
../ma/ma.c:1742:14: warning: old-style function definition [-Wold-style-definition]
1742 | private void mh_free(ad)
| ^~~~~~~
../ma/ma.c: In function 'mai_round':
../ma/ma.c:1766:16: warning: old-style function definition [-Wold-style-definition]
1766 | private size_t mai_round(value, unit)
| ^~~~~~~~~
../ma/ma.c: In function 'str_ncopy':
../ma/ma.c:1783:14: warning: old-style function definition [-Wold-style-definition]
1783 | private void str_ncopy(to, from, maxchars)
| ^~~~~~~~~
../ma/ma.c: In function 'MAi_inform_base':
../ma/ma.c:1811:16: warning: old-style function definition [-Wold-style-definition]
1811 | public Boolean MAi_inform_base(datatype, address1, address2)
| ^~~~~~~~~~~~~~~
../ma/ma.c: In function 'MAi_summarize_allocated_blocks':
../ma/ma.c:1869:13: warning: old-style function definition [-Wold-style-definition]
1869 | public void MAi_summarize_allocated_blocks(index_base)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../ma/ma.c: In function 'MA_allocate_heap':
../ma/ma.c:2013:37: error: passing argument 2 of 'list_delete_one' from incompatible pointer type [-Wincompatible-pointer-types]
2013 | ad = list_delete_one(&ma_hfree, ad_big_enough, (Pointer)&ar);
| ^~~~~~~~~~~~~
| |
| Boolean (*)(AD *, char *) {aka long int (*)(struct _AD *, char *)}
../ma/ma.c:1188:18: note: expected 'Boolean (*)(void)' {aka 'long int (*)(void)'} but argument is of type 'Boolean (*)(AD *, char *)' {aka 'long int (*)(struct _AD *, char *)'}
1188 | Boolean (*pred)(); /* predicate */
| ^~~~
../ma/ma.c:505:17: note: 'ad_big_enough' declared here
505 | private Boolean ad_big_enough(ad, ar)
| ^~~~~~~~~~~~~
../ma/ma.c: In function 'MA_chop_stack':
../ma/ma.c:2113:37: error: passing argument 2 of 'list_delete_many' from incompatible pointer type [-Wincompatible-pointer-types]
2113 | list_delete_many(&ma_sused, ad_le, (Pointer)ad, mh_free);
| ^~~~~
| |
| Boolean (*)(AD *, char *) {aka long int (*)(struct _AD *, char *)}
../ma/ma.c:1138:18: note: expected 'Boolean (*)(void)' {aka 'long int (*)(void)'} but argument is of type 'Boolean (*)(AD *, char *)' {aka 'long int (*)(struct _AD *, char *)'}
1138 | Boolean (*pred)(); /* predicate */
| ^~~~
../ma/ma.c:563:17: note: 'ad_le' declared here
563 | private Boolean ad_le(ad, ad_target)
| ^~~~~
../ma/ma.c:2113:57: error: passing argument 4 of 'list_delete_many' from incompatible pointer type [-Wincompatible-pointer-types]
2113 | list_delete_many(&ma_sused, ad_le, (Pointer)ad, mh_free);
| ^~~~~~~
| |
| void (*)(AD *) {aka void (*)(struct _AD *)}
../ma/ma.c:1140:15: note: expected 'void (*)(void)' but argument is of type 'void (*)(AD *)' {aka 'void (*)(struct _AD *)'}
1140 | void (*action)(); /* to apply before deletion */
| ^~~~~~
../ma/ma.c:1742:14: note: 'mh_free' declared here
1742 | private void mh_free(ad)
| ^~~~~~~
make[4]: *** [Makefile:7038: ma/ma.lo] Error 1
make[4]: Leaving directory '/build/reproducible-path/ga-5.8.2/build-mpich'
make[3]: *** [Makefile:7409: all-recursive] Error 1
make[3]: Leaving directory '/build/reproducible-path/ga-5.8.2/build-mpich'
make[2]: *** [Makefile:4503: all] Error 2
make[2]: Leaving directory '/build/reproducible-path/ga-5.8.2/build-mpich'
dh_auto_build: error: cd build-mpich && make -j8 returned exit code 2
make[1]: *** [debian/rules:47: override_dh_auto_build] Error 25
make[1]: Leaving directory '/build/reproducible-path/ga-5.8.2'
make: *** [debian/rules:21: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the Debichem-devel
mailing list