Skip to content

buildtool build --packages example_components 报错 #1

@Shu-Zhang-hub

Description

@Shu-Zhang-hub

(07:43:44) ERROR: /apollo_workspace/application-demo/.cache/bazel/49271badac8bbdf7a5ce4fd03fea1232/external/bazel_tools/platforms/BUILD:89:6: in alias rule @bazel_tools//platforms:windows: Constraints from @bazel_tools//platforms have been removed. Please use constraints from @platforms repository embedded in Bazel, or preferably declare dependency on https://github.com/bazelbuild/platforms. See bazelbuild/bazel#8622 for details.
(07:43:44) ERROR: /apollo_workspace/application-demo/.cache/bazel/49271badac8bbdf7a5ce4fd03fea1232/external/bazel_tools/platforms/BUILD:89:6: Analysis of target '@bazel_tools//platforms:windows' failed
(07:43:44) ERROR: /apollo_workspace/application-demo/.cache/bazel/49271badac8bbdf7a5ce4fd03fea1232/external/com_google_googletest/BUILD.bazel:57:11: errors encountered resolving select() keys for @com_google_googletest//:gtest
(07:43:45) ERROR: Analysis of target '//example_components:install' failed; build aborted:
(07:43:45) INFO: Elapsed time: 39.493s
(07:43:45) INFO: 0 processes.
(07:43:45) FAILED: Build did NOT complete successfully (60 packages loaded, 13
04 targets configured)
(07:43:45) ERROR: Build failed. Not running target
[buildtool] ERROR Encounter ErrCode.BazelErr
[buildtool] ERROR hint: Build and install package example-components-dev failed!
[buildtool] ERROR solution: Please checkout source code or build file by following bazel error hints

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions