On Debian Testing with system ecl testing I get
[maxima-5.47.0] [spkg-install] ;;; Compiling
/home/dp/sage/local/var/tmp/sage/build/maxima-5.47.0/src/src/maxima-package.lisp.
[maxima-5.47.0] [spkg-install] ;;; OPTIMIZE levels: Safety=2, Space=0,
Speed=3, Debug=2
[maxima-5.47.0] [spkg-install] ;;;
[maxima-5.47.0] [spkg-install] ;;; Internal error:
[maxima-5.47.0] [spkg-install] ;;; ** Error code 1 when executing
[maxima-5.47.0] [spkg-install] ;;; (EXT:RUN-PROGRAM "gcc" ("-I."
"-I/usr/include/" "-Wdate-time" "-D_FORTIFY_SOURCE=2" "-D_GNU_SOURCE"
"-D_FILE_OFFSET_BITS=64" "-g" "-O2"
"-Werror=implicit-function-declaration"
"-ffile-prefix-map=/build/reproducible-path/ecl-24.5.10+ds=."
"-fstack-protector-strong" "-fstack-clash-protection" "-Wformat"
"-Werror=format-security" "-fcf-protection" "-fPIC" "-D_THREAD_SAFE"
"-Dlinux" "-O2" "-c" "binary-ecl/maxima-package.c" "-o"
"binary-ecl/maxima-package.o")):
[maxima-5.47.0] [spkg-install] ;;; In file included from
/usr/include/ecl/ecl.h:81,
[maxima-5.47.0] [spkg-install] ;;; from
/usr/include/ecl/ecl-cmp.h:31,
[maxima-5.47.0] [spkg-install] ;;; from
binary-ecl/maxima-package.c:5:
[maxima-5.47.0] [spkg-install] ;;; /usr/include/ecl/object.h:27:13:
error: 'bool' cannot be defined via 'typedef'
[maxima-5.47.0] [spkg-install] ;;; 27 | typedef int bool;
[maxima-5.47.0] [spkg-install] ;;; | ^~~~
[maxima-5.47.0] [spkg-install] ;;; /usr/include/ecl/object.h:27:13:
note: 'bool' is a keyword with '-std=c23' onwards
[maxima-5.47.0] [spkg-install] ; - Binary file
binary-ecl/maxima-package.fas is old or does not exist.
which is not a surprise, as the (unpatched, apparently) ecl used by
Debian is not compatible with gcc 15.
It's a Debian bug, I think.
They can use our patches in build/pkgs/ecl/patches/ to make it work.
Dima
> To view this discussion visit
https://groups.google.com/d/msgid/sage-support/08ca33b1-8027-46a2-bc63-c07c0225fb36%40math.univ-lyon1.fr.