ros-infrastructure / ros_buildfarm

ROS buildfarm based on Docker
Apache License 2.0
79 stars 96 forks source link

How to pre-release test with third party package #904

Open GuoliangShiIntel opened 2 years ago

GuoliangShiIntel commented 2 years ago

I want to release a package to ROS community. Firstly, I run a pre-release test. After ./prerelease.sh, I got this error:

` ==> Processing catkin package: 'vino_core_lib' ==> Creating build directory: 'build_isolated/vino_core_lib' ==> Building with env: '/tmp/ws/install_isolated/env.sh' ==> cmake /tmp/ws/src/ros_openvino_toolkit__custom-1/vino_core_lib -DCATKIN_DEVEL_PREFIX=/tmp/ws/devel_isolated/vino_core_lib -DCMAKE_INSTALL_PREFIX=/tmp/ws/install_isolated -DBUILD_TESTING=0 -DCATKIN_SKIP_TESTING=1 -G Unix Makefiles in '/tmp/ws/build_isolated/vino_core_lib' -- The C compiler identification is GNU 7.5.0 -- The CXX compiler identification is GNU 7.5.0 -- Check for working C compiler: /usr/lib/ccache/cc -- Check for working C compiler: /usr/lib/ccache/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/lib/ccache/c++ -- Check for working CXX compiler: /usr/lib/ccache/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for inference engine configuration file at: CMake Error at CMakeLists.txt:31 (find_package): By not providing "FindInferenceEngine.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "InferenceEngine", but CMake did not find one.

Could not find a package configuration file provided by "InferenceEngine" with any of the following names:

InferenceEngineConfig.cmake
inferenceengine-config.cmake

Add the installation prefix of "InferenceEngine" to CMAKE_PREFIX_PATH or set "InferenceEngine_DIR" to a directory containing one of the above files. If "InferenceEngine" provides a separate development package or SDK, be sure it has been installed.

-- Configuring incomplete, errors occurred! See also "/tmp/ws/build_isolated/vino_core_lib/CMakeFiles/CMakeOutput.log". <== Failed to process package 'vino_core_lib': Command '['/tmp/ws/install_isolated/env.sh', 'cmake', '/tmp/ws/src/ros_openvino_toolkit__custom-1/vino_core_lib', '-DCATKIN_DEVEL_PREFIX=/tmp/ws/devel_isolated/vino_core_lib', '-DCMAKE_INSTALL_PREFIX=/tmp/ws/install_isolated', '-DBUILD_TESTING=0', '-DCATKIN_SKIP_TESTING=1', '-G', 'Unix Makefiles']' returned non-zero exit status 1

Reproduce this error by running: ==> cd /tmp/ws/build_isolated/vino_core_lib && /tmp/ws/install_isolated/env.sh cmake /tmp/ws/src/ros_openvino_toolkit__custom-1/vino_core_lib -DCATKIN_DEVEL_PREFIX=/tmp/ws/devel_isolated/vino_core_lib -DCMAKE_INSTALL_PREFIX=/tmp/ws/install_isolated -DBUILD_TESTING=0 -DCATKIN_SKIP_TESTING=1 -G 'Unix Makefiles' `

This package need the third party package OpenVINO support. So, how can i add this dependence?

yuxuanwu1234567 commented 6 months ago

这里是权限问题,在docker run添加root用户即可