-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
我采用服务器上真机部署apollo 10,在采用buildtool安装的时候,buildtool build -p core好像没问题,然后我采用buildtool build -p core --gpu就不能通过了。
[buildtool] 2025-07-12 08:39:33 INFO Processing libncurses5-dev
[buildtool] 2025-07-12 08:39:33 INFO Processing 3rd-yaml-cpp
[buildtool] 2025-07-12 08:39:33 INFO Processing 3rd-rules-proto
[buildtool] 2025-07-12 08:39:33 INFO Processing bazel-extend-tools
[buildtool] 2025-07-12 08:39:33 INFO Processing map-editor-frontend
[buildtool] 2025-07-12 08:39:33 WARNING Source /root/.aem/envs/root/envroot/opt/apollo/neo/dev/bazel/map-editor-frontend/map-editor-frontend.BUILD does not exis
t
[buildtool] 2025-07-12 08:39:33 ERROR Encounter ErrCode.PackageAttrErr
[buildtool] 2025-07-12 08:39:33 ERROR hint: Package map-editor-frontend is missing a necessary file: /workspace/apollo/application-core/dev/bazel/map-editor-fro
ntend.BUILD
[buildtool] 2025-07-12 08:39:33 ERROR solution: Please report this package to Apollo maintainers
(10.0.0_pkg) [root@86674de2d3b1:/workspace/apollo/application-core]$然后你们的bazel脚本有问题,/root/.aem/envs/root/envroot/opt/apollo/neo/packages/buildtool/10.0.0-beta-r1/core/task/bazel/handler/preprocess.py 这个文件中,第835-861 这段有逻辑问题,
当处理满足 _is_deprecated_package(pkg_desc) = True 但包名不以 3rd- 开头的包(比如我遇到的 map-editor-frontend)时,代码中没有为 package_repo_path 赋值,却直接在 package_build_file = package_repo_path / ... 中使用了该变量,导致未定义错误。
Metadata
Metadata
Assignees
Labels
No labels