Bug#1096594: euslisp: ftbfs with GCC-15

Matthias Klose doko at debian.org
Mon Feb 17 17:12:10 GMT 2025


Package: src:euslisp
Version: 9.31+dfsg-3
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/euslisp_9.31+dfsg-3_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

[...]
eus_proto.h:349:76: note: expected ‘struct cell * (*)(void)’ but argument is of type ‘struct cell * (*)(context *, int,  struct cell **)’
  349 | extern pointer defunpkg(context */*ctx*/, char */*name*/, pointer /*mod*/, pointer (*/*f*/)(), pointer /*pkg*/);
      |                                                                            ^~~~~~~~~~~~~~~~~~
sequence.c:815:9: note: ‘NSUBSTITUTE’ declared here
  815 | pointer NSUBSTITUTE(ctx,n,argv)
      |         ^~~~~~~~~~~
sequence.c:1092:37: error: passing argument 4 of ‘defunpkg’ from incompatible pointer type [-Wincompatible-pointer-types]
 1092 |   defunpkg(ctx,"VECTOR-REPLACE",mod,VECREPLACE,syspkg);
      |                                     ^~~~~~~~~~
      |                                     |
      |                                     struct cell * (*)(context *, int,  struct cell **)
eus_proto.h:349:76: note: expected ‘struct cell * (*)(void)’ but argument is of type ‘struct cell * (*)(context *, int,  struct cell **)’
  349 | extern pointer defunpkg(context */*ctx*/, char */*name*/, pointer /*mod*/, pointer (*/*f*/)(), pointer /*pkg*/);
      |                                                                            ^~~~~~~~~~~~~~~~~~
sequence.c:858:9: note: ‘VECREPLACE’ declared here
  858 | pointer VECREPLACE(ctx,n,argv)
      |         ^~~~~~~~~~
sequence.c:1093:24: error: passing argument 4 of ‘defun’ from incompatible pointer type [-Wincompatible-pointer-types]
 1093 |   defun(ctx,"SORT",mod,SORT,NULL);
      |                        ^~~~
      |                        |
      |                        struct cell * (*)(context *, int,  struct cell **)
eus_proto.h:348:73: note: expected ‘struct cell * (*)(void)’ but argument is of type ‘struct cell * (*)(context *, int,  struct cell **)’
  348 | extern pointer defun(context */*ctx*/, char */*name*/, pointer /*mod*/, pointer (*/*f*/)(), char * /*doc*/);
      |                                                                         ^~~~~~~~~~~~~~~~~~
sequence.c:980:9: note: ‘SORT’ declared here
  980 | pointer SORT(ctx,n,argv)
      |         ^~~~
sequence.c:1094:26: error: passing argument 4 of ‘defun’ from incompatible pointer type [-Wincompatible-pointer-types]
 1094 |   defun(ctx,"LENGTH",mod,LENGTH,NULL);
      |                          ^~~~~~
      |                          |
      |                          struct cell * (*)(context *, int,  struct cell **)
eus_proto.h:348:73: note: expected ‘struct cell * (*)(void)’ but argument is of type ‘struct cell * (*)(context *, int,  struct cell **)’
  348 | extern pointer defun(context */*ctx*/, char */*name*/, pointer /*mod*/, pointer (*/*f*/)(), char * /*doc*/);
      |                                                                         ^~~~~~~~~~~~~~~~~~
sequence.c:1018:9: note: ‘LENGTH’ declared here
 1018 | pointer LENGTH(ctx,n,argv)
      |         ^~~~~~
sequence.c:1095:23: error: passing argument 4 of ‘defun’ from incompatible pointer type [-Wincompatible-pointer-types]
 1095 |   defun(ctx,"ELT",mod,ELT,NULL);
      |                       ^~~
      |                       |
      |                       struct cell * (*)(context *, int,  struct cell **)
eus_proto.h:348:73: note: expected ‘struct cell * (*)(void)’ but argument is of type ‘struct cell * (*)(context *, int,  struct cell **)’
  348 | extern pointer defun(context */*ctx*/, char */*name*/, pointer /*mod*/, pointer (*/*f*/)(), char * /*doc*/);
      |                                                                         ^~~~~~~~~~~~~~~~~~
sequence.c:1038:9: note: ‘ELT’ declared here
 1038 | pointer ELT(ctx,n,argv)
      |         ^~~
sequence.c:1096:26: error: passing argument 4 of ‘defun’ from incompatible pointer type [-Wincompatible-pointer-types]
 1096 |   defun(ctx,"SETELT",mod,SETELT,NULL);
      |                          ^~~~~~
      |                          |
      |                          struct cell * (*)(context *, int,  struct cell **)
eus_proto.h:348:73: note: expected ‘struct cell * (*)(void)’ but argument is of type ‘struct cell * (*)(context *, int,  struct cell **)’
  348 | extern pointer defun(context */*ctx*/, char */*name*/, pointer /*mod*/, pointer (*/*f*/)(), char * /*doc*/);
      |                                                                         ^~~~~~~~~~~~~~~~~~
sequence.c:1055:9: note: ‘SETELT’ declared here
 1055 | pointer SETELT(ctx,n,argv)
      |         ^~~~~~
make[3]: *** [Makefile.generic2:297: /build/reproducible-path/euslisp-9.31+dfsg/Linux64/obj/sequence.o] Error 1
make[3]: Leaving directory '/build/reproducible-path/euslisp-9.31+dfsg/lisp'
make[2]: *** [Makefile.generic2:146: all] Error 2
make[2]: Leaving directory '/build/reproducible-path/euslisp-9.31+dfsg/lisp'
make[1]: *** [Makefile:29: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/euslisp-9.31+dfsg'
dh_auto_build: error: make -j8 "INSTALL=install --strip-program=true" returned exit code 2
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the debian-science-maintainers mailing list