raulcd commented on PR #49063:
URL: https://github.com/apache/arrow/pull/49063#issuecomment-3823274243

   I think this broke some of our Linux Packaging jobs:
   ```
   FAILED: src/gandiva/CMakeFiles/gandiva_objlib.dir/engine.cc.o 
   /usr/bin/c++ -DARROW_HAVE_NEON -DARROW_WITH_TIMING_TESTS -DBOOST_ALL_NO_LIB 
-DGANDIVA_EXPORTING -I"/build/apache-arrow-24.0.0~dev20260130/cpp_build/src" 
-I"/build/apache-arrow-24.0.0~dev20260130/cpp/src" 
-I"/build/apache-arrow-24.0.0~dev20260130/cpp/src/generated" -isystem 
/usr/lib/llvm-14/include -isystem 
"/build/apache-arrow-24.0.0~dev20260130/cpp_build/xsimd_ep/src/xsimd_ep-install/include"
 -Wredundant-move -Wno-noexcept-type -g -O2 
-ffile-prefix-map=/build/apache-arrow-24.0.0~dev20260130=. 
-fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 
-fdiagnostics-color=always  -Wall -Wno-conversion -Wno-sign-conversion 
-Wdate-time -Wimplicit-fallthrough -Wunused-result -fno-semantic-interposition 
-march=armv8-a  -O2 -g -DNDEBUG -ftree-vectorize -ggdb  -fPIC 
-Wmissing-declarations -std=c++20 -MD -MT 
src/gandiva/CMakeFiles/gandiva_objlib.dir/engine.cc.o -MF 
src/gandiva/CMakeFiles/gandiva_objlib.dir/engine.cc.o.d -o 
src/gandiva/CMakeFiles/gandiva_objlib.dir/engin
 e.cc.o -c '/build/apache-arrow-24.0.0~dev20260130/cpp/src/gandiva/engine.cc'
   /build/apache-arrow-24.0.0~dev20260130/cpp/src/gandiva/engine.cc: In 
function ‘arrow::Result<std::unique_ptr<llvm::orc::LLJIT> > 
gandiva::{anonymous}::BuildJIT(llvm::orc::JITTargetMachineBuilder, 
std::shared_ptr<llvm::TargetMachine>, 
std::optional<std::reference_wrapper<gandiva::GandivaObjectCache> >)’:
   /build/apache-arrow-24.0.0~dev20260130/cpp/src/gandiva/engine.cc:233:47: 
error: cannot convert ‘std::enable_if_t<true, std::optional<llvm::DataLayout> 
>’ {aka ‘std::optional<llvm::DataLayout>’} to ‘llvm::Optional<llvm::DataLayout>’
     233 |   jit_builder.setDataLayout(std::make_optional(data_layout));
         |                             ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
         |                                               |
         |                                               std::enable_if_t<true, 
std::optional<llvm::DataLayout> > {aka std::optional<llvm::DataLayout>}
   In file included from 
/build/apache-arrow-24.0.0~dev20260130/cpp/src/gandiva/engine.cc:50:
   /usr/include/llvm-14/llvm/ExecutionEngine/Orc/LLJIT.h:314:50: note:   
initializing argument 1 of ‘SetterImpl& llvm::orc::LLJITBuilderSetters< 
<template-parameter-1-1>, <template-parameter-1-2>, <template-parameter-1-3> 
>::setDataLayout(llvm::Optional<llvm::DataLayout>) [with JITType = 
llvm::orc::LLJIT; SetterImpl = llvm::orc::LLJITBuilder; State = 
llvm::orc::LLJITBuilderState]’
     314 |   SetterImpl &setDataLayout(Optional<DataLayout> DL) {
         |                             ~~~~~~~~~~~~~~~~~~~~~^~
   [1643/1680] /usr/bin/c++ -DARROW_HAVE_NEON -DARROW_WITH_TIMING_TESTS 
-DBOOST_ALL_NO_LIB -DGANDIVA_EXPORTING 
-I"/build/apache-arrow-24.0.0~dev20260130/cpp_build/src" 
-I"/build/apache-arrow-24.0.0~dev20260130/cpp/src" 
-I"/build/apache-arrow-24.0.0~dev20260130/cpp/src/generated" -isystem 
/usr/lib/llvm-14/include -isystem 
"/build/apache-arrow-24.0.0~dev20260130/cpp_build/xsimd_ep/src/xsimd_ep-install/include"
 -Wredundant-move -Wno-noexcept-type -g -O2 
-ffile-prefix-map=/build/apache-arrow-24.0.0~dev20260130=. 
-fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 
-fdiagnostics-color=always  -Wall -Wno-conversion -Wno-sign-conversion 
-Wdate-time -Wimplicit-fallthrough -Wunused-result -fno-semantic-interposition 
-march=armv8-a  -O2 -g -DNDEBUG -ftree-vectorize -ggdb  -fPIC 
-Wmissing-declarations -std=c++20 -MD -MT 
src/gandiva/CMakeFiles/gandiva_objlib.dir/expression.cc.o -MF 
src/gandiva/CMakeFiles/gandiva_objlib.dir/expression.cc.o.d -o 
src/gandiva/CMakeFiles/gand
 iva_objlib.dir/expression.cc.o -c 
'/build/apache-arrow-24.0.0~dev20260130/cpp/src/gandiva/expression.cc'
   [1644/1680] /usr/bin/c++ -DARROW_HAVE_NEON -DARROW_WITH_TIMING_TESTS 
-DBOOST_ALL_NO_LIB -DGANDIVA_EXPORTING 
-I"/build/apache-arrow-24.0.0~dev20260130/cpp_build/src" 
-I"/build/apache-arrow-24.0.0~dev20260130/cpp/src" 
-I"/build/apache-arrow-24.0.0~dev20260130/cpp/src/generated" -isystem 
/usr/lib/llvm-14/include -isystem 
"/build/apache-arrow-24.0.0~dev20260130/cpp_build/xsimd_ep/src/xsimd_ep-install/include"
 -Wredundant-move -Wno-noexcept-type -g -O2 
-ffile-prefix-map=/build/apache-arrow-24.0.0~dev20260130=. 
-fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 
-fdiagnostics-color=always  -Wall -Wno-conversion -Wno-sign-conversion 
-Wdate-time -Wimplicit-fallthrough -Wunused-result -fno-semantic-interposition 
-march=armv8-a  -O2 -g -DNDEBUG -ftree-vectorize -ggdb  -fPIC 
-Wmissing-declarations -std=c++20 -MD -MT 
src/gandiva/CMakeFiles/gandiva_objlib.dir/expr_validator.cc.o -MF 
src/gandiva/CMakeFiles/gandiva_objlib.dir/expr_validator.cc.o.d -o 
src/gandiva/CMakeFi
 les/gandiva_objlib.dir/expr_validator.cc.o -c 
'/build/apache-arrow-24.0.0~dev20260130/cpp/src/gandiva/expr_validator.cc'
   [1645/1680] /usr/bin/c++ -DARROW_HAVE_NEON -DARROW_WITH_TIMING_TESTS 
-DBOOST_ALL_NO_LIB -DGANDIVA_EXPORTING 
-I"/build/apache-arrow-24.0.0~dev20260130/cpp_build/src" 
-I"/build/apache-arrow-24.0.0~dev20260130/cpp/src" 
-I"/build/apache-arrow-24.0.0~dev20260130/cpp/src/generated" -isystem 
/usr/lib/llvm-14/include -isystem 
"/build/apache-arrow-24.0.0~dev20260130/cpp_build/xsimd_ep/src/xsimd_ep-install/include"
 -Wredundant-move -Wno-noexcept-type -g -O2 
-ffile-prefix-map=/build/apache-arrow-24.0.0~dev20260130=. 
-fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 
-fdiagnostics-color=always  -Wall -Wno-conversion -Wno-sign-conversion 
-Wdate-time -Wimplicit-fallthrough -Wunused-result -fno-semantic-interposition 
-march=armv8-a  -O2 -g -DNDEBUG -ftree-vectorize -ggdb  -fPIC 
-Wmissing-declarations -std=c++20 -MD -MT 
src/gandiva/CMakeFiles/gandiva_objlib.dir/expr_decomposer.cc.o -MF 
src/gandiva/CMakeFiles/gandiva_objlib.dir/expr_decomposer.cc.o.d -o 
src/gandiva/CMake
 Files/gandiva_objlib.dir/expr_decomposer.cc.o -c 
'/build/apache-arrow-24.0.0~dev20260130/cpp/src/gandiva/expr_decomposer.cc'
   ninja: build stopped: subcommand failed.
   ```
   
   Seen this on main:
   https://github.com/apache/arrow/actions/runs/21509565491/job/61973040262
   I'll open a new issue.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to