Skip to content

Instantly share code, notes, and snippets.

@ganadist
Last active July 16, 2019 14:25
Show Gist options
  • Save ganadist/4702f70b3ea6dd9323260e12a7bab529 to your computer and use it in GitHub Desktop.
Save ganadist/4702f70b3ea6dd9323260e12a7bab529 to your computer and use it in GitHub Desktop.
$ bazel build oauth
DEBUG: Rule 'com_googlesource_gerrit_bazlets' indicated that a canonical reproducible form can be obtained by modifying arguments shallow_since = "1562699450 -0400"
DEBUG: Call stack for the definition of repository 'com_googlesource_gerrit_bazlets' which is a git_repository (rule definition at /home/ganadist/.cache/bazel/_bazel_ganadist/9b342cb1427f200d4458a90f8be4bf82/external/bazel_tools/tools/build_defs/repo/git.bzl:181:18):
- /home/ganadist/src/build/gerrit/plugins-oauth/bazlets.bzl:9:9
- /home/ganadist/src/build/gerrit/plugins-oauth/WORKSPACE:5:1
INFO: Call stack for the definition of repository 'gerrit_plugin_api' which is a maven_jar (rule definition at /home/ganadist/.cache/bazel/_bazel_ganadist/9b342cb1427f200d4458a90f8be4bf82/external/com_googlesource_gerrit_bazlets/tools/maven_jar.bzl:163:13):
- /home/ganadist/.cache/bazel/_bazel_ganadist/9b342cb1427f200d4458a90f8be4bf82/external/com_googlesource_gerrit_bazlets/gerrit_api_maven_local.bzl:13:5
- /home/ganadist/src/build/gerrit/plugins-oauth/WORKSPACE:17:1
ERROR: An error occurred during the fetch of repository 'gerrit_plugin_api':
failed [/home/ganadist/bin/python, /home/ganadist/.cache/bazel/_bazel_ganadist/9b342cb1427f200d4458a90f8be4bf82/external/com_googlesource_gerrit_bazlets/tools/download_file.py, "-o", /home/ganadist/.cache/bazel/_bazel_ganadist/9b342cb1427f200d4458a90f8be4bf82/external/gerrit_plugin_api/jar/gerrit-plugin-api-3.1.0-SNAPSHOT.jar, "-u", "MAVEN_LOCAL:/com/google/gerrit/gerrit-plugin-api/3.1.0-SNAPSHOT/gerrit-plugin-api-3.1.0-SNAPSHOT.jar"]: Download file:///home/ganadist/.m2/repository/com/google/gerrit/gerrit-plugin-api/3.1.0-SNAPSHOT/gerrit-plugin-api-3.1.0-SNAPSHOT.jar
curl: (37) Couldn't open file /home/ganadist/.m2/repository/com/google/gerrit/gerrit-plugin-api/3.1.0-SNAPSHOT/gerrit-plugin-api-3.1.0-SNAPSHOT.jar
error using curl: Command '['curl', '--proxy-anyauth', '-ksSfLo', '/home/ganadist/.gerritcodereview/bazel-cache/downloaded-artifacts/gerrit-plugin-api-3.1.0-SNAPSHOT.jar-05809ae1e0e97ca9be86fef71765d6fa4e2ed5d1', 'file:///home/ganadist/.m2/repository/com/google/gerrit/gerrit-plugin-api/3.1.0-SNAPSHOT/gerrit-plugin-api-3.1.0-SNAPSHOT.jar']' returned non-zero exit status 37
INFO: Call stack for the definition of repository 'remotejdk11_linux' which is a http_archive (rule definition at /home/ganadist/.cache/bazel/_bazel_ganadist/9b342cb1427f200d4458a90f8be4bf82/external/bazel_tools/tools/build_defs/repo/http.bzl:237:16):
- /DEFAULT.WORKSPACE.SUFFIX:199:1
ERROR: /home/ganadist/.cache/bazel/_bazel_ganadist/9b342cb1427f200d4458a90f8be4bf82/external/com_googlesource_gerrit_bazlets/gerrit_api_maven_local.bzl:31:5: //external:gerrit-plugin-api-neverlink depends on @gerrit_plugin_api//jar:neverlink in repository @gerrit_plugin_api which failed to fetch. no such package '@gerrit_plugin_api//jar': failed [/home/ganadist/bin/python, /home/ganadist/.cache/bazel/_bazel_ganadist/9b342cb1427f200d4458a90f8be4bf82/external/com_googlesource_gerrit_bazlets/tools/download_file.py, "-o", /home/ganadist/.cache/bazel/_bazel_ganadist/9b342cb1427f200d4458a90f8be4bf82/external/gerrit_plugin_api/jar/gerrit-plugin-api-3.1.0-SNAPSHOT.jar, "-u", "MAVEN_LOCAL:/com/google/gerrit/gerrit-plugin-api/3.1.0-SNAPSHOT/gerrit-plugin-api-3.1.0-SNAPSHOT.jar"]: Download file:///home/ganadist/.m2/repository/com/google/gerrit/gerrit-plugin-api/3.1.0-SNAPSHOT/gerrit-plugin-api-3.1.0-SNAPSHOT.jar
curl: (37) Couldn't open file /home/ganadist/.m2/repository/com/google/gerrit/gerrit-plugin-api/3.1.0-SNAPSHOT/gerrit-plugin-api-3.1.0-SNAPSHOT.jar
error using curl: Command '['curl', '--proxy-anyauth', '-ksSfLo', '/home/ganadist/.gerritcodereview/bazel-cache/downloaded-artifacts/gerrit-plugin-api-3.1.0-SNAPSHOT.jar-05809ae1e0e97ca9be86fef71765d6fa4e2ed5d1', 'file:///home/ganadist/.m2/repository/com/google/gerrit/gerrit-plugin-api/3.1.0-SNAPSHOT/gerrit-plugin-api-3.1.0-SNAPSHOT.jar']' returned non-zero exit status 37
ERROR: Analysis of target '//:oauth' failed; build aborted: Analysis failed
INFO: Elapsed time: 0.990s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded, 0 targets configured)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment