[BUG] Failed Build GraphScope with pre-configured `make` with docker
- Dominant language
- C++
- Stars
- 3.6k
- Forks
- 468
- Avg merge
- 29m
- Merged PRs (30d)
- 1
Description
**Describe the bug**
Build GraphScope with pre-configured `make` with docker Failed
Error Log
```
In file included from /root/workspace/GraphScope/analytical_engine/core/object/fragment_wrapper.h:61,
from /root/workspace/GraphScope/analytical_engine/core/grape_instance.cc:61:
/root/workspace/GraphScope/analytical_engine/core/fragment/dynamic_projected_fragment.h: In member function 'size_t gs::DynamicProjectedFragment<_vdata_t, _edata_t>::IEDestsSize() const':
/root/workspace/GraphScope/analytical_engine/core/fragment/dynamic_projected_fragment.h:652:64: error: no matching function for call to 'gs::DynamicFragment::IEDests()'
652 | inline size_t IEDestsSize() const { return fragment_->IEDests().size(); }
| ~~~~~~~~~~~~~~~~~~^~
In file included from /root/workspace/GraphScope/analytical_engine/core/fragment/dynamic_fragment.h:35,
from /root/workspace/GraphScope/analytical_engine/core/grape_instance.cc:57:
/opt/vineyard/include/grape/fragment/csr_edgecut_fragment_base.h:187:19: note: candidate: 'grape::DestList grape::CSREdgecutFragmentBase::IEDests(const vertex_t&) const [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; grape::CSREdgecutFragmentBase::vertex_t = grape::Vertex]'
187 | inline DestList IEDests(const vertex_t& v) const override {
| ^~~~~~~
/opt/vineyard/include/grape/fragment/csr_edgecut_fragment_base.h:187:19: note: candidate expects 1 argument, 0 provided
In file included from /root/workspace/GraphScope/analytical_engine/core/object/fragment_wrapper.h:61,
from /root/workspace/GraphScope/analytical_engine/core/grape_instance.cc:61:
/root/workspace/GraphScope/analytical_engine/core/fragment/dynamic_projected_fragment.h: In member function 'size_t gs::DynamicProjectedFragment<_vdata_t, _edata_t>::OEDestsSize() const':
/root/workspace/GraphScope/analytical_engine/core/fragment/dynamic_projected_fragment.h:658:57: error: 'using fragment_t = class gs::DynamicFragment' {aka 'class gs::DynamicFragment'} has no member named 'OEDestsSize'; did you mean 'OEDests'?
658 | inline size_t OEDestsSize() const { return fragment_->OEDestsSize(); }
| ^~~~~~~~~~~
| OEDests
/root/workspace/GraphScope/analytical_engine/core/fragment/dynamic_projected_fragment.h: In member function 'size_t gs::DynamicProjectedFragment<_vdata_t, _edata_t>::IOEDestsSize() const':
/root/workspace/GraphScope/analytical_engine/core/fragment/dynamic_projected_fragment.h:664:58: error: 'using fragment_t = class gs::DynamicFragment' {aka 'class gs::DynamicFragment'} has no member named 'IOEDestsSize'; did you mean 'IOEDests'?
664 | inline size_t IOEDestsSize() const { return fragment_->IOEDestsSize(); }
| ^~~~~~~~~~~~
| IOEDests
/root/workspace/GraphScope/analytical_engine/core/fragment/dynamic_projected_fragment.h: In member function 'size_t gs::DynamicProjectedFragment::IEDestsSize() const':
/root/workspace/GraphScope/analytical_engine/core/fragment/dynamic_projected_fragment.h:961:57: error: 'using fragment_t = class gs::DynamicFragment' {aka 'class gs::DynamicFragment'} has no member named 'IEDestsSize'; did you mean 'IEDests'?
961 | inline size_t IEDestsSize() const { return fragment_->IEDestsSize(); }
| ^~~~~~~~~~~
| IEDests
/root/workspace/GraphScope/analytical_engine/core/fragment/dynamic_projected_fragment.h: In member function 'size_t gs::DynamicProjectedFragment::OEDestsSize() const':
/root/workspace/GraphScope/analytical_engine/core/fragment/dynamic_projected_fragment.h:967:57: error: 'using fragment_t = class gs::DynamicFragment' {aka 'class gs::DynamicFragment'} has no member named 'OEDestsSize'; did you mean 'OEDests'?
967 | inline size_t OEDestsSize() const { return fragment_->OEDestsSize(); }
| ^~~~~~~~~~~
| OEDests
/root/workspace/GraphScope/analytical_engine/core/fragment/dynamic_projected_fragment.h: In member function 'size_t gs::DynamicProjectedFragment::IOEDestsSize() const':
/root/workspace/GraphScope/analytical_engine/core/fragment/dynamic_projected_fragment.h:973:58: error: 'using fragment_t = class gs::DynamicFragment' {aka 'class gs::DynamicFragment'} has no member named 'IOEDestsSize'; did you mean 'IOEDests'?
973 | inline size_t IOEDestsSize() const { return fragment_->IOEDestsSize(); }
| ^~~~~~~~~~~~
| IOEDests
At global scope:
cc1plus: note: unrecognized command-line option '-Wno-undef-prefix' may have been intended to silence earlier diagnostics
make[3]: *** [CMakeFiles/grape_engine.dir/build.make:90: CMakeFiles/grape_engine.dir/core/grape_instance.cc.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/root/workspace/GraphScope/analytical_engine/build'
make[2]: *** [CMakeFiles/Makefile2:169: CMakeFiles/grape_engine.dir/all] Error 2
make[2]: Leaving directory '/root/workspace/GraphScope/analytical_engine/build'
make[1]: *** [Makefile:136: all] Error 2
make[1]: Leaving directory '/root/workspace/GraphScope/analytical_engine/build'
make: *** [Makefile:126: /root/workspace/GraphScope//analytical_engine/build/grape_engine] Error 2
```
**To Reproduce**
Steps to reproduce the behavior:
in docker cantainer with image registry.cn-hongkong.aliyuncs.com/graphscope/graphscope-dev:latest
1. python3 gsctl.py install-deps dev --cn
2. source /root/.graphscope_env
3. make analytical
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Environment (please complete the following information):**
- GraphScope version: v0.29.0
- OS: registry.cn-hongkong.aliyuncs.com/graphscope/graphscope-dev:latest
- Version [e.g. 10.15]
- Kubernetes Version [e.g., 1.19]
**Additional context**
Add any other context about the problem here.
Contributor guide
Research direction
Start by reproducing the failure in the registry.cn-hongkong.aliyuncs.com/graphscope/graphscope-dev:latest container with gsctl.py install-deps dev --cn, sourcing /root/.graphscope_env, and running make analytical. Then inspect analytical_engine/core/fragment/dynamic_projected_fragment.h and the referenced Vineyard GRAPE headers for the reported API mismatches. Done means the analytical target builds successfully in the stated environment.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, docker
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100