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

Rpi 4 Bullseye ERROR: .. mediapipe-0.8.8/third_party/BUILD:97:15: CcCmakeMakeRule third_party/opencv_cmake/include failed: (Exit 127) #8

Open
leonel85 opened this issue Jan 16, 2022 · 0 comments

Comments

@leonel85
Copy link

Hello
I follow the steps and I install gcc 10.3.0.
After run python3 setup.py gen_protos && python3 setup.py bdist_wheel
I have this error

.......
ERROR: /home/pi/instmedia/mediapipe-0.8.8/third_party/BUILD:97:15: CcCmakeMakeRule third_party/opencv_cmake/include failed: (Exit 127): CMake_wrapper_script.sh failed: error executing command bazel-out/arm-opt/bin/third_party/opencv_cmake_scripts/CMake_wrapper_script.sh

Use --sandbox_debug to see verbose messages from the sandbox
rules_foreign_cc: Build failed!
rules_foreign_cc: Keeping temp build directory and dependencies directory for debug.
rules_foreign_cc: Please note that the directories inside a sandbox are still cleaned unless you specify --sandbox_debug Bazel command line flag.
rules_foreign_cc: Printing build logs:
_____ BEGIN BUILD LOGS _____

Bazel external C/C++ Rules. Building library opencv_cmake

Environment:______________
BUILD_SCRIPT=bazel-out/arm-opt/bin/third_party/opencv_cmake_scripts/CMake_script.sh
EXT_BUILD_ROOT=/home/pi/.cache/bazel/_bazel_pi/f37c7e027ae491c44f68c3cc1afe488d/sandbox/linux-sandbox/181/execroot/mediapipe
BUILD_LOG=bazel-out/arm-opt/bin/third_party/opencv_cmake_logs/CMake.log
PWD=/home/pi/.cache/bazel/_bazel_pi/f37c7e027ae491c44f68c3cc1afe488d/sandbox/linux-sandbox/181/execroot/mediapipe
BUILD_WRAPPER_SCRIPT=bazel-out/arm-opt/bin/third_party/opencv_cmake_scripts/CMake_wrapper_script.sh
PYTHON_BIN_PATH=/usr/bin/python3
TMPDIR=/tmp
EXT_BUILD_DEPS=/home/pi/.cache/bazel/_bazel_pi/f37c7e027ae491c44f68c3cc1afe488d/sandbox/linux-sandbox/181/execroot/mediapipe/bazel-out/arm-opt/bin/third_party/opencv_cmake.ext_build_deps
BUILD_TMPDIR=/home/pi/.cache/bazel/_bazel_pi/f37c7e027ae491c44f68c3cc1afe488d/sandbox/linux-sandbox/181/execroot/mediapipe/bazel-out/arm-opt/bin/third_party/opencv_cmake.build_tmpdir
SHLVL=2
LD_LIBRARY_PATH=/opt/gcc-10.3.0-2/lib:
INSTALLDIR=/home/pi/.cache/bazel/_bazel_pi/f37c7e027ae491c44f68c3cc1afe488d/sandbox/linux-sandbox/181/execroot/mediapipe/bazel-out/arm-opt/bin/third_party/opencv_cmake
PATH=/home/pi/.cache/bazel/_bazel_pi/f37c7e027ae491c44f68c3cc1afe488d/sandbox/linux-sandbox/181/execroot/mediapipe:/opt/gcc-10.3.0-2/bin:/opt/gcc-10.3.0-2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games
_=/usr/bin/env


bazel-out/arm-opt/bin/third_party/opencv_cmake_scripts/CMake_script.sh: line 49: cmake: command not found
_____ END BUILD LOGS _____
rules_foreign_cc: Build wrapper script location: bazel-out/arm-opt/bin/third_party/opencv_cmake_scripts/CMake_wrapper_script.sh
rules_foreign_cc: Build script location: bazel-out/arm-opt/bin/third_party/opencv_cmake_scripts/CMake_script.sh
rules_foreign_cc: Build log location: bazel-out/arm-opt/bin/third_party/opencv_cmake_logs/CMake.log

Target //mediapipe/modules/face_detection:face_detection_short_range_cpu failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 618.757s, Critical Path: 475.84s
INFO: 403 processes: 223 internal, 180 linux-sandbox.
FAILED: Build did NOT complete successfully

Thanks

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