You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@doris.apache.org by 男爵(张新平) <19...@qq.com.INVALID> on 2023/05/08 07:48:38 UTC
doris编译问题
Hi,各位开源大佬们按照
https://doris.apache.org/zh-CN/docs/dev/install/source-install/compilation-general/的步骤,我编译doris版本1.1.5-rc02的时候使用镜像build-env-for-1.2-no-avx2,然后进入容器执行sh build.sh --clean --be —fe
具体执行步骤
1 clone code from github
2 checkout tag to 1.1.5-rc02
3 install docker image build-env-for-1.2
4 run a docker and mount directory for src
docker run -it -v /root/.m2:/root/.m2 -v /root/doris/apache-doris-1.1.5-src:/root/doris/apache-doris-1.1.5-src apache/doris:build-env-for-1.2
5 进入容器后sh build.sh --clean --be --fe
编译报错
/root/doris/be/src/exec/tablet_sink.cpp:88:72: required from here
/var/local/thirdparty/installed/include/parallel_hashmap/phmap.h:3987:31: error: no match for call to '(doris::BrpcClientCache<doris::PBackendService_Stub>::get_client(const string&)::<lambda(phmap::priv::parallel_hash_map<8, phmap::priv::raw_hash_set, std::mutex, phmap::priv::FlatHashMapPolicy<std::__cxx11::basic_string<char>, std::shared_ptr<doris::PBackendService_Stub> >, std::hash<std::__cxx11::basic_string<char> >, std::equal_to<std::__cxx11::basic_string<char> >, std::allocator<std::pair<const std::__cxx11::basic_string<char>, std::shared_ptr<doris::PBackendService_Stub> > > >::mapped_type&)>) (phmap::priv::parallel_hash_map<8, phmap::priv::raw_hash_set, std::mutex, phmap::priv::FlatHashMapPolicy<std::__cxx11::basic_string<char>, std::shared_ptr<doris::PBackendService_Stub> >, std::hash<std::__cxx11::basic_string<char> >, std::equal_to<std::__cxx11::basic_string<char> >, std::allocator<std::pair<const std::__cxx11::basic_string<char>, std::shared_ptr<doris::PBackendService_Stub> > > >::value_type&)'
3987 | std::forward<F>(f)(const_cast<value_type &>(*it)); // in case of the set, non "key" part of value_type can be changed
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
男爵(张新平)
1959044956@qq.com
Re:doris编译问题
Posted by Mingyu Chen <mo...@163.com>.
Sorry that I have no idea if the build-env-for-1.2-no-avx2 can still be used for 1.1.5.
And why don't you try our latest release version 1.2.4.1?
1.1.5 is an stale version and I didn't compile it for is long time.
--
Best Regards
Mingyu Chen
Email:
morningman@apache.org
在 2023-05-11 00:23:17,"男爵(张新平)" <19...@qq.com.INVALID> 写道:
>Hi,各位开源大佬们按照
>https://doris.apache.org/zh-CN/docs/dev/install/source-install/compilation-general/的步骤,我编译doris版本1.1.5-rc02的时候使用镜像build-env-for-1.2-no-avx2,然后进入容器执行sh build.sh --clean --be —fe
>
>
>具体执行步骤
>1 clone code from github
>2 checkout tag to 1.1.5-rc02
>3 install docker image build-env-for-1.2
>4 run a docker and mount directory for src
>docker run -it -v /root/.m2:/root/.m2 -v /root/doris/apache-doris-1.1.5-src:/root/doris/apache-doris-1.1.5-src apache/doris:build-env-for-1.2
>5 进入容器后sh build.sh --clean --be --fe
>
>
>编译报错
>
>
>
>
>/root/doris/be/src/exec/tablet_sink.cpp:88:72: required from here
>/var/local/thirdparty/installed/include/parallel_hashmap/phmap.h:3987:31: error: no match for call to '(doris::BrpcClientCache<doris::PBackendService_Stub>::get_client(const string&)::<lambda(phmap::priv::parallel_hash_map<8, phmap::priv::raw_hash_set, std::mutex, phmap::priv::FlatHashMapPolicy<std::__cxx11::basic_string<char>, std::shared_ptr<doris::PBackendService_Stub> >, std::hash<std::__cxx11::basic_string<char> >, std::equal_to<std::__cxx11::basic_string<char> >, std::allocator<std::pair<const std::__cxx11::basic_string<char>, std::shared_ptr<doris::PBackendService_Stub> > > >::mapped_type&)>) (phmap::priv::parallel_hash_map<8, phmap::priv::raw_hash_set, std::mutex, phmap::priv::FlatHashMapPolicy<std::__cxx11::basic_string<char>, std::shared_ptr<doris::PBackendService_Stub> >, std::hash<std::__cxx11::basic_string<char> >, std::equal_to<std::__cxx11::basic_string<char> >, std::allocator<std::pair<const std::__cxx11::basic_string<char>, std::shared_ptr<doris::PBackendService_Stub> > > >::value_type&)'
> 3987 | std::forward<F>(f)(const_cast<value_type &>(*it)); // in case of the set, non "key" part of value_type can be changed
> | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>
>
>
>男爵(张新平)
>1959044956@qq.com
>
>
>
>