[Pkg-electronics-devel] Bug#1096464: covered: ftbfs with GCC-15

Matthias Klose doko at debian.org
Mon Feb 17 17:08:05 GMT 2025


Package: src:covered
Version: 0.7.10-5
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/covered_0.7.10-5_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

[...]
In file included from ../src/binding.h:26,
                 from ../src/expr.c:138:
../src/defines.h:1391:3: error: expected ‘;’, identifier or ‘(’ before ‘bool’
 1391 | } bool;
      |   ^~~~
../src/defines.h:1391:3: warning: useless type name in empty declaration
../src/defines.h:1609:12: error: expected identifier or ‘(’ before ‘false’
 1609 |     uint32 false          :1;  /*!< Bit 2.  Mask bit = 1.  Indicates that this expression has evaluated to a value
      |            ^~~~~
../src/defines.h:1611:12: error: expected identifier or ‘(’ before ‘true’
 1611 |     uint32 true           :1;  /*!< Bit 3.  Mask bit = 1.  Indicates that this expression has evaluated to a value
      |            ^~~~
make[3]: *** [Makefile:578: arc.o] Error 1
make[3]: *** [Makefile:606: binding.o] Error 1
make[3]: *** [Makefile:634: db.o] Error 1
make[3]: *** [Makefile:620: codegen.o] Error 1
../src/expr.c: In function ‘expression_set_tf_preclear’:
../src/expr.c:1954:26: error: expected identifier before ‘true’
 1954 |         expr->suppl.part.true   = 1;
      |                          ^~~~
../src/expr.c:1957:26: error: expected identifier before ‘false’
 1957 |         expr->suppl.part.false  = 1;
      |                          ^~~~~
../src/expr.c: In function ‘expression_set_tf’:
../src/expr.c:1985:26: error: expected identifier before ‘true’
 1985 |         expr->suppl.part.true   = 1;
      |                          ^~~~
../src/expr.c:1988:26: error: expected identifier before ‘false’
 1988 |         expr->suppl.part.false  = 1;
      |                          ^~~~~
../src/expr.c: In function ‘expression_op_func__pedge’:
../src/expr.c:4359:22: error: expected identifier before ‘true’
 4359 |     expr->suppl.part.true   = 1;
      |                      ^~~~
../src/expr.c: In function ‘expression_op_func__nedge’:
../src/expr.c:4395:22: error: expected identifier before ‘true’
 4395 |     expr->suppl.part.true   = 1;
      |                      ^~~~
../src/expr.c: In function ‘expression_op_func__aedge’:
../src/expr.c:4431:26: error: expected identifier before ‘true’
 4431 |         expr->suppl.part.true   = 1;
      |                          ^~~~
../src/expr.c:4446:24: error: expected identifier before ‘true’
 4446 |       expr->suppl.part.true   = 1;
      |                        ^~~~
../src/expr.c: In function ‘expression_op_func__eor’:
../src/expr.c:4479:22: error: expected identifier before ‘true’
 4479 |     expr->suppl.part.true   = 1;
      |                      ^~~~
../src/expr.c: In function ‘expression_op_func__slist’:
../src/expr.c:4515:22: error: expected identifier before ‘true’
 4515 |     expr->suppl.part.true   = 1;
      |                      ^~~~
../src/expr.c: In function ‘expression_op_func__delay’:
../src/expr.c:4555:24: error: expected identifier before ‘true’
 4555 |       expr->suppl.part.true   = 1;
      |                        ^~~~
../src/expr.c: In function ‘expression_op_func__wait’:
../src/expr.c:5488:22: error: expected identifier before ‘true’
 5488 |     expr->suppl.part.true   = 1;
      |                      ^~~~
make[3]: *** [Makefile:662: expr.o] Error 1
make[3]: Leaving directory '/build/reproducible-path/covered-0.7.10/lib'
make[2]: *** [Makefile:408: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/covered-0.7.10'
make[1]: *** [Makefile:349: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/covered-0.7.10'
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



More information about the Pkg-electronics-devel mailing list