-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
Bazel Maven SHA cache not matching #762
Comments
What does this mean and how do I fix it? |
[alex@alexMBP mediapipe]$ bazel build -c opt --config=android_arm64 --distdir=cache --repository_cache=cache --keep_going mediapipe/examples/android/src/java/com/google/mediapipe/apps/facedetectioncpu Hash '6598d9277705ad8369a4f9c64217fbc31c19234f2cbcca9b1e5c4300a3abb317' for https://github.com/coursier/coursier/releases/download/v2.0.0-RC5-3/coursier.jar |
I followed the solution in#3, but still reported the error above, and the problem was mainly related to Maven.how do I fix it?@jiuqiant I'm using the latest version .And I have a VPN |
same problem. I don't know how to fix it. It's the same mistake I tried so many times. ` WARNING: API level 29 specified by android_ndk_repository 'androidndk' is not available. Using latest known API level 28 INFO: Repository maven instantiated at: Repository rule coursier_fetch defined at: INFO: Repository 'maven' used the following cache hits instead of downloading the corresponding file.
ERROR: An error occurred during the fetch of repository 'maven': INFO: Elapsed time: 601.682s FAILED: Build did NOT complete successfully (8 packages loaded, 6807 targets c |
Did you fixed it what you encounter above? |
Have you solved the problem now? Can you give me some advice? |
Even I am also having the same problem. Kindly help me out |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you. |
if you network blocked by the Great Firewall. you can change your repositories in WORKSPACE file like this. |
Closing as stale. Please reopen if you'd like to work on this further. |
In my case, my coursier credentials.properties have an empty line, and that somehow caused a timed out error in bazel build. |
INFO: Repository 'maven' used the following cache hits instead of downloading the corresponding file.
If the definition of 'maven' was updated, verify that the hashes were also updated.
ERROR: An error occurred during the fetch of repository 'maven':
Error while fetching artifact with coursier: Timed out
ERROR: /Users/xieqingxi/newPycharmProject/mediapipe-master/mediapipe/examples/android/src/java/com/google/mediapipe/apps/basic/BUILD:18:16: //mediapipe/examples/android/src/java/com/google/mediapipe/apps/basic:basic_lib depends on @maven//:androidx_concurrent_concurrent_futures in repository @maven which failed to fetch. no such package '@maven//': Error while fetching artifact with coursier: Timed out
ERROR: /Users/xieqingxi/newPycharmProject/mediapipe-master/mediapipe/examples/android/src/java/com/google/mediapipe/apps/basic/BUILD:18:16: //mediapipe/examples/android/src/java/com/google/mediapipe/apps/basic:basic_lib depends on @maven//:com_google_guava_guava in repository @maven which failed to fetch. no such package '@maven//': Error while fetching artifact with coursier: Timed out
ERROR: Analysis of target '//mediapipe/examples/android/src/java/com/google/mediapipe/apps/facedetectioncpu:facedetectioncpu' failed; build aborted: Analysis failed
INFO: Elapsed time: 828.794s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (4 packages loaded, 3366 targets configured)
The text was updated successfully, but these errors were encountered: