Skip to content
This repository was archived by the owner on Aug 11, 2023. It is now read-only.

bazel build, "does not match expected SHA-1", error #283

@yosoufe

Description

@yosoufe

Hi,

I am trying to compile rosjava_core on ubuntu 18.04. I have installed the bazel from the zip file. Now when I try to run bazel build //... I get the following error

Starting local Bazel server and connecting to it...
ERROR: /home/yousof/Software/Android/android-ros/rosjava_core/3rdparty/workspace.bzl:10:5: no such package '@org_ros_rosjava_messages_rosgraph_msgs//jar': Downloaded file at /home/yousof/.cache/bazel/_bazel_yousof/1f104936c1094ce1dca83c9aa81907bc/external/org_ros_rosjava_messages_rosgraph_msgs/org/ros/rosjava_messages/rosgraph_msgs/1.11.2/rosgraph_msgs-1.11.2.jar has SHA-1 of cc43a8148a2af597bd1d1813c809be07850b2e2b, does not match expected SHA-1 (adb731dd5181976b23c217872f61c724a3af70fe) and referenced by '//external:jar/org/ros/rosjava_messages/rosgraph_msgs'
ERROR: Analysis of target '//rosjava:test_lib' failed; build aborted: Analysis failed
INFO: Elapsed time: 3.814s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (53 packages loaded)

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