Skip to content

Build failed because of ERROR: build interrupted #26

@mingfure

Description

@mingfure

when I build the project bybazel build //...,it always occur the following error.

ERROR: /root/.cache/bazel/_bazel_root/18886dfff758d88a4f92fb648ac370ec/external/org_pubref_rules_protobuf/protobuf/internal/require.bzl:46:13: no such package '@boringssl//': Error downloading [https://boringssl.googlesource.com/boringssl/+archive/74ffd81aa7ec3d0aa3d3d820dbeda934958ca81a.tar.gz] to /root/.cache/bazel/_bazel_root/18886dfff758d88a4f92fb648ac370ec/external/boringssl/74ffd81aa7ec3d0aa3d3d820dbeda934958ca81a.tar.gz: Premature EOF and referenced by '//external:libssl'
ERROR: Analysis of target '//n2p/protos:interface_cc_proto' failed; build aborted: Analysis failed
INFO: Elapsed time: 205.228s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded, 0 targets configured)

I thought it was because my connection was not stable, but I could download it for a period of time in the beginning every time. Is there any way to download the dependency package offline? Or some other solution?

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