Describe the bug, including details regarding any error messages, version, and platform.
https://github.com/apache/arrow/actions/runs/9087726441/job/24975987957?pr=41658#step:7:1378
FAILED: src/gandiva/precompiled/print.bc /build/cpp/src/gandiva/precompiled/print.bc
cd /build/cpp/src/gandiva/precompiled && /opt/vcpkg/installed/amd64-linux-static-release/tools/llvm/clang-17 -std=c++17 -DGANDIVA_IR -DNDEBUG -DARROW_STATIC -DGANDIVA_STATIC -fno-use-cxa-atexit -emit-llvm -O3 -c /arrow/cpp/src/gandiva/precompiled/print.cc -o /build/cpp/src/gandiva/precompiled/print.bc -isystem -isystem /x86_64-redhat-linux -isystem -lpthread -I/build/cpp/src -I/arrow/cpp/src
clang-17: error: no such file or directory: '/x86_64-redhat-linux'
This is related to #41451.
Component(s)
Continuous Integration, Java