apollo icon indicating copy to clipboard operation
apollo copied to clipboard

使用buildtool时发生错误

Open BlueHeart6 opened this issue 1 year ago • 4 comments

运行buildtool build -p core build application-pnc时发生错误 请问是什么原因呢 _cgi-bin_mmwebwx-bin_webwxgetmsgimg  MsgID=7560635494051884652 skey=@crypt_e230addb_de52ecb4d4fa28aff7267f6aa6d9b45e mmweb_appid=wx_webfilehelper

BlueHeart6 avatar Jan 30 '24 02:01 BlueHeart6

The reason for this problem is that downloading the dependencies of bazel failed. This is mostly due to network reasons

How to slove

Here is a document on how to solve it. link

To put it simply, you can manually download this file, put it in /apollo/.cache/distdir, and then recompile.

daohu527 avatar Feb 01 '24 08:02 daohu527

我的bazel版本为5.3.2 似乎还无法通过wget 'https://apollo-system.cdn.bcebos.com/archive/bazel_deps/bazel-dependencies-5.3.2.tar.gz'下载依赖 可能是apollo9.0还没有进行相关更新

BlueHeart6 avatar Feb 02 '24 08:02 BlueHeart6

Yes, so you can only download manually if you encounter a download error. Can you access the external network?

If no, we will update the package soon

daohu527 avatar Feb 02 '24 13:02 daohu527

可以试下这个缓存, https://apollo-system.cdn.bcebos.com/bazel_deps/5.2.1/build.tar.gz 解压后替换工作空间的.cache文件

WildBeast114514 avatar Mar 04 '24 08:03 WildBeast114514