kou opened a new issue, #45423:
URL: https://github.com/apache/arrow/issues/45423

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   
https://github.com/ursacomputing/crossbow/actions/runs/13125731106/job/36621579172#step:7:271
   
   ```text
   CMake Warning at /usr/local/share/cmake-3.29/Modules/FindBoost.cmake:1398 
(message):
     New Boost version may have incorrect or missing dependencies and imported
     targets
   Call Stack (most recent call first):
     /usr/local/share/cmake-3.29/Modules/FindBoost.cmake:1523 
(_Boost_COMPONENT_DEPENDENCIES)
     /usr/local/share/cmake-3.29/Modules/FindBoost.cmake:2135 
(_Boost_MISSING_DEPENDENCIES)
     cmake_modules/ThirdpartyToolchain.cmake:313 (find_package)
     cmake_modules/ThirdpartyToolchain.cmake:1292 (resolve_dependency)
     CMakeLists.txt:546 (include)
   ```
   
   This happened after #45397 is merged.
   
   In general, `libarrow_testing.{a,so}` that are also used by fuzzer require 
`boost::filesystem` because `arrow::util::Process` uses it:
   
   
https://github.com/apache/arrow/blob/1567be0d74c5ee90c3d989f6fcefb32c402a736c/cpp/src/arrow/testing/process.cc#L76-L92
   
   But it seems that we can use `libarrow_testing.a` without 
`boost::filesystem` when we don't use `arrow::util::Process`.
   
   `test-build-cpp-fuzz` prepare only Boost headers: 
https://github.com/google/oss-fuzz/blob/e007cb7be3868cb4f55e030c6c2a4199ca750bb6/projects/arrow/build.sh#L20-L28
   
   So, let's require `boost::filesystem` only when `libarrow_testing.so` is 
used.
   
   
   ### Component(s)
   
   C++, Continuous Integration


-- 
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: issues-unsubscr...@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to