Your message dated Tue, 24 Nov 2026 13:49:16 +0000
with message-id <[email protected]>
and subject line Bug#1154059: fixed in apache-arrow 26.0.1-1
has caused the Debian Bug report #1154059,
regarding apache-arrow: FTBFS with LLVM 23 as default: Gandiva rejects LLVM 23
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1154059: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1154059
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: apache-arrow
Version: 25.0.0-2
Severity: important
Tags: ftbfs patch
User: [email protected]
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
diff --git a/debian/patches/llvm-23.patch b/debian/patches/llvm-23.patch
new file mode 100644
index 0000000..56bcfae
--- /dev/null
+++ b/debian/patches/llvm-23.patch
@@ -0,0 +1,38 @@
+Description: Build Gandiva with LLVM 23
+ * Add 23.1 to the supported LLVM versions.
+ * The ObjectLinkingLayerCreator callback gets the JITLinkMemoryManager
+   since LLVM 23.
+Author: Sylvestre Ledru <[email protected]>
+Forwarded: no
+Last-Update: 2026-11-15
+---
+Index: apache-arrow-25.0.0/cpp/CMakeLists.txt
+===================================================================
+--- apache-arrow-25.0.0.orig/cpp/CMakeLists.txt
++++ apache-arrow-25.0.0/cpp/CMakeLists.txt
+@@ -179,6 +179,7 @@ set(ARROW_DOC_DIR "${CMAKE_INSTALL_DOCDI
+ set(BUILD_SUPPORT_DIR "${CMAKE_SOURCE_DIR}/build-support")
+ 
+ set(ARROW_LLVM_VERSIONS
++    "23.1"
+     "22.1"
+     "21.1"
+     "20.1"
+Index: apache-arrow-25.0.0/cpp/src/gandiva/engine.cc
+===================================================================
+--- apache-arrow-25.0.0.orig/cpp/src/gandiva/engine.cc
++++ apache-arrow-25.0.0/cpp/src/gandiva/engine.cc
+@@ -209,7 +209,12 @@ Status UseJITLinkIfEnabled(llvm::orc::LL
+   static auto maybe_use_jit_link = ::arrow::internal::GetEnvVar("GANDIVA_USE_JIT_LINK");
+   if (maybe_use_jit_link.ok()) {
+     ARROW_ASSIGN_OR_RAISE(static auto memory_manager, CreateMemmoryManager());
+-#  if LLVM_VERSION_MAJOR >= 21
++#  if LLVM_VERSION_MAJOR >= 23
++    jit_builder.setObjectLinkingLayerCreator(
++        [&](llvm::orc::ExecutionSession& ES, llvm::jitlink::JITLinkMemoryManager&) {
++          return std::make_unique<llvm::orc::ObjectLinkingLayer>(ES, *memory_manager);
++        });
++#  elif LLVM_VERSION_MAJOR >= 21
+     jit_builder.setObjectLinkingLayerCreator([&](llvm::orc::ExecutionSession& ES) {
+       return std::make_unique<llvm::orc::ObjectLinkingLayer>(ES, *memory_manager);
+     });
diff --git a/debian/patches/series b/debian/patches/series
index 0968955..1712f76 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 use-debian-mimalloc.patch
 build-sse4.2-kernels.patch
 gandiva-riscv64-pic-jit.patch
+llvm-23.patch

--- End Message ---
--- Begin Message ---
Source: apache-arrow
Source-Version: 26.0.1-1
Done: Dominique Belhachemi <[email protected]>

We believe that the bug you reported is fixed in the latest version of
apache-arrow, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Dominique Belhachemi <[email protected]> (supplier of updated apache-arrow 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 24 Nov 2026 08:15:07 -0500
Source: apache-arrow
Architecture: source
Version: 26.0.1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<[email protected]>
Changed-By: Dominique Belhachemi <[email protected]>
Closes: 1151849 1154059
Changes:
 apache-arrow (26.0.1-1) unstable; urgency=medium
 .
   * New upstream version 26.0.1
     - fixes CVE-2026-92287 (Closes: #1151849)
     - supports LLVM 23 (Closes: #1154059)
   * switch to soname 2600
   * drop build-sse4.2-kernels.patch and gandiva-riscv64-pic-jit.patch,
     applied upstream
   * refresh use-debian-mimalloc.patch
   * debian/control: add libsimdjson-dev and liburiparser-dev
   * debian/copyright: remove the vendored uriparser stanza
Checksums-Sha1:
 1838abf9a9582ed44d3adbfd4f4ee79d25ed8412 4976 apache-arrow_26.0.1-1.dsc
 dd260430794492916d2f28942db86fedd32f1ce4 17878878 
apache-arrow_26.0.1.orig.tar.gz
 72540f5f7a5d614f6b1ec553bdfad1ca07cdcc08 833 
apache-arrow_26.0.1.orig.tar.gz.asc
 84e165df72f5533495edae519db643bf18051fca 90100 
apache-arrow_26.0.1-1.debian.tar.xz
 f7220b1ad4e848f650d745bce06d37f41773db26 16523 
apache-arrow_26.0.1-1_source.buildinfo
Checksums-Sha256:
 432334781eff9a813fb2362e7e12742adb642133c3c418bb3101384dba3060e3 4976 
apache-arrow_26.0.1-1.dsc
 1dd1b6701d9de58a4ed82b107539682f46ef6b9e22747e18e03204125c05a987 17878878 
apache-arrow_26.0.1.orig.tar.gz
 880e638ff2f3f61b8565a39561e6b768c9457a66ab53dc9282d5a128aaf6262b 833 
apache-arrow_26.0.1.orig.tar.gz.asc
 53de7e12d8c4f53c6ee985fc0b12c5a2ec665cb8f29e8b102e947e9b816a6886 90100 
apache-arrow_26.0.1-1.debian.tar.xz
 50b2e5681cbcb2563f9bf2d8271c85ff713af562a094f688f97021cd78d054ec 16523 
apache-arrow_26.0.1-1_source.buildinfo
Files:
 bf79873c9aa035a1527fcaf6f72ea708 4976 devel optional apache-arrow_26.0.1-1.dsc
 fd8c7ea644c932bfd4159a187684a485 17878878 devel optional 
apache-arrow_26.0.1.orig.tar.gz
 b19198b526c0f68051871f766625dd31 833 devel optional 
apache-arrow_26.0.1.orig.tar.gz.asc
 1188de417b870aa7a099515d950dc9b8 90100 devel optional 
apache-arrow_26.0.1-1.debian.tar.xz
 1251109c57fa94b372aaf98a18be725b 16523 devel optional 
apache-arrow_26.0.1-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJHBAEBCgAxFiEE6kgtUJkuk2zr2l/SGbXmyGIZEAEFAmsFj3QTHGRvbWliZWxA
ZGViaWFuLm9yZwAKCRAZtebIYhkQAY0DD/99ZTVliARSeEBT9UYh8o4iueAxEwjM
xdgEDaT3HXtSOJ3c2frmpv8XFq/9mpAiJgLDupCNfp8e0gWmbmNXTf09ohKpaDge
HCSMsA9J/yXJbxseWPdasPs7/ybChyK5NeKlGAyaXmuIEVTIAhsQH0TURlfb4e4b
BOUrxU8eOCMlTW5kIHdIi+6f2HRsOtOH/tChSiAh/uhAVdc3z9khXoq++wQe8uwb
AxDQ4vlhEbGM+cub4F3Mve9UE6dDV2+QWF35aCC00/rsmGsRxXfUHTzwUfhkUo+5
IKaT6qyOtakEtYD5fn+7RUTFvFROdWkQ7MlcigaRvxjr+byEYSHXp2MydSL1Iqgz
DAx39a9PxsH3zClrjbcKLz6+VbbnlClbCH0FdhaZ8RdPkyrTJx0d3iFXR55ZZFSq
TBGkZxEBFm4BFoLKr/S+91/HqJHSCwzCXiI1Bp6t3jGeQWPXDxi18O78G2wJhFyV
UxZoiq1B9Ej285xAifOjx8uVPED/1aaupNE6nu2K9jCw6Tc9+rL+KIXK8kIUdn9P
HgGltQGLqWurOGIXbhII1D3GdlvLevQazDk3wctBBdD6f7ZztZ51taxF4UAa//XT
ohh5BxfAxcjgx0wwT39veyKbtxHJI2ql+fJORaCzaPzSGAYpczcJt9xaVowUlJ/b
tuguzOi0N/3DDA==
=Wubz
-----END PGP SIGNATURE-----

Attachment: pgpRuz7jWCzB5.pgp
Description: PGP signature


--- End Message ---

Reply via email to