Bug#1117028: cl-alexandria: autopkgtest fails with -std=c23
Hello
Replying to the three bugs reports at the same time as I think they are all having a common source.
On Thu, Oct 2, 2025, at 15:29, Ravi Kant Sharma wrote:
...
> 165s ;;; /usr/include/ecl/object.h:27:13: error: ‘bool’ cannot be
> defined via ‘typedef’
> 165s ;;; 27 | typedef int bool;
> 165s ;;; | ^~~~
> 165s ;;; /usr/include/ecl/object.h:27:13: note: ‘bool’ is a keyword
> with ‘-std=c23’ onwardsAn error occurred during initialization:
> 165s COMPILE-FILE-ERROR while
> 165s compiling #<cl-source-file "alexandria" "alexandria-1" "package">.
So the source of this (and the other problems) isn't clisp, cl-anaphora, cl-asdf or cl-alexandria but ecl. I think this is bug #1096562, which should be fixed in 24.5.10.20250914.git294da20+dfsg-1
Could you confirm the version of ecl you are using to run these tests?
FYI: autopkgtest is becoming useless to lisp packages as the tests cannot distinguish a implementation (clisp, ecl, sbcl) from a library (cl-asdf for example) problem. This is not only a problem for you, but also for migration of packages, see for example https://tracker.debian.org/pkg/ecl where we have failures due to sbcl (another implementation) causing problems.
Best regards, Peter
Reply to: