镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

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

Closed

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

Activity

  1. added a commit that references this issue on Jul 2, 2026
  2. added this to the 26.0.0 milestone on Jul 2, 2026
  3. rok commented on Jul 2, 2026

    @rok
    MemberAuthor

    Issue resolved by pull request 50323
    #50323

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions