Bug#1154059: apache-arrow: FTBFS with LLVM 23 as default: Gandiva rejects LLVM 23
Sylvestre Ledru
sylvestre at debian.org
Sun Nov 15 11:02:00 GMT 2026
Source: apache-arrow
Version: 25.0.0-2
Severity: important
Tags: ftbfs patch
User: pkg-llvm-team at lists.alioth.debian.org
Usertags: llvm-23-default
Control: affects -1 + src:llvm-defaults
Control: block 1154024 by -1
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.
apache-arrow fails to build in unstable with it, and builds without it:
CMake Warning at cmake_modules/FindLLVMAlt.cmake:58 (find_package):
Could not find a configuration file for package "LLVM" that is compatible
with requested version [...]
/usr/lib/llvm-23/lib/cmake/llvm/LLVMConfig.cmake, version: 23.1.3
Gandiva has a fixed list of supported LLVM versions, ARROW_LLVM_VERSIONS
in cpp/CMakeLists.txt:181, which stops at 22.1. With "23.1" added, the
build goes further and fails in cpp/src/gandiva/engine.cc:213: since
LLVM 23, the ObjectLinkingLayerCreator callback also gets the
JITLinkMemoryManager.
The attached debdiff fixes both. apache-arrow builds with it, tests included.
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: apache-arrow.debdiff
Type: text/x-diff
Size: 2149 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20261115/0448b539/attachment.diff>
More information about the debian-science-maintainers
mailing list