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

Added image for mavros e05c71a #249

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft

Conversation

ChrisTimperley
Copy link
Member

@ChrisTimperley ChrisTimperley commented Mar 4, 2019

Status:

Step 41/43 : RUN echo "[ROBUST] attempting to build PUT..."  && echo "[ROBUST] is a build failure expected? ${IS_BUILD_FAILURE}."  && ./build.sh || [ "${IS_BUILD_FAILURE}" = "yes" ]

 ---> Running in 7545b1abf1ff
[ROBUST] attempting to build PUT...
[ROBUST] is a build failure expected? no.
-- The C compiler identification is GNU 4.8.4
-- The CXX compiler identification is GNU 4.8.4
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Using CATKIN_DEVEL_PREFIX: /ros_ws/devel
-- Using CMAKE_PREFIX_PATH: /opt/ros/indigo
-- This workspace overlays: /opt/ros/indigo
-- Found PythonInterp: /usr/bin/python (found version "2.7.6")
-- Using PYTHON_EXECUTABLE: /usr/bin/python
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /ros_ws/build/test_results
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found gtest sources under '/usr/src/gtest': gtests will be built
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.6.14
-- BUILD_SHARED_LIBS is on
-- Using CATKIN_WHITELIST_PACKAGES: libmavconn;mavros
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~  traversing 2 packages in topological order:
-- ~~  - libmavconn
-- ~~  - mavros
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'libmavconn'
-- ==> add_subdirectory(repo-under-test/libmavconn)
-- Boost version: 1.54.0
-- Found the following Boost libraries:
--   system
-- Performing Test COMPILER_SUPPORTS_STD_CXX11
-- Performing Test COMPILER_SUPPORTS_STD_CXX11 - Success
-- Selected MAVLink dialect: ardupilotmega
-- +++ processing catkin package: 'mavros'
-- ==> add_subdirectory(repo-under-test/mavros)
-- Using these message generators: gencpp;genlisp;genpy
-- Boost version: 1.54.0
-- Found the following Boost libraries:
--   system
-- Found Eigen3: /usr/include/eigen3 (Required is at least version "2.91.0")
-- Selected MAVLink dialect: ardupilotmega
-- mavros: 0 messages, 0 services
CMake Warning at /ros_ws/build/repo-under-test/mavros/cmake/mavros-genmsg.cmake:3 (message):
  Invoking generate_messages() without having added any message or service
  file before.

  You should either add add_message_files() and/or add_service_files() calls
  or remove the invocation of generate_messages().
Call Stack (most recent call first):
  /opt/ros/indigo/share/genmsg/cmake/genmsg-extras.cmake:304 (include)
  repo-under-test/mavros/CMakeLists.txt:73 (generate_messages)



-- Configuring done
-- Generating done
-- Build files have been written to: /ros_ws/build
Scanning dependencies of target std_msgs_generate_messages_cpp
Scanning dependencies of target diagnostic_msgs_generate_messages_cpp
Scanning dependencies of target sensor_msgs_generate_messages_py
Scanning dependencies of target diagnostic_msgs_generate_messages_py
Scanning dependencies of target sensor_msgs_generate_messages_cpp
Scanning dependencies of target std_msgs_generate_messages_lisp
Scanning dependencies of target std_msgs_generate_messages_py
[  0%] [  0%]
[  0%]
[  0%] [  0%]
[  0%]
[  0%]
Built target std_msgs_generate_messages_cpp
Built target sensor_msgs_generate_messages_py
Built target diagnostic_msgs_generate_messages_py
Built target diagnostic_msgs_generate_messages_cpp
Built target sensor_msgs_generate_messages_cpp
Built target std_msgs_generate_messages_py
Built target std_msgs_generate_messages_lisp
Scanning dependencies of target sensor_msgs_generate_messages_lisp
Scanning dependencies of target mavros_generate_messages_cpp
Scanning dependencies of target diagnostic_msgs_generate_messages_lisp
Scanning dependencies of target mavros_generate_messages_py
[  0%]
[  0%] Built target sensor_msgs_generate_messages_lisp
[  0%]
Built target mavros_generate_messages_cpp
Built target diagnostic_msgs_generate_messages_lisp
[  0%]
Built target mavros_generate_messages_py
Scanning dependencies of target mavros_generate_messages_lisp
[  0%]
Built target mavros_generate_messages_lisp
Scanning dependencies of target mavconn
Scanning dependencies of target mavros_generate_messages
[  0%]
Built target mavros_generate_messages
[  5%] [  5%]
[  8%]
[ 11%]
[ 14%]
Building CXX object repo-under-test/libmavconn/CMakeFiles/mavconn.dir/src/serial.cpp.o
Building CXX object repo-under-test/libmavconn/CMakeFiles/mavconn.dir/src/interface.cpp.o
Building CXX object repo-under-test/libmavconn/CMakeFiles/mavconn.dir/src/mavlink_helpers.cpp.o
Building CXX object repo-under-test/libmavconn/CMakeFiles/mavconn.dir/src/tcp.cpp.o
Building CXX object repo-under-test/libmavconn/CMakeFiles/mavconn.dir/src/udp.cpp.o
Linking CXX shared library /ros_ws/devel/lib/libmavconn.so
[ 14%]
Built target mavconn
Scanning dependencies of target mavros
[ 17%]
[ 20%]
[ 22%]
[ 25%]
[ 28%]
[ 31%]
[ 34%]
[ 37%]
Building CXX object repo-under-test/mavros/CMakeFiles/mavros.dir/src/lib/uas_stringify.cpp.o
Building CXX object repo-under-test/mavros/CMakeFiles/mavros.dir/src/lib/uas_data.cpp.o
Building CXX object repo-under-test/mavros/CMakeFiles/mavros.dir/src/lib/uas_sensor_orientation.cpp.o
Building CXX object repo-under-test/mavros/CMakeFiles/mavros.dir/src/lib/uas_frame_conversions.cpp.o
Building CXX object repo-under-test/mavros/CMakeFiles/mavros.dir/src/lib/uas_quaternion_utils.cpp.o
Building CXX object repo-under-test/mavros/CMakeFiles/mavros.dir/src/lib/uas_timesync.cpp.o
Building CXX object repo-under-test/mavros/CMakeFiles/mavros.dir/src/lib/mavros.cpp.o
Building CXX object repo-under-test/mavros/CMakeFiles/mavros.dir/src/lib/mavlink_diag.cpp.o
In file included from /ros_ws/src/repo-under-test/mavros/src/lib/uas_data.cpp:18:0:
/ros_ws/src/repo-under-test/mavros/include/mavros/utils.h:23:28: fatal error: mavros/Mavlink.h: No such file or directory
 #include <mavros/Mavlink.h>
                            ^

compilation terminated.

In file included from /ros_ws/src/repo-under-test/mavros/src/lib/uas_timesync.cpp:18:0:
/ros_ws/src/repo-under-test/mavros/include/mavros/utils.h:23:28: fatal error: mavros/Mavlink.h: No such file or directory
 #include <mavros/Mavlink.h>
                            ^
compilation terminated.

In file included from /ros_ws/src/repo-under-test/mavros/src/lib/uas_stringify.cpp:18:0:
/ros_ws/src/repo-under-test/mavros/include/mavros/utils.h:23:28: fatal error: mavros/Mavlink.h: No such file or directory
 #include <mavros/Mavlink.h>
                            ^
compilation terminated.

In file included from /ros_ws/src/repo-under-test/mavros/src/lib/mavros.cpp:14:0:
/ros_ws/src/repo-under-test/mavros/include/mavros/mavros.h:27:28: fatal error: mavros/Mavlink.h: No such file or directory
 #include <mavros/Mavlink.h>
                            ^
compilation terminated.

[ 40%]
Building CXX object repo-under-test/mavros/CMakeFiles/mavros.dir/src/lib/rosconsole_bridge.cpp.o
make[2]: *** [repo-under-test/mavros/CMakeFiles/mavros.dir/src/lib/mavros.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....

make[2]: *** [repo-under-test/mavros/CMakeFiles/mavros.dir/src/lib/uas_timesync.cpp.o] Error 1

make[2]: *** [repo-under-test/mavros/CMakeFiles/mavros.dir/src/lib/uas_data.cpp.o] Error 1

make[2]: *** [repo-under-test/mavros/CMakeFiles/mavros.dir/src/lib/uas_stringify.cpp.o] Error 1

make[1]: *** [repo-under-test/mavros/CMakeFiles/mavros.dir/all] Error 2

make: *** [all] Error 2

Invoking "make -j8 -l8" failed

Base path: /ros_ws
Source space: /ros_ws/src
Build space: /ros_ws/build
Devel space: /ros_ws/devel
Install space: /ros_ws/install
Creating symlink "/ros_ws/src/CMakeLists.txt" pointing to "/opt/ros/indigo/share/catkin/cmake/toplevel.cmake"
Whitelisted packages: libmavconn, mavros
####
#### Running command: "cmake /ros_ws/src -DCATKIN_DEVEL_PREFIX=/ros_ws/devel -DCMAKE_INSTALL_PREFIX=/ros_ws/install -DCATKIN_WHITELIST_PACKAGES=libmavconn;mavros -G Unix Makefiles" in "/ros_ws/build"
####
####
#### Running command: "make -j8 -l8" in "/ros_ws/build"
####

@gavanderhoorn
Copy link
Member

This bit:

Invoking generate_messages() without having added any message or service
  file before.

is likely the cause of the header inclusion error later on (no msgs specced -> no headers generated).

@ChrisTimperley
Copy link
Member Author

Possibly related: mavlink/mavros#1174

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

Successfully merging this pull request may close these issues.

2 participants