-
Notifications
You must be signed in to change notification settings - Fork 334
Closed
Description
I tried to build this project with bazel 2.2 and also with the latest version 3.1.0 and it always crashes.
I'm trying it on Windows 10.
I did it according
https://github.com/android/android-test/blob/master/CONTRIBUTING.md
by bazel build :axt_m2repository command.
Bazel 3.1.0
If the definition of 'maven' was updated, verify that the hashes were also updated.
ERROR: An error occurred during the fetch of repository 'maven':
Traceback (most recent call last):
File "C:/users/tomas/_bazel_tomas/cgupahow/external/rules_jvm_external/coursier.bzl", line 533
json_parse(<1 more arguments>)
File "C:/users/tomas/_bazel_tomas/cgupahow/external/rules_jvm_external/coursier.bzl", line 533, in json_parse
_cat_file(repository_ctx, <1 more arguments>)
File "C:/users/tomas/_bazel_tomas/cgupahow/external/rules_jvm_external/coursier.bzl", line 442, in _cat_file
fail(<1 more arguments>)
Error while trying to read dep-tree.json:
ERROR: C:/a/android-test-master/ext/junit/java/androidx/test/ext/junit/BUILD.bazel:10:1: //ext/junit/java/androidx/test/ext/junit:junit depends on @maven//:junit_junit in repository @maven which failed to fetch. no such package '@maven//': Traceback (most recent call last):
File "C:/users/tomas/_bazel_tomas/cgupahow/external/rules_jvm_external/coursier.bzl", line 533
json_parse(<1 more arguments>)
File "C:/users/tomas/_bazel_tomas/cgupahow/external/rules_jvm_external/coursier.bzl", line 533, in json_parse
_cat_file(repository_ctx, <1 more arguments>)
File "C:/users/tomas/_bazel_tomas/cgupahow/external/rules_jvm_external/coursier.bzl", line 442, in _cat_file
fail(<1 more arguments>)
Error while trying to read dep-tree.json:
ERROR: Analysis of target '//:axt_m2repository' failed; build aborted: no such package '@maven//': Traceback (most recent call last):
File "C:/users/tomas/_bazel_tomas/cgupahow/external/rules_jvm_external/coursier.bzl", line 533
json_parse(<1 more arguments>)
File "C:/users/tomas/_bazel_tomas/cgupahow/external/rules_jvm_external/coursier.bzl", line 533, in json_parse
_cat_file(repository_ctx, <1 more arguments>)
File "C:/users/tomas/_bazel_tomas/cgupahow/external/rules_jvm_external/coursier.bzl", line 442, in _cat_file
fail(<1 more arguments>)
Error while trying to read dep-tree.json:
INFO: Elapsed time: 78.928s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (162 packages loaded, 1848 targets configured)
Or Bazel 2.2.0
ERROR: An error occurred during the fetch of repository 'maven':
Traceback (most recent call last):
File "C:/users/tomas/_bazel_tomas/cgupahow/external/rules_jvm_external/coursier.bzl", line 533
json_parse(<1 more arguments>)
File "C:/users/tomas/_bazel_tomas/cgupahow/external/rules_jvm_external/coursier.bzl", line 533, in json_parse
_cat_file(repository_ctx, <1 more arguments>)
File "C:/users/tomas/_bazel_tomas/cgupahow/external/rules_jvm_external/coursier.bzl", line 442, in _cat_file
fail(<1 more arguments>)
Error while trying to read dep-tree.json:
ERROR: C:/a/android-test-master/ext/truth/java/androidx/test/ext/truth/BUILD.bazel:39:1: //ext/truth/java/androidx/test/ext/truth:jarjar_bin depends on @maven//:org_pantsbuild_jarjar in repository @maven which failed to fetch. no such package '@maven//': Traceback (most recent call last):
File "C:/users/tomas/_bazel_tomas/cgupahow/external/rules_jvm_external/coursier.bzl", line 533
json_parse(<1 more arguments>)
File "C:/users/tomas/_bazel_tomas/cgupahow/external/rules_jvm_external/coursier.bzl", line 533, in json_parse
_cat_file(repository_ctx, <1 more arguments>)
File "C:/users/tomas/_bazel_tomas/cgupahow/external/rules_jvm_external/coursier.bzl", line 442, in _cat_file
fail(<1 more arguments>)
Error while trying to read dep-tree.json:
ERROR: Analysis of target '//:axt_m2repository' failed; build aborted: Analysis failed
INFO: Elapsed time: 106.961s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (162 packages loaded, 1898 targets configured)
Metadata
Metadata
Assignees
Labels
No labels