Bug#1117029: cl-anaphora: autopkgtest fails with -std=c23
Source: cl-anaphora
Version: 1:0.9.8-1
Severity: normal
X-Debbugs-Cc: ravi.kant.sharma@canonical.com
Dear Maintainer,
I noticed during in Ubuntu 25.10 clisp 1:2.49.20250504.gitf662209-1 migration that the autopkgtests fail with the following error.
101s ;;; Internal error:
101s ;;; ** Error code 1 when executing
101s ;;; (EXT:RUN-PROGRAM "gcc" ("-I." "-I/usr/include/" "-Wdate-time" "-D_FORTIFY_SOURCE=3" "-D_GNU_SOURCE" "-D_FILE_OFFSET_BITS=64" "-g" "-O3" "-Werror=implicit-function-declaration" "-fno-omit-frame-pointer" "-mno-omit-leaf-frame-pointer" "-ffile-prefix-map=/build/ecl-kdeNWB/ecl-24.5.10+ds=." "-fstack-protector-strong" "-fstack-clash-protection" "-Wformat" "-Werror=format-security" "-fcf-protection" "-fdebug-prefix-map=/build/ecl-kdeNWB/ecl-24.5.10+ds=/usr/src/ecl-24.5.10+ds-1" "-fPIC" "-D_THREAD_SAFE" "-Dlinux" "-O2" "-c" "/tmp/autopkgtest.FpdWAS/autopkgtest_tmp/usr/share/common-lisp/source/anaphora/packages.c" "-o" "/tmp/autopkgtest.FpdWAS/autopkgtest_tmp/usr/share/common-lisp/source/anaphora/packages.o")):
101s ;;; In file included from /usr/include/ecl/ecl.h:81,
101s ;;; from /usr/include/ecl/ecl-cmp.h:31,
101s ;;; from /tmp/autopkgtest.FpdWAS/autopkgtest_tmp/usr/share/common-lisp/source/anaphora/packages.c:5:
101s ;;; /usr/include/ecl/object.h:27:13: error: ‘bool’ cannot be defined via ‘typedef’
101s ;;; 27 | typedef int bool;
101s ;;; | ^~~~
101s ;;; /usr/include/ecl/object.h:27:13: note: ‘bool’ is a keyword with ‘-std=c23’ onwardsAn error occurred during initialization:
101s COMPILE-FILE-ERROR while compiling #<cl-source-file "anaphora" "packages">.
-- System Information:
Debian Release: trixie/sid
APT prefers noble-updates
APT policy: (500, 'noble-updates'), (500, 'noble-security'), (500, 'noble'), (100, 'noble-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.8.0-63-generic (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Reply to: