#1154038 ispc: FTBFS with LLVM 23 as default: only LLVM up to 22 supported

Package:
src:ispc
Source:
src:ispc
Submitter:
Sylvestre Ledru
Date:
2026-11-15 11:41:02 UTC
Severity:
normal
Tags:
#1154038#5
Date:
2026-11-15 11:02:20 UTC
From:
To:
Hello,

We are going to switch the default LLVM version to 23 (transition bug
#1154024). llvm-defaults 0.75~exp1, in experimental, already points to
23.

ispc fails to build in unstable with it, and builds without it:

src/ispc_version.h:37:2: error: #error "Only LLVM 18.1 - 21.1 and 22.0
development branch are supported"

The check is in src/ispc_version.h:37. A newer upstream release
supporting LLVM 23 is needed.

To reproduce, with sbuild:

  sbuild -d unstable \
    --extra-repository='deb http://deb.debian.org/debian experimental main' \
    --build-dep-resolver=aptitude \
    --add-depends='clang (>= 1:23~), llvm-dev (>= 1:23~), libclang-dev (>= 1:23~)' \
    <package>

The --add-depends forces the llvm-defaults packages from experimental
(the default apt resolver won't pick them, aptitude does), everything
else comes from unstable.

The severity will be raised to serious once llvm-defaults 23 is in
unstable.

Cheers,
Sylvestre