v6d: Vineyard fails to build with Apache Arrow 20.0.0
Hello, I was trying to update the apache-arrow Homebrew package to 20.0.0 (Homebrew/homebrew-core#221598). Vineyard depends on this package and doesn’t build anymore. cmake --build fails with this error:
[ 63%] Building CXX object modules/llm-cache/CMakeFiles/vineyard_llm_cache.dir/ds/kv_cache.cc.o
cd /private/tmp/vineyard-20250428-99614-lj4csa/v6d-0.24.2/build/modules/llm-cache && /opt/homebrew/Library/Homebrew/shims/mac/super/clang++ -DJSON_DIAGNOSTICS=0 -DJSON_DISABLE_ENUM_SERIALIZATION=0 -DJSON_USE_GLOBAL_UDLS=1 -DJSON_USE_IMPLICIT_CONVERSIONS=0 -DJSON_USE_LEGACY_DISCARDED_VALUE_COMPARISON=0 -Dvineyard_llm_cache_EXPORTS -I/private/tmp/vineyard-20250428-99614-lj4csa/v6d-0.24.2/thirdparty/libcuckoo -I/private/tmp/vineyard-20250428-99614-lj4csa/v6d-0.24.2/src -I/private/tmp/vineyard-20250428-99614-lj4csa/v6d-0.24.2/modules -isystem /private/tmp/vineyard-20250428-99614-lj4csa/v6d-0.24.2/thirdparty/nlohmann-json -isystem /private/tmp/vineyard-20250428-99614-lj4csa/v6d-0.24.2/thirdparty -std=c++17 -DBOOST_PROCESS_VERSION=1 -include boost/process/v1/args.hpp -include boost/process/v1/async.hpp -include boost/process/v1/child.hpp -include boost/process/v1/env.hpp -include boost/process/v1/environment.hpp -include boost/process/v1/io.hpp -include boost/process/v1/search_path.hpp -fPIC -Wall -Wno-attributes -Wno-unknown-pragmas -Wno-class-conversion -Wno-class-memaccess -Wno-defaulted-function-deleted -Wno-deprecated-declarations -Wno-error=c++11-narrowing -Wno-format-truncation -Wno-noexcept-type -Wno-unused-but-set-parameter -Wno-unused-private-field -Wno-unknown-warning-option -Wno-enum-constexpr-conversion -O2 -g -DNDEBUG -std=gnu++17 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -fPIC -fcolor-diagnostics -D_GLIBCXX_USE_CXX11_ABI=1 -DBOOST_SPIRIT_THREADSAFE -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_BIND_GLOBAL_PLACEHOLDERS -DBOOST_NO_CXX98_FUNCTION_BASE -D_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION -MD -MT modules/llm-cache/CMakeFiles/vineyard_llm_cache.dir/ds/kv_cache.cc.o -MF CMakeFiles/vineyard_llm_cache.dir/ds/kv_cache.cc.o.d -o CMakeFiles/vineyard_llm_cache.dir/ds/kv_cache.cc.o -c /private/tmp/vineyard-20250428-99614-lj4csa/v6d-0.24.2/modules/llm-cache/ds/kv_cache.cc
In file included from <built-in>:1:
In file included from /opt/homebrew/include/boost/process/v1/args.hpp:33:
In file included from /opt/homebrew/include/boost/process/v1/detail/basic_cmd.hpp:10:
In file included from /opt/homebrew/include/boost/process/v1/detail/config.hpp:21:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/c++/v1/system_error:151:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/c++/v1/string:549:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/c++/v1/memory:860:
/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/c++/v1/__memory/shared_ptr.h:294:37: error: calling a protected constructor of class 'arrow::PrimitiveArray'
::new ((void*)__get_elem()) _Tp(_VSTD::forward<_Args>(__args)...);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/c++/v1/__memory/shared_ptr.h:953:55: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<arrow::BooleanArray, std::allocator<arrow::BooleanArray>>::__shared_ptr_emplace<std::shared_ptr<arrow::DataType>, unsigned long &, const std::shared_ptr<arrow::Buffer>, const std::shared_ptr<arrow::Buffer>, long long &, long long &>' requested here
::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/c++/v1/__memory/shared_ptr.h:962:19: note: in instantiation of function template specialization 'std::allocate_shared<arrow::BooleanArray, std::allocator<arrow::BooleanArray>, std::shared_ptr<arrow::DataType>, unsigned long &, const std::shared_ptr<arrow::Buffer>, const std::shared_ptr<arrow::Buffer>, long long &, long long &, void>' requested here
return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
^
/private/tmp/vineyard-20250428-99[614](https://github.com/Homebrew/homebrew-core/actions/runs/14705292870/job/41264341411?pr=221598#step:3:615)-lj4csa/v6d-0.24.2/modules/basic/ds/arrow.cc:587:23: note: in instantiation of function template specialization 'std::make_shared<arrow::BooleanArray, std::shared_ptr<arrow::DataType>, unsigned long &, const std::shared_ptr<arrow::Buffer>, const std::shared_ptr<arrow::Buffer>, long long &, long long &, void>' requested here
this->array_ = std::make_shared<ArrayType>(
^
/opt/homebrew/include/arrow/array/array_base.h:284:3: note: declared protected here
PrimitiveArray(const std::shared_ptr<DataType>& type, int64_t length,
^
1 error generated.
make[2]: *** [modules/basic/CMakeFiles/vineyard_basic.dir/ds/arrow.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Full build logs: http://github.com/Homebrew/homebrew-core/actions/runs/14705292870/job/41264341411?pr=221598#step:3:166
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 20 (16 by maintainers)
Hi @kou, we have released a version
v0.24.3, would you mind checking whether this meets your needs?