liuxinwust / test_robot

aubo robot meta-package. http://ros.org/wiki/aubo_robot
56 stars 27 forks source link

aubo_control does not build on indigo #4

Open tfoote opened 7 years ago

tfoote commented 7 years ago

Example: http://build.ros.org/view/Ibin_arm_uThf/job/Ibin_uT64__aubo_control__ubuntu_trusty_amd64__binary/77/console

DCATKIN_BUILD_BINARY_PACKAGE=1 -DCMAKE_INSTALL_PREFIX=/opt/ros/indigo -DCMAKE_PREFIX_PATH=/opt/ros/indigo
00:36:17 -- The C compiler identification is GNU 4.8.4
00:36:17 -- The CXX compiler identification is GNU 4.8.4
00:36:17 -- Check for working C compiler: /usr/bin/x86_64-linux-gnu-gcc
00:36:17 -- Check for working C compiler: /usr/bin/x86_64-linux-gnu-gcc -- works
00:36:17 -- Detecting C compiler ABI info
00:36:17 -- Detecting C compiler ABI info - done
00:36:17 -- Check for working CXX compiler: /usr/bin/x86_64-linux-gnu-g++
00:36:17 -- Check for working CXX compiler: /usr/bin/x86_64-linux-gnu-g++ -- works
00:36:17 -- Detecting CXX compiler ABI info
00:36:17 -- Detecting CXX compiler ABI info - done
00:36:17 -- Using CATKIN_DEVEL_PREFIX: /tmp/binarydeb/ros-indigo-aubo-control-0.3.12/obj-x86_64-linux-gnu/devel
00:36:17 -- Using CMAKE_PREFIX_PATH: /opt/ros/indigo
00:36:17 -- This workspace overlays: /opt/ros/indigo
00:36:17 -- Found PythonInterp: /usr/bin/python (found version "2.7.6") 
00:36:17 -- Using PYTHON_EXECUTABLE: /usr/bin/python
00:36:17 -- Using Debian Python package layout
00:36:17 -- Using empy: /usr/bin/empy
00:36:18 -- Using CATKIN_ENABLE_TESTING: ON
00:36:18 -- Skip enable_testing() when building binary package
00:36:18 -- Using CATKIN_TEST_RESULTS_DIR: /tmp/binarydeb/ros-indigo-aubo-control-0.3.12/obj-x86_64-linux-gnu/test_results
00:36:18 -- Looking for include file pthread.h
00:36:18 -- Looking for include file pthread.h - found
00:36:18 -- Looking for pthread_create
00:36:18 -- Looking for pthread_create - not found
00:36:18 -- Looking for pthread_create in pthreads
00:36:18 -- Looking for pthread_create in pthreads - not found
00:36:18 -- Looking for pthread_create in pthread
00:36:18 -- Looking for pthread_create in pthread - found
00:36:18 -- Found Threads: TRUE  
00:36:18 -- Found gtest sources under '/usr/src/gtest': gtests will be built
00:36:18 -- Using Python nosetests: /usr/bin/nosetests-2.7
00:36:18 -- catkin 0.6.18
00:36:19 -- Using these message generators: gencpp;genlisp;genpy
00:36:19 --  CMAKE_MODULE_PATH  /tmp/binarydeb/ros-indigo-aubo-control-0.3.12/cmake
00:36:19 -- Could NOT find libpcan headers.
00:36:19 -- Could NOT find libpcan library.
00:36:19 -- Found CommAPI include dir: /tmp/binarydeb/ros-indigo-aubo-control-0.3.12/include/comm
00:36:19 -- Found CommAPI library: /tmp/binarydeb/ros-indigo-aubo-control-0.3.12/lib/lib64/libI5-CAN.so
00:36:19 CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
00:36:19 Please set them or make sure they are set and tested correctly in the CMake files:
00:36:19 LIBPCAN_LIB
00:36:19     linked by target "joint_control_pcan" in directory /tmp/binarydeb/ros-indigo-aubo-control-0.3.12/src/joint_control_pcan
00:36:19 
00:36:19 -- Configuring incomplete, errors occurred!
00:36:19 See also "/tmp/binarydeb/ros-indigo-aubo-control-0.3.12/obj-x86_64-linux-gnu/CMakeFiles/CMakeOutput.log".
00:36:19 See also "/tmp/binarydeb/ros-indigo-aubo-control-0.3.12/obj-x86_64-linux-gnu/CMakeFiles/CMakeError.log".
00:36:19 dh_auto_configure: cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=None -DCATKIN_BUILD_BINARY_PACKAGE=1 -DCMAKE_INSTALL_PREFIX=/opt/ros/indigo -DCMAKE_PREFIX_PATH=/opt/ros/indigo returned exit code 1
00:36:19 make[1]: *** [override_dh_auto_configure] Error 2
00:36:19 make[1]: Leaving directory `/tmp/binarydeb/ros-indigo-aubo-control-0.3.12'
00:36:19 make: *** [build] Error 2
00:36:19 dpkg-buildpackage: error: debian/rules build gave error exit status 2
00:36:19 E: Building failed
00:36:19 Traceback (most recent call last):
00:36:19   File "/tmp/ros_buildfarm/ros_buildfarm/binarydeb_job.py", line 133, in build_binarydeb
00:36:19     subprocess.check_call(cmd, cwd=source_dir)
00:36:19   File "/usr/lib/python3.4/subprocess.py", line 561, in check_call
00:36:19     raise CalledProcessError(retcode, cmd)
00:36:19 subprocess.CalledProcessError: Command '['apt-src', 'build', 'ros-indigo-aubo-control']' returned non-zero exit status 1
00:36:19 # END SUBSECTION
00:36:19 
00:36:19 --------------------------------------------------------------------------------------------------
00:36:19 `apt-src build ros-indigo-aubo-control` failed.
00:36:19 This is usually because of an error building the package.
00:36:19 The traceback from this failure (just above) is printed for completeness, but you can ignore it.
00:36:19 You should look above `E: Building failed` in the build log for the actual cause of the failure.
00:36:19 --------------------------------------------------------------------------------------------------
00:36:19 
liuxinwust commented 7 years ago

It need peak can drivers,you can install it,see:http://wiki.ros.org/aubo_robot/Tutorials/Getting%20Started%20with%20a%20Aubo%20Robot

tfoote commented 7 years ago

If you have an external dependency like that you cannot release the package onto the buildfarm successfully. I've removed it and aubo_robot which is dependent on aubo_control from the buildfarm. https://github.com/ros/rosdistro/pull/13322