Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build.sh执行时编译错误 #173

Open
yzhang610 opened this issue Mar 3, 2022 · 1 comment
Open

build.sh执行时编译错误 #173

yzhang610 opened this issue Mar 3, 2022 · 1 comment

Comments

@yzhang610
Copy link

您好,我想问一下,我再编译得时候遇到如下错误了,如果我将对应得包下载下载,应该修改什么文件让其停止下载,用我本地下载好得文件呢?谢谢啦

INFO: Call stack for the definition of repository 'remote_coverage_tools' which is a http_archive (rule definition at /home/yzhang/.cache/bazel/_bazel_yzhang/91e4ddd8d3e9ac148dfac0b7a08be8f8/external/bazel_tools/tools/build_defs/repo/http.bzl:292:16):

  • /DEFAULT.WORKSPACE.SUFFIX:9:1
    INFO: Call stack for the definition of repository 'remotejdk11_linux' which is a http_archive (rule definition at /home/yzhang/.cache/bazel/_bazel_yzhang/91e4ddd8d3e9ac148dfac0b7a08be8f8/external/bazel_tools/tools/build_defs/repo/http.bzl:292:16):
  • /home/yzhang/.cache/bazel/_bazel_yzhang/91e4ddd8d3e9ac148dfac0b7a08be8f8/external/bazel_tools/tools/build_defs/repo/utils.bzl:205:9
  • /DEFAULT.WORKSPACE.SUFFIX:216:1
    WARNING: Download from https://mirror.bazel.build/bazel_coverage_output_generator/releases/coverage_output_generator-v2.0.zip failed: class java.io.IOException connect timed out
    ERROR: An error occurred during the fetch of repository 'remote_coverage_tools':
    java.io.IOException: Error downloading [https://mirror.bazel.build/bazel_coverage_output_generator/releases/coverage_output_generator-v2.0.zip] to /home/yzhang/.cache/bazel/_bazel_yzhang/91e4ddd8d3e9ac148dfac0b7a08be8f8/external/remote_coverage_tools/coverage_output_generator-v2.0.zip: connect timed out
    Analyzing: 101 targets (0 packages loaded, 0 targets configured)
    INFO: Call stack for the definition of repository 'remote_java_tools_linux' which is a http_archive (rule definition at /home/yzhang/.cache/bazel/_bazel_yzhang/91e4ddd8d3e9ac148dfac0b7a08be8f8/external/bazel_tools/tools/build_defs/repo/http.bzl:292:16):
  • /home/yzhang/.cache/bazel/_bazel_yzhang/91e4ddd8d3e9ac148dfac0b7a08be8f8/external/bazel_tools/tools/build_defs/repo/utils.bzl:205:9
  • /DEFAULT.WORKSPACE.SUFFIX:260:1
    ERROR: /home/yzhang/.cache/bazel/_bazel_yzhang/91e4ddd8d3e9ac148dfac0b7a08be8f8/external/bazel_tools/tools/test/CoverageOutputGenerator/java/com/google/devtools/coverageoutputgenerator/BUILD:4:1: @bazel_tools//tools/test/CoverageOutputGenerator/java/com/google/devtools/coverageoutputgenerator:all_lcov_merger_lib depends on @remote_coverage_tools//:all_lcov_merger_tools_deploy.jar in repository @remote_coverage_tools which failed to fetch. no such package '@remote_coverage_tools//': java.io.IOException: Error downloading [https://mirror.bazel.build/bazel_coverage_output_generator/releases/coverage_output_generator-v2.0.zip] to /home/yzhang/.cache/bazel/_bazel_yzhang/91e4ddd8d3e9ac148dfac0b7a08be8f8/external/remote_coverage_tools/coverage_output_generator-v2.0.zip: connect timed out
    ERROR: Analysis of target '//plato/graph/structure/test:edge_cache' failed; build aborted: no such package '@remote_coverage_tools//': java.io.IOException: Error downloading [https://mirror.bazel.build/bazel_coverage_output_generator/releases/coverage_output_generator-v2.0.zip] to /home/yzhang/.cache/bazel/_bazel_yzhang/91e4ddd8d3e9ac148dfac0b7a08be8f8/external/remote_coverage_tools/coverage_output_generator-v2.0.zip: connect timed out
    INFO: Elapsed time: 75.713s
    INFO: 0 processes.
    FAILED: Build did NOT complete successfully (0 packages loaded, 0 targets configured)
    ERROR: Couldn't start the build. Unable to run tests
    FAILED: Build did NOT complete successfully (0 packages loaded, 0 targets configured)
@yzhang610
Copy link
Author

目前时放到那个后面to得目录下,再执行得时候,会被清除掉,而且下载前没有做有没有文件检查,所以不知道应该怎么修改对应得WORKSPACE或者BUILD文件

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant