[BUG] Failed to compile app grape while running build-in graph algorithms on Linux
- Dominant language
- C++
- Stars
- 3.6k
- Forks
- 468
- Avg merge
- 29m
- Merged PRs (30d)
- 1
Description
**Describe the bug**
Similar to issue #1753, GraphScope failed to compile app grape while running build-in graph algorithms.
**To Reproduce**
```python
import graphscope
graphscope.set_option(show_log=True)
test_edges_path = "/tmp/test.csv"
sess = graphscope.get_default_session()
# using string type to force GraphScope compiling c++ libs.
g = sess.g(oid_type="string")
g = g.add_edges(test_edges_path)
context = graphscope.wcc(g)
context.to_dataframe(selector={'id': 'v.id', 'wcc': 'r'}, vertex_range={'begin': 1, 'end': 10}).sort_values(by='id', ascending=False)
```
* test.csv (simply 2 edges)
src,dst
1,2
1,3
**Expected behavior**
Output the result of wcc. All the nodes are in the same component.
```
id wcc
2 3 1
1 2 1
0 1 1
```
**Screenshots**
```
I0627 18:02:30.000000 58314 /work/analytical_engine/core/grape_instance.cc:1064] Registering Graph, graph type: ARROW_PROPERTY, Type sigature: 7032b4933ddfc3982f464a605b25b95e4ceec59a2d5541948024b4571758e2ae, lib path: /tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/precompiled/builtin/7032b4933ddfc3982f464a605b25b95e4ceec59a2d5541948024b4571758e2ae/lib7032b4933ddfc3982f464a605b25b95e4ceec59a2d5541948024b4571758e2ae.so
I0627 18:02:30.000000 58314 /work/analytical_engine/core/grape_instance.cc:127] Loading graph, graph name: graph_a37JncCH, graph type: ArrowFragment, type sig: 7032b4933ddfc3982f464a605b25b95e4ceec59a2d5541948024b4571758e2ae
Loading empty graph: 0%| | 0/10 [00:00>> g = g.add_edges(test_edges_path)
2022-06-27 18:02:31,925 [WARNING][graph:498]: Deducing vertex labels _
Loading edge labeled _: 0%| | 0/10 [00:00>> context = graphscope.wcc(g)
2022-06-27 18:02:36,911 [INFO][utils:408]: Codegened graph frame type: gs::ArrowProjectedFragment
2022-06-27 18:02:36,912 [INFO][utils:426]: enable java sdk OFF
2022-06-27 18:02:36,912 [INFO][utils:451]: Building graph library ...
E0627 18:02:36.913291650 58550 fork_posix.cc:76] Other threads are currently calling into gRPC, skipping fork() handlers
In file included from /tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/vineyard/client/ds/object_meta.h:33:0,
from /tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/vineyard/client/client_base.h:27,
from /tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/vineyard/client/client.h:30,
from /tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/vineyard/basic/ds/arrow.vineyard.h:33,
from /tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/vineyard/basic/ds/arrow.h:29,
from /tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/vineyard/graph/fragment/arrow_fragment.h:36,
from /tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/frame/project_frame.cc:20:
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/vineyard/common/util/uuid.h: In function auto vineyard::static_if(T):
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/vineyard/common/util/uuid.h:81:67: error: parameter declared auto
return static_if(std::integral_constant{}, t, [](auto&&...) {});
^
In file included from /tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/vineyard/graph/fragment/property_graph_utils.h:40:0,
from /tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/vineyard/graph/fragment/arrow_fragment.h:43,
from /tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/frame/project_frame.cc:20:
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/vineyard/graph/utils/error.h: In lambda function:
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/vineyard/graph/utils/error.h:191:33: error: parameter packs not expanded with ...:
auto&& r = f_wrapper(f, args...);
^
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/vineyard/graph/utils/error.h:191:33: note: args
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/vineyard/graph/utils/error.h:191:37: error: expansion pattern args contains no argument packs
auto&& r = f_wrapper(f, args...);
^
In file included from /tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/vineyard/graph/fragment/arrow_fragment.h:46:0,
from /tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/frame/project_frame.cc:20:
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/vineyard/graph/utils/thread_group.h: In member function vineyard::ThreadGroup::tid_t vineyard::ThreadGroup::AddTask(F_T&&, ARGS_T&& ...):
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/vineyard/graph/utils/thread_group.h:54:42: error: expansion pattern auto&& contains no argument packs
auto&&... _args) -> return_t {
^
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/vineyard/graph/utils/thread_group.h: In lambda function:
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/vineyard/graph/utils/thread_group.h:58:47: error: _args was not declared in this scope
v = std::move(_f(std::forward(_args)...));
^
In file included from /tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/core/utils/transform_utils.h:34:0,
from /tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/core/context/labeled_vertex_property_context.h:31,
from /tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/core/object/fragment_wrapper.h:36,
from /tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/frame/project_frame.cc:25:
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/core/utils/trait_utils.h: In function auto gs::static_if(T):
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/core/utils/trait_utils.h:42:67: error: parameter declared auto
return static_if(std::integral_constant{}, t, [](auto&&...) {});
^
In file included from /tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/core/context/labeled_vertex_property_context.h:31:0,
from /tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/core/object/fragment_wrapper.h:36,
from /tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/frame/project_frame.cc:25:
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/core/utils/transform_utils.h: In function std::shared_ptr > gs::column_to_vy_tensor_builder_impl(vineyard::Client&, const std::shared_ptr&, const std::vector&):
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/core/utils/transform_utils.h:405:7: error: make_unique is not a member of std
std::make_unique>(client, shape);
^
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/core/utils/transform_utils.h:405:54: error: expected primary-expression before > token
std::make_unique>(client, shape);
^
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/core/utils/transform_utils.h: In member function boost::leaf::result gs::TransformUtils::value) && (! gs::oid_is_dynamic::value))>::type>::SerializeVertexLabelId(const std::vector&, grape::InArchive&):
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/core/utils/transform_utils.h:829:21: error: parameter declared auto
[&](auto& frag, auto& v, auto& label_id) {
^
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/core/utils/transform_utils.h:829:33: error: parameter declared auto
[&](auto& frag, auto& v, auto& label_id) {
^
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/core/utils/transform_utils.h:829:42: error: parameter declared auto
[&](auto& frag, auto& v, auto& label_id) {
^
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/core/utils/transform_utils.h: In lambda function:
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/core/utils/transform_utils.h:830:24: error: frag was not declared in this scope
label_id = frag.vertex_label(v);
^
In file included from /tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/core/object/fragment_wrapper.h:36:0,
from /tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/frame/project_frame.cc:25:
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/core/context/labeled_vertex_property_context.h: In member function boost::leaf::result > gs::LabeledVertexPropertyContextWrapper::ToNdArray(const grape::CommSpec&, const gs::LabeledSelector&, const std::pair, std::basic_string >&):
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/core/context/labeled_vertex_property_context.h:210:16: error: make_unique is not a member of std
auto arc = std::make_unique();
^
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/core/context/labeled_vertex_property_context.h:210:49: error: expected primary-expression before > token
auto arc = std::make_unique();
^
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/core/context/labeled_vertex_property_context.h:210:51: error: expected primary-expression before ) token
auto arc = std::make_unique();
^
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/core/context/labeled_vertex_property_context.h: In member function boost::leaf::result > gs::LabeledVertexPropertyContextWrapper::ToDataframe(const grape::CommSpec&, const std::vector, gs::LabeledSelector> >&, const std::pair, std::basic_string >&):
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/core/context/labeled_vertex_property_context.h:294:16: error: make_unique is not a member of std
auto arc = std::make_unique();
^
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/core/context/labeled_vertex_property_context.h:294:49: error: expected primary-expression before > token
auto arc = std::make_unique();
^
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/core/context/labeled_vertex_property_context.h:294:51: error: expected primary-expression before ) token
auto arc = std::make_unique();
^
In file included from /tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/core/object/fragment_wrapper.h:37:0,
from /tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/frame/project_frame.cc:25:
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/core/context/vertex_data_context.h: In member function boost::leaf::result > gs::VertexDataContextWrapper::ToNdArray(const grape::CommSpec&, const gs::Selector&, const std::pair, std::basic_string >&):
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/core/context/vertex_data_context.h:208:16: error: make_unique is not a member of std
auto arc = std::make_unique();
^
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/core/context/vertex_data_context.h:208:49: error: expected primary-expression before > token
auto arc = std::make_unique();
^
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/core/context/vertex_data_context.h:208:51: error: expected primary-expression before ) token
auto arc = std::make_unique();
^
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/core/context/vertex_data_context.h: In member function boost::leaf::result > gs::VertexDataContextWrapper::ToDataframe(const grape::CommSpec&, const std::vector, gs::Selector> >&, const std::pair, std::basic_string >&):
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/core/context/vertex_data_context.h:283:16: error: make_unique is not a member of std
auto arc = std::make_unique();
^
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/core/context/vertex_data_context.h:283:49: error: expected primary-expression before > token
auto arc = std::make_unique();
^
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/core/context/vertex_data_context.h:283:51: error: expected primary-expression before ) token
auto arc = std::make_unique();
^
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/core/context/vertex_data_context.h: In member function boost::leaf::result > gs::LabeledVertexDataContextWrapper::ToNdArray(const grape::CommSpec&, const gs::LabeledSelector&, const std::pair, std::basic_string >&):
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/core/context/vertex_data_context.h:655:16: error: make_unique is not a member of std
auto arc = std::make_unique();
^
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/core/context/vertex_data_context.h:655:49: error: expected primary-expression before > token
auto arc = std::make_unique();
^
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/core/context/vertex_data_context.h:655:51: error: expected primary-expression before ) token
auto arc = std::make_unique();
^
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/core/context/vertex_data_context.h: In member function boost::leaf::result > gs::LabeledVertexDataContextWrapper::ToDataframe(const grape::CommSpec&, const std::vector, gs::LabeledSelector> >&, const std::pair, std::basic_string >&):
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/core/context/vertex_data_context.h:720:16: error: make_unique is not a member of std
auto arc = std::make_unique();
^
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/core/context/vertex_data_context.h:720:49: error: expected primary-expression before > token
auto arc = std::make_unique();
^
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/core/context/vertex_data_context.h:720:51: error: expected primary-expression before ) token
auto arc = std::make_unique();
^
In file included from /tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/core/object/fragment_wrapper.h:38:0,
from /tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/frame/project_frame.cc:25:
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/core/context/vertex_property_context.h: In member function boost::leaf::result > gs::VertexPropertyContextWrapper::ToNdArray(const grape::CommSpec&, const gs::Selector&, const std::pair, std::basic_string >&):
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/core/context/vertex_property_context.h:172:16: error: make_unique is not a member of std
auto arc = std::make_unique();
^
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/core/context/vertex_property_context.h:172:49: error: expected primary-expression before > token
auto arc = std::make_unique();
^
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/core/context/vertex_property_context.h:172:51: error: expected primary-expression before ) token
auto arc = std::make_unique();
^
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/core/context/vertex_property_context.h: In member function boost::leaf::result > gs::VertexPropertyContextWrapper::ToDataframe(const grape::CommSpec&, const std::vector, gs::Selector> >&, const std::pair, std::basic_string >&):
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/core/context/vertex_property_context.h:242:16: error: make_unique is not a member of std
auto arc = std::make_unique();
^
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/core/context/vertex_property_context.h:242:49: error: expected primary-expression before > token
auto arc = std::make_unique();
^
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/core/context/vertex_property_context.h:242:51: error: expected primary-expression before ) token
auto arc = std::make_unique();
^
In file included from /tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/frame/project_frame.cc:25:0:
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/core/object/fragment_wrapper.h: In member function boost::leaf::result > gs::FragmentWrapper >::ToNdArray(const grape::CommSpec&, const gs::LabeledSelector&, const std::pair, std::basic_string >&):
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/core/object/fragment_wrapper.h:515:16: error: make_unique is not a member of std
auto arc = std::make_unique();
^
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/core/object/fragment_wrapper.h:515:49: error: expected primary-expression before > token
auto arc = std::make_unique();
^
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/core/object/fragment_wrapper.h:515:51: error: expected primary-expression before ) token
auto arc = std::make_unique();
^
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/core/object/fragment_wrapper.h: In member function boost::leaf::result > gs::FragmentWrapper >::ToDataframe(const grape::CommSpec&, const std::vector, gs::LabeledSelector> >&, const std::pair, std::basic_string >&):
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/core/object/fragment_wrapper.h:579:16: error: make_unique is not a member of std
auto arc = std::make_unique();
^
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/core/object/fragment_wrapper.h:579:49: error: expected primary-expression before > token
auto arc = std::make_unique();
^
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/core/object/fragment_wrapper.h:579:51: error: expected primary-expression before ) token
auto arc = std::make_unique();
^
In file included from /tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/core/fragment/dynamic_fragment.h:31:0,
from /tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/frame/project_frame.cc:23:
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/grape/fragment/csr_edgecut_fragment_base.h: In instantiation of grape::CSREdgecutFragmentBase::CSREdgecutFragmentBase() [with OID_T = gs::dynamic::Value; VID_T = long unsigned int; VDATA_T = gs::dynamic::Value; EDATA_T = gs::dynamic::Value; TRAITS_T = gs::DynamicFragmentTraits]:
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/core/fragment/dynamic_fragment.h:114:77: required from here
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/grape/fragment/csr_edgecut_fragment_base.h:42:28: error: no matching function for call to grape::FragmentBase::FragmentBase()
CSREdgecutFragmentBase() {}
^
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/grape/fragment/csr_edgecut_fragment_base.h:42:28: note: candidates are:
In file included from /tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/vineyard/graph/fragment/arrow_fragment.h:32:0,
from /tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/frame/project_frame.cc:20:
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/grape/fragment/fragment_base.h:60:12: note: grape::FragmentBase::FragmentBase(std::shared_ptr) [with OID_T = gs::dynamic::Value; VID_T = long unsigned int; VDATA_T = gs::dynamic::Value; EDATA_T = gs::dynamic::Value; TRAITS_T = gs::DynamicFragmentTraits; typename TRAITS_T::vertex_map_t = grape::GlobalVertexMap]
explicit FragmentBase(std::shared_ptr vm_ptr)
^
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/grape/fragment/fragment_base.h:60:12: note: candidate expects 1 argument, 0 provided
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/grape/fragment/fragment_base.h:52:7: note: grape::FragmentBase::FragmentBase(const grape::FragmentBase&)
class FragmentBase {
^
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/grape/fragment/fragment_base.h:52:7: note: candidate expects 1 argument, 0 provided
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/grape/fragment/fragment_base.h:52:7: note: grape::FragmentBase::FragmentBase(grape::FragmentBase&&)
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/grape/fragment/fragment_base.h:52:7: note: candidate expects 1 argument, 0 provided
In file included from /usr/include/c++/4.8.2/memory:79:0,
from /tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/frame/project_frame.cc:16:
/usr/include/c++/4.8.2/functional: In instantiation of struct std::_Bind_simple&, int, int)::__lambda186&; ARGS_T = {long unsigned int&, const long unsigned int&}; vineyard::ThreadGroup::tid_t = unsigned int]::__lambda77(unsigned int, vineyard::GatherVTables(vineyard::Client&, const std::vector&, int, int)::__lambda186, long unsigned int, long unsigned int)> >()>:
/usr/include/c++/4.8.2/future:1284:55: required from void std::__future_base::_Task_state<_Fn, _Alloc, _Res(_Args ...)>::_M_run(_Args ...) [with _Fn = std::_Bind&, int, int)::__lambda186&; ARGS_T = {long unsigned int&, const long unsigned int&}; vineyard::ThreadGroup::tid_t = unsigned int]::__lambda77(unsigned int, vineyard::GatherVTables(vineyard::Client&, const std::vector&, int, int)::__lambda186, long unsigned int, long unsigned int)>; _Alloc = std::allocator; _Res = vineyard::Status; _Args = {}]
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/frame/project_frame.cc:239:1: required from here
/usr/include/c++/4.8.2/functional:1697:61: error: no type named type in class std::result_of&, int, int)::__lambda186&; ARGS_T = {long unsigned int&, const long unsigned int&}; vineyard::ThreadGroup::tid_t = unsigned int]::__lambda77(unsigned int, vineyard::GatherVTables(vineyard::Client&, const std::vector&, int, int)::__lambda186, long unsigned int, long unsigned int)> >()>
typedef typename result_of<_Callable(_Args...)>::type result_type;
^
/usr/include/c++/4.8.2/functional:1727:9: error: no type named type in class std::result_of&, int, int)::__lambda186&; ARGS_T = {long unsigned int&, const long unsigned int&}; vineyard::ThreadGroup::tid_t = unsigned int]::__lambda77(unsigned int, vineyard::GatherVTables(vineyard::Client&, const std::vector&, int, int)::__lambda186, long unsigned int, long unsigned int)> >()>
_M_invoke(_Index_tuple<_Indices...>)
^
/usr/include/c++/4.8.2/functional: In instantiation of struct std::_Bind_simple, std::allocator > >&, int, int)::__lambda185&; ARGS_T = {long unsigned int&, const long unsigned int&}; vineyard::ThreadGroup::tid_t = unsigned int]::__lambda77(unsigned int, vineyard::GatherETables(vineyard::Client&, const std::vector, std::allocator > >&, int, int)::__lambda185, long unsigned int, long unsigned int)> >()>:
/usr/include/c++/4.8.2/future:1284:55: required from void std::__future_base::_Task_state<_Fn, _Alloc, _Res(_Args ...)>::_M_run(_Args ...) [with _Fn = std::_Bind, std::allocator > >&, int, int)::__lambda185&; ARGS_T = {long unsigned int&, const long unsigned int&}; vineyard::ThreadGroup::tid_t = unsigned int]::__lambda77(unsigned int, vineyard::GatherETables(vineyard::Client&, const std::vector, std::allocator > >&, int, int)::__lambda185, long unsigned int, long unsigned int)>; _Alloc = std::allocator; _Res = vineyard::Status; _Args = {}]
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/frame/project_frame.cc:239:1: required from here
/usr/include/c++/4.8.2/functional:1697:61: error: no type named type in class std::result_of, std::allocator > >&, int, int)::__lambda185&; ARGS_T = {long unsigned int&, const long unsigned int&}; vineyard::ThreadGroup::tid_t = unsigned int]::__lambda77(unsigned int, vineyard::GatherETables(vineyard::Client&, const std::vector, std::allocator > >&, int, int)::__lambda185, long unsigned int, long unsigned int)> >()>
typedef typename result_of<_Callable(_Args...)>::type result_type;
^
/usr/include/c++/4.8.2/functional:1727:9: error: no type named type in class std::result_of, std::allocator > >&, int, int)::__lambda185&; ARGS_T = {long unsigned int&, const long unsigned int&}; vineyard::ThreadGroup::tid_t = unsigned int]::__lambda77(unsigned int, vineyard::GatherETables(vineyard::Client&, const std::vector, std::allocator > >&, int, int)::__lambda185, long unsigned int, long unsigned int)> >()>
_M_invoke(_Index_tuple<_Indices...>)
^
/usr/include/c++/4.8.2/functional: In instantiation of struct std::_Bind_simple&, std::shared_ptr&, int, int)::__lambda184&; ARGS_T = {int&}; vineyard::ThreadGroup::tid_t = unsigned int]::__lambda77(unsigned int, vineyard::ReadTableFromVineyardStream(vineyard::Client&, std::shared_ptr&, std::shared_ptr&, int, int)::__lambda184, int)> >()>:
/usr/include/c++/4.8.2/future:1284:55: required from void std::__future_base::_Task_state<_Fn, _Alloc, _Res(_Args ...)>::_M_run(_Args ...) [with _Fn = std::_Bind&, std::shared_ptr&, int, int)::__lambda184&; ARGS_T = {int&}; vineyard::ThreadGroup::tid_t = unsigned int]::__lambda77(unsigned int, vineyard::ReadTableFromVineyardStream(vineyard::Client&, std::shared_ptr&, std::shared_ptr&, int, int)::__lambda184, int)>; _Alloc = std::allocator; _Res = vineyard::Status; _Args = {}]
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/frame/project_frame.cc:239:1: required from here
/usr/include/c++/4.8.2/functional:1697:61: error: no type named type in class std::result_of&, std::shared_ptr&, int, int)::__lambda184&; ARGS_T = {int&}; vineyard::ThreadGroup::tid_t = unsigned int]::__lambda77(unsigned int, vineyard::ReadTableFromVineyardStream(vineyard::Client&, std::shared_ptr&, std::shared_ptr&, int, int)::__lambda184, int)> >()>
typedef typename result_of<_Callable(_Args...)>::type result_type;
^
/usr/include/c++/4.8.2/functional:1727:9: error: no type named type in class std::result_of&, std::shared_ptr&, int, int)::__lambda184&; ARGS_T = {int&}; vineyard::ThreadGroup::tid_t = unsigned int]::__lambda77(unsigned int, vineyard::ReadTableFromVineyardStream(vineyard::Client&, std::shared_ptr&, std::shared_ptr&, int, int)::__lambda184, int)> >()>
_M_invoke(_Index_tuple<_Indices...>)
^
/usr/include/c++/4.8.2/functional: In instantiation of struct std::_Bind_simple&, std::vector >&, int, int)::__lambda183&; ARGS_T = {long unsigned int&}; vineyard::ThreadGroup::tid_t = unsigned int]::__lambda77(unsigned int, vineyard::ReadRecordBatchesFromVineyardStream(vineyard::Client&, std::shared_ptr&, std::vector >&, int, int)::__lambda183, long unsigned int)> >()>:
/usr/include/c++/4.8.2/future:1284:55: required from void std::__future_base::_Task_state<_Fn, _Alloc, _Res(_Args ...)>::_M_run(_Args ...) [with _Fn = std::_Bind&, std::vector >&, int, int)::__lambda183&; ARGS_T = {long unsigned int&}; vineyard::ThreadGroup::tid_t = unsigned int]::__lambda77(unsigned int, vineyard::ReadRecordBatchesFromVineyardStream(vineyard::Client&, std::shared_ptr&, std::vector >&, int, int)::__lambda183, long unsigned int)>; _Alloc = std::allocator; _Res = vineyard::Status; _Args = {}]
/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/frame/project_frame.cc:239:1: required from here
/usr/include/c++/4.8.2/functional:1697:61: error: no type named type in class std::result_of&, std::vector >&, int, int)::__lambda183&; ARGS_T = {long unsigned int&}; vineyard::ThreadGroup::tid_t = unsigned int]::__lambda77(unsigned int, vineyard::ReadRecordBatchesFromVineyardStream(vineyard::Client&, std::shared_ptr&, std::vector >&, int, int)::__lambda183, long unsigned int)> >()>
typedef typename result_of<_Callable(_Args...)>::type result_type;
^
/usr/include/c++/4.8.2/functional:1727:9: error: no type named type in class std::result_of&, std::vector >&, int, int)::__lambda183&; ARGS_T = {long unsigned int&}; vineyard::ThreadGroup::tid_t = unsigned int]::__lambda77(unsigned int, vineyard::ReadRecordBatchesFromVineyardStream(vineyard::Client&, std::shared_ptr&, std::vector >&, int, int)::__lambda183, long unsigned int)> >()>
_M_invoke(_Index_tuple<_Indices...>)
^
At global scope:
cc1plus: warning: unrecognized command line option "-Wno-redundant-move" [enabled by default]
cc1plus: warning: unrecognized command line option "-Wno-stringop-overflow" [enabled by default]
cc1plus: warning: unrecognized command line option "-Wno-unused-lambda-capture" [enabled by default]
cc1plus: warning: unrecognized command line option "-Wno-undef-prefix" [enabled by default]
cc1plus: warning: unrecognized command line option "-Wno-class-memaccess" [enabled by default]
make[2]: *** [CMakeFiles/e1ba0796515bc85372f70618d0a21153e68a0e3f26e9374eebe573551acb16b9.dir/tmp/myvenv/lib/python3.8/site-packages/graphscope.runtime/include/graphscope/frame/project_frame.cc.o] Error 1
make[1]: *** [CMakeFiles/e1ba0796515bc85372f70618d0a21153e68a0e3f26e9374eebe573551acb16b9.dir/all] Error 2
make: *** [all] Error 2
E0627 18:02:54.853312427 58550 fork_posix.cc:76] Other threads are currently calling into gRPC, skipping fork() handlers
2022-06-27 18:02:54,863 [ERROR][rpc:188]: Runstep failed with code: ANALYTICAL_ENGINE_INTERNAL_ERROR, message: Error occurred during preprocessing, The traceback is: Traceback (most recent call last):
File "/tmp/myvenv/lib/python3.8/site-packages/gscoordinator/coordinator.py", line 618, in _RunStep
head, bodies = self.run_on_analytical_engine(
File "/tmp/myvenv/lib/python3.8/site-packages/gscoordinator/coordinator.py", line 417, in run_on_analytical_engine
op = self._maybe_register_graph(op, self._session_id)
File "/tmp/myvenv/lib/python3.8/site-packages/gscoordinator/coordinator.py", line 701, in _maybe_register_graph
compiled_path = self._compile_lib_and_distribute(
File "/tmp/myvenv/lib/python3.8/site-packages/gscoordinator/coordinator.py", line 1250, in _compile_lib_and_distribute
app_lib_path, java_jar_path, java_ffi_path, app_type = compile_func(
File "/tmp/myvenv/lib/python3.8/site-packages/gscoordinator/utils.py", line 481, in compile_graph_frame
raise CompilationError(
graphscope.framework.errors.CompilationError: Failed to compile graph gs::ArrowProjectedFragment on platform system: Linux
machine: x86_64
platform: Linux-3.10.0-1160.59.1.el7.x86_64-x86_64-with-glibc2.2.5
uname: uname_result(system='Linux', release='3.10.0-1160.59.1.el7.x86_64', version='#1 SMP Wed Feb 23 16:47:03 UTC 2022', machine='x86_64', processor='x86_64')
kernel_ver: #1 SMP Wed Feb 23 16:47:03 UTC 2022
mac_ver: ('', ('', '', ''), '')
gcc_ver: b'gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)\nCopyright (C) 2015 Free Software Foundation, Inc.\nThis is free software; see the source for copying conditions. There is NO\nwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\n'
python_ver: 3.8.11
Traceback (most recent call last):
File "", line 1, in
File "/tmp/myvenv/current/lib64/python3.8/site-packages/graphscope/framework/app.py", line 73, in wrapper
graph = graph._project_to_simple()
File "/tmp/myvenv/current/lib64/python3.8/site-packages/graphscope/framework/graph.py", line 886, in _project_to_simple
return self._session._wrapper(
File "/tmp/myvenv/current/lib64/python3.8/site-packages/graphscope/client/session.py", line 936, in _wrapper
return self.run(dag_node)
File "/tmp/myvenv/current/lib64/python3.8/site-packages/graphscope/client/session.py", line 964, in run
response = self._grpc_client.run(fetch_handler.targets)
File "/tmp/myvenv/current/lib64/python3.8/site-packages/graphscope/client/rpc.py", line 102, in run
return self._run_step_impl(runstep_requests)
File "/tmp/myvenv/current/lib64/python3.8/site-packages/graphscope/client/utils.py", line 155, in with_grpc_catch
return fn(*args, **kwargs)
File "/tmp/myvenv/current/lib64/python3.8/site-packages/graphscope/client/rpc.py", line 194, in _run_step_impl
raise pickle.loads(response.full_exception)
graphscope.framework.errors.CompilationError: Failed to compile graph gs::ArrowProjectedFragment on platform system: Linux
machine: x86_64
platform: Linux-3.10.0-1160.59.1.el7.x86_64-x86_64-with-glibc2.2.5
uname: uname_result(system='Linux', release='3.10.0-1160.59.1.el7.x86_64', version='#1 SMP Wed Feb 23 16:47:03 UTC 2022', machine='x86_64', processor='x86_64')
kernel_ver: #1 SMP Wed Feb 23 16:47:03 UTC 2022
mac_ver: ('', ('', '', ''), '')
gcc_ver: b'gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)\nCopyright (C) 2015 Free Software Foundation, Inc.\nThis is free software; see the source for copying conditions. There is NO\nwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\n'
python_ver: 3.8.11
>>>
```
**Environment (please complete the following information):**
- GraphScope version: [v0.12.0]
- OS: [Linox]
- Version [Linux-3.10.0-1160.59.1.el7.x86_64-x86_64-with-glibc2.2.5]
Contributor guide
Assessment
This issue has not been assessed yet.