#1154049 ghdl: FTBFS with LLVM 23 as default: Build-Depends: llvm-dev (<< 1:23~)

Package:
src:ghdl
Source:
src:ghdl
Submitter:
Sylvestre Ledru
Date:
2026-11-15 12:21:05 UTC
Severity:
normal
Tags:
#1154049#5
Date:
2026-11-15 11:02:15 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.

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

The build-dependencies can't be satisfied: ghdl build-depends on
"llvm-dev (<< 1:23~)", which excludes LLVM 23. Once ghdl supports 23
upstream, the upper bound can be lifted.

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