[Debian-med-packaging] Bug#1098098: wise: ftbfs with GCC-15

Matthias Klose doko at debian.org
Mon Feb 17 18:00:24 GMT 2025


Package: src:wise
Version: 2.4.1-25
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/wise_2.4.1-25_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

[...]
 4344 | group_match_null_string_p (p, end, reg_info)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~
gnuregex.c:4394:24: error: too many arguments to function ‘alt_match_null_string_p’; expected 0, have 3
 4394 |                   if (!alt_match_null_string_p (p1, p1 + mcnt - 3,
      |                        ^~~~~~~~~~~~~~~~~~~~~~~  ~~
gnuregex.c:2982:16: note: declared here
 2982 | static boolean alt_match_null_string_p (),
      |                ^~~~~~~~~~~~~~~~~~~~~~~
gnuregex.c:4424:20: error: too many arguments to function ‘alt_match_null_string_p’; expected 0, have 3
 4424 |               if (!alt_match_null_string_p (p1, p1 + mcnt, reg_info))
      |                    ^~~~~~~~~~~~~~~~~~~~~~~  ~~
gnuregex.c:2982:16: note: declared here
 2982 | static boolean alt_match_null_string_p (),
      |                ^~~~~~~~~~~~~~~~~~~~~~~
gnuregex.c:4439:16: error: too many arguments to function ‘common_op_match_null_string_p’; expected 0, have 3
 4439 |           if (!common_op_match_null_string_p (&p1, end, reg_info))
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~  ~~~
gnuregex.c:2983:16: note: declared here
 2983 |                common_op_match_null_string_p (),
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gnuregex.c: In function ‘alt_match_null_string_p’:
gnuregex.c:4453:1: warning: old-style function definition [-Wold-style-definition]
 4453 | alt_match_null_string_p (p, end, reg_info)
      | ^~~~~~~~~~~~~~~~~~~~~~~
gnuregex.c:4475:16: error: too many arguments to function ‘common_op_match_null_string_p’; expected 0, have 3
 4475 |           if (!common_op_match_null_string_p (&p1, end, reg_info))
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~  ~~~
gnuregex.c:2983:16: note: declared here
 2983 |                common_op_match_null_string_p (),
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gnuregex.c: In function ‘common_op_match_null_string_p’:
gnuregex.c:4490:1: warning: old-style function definition [-Wold-style-definition]
 4490 | common_op_match_null_string_p (p, end, reg_info)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gnuregex.c:4520:13: error: too many arguments to function ‘group_match_null_string_p’; expected 0, have 3
 4520 |       ret = group_match_null_string_p (&p1, end, reg_info);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~  ~~~
gnuregex.c:4344:1: note: declared here
 4344 | group_match_null_string_p (p, end, reg_info)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~
gnuregex.c: In function ‘bcmp_translate’:
gnuregex.c:4578:1: warning: old-style function definition [-Wold-style-definition]
 4578 | bcmp_translate (s1, s2, len, translate)
      | ^~~~~~~~~~~~~~
gnuregex.c: In function ‘regcomp’:
gnuregex.c:4720:1: warning: old-style function definition [-Wold-style-definition]
 4720 | regcomp (preg, pattern, cflags)
      | ^~~~~~~
gnuregex.c: In function ‘regexec’:
gnuregex.c:4795:1: warning: old-style function definition [-Wold-style-definition]
 4795 | regexec (preg, string, nmatch, pmatch, eflags)
      | ^~~~~~~
gnuregex.c: In function ‘regerror’:
gnuregex.c:4860:1: warning: old-style function definition [-Wold-style-definition]
 4860 | regerror (errcode, preg, errbuf, errbuf_size)
      | ^~~~~~~~
gnuregex.c: In function ‘regfree’:
gnuregex.c:4904:1: warning: old-style function definition [-Wold-style-definition]
 4904 | regfree (preg)
      | ^~~~~~~
make[3]: *** [Makefile:69: gnuregex.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/build/reproducible-path/wise-2.4.1/src/HMMer2'
make[2]: *** [makefile:89: realall] Error 2
make[2]: Leaving directory '/build/reproducible-path/wise-2.4.1/src'
dh_auto_build: error: cd src && make -j8 "INSTALL=install --strip-program=true" all returned exit code 2
make[1]: *** [debian/rules:40: override_dh_auto_build] Error 25
make[1]: Leaving directory '/build/reproducible-path/wise-2.4.1'
make: *** [debian/rules:32: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Debian-med-packaging mailing list