raulcd opened a new issue, #49087: URL: https://github.com/apache/arrow/issues/49087
### Describe the bug, including details regarding any error messages, version, and platform. Seen on main latest builds, example: https://github.com/apache/arrow/actions/runs/21509829705/job/61973902627 Jobs for Amazon Linux 2023, Ubuntu Jammy and Debian bookworm are currently failing with: ``` /root/rpmbuild/BUILD/apache-arrow-24.0.0/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 /root/rpmbuild/BUILD/apache-arrow-24.0.0/cpp/src/gandiva/engine.cc:50: /usr/include/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) { | ~~~~~~~~~~~~~~~~~~~~~^~ ``` This started failing when this issue was merged: - https://github.com/apache/arrow/issues/48159 ### Component(s) Continuous Integration, Packaging, Gandiva -- 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]
