Bug#1117030: cl-asdf: autopkgtest fails with -std=c23
Source: cl-asdf
Version: 2:3.3.7.3-2
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.
102s ;;; Internal error:
102s ;;; ** Error code 1 when executing
102s ;;; (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.RToaqA/autopkgtest_tmp/usr/share/common-lisp/source/cl-asdf/build/asdf.c" "-o" "/tmp/autopkgtest.RToaqA/autopkgtest_tmp/usr/share/common-lisp/source/cl-asdf/build/asdf.o")):
102s ;;; In file included from /usr/include/ecl/ecl.h:81,
102s ;;; from /usr/include/ecl/ecl-cmp.h:31,
102s ;;; from /tmp/autopkgtest.RToaqA/autopkgtest_tmp/usr/share/common-lisp/source/cl-asdf/build/asdf.c:5:
102s ;;; /usr/include/ecl/object.h:27:13: error: ‘bool’ cannot be defined via ‘typedef’
102s ;;; 27 | typedef int bool;
102s ;;; | ^~~~
102s ;;; /usr/include/ecl/object.h:27:13: note: ‘bool’ is a keyword with ‘-std=c23’ onwardsAn error occurred during initialization:
102s COMPILE-FILE-ERROR while compiling #<cl-source-file "asdf" "build" "asdf">.
-- 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: