Skip to content

[C++][CI] Debian experimental GCC 15 fails: boost/process/v2/src.hpp not found #50316

Description

@rok

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.

# 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++

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions