On Mon, 17 Feb 2025 17:13:41 +0000 Matthias Klose <d...@debian.org> wrote:
Control: tags -1 fixed-upstream

Package: src:flint
Version: 3.1.3-2
Severity: important
Tags: sid forky
User: debian-...@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/flint_3.1.3-2_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

[...]
make[2]: *** [Makefile:596: build/generic_files/clz_tab.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from src/generic_files/inlines.c:14:
./src/flint.h:241:16: error: expected ‘;’ before ‘void’
  241 | FLINT_NORETURN void flint_abort(void);
      |                ^~~~
./src/flint.h:484:16: error: expected ‘;’ before ‘void’
  484 | FLINT_NORETURN void flint_throw(flint_err_t exc, const char * msg, ...);
      |                ^~~~
In file included from src/generic_files/fscanf.c:16:
./src/flint.h:241:16: error: expected ‘;’ before ‘void’
  241 | FLINT_NORETURN void flint_abort(void);
      |                ^~~~
make[2]: *** [Makefile:596: build/generic_files/inlines.o] Error 1
./src/flint.h:484:16: error: expected ‘;’ before ‘void’
  484 | FLINT_NORETURN void flint_throw(flint_err_t exc, const char * msg, ...);
      |                ^~~~
make[2]: *** [Makefile:596: build/generic_files/fscanf.o] Error 1
In file included from ./src/thread_pool.h:15,
                 from src/generic_files/memory_manager.c:18:
./src/flint.h:241:16: error: expected ‘;’ before ‘void’
  241 | FLINT_NORETURN void flint_abort(void);
      |                ^~~~
./src/flint.h:484:16: error: expected ‘;’ before ‘void’
  484 | FLINT_NORETURN void flint_throw(flint_err_t exc, const char * msg, ...);

This has been fixed upstream [1].


[1] https://github.com/flintlib/flint/pull/2116

Attachment: signature.asc
Description: PGP signature

Reply via email to