Repository navigation
[C++][CI] Debian experimental GCC 15 fails: boost/process/v2/src.hpp not found #50316
Copy link
Copy link
Closed
Description
Describe the bug, including details regarding any error messages, version, and platform.
The nightly test-debian-experimental-cpp-gcc-15 job is failing during the C++ build on Debian experimental with GCC 15.
[1831/2553] Building CXX object src/arrow/CMakeFiles/arrow_testing_objlib.dir/testing/process.cc.o
FAILED: [code=1] src/arrow/CMakeFiles/arrow_testing_objlib.dir/testing/process.cc.o
/usr/local/bin/sccache /usr/lib/ccache/g++-15 -DARROW_HAVE_RUNTIME_AVX2 -DARROW_HAVE_RUNTIME_AVX512 -DARROW_HAVE_RUNTIME_BMI2 -DARROW_HAVE_RUNTIME_SSE4_2 -DARROW_HAVE_SSE4_2 -DARROW_TESTING_EXPORTING -DARROW_WITH_TIMING_TESTS -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_PROCESS_HAVE_V2 -DBOOST_PROCESS_NEED_SOURCE -DBOOST_PROCESS_USE_V2 -I/build/cpp/src -I/arrow/cpp/src -isystem /arrow/cpp/thirdparty/flatbuffers/include -Wredundant-move -Wno-noexcept-type -Wno-self-move -fdiagnostics-color=always -Wall -Wno-conversion -Wno-sign-conversion -Wdate-time -Wimplicit-fallthrough -Wunused-result -fno-semantic-interposition -msse4.2 -g -Werror -O0 -ggdb -g1 -std=c++20 -fPIC -Wmissing-declarations -DGTEST_HAS_PTHREAD=1 -MD -MT src/arrow/CMakeFiles/arrow_testing_objlib.dir/testing/process.cc.o -MF src/arrow/CMakeFiles/arrow_testing_objlib.dir/testing/process.cc.o.d -o src/arrow/CMakeFiles/arrow_testing_objlib.dir/testing/process.cc.o -c /arrow/cpp/src/arrow/testing/process.cc
/arrow/cpp/src/arrow/testing/process.cc:42:16: fatal error: boost/process/v2/src.hpp: No such file or directory
42 | # include <boost/process/v2/src.hpp>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.The build defines:
-DBOOST_PROCESS_HAVE_V2
-DBOOST_PROCESS_NEED_SOURCE
-DBOOST_PROCESS_USE_V2
but the system Boost installation does not provide boost/process/v2/src.hpp.
arrow/cpp/src/arrow/testing/process.cc
Lines 35 to 44 in 7ebe6e9
| # ifdef BOOST_PROCESS_USE_V2 | |
| # ifdef BOOST_PROCESS_NEED_SOURCE | |
| // Workaround for https://github.com/boostorg/process/issues/312 | |
| # define BOOST_PROCESS_V2_SEPARATE_COMPILATION | |
| # ifdef __APPLE__ | |
| # include <sys/sysctl.h> | |
| # endif | |
| # include <boost/process/v2/src.hpp> | |
| # endif | |
| # include <boost/process/v2/environment.hpp> |
Component(s)
Continuous Integration, C++
Activity
GH-50316: [C++][CI] Install libboost-process-dev on Debian experiment…
rok commentedon Jul 2, 2026
Issue resolved by pull request 50323
#50323