ros-melodic-mavros

Build Status: FAILURE     Last Build Date: 11.10.2020 20:54

Build Output
warning: dependency cycle detected:
warning: harfbuzz will be installed before its freetype2 dependency
warning: dependency cycle detected:
warning: libglvnd will be installed before its mesa dependency
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 121 100 121 0 0 620 0 --:--:-- --:--:-- --:--:-- 620

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 308k 0 308k 0 0 654k 0 --:--:-- --:--:-- --:--:-- 4341k
ros-melodic-mavros-1.3.0.tar.gz ... Passed
CMake Warning at /usr/src/gmock/CMakeLists.txt:43 (project):
VERSION keyword not followed by a value or was followed by a value that
expanded to nothing.


CMake Warning at /usr/src/googletest/CMakeLists.txt:54 (project):
VERSION keyword not followed by a value or was followed by a value that
expanded to nothing.


In file included from /build/src/mavros-1.3.0/mavros/include/mavros/utils.h:22,
from /build/src/mavros-1.3.0/mavros/src/lib/enum_sensor_orientation.cpp:17:
/opt/ros/melodic/include/mavros_msgs/mavlink_convert.h: In function ‘bool mavros_msgs::mavlink::convert(const Mavlink&, mavlink::mavlink_message_t&)’:
/opt/ros/melodic/include/mavros_msgs/mavlink_convert.h:74:63: warning: taking address of packed member of ‘mavlink::__mavlink_message’ may result in an unaligned pointer value [-Waddress-of-packed-member]
74 | std::copy(rmsg.payload64.begin(), rmsg.payload64.end(), mmsg.payload64);
| ~~~~~^~~~~~~~~
In file included from /build/src/mavros-1.3.0/mavros/include/mavros/utils.h:22,
from /build/src/mavros-1.3.0/mavros/src/lib/enum_sensor_orientation.cpp:17:
/opt/ros/melodic/include/mavros_msgs/mavlink_convert.h: In function ‘bool mavros_msgs::mavlink::convert(const mavlink_message_t&, mavros_msgs::Mavlink&, uint8_t)’:
/opt/ros/melodic/include/mavros_msgs/mavlink_convert.h:108:72: warning: taking address of packed member of ‘mavlink::__mavlink_message’ may result in an unaligned pointer value [-Waddress-of-packed-member]
108 | rmsg.payload64 = std::move(mavros_msgs::Mavlink::_payload64_type(mmsg.payload64, mmsg.payload64 + payload64_len));
| ~~~~~^~~~~~~~~
In file included from /build/src/mavros-1.3.0/mavros/src/lib/enum_sensor_orientation.cpp:17:
/build/src/mavros-1.3.0/mavros/include/mavros/utils.h: At global scope:
/build/src/mavros-1.3.0/mavros/include/mavros/utils.h:70:40: error: ‘std::string mavros::utils::to_string’ redeclared as different kind of entity
70 | std::string to_string(mavlink::common::MAV_AUTOPILOT e);
| ^~~~~~~~~~~~~
/build/src/mavros-1.3.0/mavros/include/mavros/utils.h:68:13: note: previous declaration ‘std::string mavros::utils::to_string(mavlink::common::MAV_SENSOR_ORIENTATION)’
68 | std::string to_string(mavlink::common::MAV_SENSOR_ORIENTATION e);
| ^~~~~~~~~
/build/src/mavros-1.3.0/mavros/include/mavros/utils.h:70:40: error: ‘MAV_AUTOPILOT’ is not a member of ‘mavlink::common’; did you mean ‘mavlink::minimal::MAV_AUTOPILOT’?
70 | std::string to_string(mavlink::common::MAV_AUTOPILOT e);
| ^~~~~~~~~~~~~
In file included from /opt/ros/melodic/include/mavlink/v2.0/common/common.hpp:2254,
from /opt/ros/melodic/include/mavconn/mavlink_dialect.h:26,
from /opt/ros/melodic/include/mavros_msgs/mavlink_convert.h:18,
from /build/src/mavros-1.3.0/mavros/include/mavros/utils.h:22,
from /build/src/mavros-1.3.0/mavros/src/lib/enum_sensor_orientation.cpp:17:
/opt/ros/melodic/include/mavlink/v2.0/common/../minimal/minimal.hpp:34:12: note: ‘mavlink::minimal::MAV_AUTOPILOT’ declared here
34 | enum class MAV_AUTOPILOT : uint8_t
| ^~~~~~~~~~~~~
In file included from /build/src/mavros-1.3.0/mavros/src/lib/enum_sensor_orientation.cpp:17:
/build/src/mavros-1.3.0/mavros/include/mavros/utils.h:71:40: error: ‘std::string mavros::utils::to_string’ redeclared as different kind of entity
71 | std::string to_string(mavlink::common::MAV_TYPE e);
| ^~~~~~~~
/build/src/mavros-1.3.0/mavros/include/mavros/utils.h:68:13: note: previous declaration ‘std::string mavros::utils::to_string(mavlink::common::MAV_SENSOR_ORIENTATION)’
68 | std::string to_string(mavlink::common::MAV_SENSOR_ORIENTATION e);
| ^~~~~~~~~
/build/src/mavros-1.3.0/mavros/include/mavros/utils.h:71:40: error: ‘MAV_TYPE’ is not a member of ‘mavlink::common’; did you mean ‘mavlink::minimal::MAV_TYPE’?
71 | std::string to_string(mavlink::common::MAV_TYPE e);
| ^~~~~~~~
In file included from /opt/ros/melodic/include/mavlink/v2.0/common/common.hpp:2254,
from /opt/ros/melodic/include/mavconn/mavlink_dialect.h:26,
from /opt/ros/melodic/include/mavros_msgs/mavlink_convert.h:18,
from /build/src/mavros-1.3.0/mavros/include/mavros/utils.h:22,
from /build/src/mavros-1.3.0/mavros/src/lib/enum_sensor_orientation.cpp:17:
/opt/ros/melodic/include/mavlink/v2.0/common/../minimal/minimal.hpp:62:12: note: ‘mavlink::minimal::MAV_TYPE’ declared here
62 | enum class MAV_TYPE : uint8_t
| ^~~~~~~~
In file included from /build/src/mavros-1.3.0/mavros/src/lib/enum_sensor_orientation.cpp:17:
/build/src/mavros-1.3.0/mavros/include/mavros/utils.h:72:40: error: ‘std::string mavros::utils::to_string’ redeclared as different kind of entity
72 | std::string to_string(mavlink::common::MAV_STATE e);
| ^~~~~~~~~
/build/src/mavros-1.3.0/mavros/include/mavros/utils.h:68:13: note: previous declaration ‘std::string mavros::utils::to_string(mavlink::common::MAV_SENSOR_ORIENTATION)’
68 | std::string to_string(mavlink::common::MAV_SENSOR_ORIENTATION e);
| ^~~~~~~~~
/build/src/mavros-1.3.0/mavros/include/mavros/utils.h:72:40: error: ‘MAV_STATE’ is not a member of ‘mavlink::common’; did you mean ‘MAV_FRAME’?
72 | std::string to_string(mavlink::common::MAV_STATE e);
| ^~~~~~~~~
| MAV_FRAME
/build/src/mavros-1.3.0/mavros/include/mavros/utils.h:73:40: error: ‘std::string mavros::utils::to_string’ redeclared as different kind of entity
73 | std::string to_string(mavlink::common::MAV_COMPONENT e);
| ^~~~~~~~~~~~~
/build/src/mavros-1.3.0/mavros/include/mavros/utils.h:68:13: note: previous declaration ‘std::string mavros::utils::to_string(mavlink::common::MAV_SENSOR_ORIENTATION)’
68 | std::string to_string(mavlink::common::MAV_SENSOR_ORIENTATION e);
| ^~~~~~~~~
/build/src/mavros-1.3.0/mavros/include/mavros/utils.h:73:40: error: ‘MAV_COMPONENT’ is not a member of ‘mavlink::common’; did you mean ‘mavlink::minimal::MAV_COMPONENT’?
73 | std::string to_string(mavlink::common::MAV_COMPONENT e);
| ^~~~~~~~~~~~~
In file included from /opt/ros/melodic/include/mavlink/v2.0/common/common.hpp:2254,
from /opt/ros/melodic/include/mavconn/mavlink_dialect.h:26,
from /opt/ros/melodic/include/mavros_msgs/mavlink_convert.h:18,
from /build/src/mavros-1.3.0/mavros/include/mavros/utils.h:22,
from /build/src/mavros-1.3.0/mavros/src/lib/enum_sensor_orientation.cpp:17:
/opt/ros/melodic/include/mavlink/v2.0/common/../minimal/minimal.hpp:156:12: note: ‘mavlink::minimal::MAV_COMPONENT’ declared here
156 | enum class MAV_COMPONENT
| ^~~~~~~~~~~~~
In file included from /build/src/mavros-1.3.0/mavros/src/lib/enum_sensor_orientation.cpp:17:
/build/src/mavros-1.3.0/mavros/include/mavros/utils.h:114:18: error: ‘MAV_TYPE’ in namespace ‘mavlink::common’ does not name a type
114 | mavlink::common::MAV_TYPE mav_type_from_str(const std::string &mav_type);
| ^~~~~~~~
In file included from /build/src/mavros-1.3.0/mavros/include/mavros/utils.h:22,
from /build/src/mavros-1.3.0/mavros/src/lib/enum_to_string.cpp:19:
/opt/ros/melodic/include/mavros_msgs/mavlink_convert.h: In function ‘bool mavros_msgs::mavlink::convert(const Mavlink&, mavlink::mavlink_message_t&)’:
/opt/ros/melodic/include/mavros_msgs/mavlink_convert.h:74:63: warning: taking address of packed member of ‘mavlink::__mavlink_message’ may result in an unaligned pointer value [-Waddress-of-packed-member]
74 | std::copy(rmsg.payload64.begin(), rmsg.payload64.end(), mmsg.payload64);
| ~~~~~^~~~~~~~~
In file included from /build/src/mavros-1.3.0/mavros/include/mavros/utils.h:22,
from /build/src/mavros-1.3.0/mavros/src/lib/enum_to_string.cpp:19:
/opt/ros/melodic/include/mavros_msgs/mavlink_convert.h: In function ‘bool mavros_msgs::mavlink::convert(const mavlink_message_t&, mavros_msgs::Mavlink&, uint8_t)’:
/opt/ros/melodic/include/mavros_msgs/mavlink_convert.h:108:72: warning: taking address of packed member of ‘mavlink::__mavlink_message’ may result in an unaligned pointer value [-Waddress-of-packed-member]
108 | rmsg.payload64 = std::move(mavros_msgs::Mavlink::_payload64_type(mmsg.payload64, mmsg.payload64 + payload64_len));
| ~~~~~^~~~~~~~~
In file included from /build/src/mavros-1.3.0/mavros/src/lib/enum_to_string.cpp:19:
/build/src/mavros-1.3.0/mavros/include/mavros/utils.h: At global scope:
/build/src/mavros-1.3.0/mavros/include/mavros/utils.h:70:40: error: ‘std::string mavros::utils::to_string’ redeclared as different kind of entity
70 | std::string to_string(mavlink::common::MAV_AUTOPILOT e);
| ^~~~~~~~~~~~~
/build/src/mavros-1.3.0/mavros/include/mavros/utils.h:68:13: note: previous declaration ‘std::string mavros::utils::to_string(mavlink::common::MAV_SENSOR_ORIENTATION)’
68 | std::string to_string(mavlink::common::MAV_SENSOR_ORIENTATION e);
| ^~~~~~~~~
/build/src/mavros-1.3.0/mavros/include/mavros/utils.h:70:40: error: ‘MAV_AUTOPILOT’ is not a member of ‘mavlink::common’; did you mean ‘mavlink::minimal::MAV_AUTOPILOT’?
70 | std::string to_string(mavlink::common::MAV_AUTOPILOT e);
| ^~~~~~~~~~~~~
In file included from /opt/ros/melodic/include/mavlink/v2.0/common/common.hpp:2254,
from /opt/ros/melodic/include/mavconn/mavlink_dialect.h:26,
from /opt/ros/melodic/include/mavros_msgs/mavlink_convert.h:18,
from /build/src/mavros-1.3.0/mavros/include/mavros/utils.h:22,
from /build/src/mavros-1.3.0/mavros/src/lib/enum_to_string.cpp:19:
/opt/ros/melodic/include/mavlink/v2.0/common/../minimal/minimal.hpp:34:12: note: ‘mavlink::minimal::MAV_AUTOPILOT’ declared here
34 | enum class MAV_AUTOPILOT : uint8_t
| ^~~~~~~~~~~~~
In file included from /build/src/mavros-1.3.0/mavros/src/lib/enum_to_string.cpp:19:
/build/src/mavros-1.3.0/mavros/include/mavros/utils.h:71:40: error: ‘std::string mavros::utils::to_string’ redeclared as different kind of entity
71 | std::string to_string(mavlink::common::MAV_TYPE e);
| ^~~~~~~~
/build/src/mavros-1.3.0/mavros/include/mavros/utils.h:68:13: note: previous declaration ‘std::string mavros::utils::to_string(mavlink::common::MAV_SENSOR_ORIENTATION)’
68 | std::string to_string(mavlink::common::MAV_SENSOR_ORIENTATION e);
| ^~~~~~~~~
/build/src/mavros-1.3.0/mavros/include/mavros/utils.h:71:40: error: ‘MAV_TYPE’ is not a member of ‘mavlink::common’; did you mean ‘mavlink::minimal::MAV_TYPE’?
71 | std::string to_string(mavlink::common::MAV_TYPE e);
| ^~~~~~~~
In file included from /opt/ros/melodic/include/mavlink/v2.0/common/common.hpp:2254,
from /opt/ros/melodic/include/mavconn/mavlink_dialect.h:26,
from /opt/ros/melodic/include/mavros_msgs/mavlink_convert.h:18,
from /build/src/mavros-1.3.0/mavros/include/mavros/utils.h:22,
from /build/src/mavros-1.3.0/mavros/src/lib/enum_to_string.cpp:19:
/opt/ros/melodic/include/mavlink/v2.0/common/../minimal/minimal.hpp:62:12: note: ‘mavlink::minimal::MAV_TYPE’ declared here
62 | enum class MAV_TYPE : uint8_t
| ^~~~~~~~
In file included from /build/src/mavros-1.3.0/mavros/src/lib/enum_to_string.cpp:19:
/build/src/mavros-1.3.0/mavros/include/mavros/utils.h:72:40: error: ‘std::string mavros::utils::to_string’ redeclared as different kind of entity
72 | std::string to_string(mavlink::common::MAV_STATE e);
| ^~~~~~~~~
/build/src/mavros-1.3.0/mavros/include/mavros/utils.h:68:13: note: previous declaration ‘std::string mavros::utils::to_string(mavlink::common::MAV_SENSOR_ORIENTATION)’
68 | std::string to_string(mavlink::common::MAV_SENSOR_ORIENTATION e);
| ^~~~~~~~~
/build/src/mavros-1.3.0/mavros/include/mavros/utils.h:72:40: error: ‘MAV_STATE’ is not a member of ‘mavlink::common’; did you mean ‘MAV_FRAME’?
72 | std::string to_string(mavlink::common::MAV_STATE e);
| ^~~~~~~~~
| MAV_FRAME
/build/src/mavros-1.3.0/mavros/include/mavros/utils.h:73:40: error: ‘std::string mavros::utils::to_string’ redeclared as different kind of entity
73 | std::string to_string(mavlink::common::MAV_COMPONENT e);
| ^~~~~~~~~~~~~
/build/src/mavros-1.3.0/mavros/include/mavros/utils.h:68:13: note: previous declaration ‘std::string mavros::utils::to_string(mavlink::common::MAV_SENSOR_ORIENTATION)’
68 | std::string to_string(mavlink::common::MAV_SENSOR_ORIENTATION e);
| ^~~~~~~~~
/build/src/mavros-1.3.0/mavros/include/mavros/utils.h:73:40: error: ‘MAV_COMPONENT’ is not a member of ‘mavlink::common’; did you mean ‘mavlink::minimal::MAV_COMPONENT’?
73 | std::string to_string(mavlink::common::MAV_COMPONENT e);
| ^~~~~~~~~~~~~
In file included from /opt/ros/melodic/include/mavlink/v2.0/common/common.hpp:2254,
from /opt/ros/melodic/include/mavconn/mavlink_dialect.h:26,
from /opt/ros/melodic/include/mavros_msgs/mavlink_convert.h:18,
from /build/src/mavros-1.3.0/mavros/include/mavros/utils.h:22,
from /build/src/mavros-1.3.0/mavros/src/lib/enum_to_string.cpp:19:
/opt/ros/melodic/include/mavlink/v2.0/common/../minimal/minimal.hpp:156:12: note: ‘mavlink::minimal::MAV_COMPONENT’ declared here
156 | enum class MAV_COMPONENT
| ^~~~~~~~~~~~~
In file included from /build/src/mavros-1.3.0/mavros/src/lib/enum_to_string.cpp:19:
/build/src/mavros-1.3.0/mavros/include/mavros/utils.h:114:18: error: ‘MAV_TYPE’ in namespace ‘mavlink::common’ does not name a type
114 | mavlink::common::MAV_TYPE mav_type_from_str(const std::string &mav_type);
| ^~~~~~~~
/build/src/mavros-1.3.0/mavros/src/lib/enum_to_string.cpp:24:24: error: ‘MAV_AUTOPILOT’ has not been declared in ‘mavlink::common’
24 | using mavlink::common::MAV_AUTOPILOT;
| ^~~~~~~~~~~~~
/build/src/mavros-1.3.0/mavros/src/lib/enum_to_string.cpp:25:24: error: ‘MAV_TYPE’ has not been declared in ‘mavlink::common’
25 | using mavlink::common::MAV_TYPE;
| ^~~~~~~~
/build/src/mavros-1.3.0/mavros/src/lib/enum_to_string.cpp:26:24: error: ‘MAV_STATE’ has not been declared in ‘mavlink::common’
26 | using mavlink::common::MAV_STATE;
| ^~~~~~~~~
/build/src/mavros-1.3.0/mavros/src/lib/enum_to_string.cpp:27:24: error: ‘MAV_COMPONENT’ has not been declared in ‘mavlink::common’
27 | using mavlink::common::MAV_COMPONENT;
| ^~~~~~~~~~~~~
/build/src/mavros-1.3.0/mavros/src/lib/enum_to_string.cpp:131:23: error: ‘std::string mavros::utils::to_string’ redeclared as different kind of entity
131 | std::string to_string(MAV_AUTOPILOT e)
| ^~~~~~~~~~~~~
In file included from /build/src/mavros-1.3.0/mavros/src/lib/enum_to_string.cpp:19:
/build/src/mavros-1.3.0/mavros/include/mavros/utils.h:80:13: note: previous declaration ‘std::string mavros::utils::to_string(mavlink::common::LANDING_TARGET_TYPE)’
80 | std::string to_string(mavlink::common::LANDING_TARGET_TYPE e);
| ^~~~~~~~~
/build/src/mavros-1.3.0/mavros/src/lib/enum_to_string.cpp:131:23: error: ‘MAV_AUTOPILOT’ was not declared in this scope; did you mean ‘mavlink::minimal::MAV_AUTOPILOT’?
131 | std::string to_string(MAV_AUTOPILOT e)
| ^~~~~~~~~~~~~
| mavlink::minimal::MAV_AUTOPILOT
In file included from /opt/ros/melodic/include/mavlink/v2.0/common/common.hpp:2254,
from /opt/ros/melodic/include/mavconn/mavlink_dialect.h:26,
from /opt/ros/melodic/include/mavros_msgs/mavlink_convert.h:18,
from /build/src/mavros-1.3.0/mavros/include/mavros/utils.h:22,
from /build/src/mavros-1.3.0/mavros/src/lib/enum_to_string.cpp:19:
/opt/ros/melodic/include/mavlink/v2.0/common/../minimal/minimal.hpp:34:12: note: ‘mavlink::minimal::MAV_AUTOPILOT’ declared here
34 | enum class MAV_AUTOPILOT : uint8_t
| ^~~~~~~~~~~~~
/build/src/mavros-1.3.0/mavros/src/lib/enum_to_string.cpp:192:23: error: ‘std::string mavros::utils::to_string’ redeclared as different kind of entity
192 | std::string to_string(MAV_TYPE e)
| ^~~~~~~~
In file included from /build/src/mavros-1.3.0/mavros/src/lib/enum_to_string.cpp:19:
/build/src/mavros-1.3.0/mavros/include/mavros/utils.h:80:13: note: previous declaration ‘std::string mavros::utils::to_string(mavlink::common::LANDING_TARGET_TYPE)’
80 | std::string to_string(mavlink::common::LANDING_TARGET_TYPE e);
| ^~~~~~~~~
/build/src/mavros-1.3.0/mavros/src/lib/enum_to_string.cpp:192:23: error: ‘MAV_TYPE’ was not declared in this scope; did you mean ‘mavlink::minimal::MAV_TYPE’?
192 | std::string to_string(MAV_TYPE e)
| ^~~~~~~~
| mavlink::minimal::MAV_TYPE
In file included from /opt/ros/melodic/include/mavlink/v2.0/common/common.hpp:2254,
from /opt/ros/melodic/include/mavconn/mavlink_dialect.h:26,
from /opt/ros/melodic/include/mavros_msgs/mavlink_convert.h:18,
from /build/src/mavros-1.3.0/mavros/include/mavros/utils.h:22,
from /build/src/mavros-1.3.0/mavros/src/lib/enum_to_string.cpp:19:
/opt/ros/melodic/include/mavlink/v2.0/common/../minimal/minimal.hpp:62:12: note: ‘mavlink::minimal::MAV_TYPE’ declared here
62 | enum class MAV_TYPE : uint8_t
| ^~~~~~~~
/build/src/mavros-1.3.0/mavros/src/lib/enum_to_string.cpp:243:21: error: ‘MAV_TYPE’ was not declared in this scope; did you mean ‘mavlink::minimal::MAV_TYPE’?
243 | std::string to_name(MAV_TYPE e)
| ^~~~~~~~
| mavlink::minimal::MAV_TYPE
In file included from /opt/ros/melodic/include/mavlink/v2.0/common/common.hpp:2254,
from /opt/ros/melodic/include/mavconn/mavlink_dialect.h:26,
from /opt/ros/melodic/include/mavros_msgs/mavlink_convert.h:18,
from /build/src/mavros-1.3.0/mavros/include/mavros/utils.h:22,
from /build/src/mavros-1.3.0/mavros/src/lib/enum_to_string.cpp:19:
/opt/ros/melodic/include/mavlink/v2.0/common/../minimal/minimal.hpp:62:12: note: ‘mavlink::minimal::MAV_TYPE’ declared here
62 | enum class MAV_TYPE : uint8_t
| ^~~~~~~~
/build/src/mavros-1.3.0/mavros/src/lib/enum_to_string.cpp:244:1: error: expected ‘,’ or ‘;’ before ‘{’ token
244 | {
| ^
/build/src/mavros-1.3.0/mavros/src/lib/enum_to_string.cpp:280:23: error: ‘std::string mavros::utils::to_string’ redeclared as different kind of entity
280 | std::string to_string(MAV_STATE e)
| ^~~~~~~~~
In file included from /build/src/mavros-1.3.0/mavros/src/lib/enum_to_string.cpp:19:
/build/src/mavros-1.3.0/mavros/include/mavros/utils.h:80:13: note: previous declaration ‘std::string mavros::utils::to_string(mavlink::common::LANDING_TARGET_TYPE)’
80 | std::string to_string(mavlink::common::LANDING_TARGET_TYPE e);
| ^~~~~~~~~
/build/src/mavros-1.3.0/mavros/src/lib/enum_to_string.cpp:280:23: error: ‘MAV_STATE’ was not declared in this scope; did you mean ‘mavlink::minimal::MAV_STATE’?
280 | std::string to_string(MAV_STATE e)
| ^~~~~~~~~
| mavlink::minimal::MAV_STATE
In file included from /opt/ros/melodic/include/mavlink/v2.0/common/common.hpp:2254,
from /opt/ros/melodic/include/mavconn/mavlink_dialect.h:26,
from /opt/ros/melodic/include/mavros_msgs/mavlink_convert.h:18,
from /build/src/mavros-1.3.0/mavros/include/mavros/utils.h:22,
from /build/src/mavros-1.3.0/mavros/src/lib/enum_to_string.cpp:19:
/opt/ros/melodic/include/mavlink/v2.0/common/../minimal/minimal.hpp:137:12: note: ‘mavlink::minimal::MAV_STATE’ declared here
137 | enum class MAV_STATE : uint8_t
| ^~~~~~~~~
/build/src/mavros-1.3.0/mavros/src/lib/enum_to_string.cpp:584:23: error: ‘std::string mavros::utils::to_string’ redeclared as different kind of entity
584 | std::string to_string(MAV_COMPONENT e)
| ^~~~~~~~~~~~~
/build/src/mavros-1.3.0/mavros/src/lib/enum_to_string.cpp:431:13: note: previous declaration ‘std::string mavros::utils::to_string(mavlink::common::GPS_FIX_TYPE)’
431 | std::string to_string(GPS_FIX_TYPE e)
| ^~~~~~~~~
/build/src/mavros-1.3.0/mavros/src/lib/enum_to_string.cpp:584:23: error: ‘MAV_COMPONENT’ was not declared in this scope; did you mean ‘mavlink::minimal::MAV_COMPONENT’?
584 | std::string to_string(MAV_COMPONENT e)
| ^~~~~~~~~~~~~
| mavlink::minimal::MAV_COMPONENT
In file included from /opt/ros/melodic/include/mavlink/v2.0/common/common.hpp:2254,
from /opt/ros/melodic/include/mavconn/mavlink_dialect.h:26,
from /opt/ros/melodic/include/mavros_msgs/mavlink_convert.h:18,
from /build/src/mavros-1.3.0/mavros/include/mavros/utils.h:22,
from /build/src/mavros-1.3.0/mavros/src/lib/enum_to_string.cpp:19:
/opt/ros/melodic/include/mavlink/v2.0/common/../minimal/minimal.hpp:156:12: note: ‘mavlink::minimal::MAV_COMPONENT’ declared here
156 | enum class MAV_COMPONENT
| ^~~~~~~~~~~~~
/build/src/mavros-1.3.0/mavros/src/lib/enum_to_string.cpp:608:1: error: ‘MAV_TYPE’ does not name a type
608 | MAV_TYPE mav_type_from_str(const std::string &mav_type)
| ^~~~~~~~
make[2]: *** [CMakeFiles/mavros.dir/build.make:95: CMakeFiles/mavros.dir/src/lib/enum_to_string.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [CMakeFiles/mavros.dir/build.make:82: CMakeFiles/mavros.dir/src/lib/enum_sensor_orientation.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1294: CMakeFiles/mavros.dir/all] Error 2
make: *** [Makefile:149: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
No packages were built!