bug

1.

An error occurred during the fetch of repository 'maven':

Traceback (most recent call last):
        File "/home/ubuntu22/.cache/bazel/_bazel_ubuntu22/977720f776d780a3926d85000c2b3305/external/rules_jvm_external/coursier.bzl", line 710, column 38, in _coursier_fetch_impl
                dep_tree = make_coursier_dep_tree(
        File "/home/ubuntu22/.cache/bazel/_bazel_ubuntu22/977720f776d780a3926d85000c2b3305/external/rules_jvm_external/coursier.bzl", line 649, column 13, in make_coursier_dep_tree
                fail("Error while fetching artifact with coursier: " + exec_result.stderr)
Error in fail: Error while fetching artifact with coursier: Timed out
ERROR: /home/ubuntu22/mediapipe/WORKSPACE:391:14: fetching coursier_fetch rule //external:maven: Traceback (most recent call last):
        File "/home/ubuntu22/.cache/bazel/_bazel_ubuntu22/977720f776d780a3926d85000c2b3305/external/rules_jvm_external/coursier.bzl", line 710, column 38, in _coursier_fetch_impl
                dep_tree = make_coursier_dep_tree(
        File "/home/ubuntu22/.cache/bazel/_bazel_ubuntu22/977720f776d780a3926d85000c2b3305/external/rules_jvm_external/coursier.bzl", line 649, column 13, in make_coursier_dep_tree
                fail("Error while fetching artifact with coursier: " + exec_result.stderr)
Error in fail: Error while fetching artifact with coursier: Timed out
INFO: Repository android_opencv instantiated at:
  /home/ubuntu22/mediapipe/WORKSPACE:288:13: in <toplevel>
Repository rule http_archive defined at:
  /home/ubuntu22/.cache/bazel/_bazel_ubuntu22/977720f776d780a3926d85000c2b3305/external/bazel_tools/tools/build_defs/repo/http.bzl:353:31: in <toplevel>
ERROR: /home/ubuntu22/mediapipe/mediapipe/java/com/google/mediapipe/framework/BUILD:43:16: //mediapipe/java/com/google/mediapipe/framework:android_framework_no_proguard depends on @maven//:com_google_code_findbugs_jsr305 in repository @maven which failed to fetch. no such package '@maven//': Error while fetching artifact with coursier: Timed out
ERROR: /home/ubuntu22/mediapipe/mediapipe/java/com/google/mediapipe/framework/BUILD:43:16: //mediapipe/java/com/google/mediapipe/framework:android_framework_no_proguard depends on @maven//:com_google_flogger_flogger in repository @maven which failed to fetch. no such package '@maven//': Error while fetching artifact with coursier: Timed out
ERROR: /home/ubuntu22/mediapipe/mediapipe/java/com/google/mediapipe/framework/BUILD:43:16: //mediapipe/java/com/google/mediapipe/framework:android_framework_no_proguard depends on @maven//:com_google_flogger_flogger_system_backend in repository @maven which failed to fetch. no such package '@maven//': Error while fetching artifact with coursier: Timed out
ERROR: /home/ubuntu22/mediapipe/mediapipe/java/com/google/mediapipe/framework/BUILD:43:16: //mediapipe/java/com/google/mediapipe/framework:android_framework_no_proguard 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/iristrackinggpu:iristrackinggpu' failed; build aborted:

 上述问题:输入命令

RJE_VERBOSE=true

可以解决,这里应该是rules_jvm_external的版本的问题;

2.不兼容的问题,出现以下错误,是由于安装的Android  dnk版本的问题,应该安装android-dnk-r21e

ERROR: /home/ubuntu22/.cache/bazel/_bazel_ubuntu22/977720f776d780a3926d85000c2b3305/external/XNNPACK/BUILD.bazel:9351:19: Compiling src/qc8-igemm/gen/1x8c4-minmax-fp32-neondot.c failed: (Exit 1): clang failed: error executing command external/androidndk/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -gcc-toolchain external/androidndk/ndk/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64 -target ... (remaining 90 arguments skipped)

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
external/XNNPACK/src/qc8-igemm/gen/1x8c4-minmax-fp32-neondot.c:73:20: error: assigning to 'int32x4_t' (vector of 4 'int32_t' values) from incompatible type 'int'
        vacc0x0123 = vdotq_lane_s32(vacc0x0123, vb0123x0123, va0x01234567, 0);
                   ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/XNNPACK/src/qc8-igemm/gen/1x8c4-minmax-fp32-neondot.c:74:20: error: assigning to 'int32x4_t' (vector of 4 'int32_t' values) from incompatible type 'int'
        vacc0x4567 = vdotq_lane_s32(vacc0x4567, vb0123x4567, va0x01234567, 0);
                   ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/XNNPACK/src/qc8-igemm/gen/1x8c4-minmax-fp32-neondot.c:75:20: error: assigning to 'int32x4_t' (vector of 4 'int32_t' values) from incompatible type 'int'
        vacc0x0123 = vdotq_lane_s32(vacc0x0123, vb4567x0123, va0x01234567, 1);
                   ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/XNNPACK/src/qc8-igemm/gen/1x8c4-minmax-fp32-neondot.c:76:20: error: assigning to 'int32x4_t' (vector of 4 'int32_t' values) from incompatible type 'int'
        vacc0x4567 = vdotq_lane_s32(vacc0x4567, vb4567x4567, va0x01234567, 1);
                   ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/XNNPACK/src/qc8-igemm/gen/1x8c4-minmax-fp32-neondot.c:90:20: error: assigning to 'int32x4_t' (vector of 4 'int32_t' values) from incompatible type 'int'
        vacc0x0123 = vdotq_lane_s32(vacc0x0123, vb0123x0123, va0x01234567, 0);
                   ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/XNNPACK/src/qc8-igemm/gen/1x8c4-minmax-fp32-neondot.c:91:20: error: assigning to 'int32x4_t' (vector of 4 'int32_t' values) from incompatible type 'int'
        vacc0x4567 = vdotq_lane_s32(vacc0x4567, vb0123x4567, va0x01234567, 0);
                   ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6 errors generated.
Target //mediapipe/examples/android/src/java/com/google/mediapipe/apps/handtrackinggpu:handtrackinggpu failed to build
Use --verbose_failures to see the command lines of failed build steps.

 

posted @ 2022-11-08 18:17  无敌小金刚  阅读(385)  评论(0)    收藏  举报