After the latest upgrade of devel/boost and the corresponding revision bump, the build for databases/arrow seems to be broken. We get the following error: ################################################################# [ 55% 246/445] ccache /usr/local/llvm17/bin/clang++ -DARROW_TESTING_EXPORTING -DARROW_WITH_TIMING_TESTS -DBOOST_PROCESS_HAVE_V1 -DBOOST_PROCESS_HAVE_V2 -DBOOST_PROCESS_USE_V2 -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -I/wrkdirs/usr/ports/databases/arrow/work/.build/src -I/wrkdirs/usr/ports/databases/arrow/work/apache-arrow-19.0.1/cpp/src -I/wrkdirs/usr/ports/databases/arrow/work/apache-arrow-19.0.1/cpp/src/generated -isystem /wrkdirs/usr/ports/databases/arrow/work/apache-arrow-19.0.1/cpp/thirdparty/flatbuffers/include -O2 -pipe -fno-omit-frame-pointer -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -Qunused-arguments -fcolor-diagnostics -Wall -Wno-unknown-warning-option -Wno-pass-failed -O2 -pipe -fno-omit-frame-pointer -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -DNDEBUG -std=c++17 -fPIC -pthread -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 /wrkdirs/usr/ports/databases/arrow/work/apache-arrow-19.0.1/cpp/src/arrow/testing/process.cc FAILED: src/arrow/CMakeFiles/arrow_testing_objlib.dir/testing/process.cc.o ccache /usr/local/llvm17/bin/clang++ -DARROW_TESTING_EXPORTING -DARROW_WITH_TIMING_TESTS -DBOOST_PROCESS_HAVE_V1 -DBOOST_PROCESS_HAVE_V2 -DBOOST_PROCESS_USE_V2 -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -I/wrkdirs/usr/ports/databases/arrow/work/.build/src -I/wrkdirs/usr/ports/databases/arrow/work/apache-arrow-19.0.1/cpp/src -I/wrkdirs/usr/ports/databases/arrow/work/apache-arrow-19.0.1/cpp/src/generated -isystem /wrkdirs/usr/ports/databases/arrow/work/apache-arrow-19.0.1/cpp/thirdparty/flatbuffers/include -O2 -pipe -fno-omit-frame-pointer -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -Qunused-arguments -fcolor-diagnostics -Wall -Wno-unknown-warning-option -Wno-pass-failed -O2 -pipe -fno-omit-frame-pointer -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -DNDEBUG -std=c++17 -fPIC -pthread -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 /wrkdirs/usr/ports/databases/arrow/work/apache-arrow-19.0.1/cpp/src/arrow/testing/process.cc /wrkdirs/usr/ports/databases/arrow/work/apache-arrow-19.0.1/cpp/src/arrow/testing/process.cc:46:16: fatal error: 'boost/process/v2.hpp' file not found 46 | # include <boost/process/v2.hpp> | ^~~~~~~~~~~~~~~~~~~~~~ 1 error generated. ninja: build stopped: subcommand failed. *** Error code 1 ################################################################# There is an upstream issue where the same error has been reported: https://github.com/apache/arrow/issues/45803 We tried building with the mentioned commit in the issue (slightly adjusted so it applies - https://github.com/apache/arrow/commit/deccce15041809157a84ff2b869015a36bdf2270), but that didn't help either. Any help is appreciated :)
(In reply to Dani I. from comment #0) Try disabling the TESTING option.
(In reply to Trond Endrestøl from comment #1) Yeah that does work, but that doesn't seem like a "real" fix for me?
(In reply to Dani I. from comment #2) No, it isn't. Upstream must prepare a new version compatible with Boost 1.88.0.
It has already been fixed in https://github.com/apache/arrow/pull/46160 perhaps we could include the PR patch until it will land into next arrow release?
Created attachment 261028 [details] Updated patch for src/arrow/testing/process.cc Incorporates patch from https://github.com/apache/arrow/pull/46160 Committed upstream as https://github.com/apache/arrow/commit/af15118dd065facc6e9bbeb58af13c382351600e
At line 45, there is a stray "More actions" string in the patch.
Created attachment 261029 [details] Updated patch for src/arrow/testing/process.cc
(In reply to Juraj Lutter from comment #6) Yeah. I noticed it too late. Copying from GitHub is sometimes painful. I corrected the typo at the very top and added a reference to the pull request for the current issue.
does https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287404 resolve this also?