[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1096562: ecl: ftbfs with GCC-15



Package: src:ecl
Version: 24.5.10+ds-1
Severity: important
Tags: sid forky
User: debian-gcc@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/ecl_24.5.10+ds-1_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

[...]
checking for backtrace... yes
checking for backtrace_symbols... yes
checking for sys/mman.h... yes
checking working environ... yes
checking for working feenableexcept... yes
checking for atomic_ops.h... yes
checking libatomic-ops version ... system 
checking for wchar.h... yes
= init form
configure: creating ./config.status
config.status: creating bare.lsp
config.status: creating lsp/load.lsp
config.status: creating clos/load.lsp
config.status: creating cmp/load.lsp
config.status: creating ../Makefile
config.status: creating Makefile
config.status: creating c/Makefile
config.status: creating doc/Makefile
config.status: creating doc/ecl.man
config.status: creating doc/ecl-config.man
config.status: creating ecl/configpre.h
config.status: creating ecl/configpre-int.h
config.status: creating bin/ecl-config.pre
config.status: creating lsp/config.lsp
config.status: creating compile.pre
config.status: creating cmp/cmpdefs.pre
config.status: creating tests/config.lsp
config.status: creating tests/Makefile
config.status: creating ecl/config.h
config.status: creating ecl/config-internal.h
Configuration complete. To build ECL, issue make in this directory.
make[1]: Leaving directory '/build/reproducible-path/ecl-24.5.10+ds'
   dh_auto_build
	make -j8
make[1]: Entering directory '/build/reproducible-path/ecl-24.5.10+ds'
cd build; make
make[2]: Entering directory '/build/reproducible-path/ecl-24.5.10+ds/build'
/bin/bash: line 1: cd: /build/reproducible-path/ecl-24.5.10+ds/src/../.git: No such file or directory
tags generation failed, but this does not break the build.
make[3]: Entering directory '/build/reproducible-path/ecl-24.5.10+ds/build/doc'
cp -r /build/reproducible-path/ecl-24.5.10+ds/src/doc/manual .
make MAKEINFO=/usr/bin/makeinfo -C manual info
Building libeclmin.a...
make[3]: Entering directory '/build/reproducible-path/ecl-24.5.10+ds/build/c'
make[4]: Entering directory '/build/reproducible-path/ecl-24.5.10+ds/build/doc/manual'
/usr/bin/makeinfo --no-split manual.txi
/build/reproducible-path/ecl-24.5.10+ds/src/c/dpp.c:112:13: error: ‘bool’ cannot be defined via ‘typedef’
  112 | typedef int bool;
      |             ^~~~
/build/reproducible-path/ecl-24.5.10+ds/src/c/dpp.c:112:13: note: ‘bool’ is a keyword with ‘-std=c23’ onwards
/build/reproducible-path/ecl-24.5.10+ds/src/c/dpp.c:112:1: warning: useless type name in empty declaration
  112 | typedef int bool;
      | ^~~~~~~
make[3]: *** [Makefile:114: dpp] Error 1
make[3]: Leaving directory '/build/reproducible-path/ecl-24.5.10+ds/build/c'
make[2]: *** [Makefile:132: libeclmin.a] Error 2
make[2]: *** Waiting for unfinished jobs....
macros.txi:135: warning: redefining Texinfo language command: @seealso
manual.txi:29: warning: @noindent is useless inside of a paragraph
manual.txi:31: warning: @noindent is useless inside of a paragraph
characters.txi:12: warning: node name with index entries should not contain `. '
gzip -9 < ecl.info > ecl.info.gz
make[4]: Leaving directory '/build/reproducible-path/ecl-24.5.10+ds/build/doc/manual'
make[3]: Leaving directory '/build/reproducible-path/ecl-24.5.10+ds/build/doc'
make[2]: Leaving directory '/build/reproducible-path/ecl-24.5.10+ds/build'
make[1]: *** [Makefile:65: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/ecl-24.5.10+ds'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:9: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2


Reply to: