Finished <<< pybind11_vendor [15.8s]
--- stderr: fastrtps
In file included from /home/zjh/.cache/yay/ros2-galactic/src/ros2/src/eProsima/Fast-DDS/src/cpp/dynamic-types/TypeNamesGenerator.cpp:1:
/home/zjh/.cache/yay/ros2-galactic/src/ros2/src/eProsima/Fast-DDS/include/fastrtps/types/TypeNamesGenerator.h:17:13: 错误:‘uint32_t’未声明
17 | uint32_t bound,
| ^~~~~~~~
/home/zjh/.cache/yay/ros2-galactic/src/ros2/src/eProsima/Fast-DDS/include/fastrtps/types/TypeNamesGenerator.h:23:13: 错误:‘uint32_t’未声明
23 | uint32_t bound,
| ^~~~~~~~
/home/zjh/.cache/yay/ros2-galactic/src/ros2/src/eProsima/Fast-DDS/include/fastrtps/types/TypeNamesGenerator.h:28:31: 错误:‘uint32_t’在此作用域中尚未声明
28 | const std::vector<uint32_t>& bound,
| ^~~~~~~~
/home/zjh/.cache/yay/ros2-galactic/src/ros2/src/eProsima/Fast-DDS/include/fastrtps/types/TypeNamesGenerator.h:8:1: 附注:‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
7 | #include <vector>
+++ |+#include <cstdint>
8 |
/home/zjh/.cache/yay/ros2-galactic/src/ros2/src/eProsima/Fast-DDS/include/fastrtps/types/TypeNamesGenerator.h:28:39: 错误:模板第 1 个参数无效
28 | const std::vector<uint32_t>& bound,
| ^
/home/zjh/.cache/yay/ros2-galactic/src/ros2/src/eProsima/Fast-DDS/include/fastrtps/types/TypeNamesGenerator.h:28:39: 错误:模板第 2 个参数无效
/home/zjh/.cache/yay/ros2-galactic/src/ros2/src/eProsima/Fast-DDS/include/fastrtps/types/TypeNamesGenerator.h:33:31: 错误:‘uint32_t’在此作用域中尚未声明
33 | const std::vector<uint32_t>& bound,
| ^~~~~~~~
/home/zjh/.cache/yay/ros2-galactic/src/ros2/src/eProsima/Fast-DDS/include/fastrtps/types/TypeNamesGenerator.h:33:31: 附注:‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/zjh/.cache/yay/ros2-galactic/src/ros2/src/eProsima/Fast-DDS/include/fastrtps/types/TypeNamesGenerator.h:33:39: 错误:模板第 1 个参数无效
33 | const std::vector<uint32_t>& bound,
| ^
/home/zjh/.cache/yay/ros2-galactic/src/ros2/src/eProsima/Fast-DDS/include/fastrtps/types/TypeNamesGenerator.h:33:39: 错误:模板第 2 个参数无效
/home/zjh/.cache/yay/ros2-galactic/src/ros2/src/eProsima/Fast-DDS/include/fastrtps/types/TypeNamesGenerator.h:34:13: 错误:‘uint32_t’未声明
34 | uint32_t& ret_size,
| ^~~~~~~~
/home/zjh/.cache/yay/ros2-galactic/src/ros2/src/eProsima/Fast-DDS/include/fastrtps/types/TypeNamesGenerator.h:40:13: 错误:‘uint32_t’未声明
40 | uint32_t bound,
| ^~~~~~~~
/home/zjh/.cache/yay/ros2-galactic/src/ros2/src/eProsima/Fast-DDS/src/cpp/dynamic-types/TypeNamesGenerator.cpp:11:13: 错误:no declaration matches ‘std::string eprosima::fastrtps::types::TypeNamesGenerator::get_string_type_name(uint32_t, bool, bool)’
11 | std::string TypeNamesGenerator::get_string_type_name(
| ^~~~~~~~~~~~~~~~~~
/home/zjh/.cache/yay/ros2-galactic/src/ros2/src/eProsima/Fast-DDS/include/fastrtps/types/TypeNamesGenerator.h:16:36: 附注:备选是: ‘static std::string eprosima::fastrtps::types::TypeNamesGenerator::get_string_type_name(int, bool, bool)’
16 | RTPS_DllAPI static std::string get_string_type_name(
| ^~~~~~~~~~~~~~~~~~~~
/home/zjh/.cache/yay/ros2-galactic/src/ros2/src/eProsima/Fast-DDS/include/fastrtps/types/TypeNamesGenerator.h:13:7: 附注:‘class eprosima::fastrtps::types::TypeNamesGenerator’ defined here
13 | class TypeNamesGenerator
| ^~~~~~~~~~~~~~~~~~
/home/zjh/.cache/yay/ros2-galactic/src/ros2/src/eProsima/Fast-DDS/src/cpp/dynamic-types/TypeNamesGenerator.cpp:26:13: 错误:no declaration matches ‘std::string eprosima::fastrtps::types::TypeNamesGenerator::get_sequence_type_name(const std::string&, uint32_t, bool)’
26 | std::string TypeNamesGenerator::get_sequence_type_name(
| ^~~~~~~~~~~~~~~~~~
/home/zjh/.cache/yay/ros2-galactic/src/ros2/src/eProsima/Fast-DDS/include/fastrtps/types/TypeNamesGenerator.h:21:36: 附注:备选是: ‘static std::string eprosima::fastrtps::types::TypeNamesGenerator::get_sequence_type_name(const std::string&, int, bool)’
21 | RTPS_DllAPI static std::string get_sequence_type_name(
| ^~~~~~~~~~~~~~~~~~~~~~
/home/zjh/.cache/yay/ros2-galactic/src/ros2/src/eProsima/Fast-DDS/include/fastrtps/types/TypeNamesGenerator.h:13:7: 附注:‘class eprosima::fastrtps::types::TypeNamesGenerator’ defined here
13 | class TypeNamesGenerator
| ^~~~~~~~~~~~~~~~~~
/home/zjh/.cache/yay/ros2-galactic/src/ros2/src/eProsima/Fast-DDS/src/cpp/dynamic-types/TypeNamesGenerator.cpp:42:13: 错误:no declaration matches ‘std::string eprosima::fastrtps::types::TypeNamesGenerator::get_array_type_name(const std::string&, const std::vector<unsigned int>&, bool)’
42 | std::string TypeNamesGenerator::get_array_type_name(
| ^~~~~~~~~~~~~~~~~~
/home/zjh/.cache/yay/ros2-galactic/src/ros2/src/eProsima/Fast-DDS/include/fastrtps/types/TypeNamesGenerator.h:31:36: 附注:备选为: ‘static std::string eprosima::fastrtps::types::TypeNamesGenerator::get_array_type_name(const std::string&, const int&, int&, bool)’
31 | RTPS_DllAPI static std::string get_array_type_name(
| ^~~~~~~~~~~~~~~~~~~
/home/zjh/.cache/yay/ros2-galactic/src/ros2/src/eProsima/Fast-DDS/include/fastrtps/types/TypeNamesGenerator.h:26:36: 附注: ‘static std::string eprosima::fastrtps::types::TypeNamesGenerator::get_array_type_name(const std::string&, const int&, bool)’
26 | RTPS_DllAPI static std::string get_array_type_name(
| ^~~~~~~~~~~~~~~~~~~
/home/zjh/.cache/yay/ros2-galactic/src/ros2/src/eProsima/Fast-DDS/include/fastrtps/types/TypeNamesGenerator.h:13:7: 附注:‘class eprosima::fastrtps::types::TypeNamesGenerator’ defined here
13 | class TypeNamesGenerator
| ^~~~~~~~~~~~~~~~~~
/home/zjh/.cache/yay/ros2-galactic/src/ros2/src/eProsima/Fast-DDS/src/cpp/dynamic-types/TypeNamesGenerator.cpp:51:13: 错误:no declaration matches ‘std::string eprosima::fastrtps::types::TypeNamesGenerator::get_array_type_name(const std::string&, const std::vector<unsigned int>&, uint32_t&, bool)’
51 | std::string TypeNamesGenerator::get_array_type_name(
| ^~~~~~~~~~~~~~~~~~
/home/zjh/.cache/yay/ros2-galactic/src/ros2/src/eProsima/Fast-DDS/include/fastrtps/types/TypeNamesGenerator.h:31:36: 附注:备选为: ‘static std::string eprosima::fastrtps::types::TypeNamesGenerator::get_array_type_name(const std::string&, const int&, int&, bool)’
31 | RTPS_DllAPI static std::string get_array_type_name(
| ^~~~~~~~~~~~~~~~~~~
/home/zjh/.cache/yay/ros2-galactic/src/ros2/src/eProsima/Fast-DDS/include/fastrtps/types/TypeNamesGenerator.h:26:36: 附注: ‘static std::string eprosima::fastrtps::types::TypeNamesGenerator::get_array_type_name(const std::string&, const int&, bool)’
26 | RTPS_DllAPI static std::string get_array_type_name(
| ^~~~~~~~~~~~~~~~~~~
/home/zjh/.cache/yay/ros2-galactic/src/ros2/src/eProsima/Fast-DDS/include/fastrtps/types/TypeNamesGenerator.h:13:7: 附注:‘class eprosima::fastrtps::types::TypeNamesGenerator’ defined here
13 | class TypeNamesGenerator
| ^~~~~~~~~~~~~~~~~~
/home/zjh/.cache/yay/ros2-galactic/src/ros2/src/eProsima/Fast-DDS/src/cpp/dynamic-types/TypeNamesGenerator.cpp:84:13: 错误:no declaration matches ‘std::string eprosima::fastrtps::types::TypeNamesGenerator::get_map_type_name(const std::string&, const std::string&, uint32_t, bool)’
84 | std::string TypeNamesGenerator::get_map_type_name(
| ^~~~~~~~~~~~~~~~~~
/home/zjh/.cache/yay/ros2-galactic/src/ros2/src/eProsima/Fast-DDS/include/fastrtps/types/TypeNamesGenerator.h:37:36: 附注:备选是: ‘static std::string eprosima::fastrtps::types::TypeNamesGenerator::get_map_type_name(const std::string&, const std::string&, int, bool)’
37 | RTPS_DllAPI static std::string get_map_type_name(
| ^~~~~~~~~~~~~~~~~
/home/zjh/.cache/yay/ros2-galactic/src/ros2/src/eProsima/Fast-DDS/include/fastrtps/types/TypeNamesGenerator.h:13:7: 附注:‘class eprosima::fastrtps::types::TypeNamesGenerator’ defined here
13 | class TypeNamesGenerator
| ^~~~~~~~~~~~~~~~~~
make[2]: *** [src/cpp/CMakeFiles/fastrtps.dir/build.make:1616:src/cpp/CMakeFiles/fastrtps.dir/dynamic-types/TypeNamesGenerator.cpp.o] 错误 1
make[2]: *** 正在等待未完成的任务....
In file included from /home/zjh/.cache/yay/ros2-galactic/src/ros2/src/eProsima/Fast-DDS/src/cpp/rtps/builtin/data/WriterProxyData.cpp:26:
/home/zjh/.cache/yay/ros2-galactic/src/ros2/src/eProsima/Fast-DDS/src/cpp/fastdds/core/policy/QosPoliciesSerializer.hpp: In function ‘eprosima::fastrtps::rtps::WriterProxyData::readFromCDRMessage(eprosima::fastrtps::rtps::CDRMessage_t*, const eprosima::fastrtps::rtps::NetworkFactory&, bool)::<lambda(eprosima::fastrtps::rtps::CDRMessage_t*, const eprosima::fastrtps::ParameterId_t&, uint16_t)>’:
/home/zjh/.cache/yay/ros2-galactic/src/ros2/src/eProsima/Fast-DDS/src/cpp/fastdds/core/policy/QosPoliciesSerializer.hpp:870:18: 警告:‘domain’ may be used uninitialized [-Wmaybe-uninitialized]
870 | uint64_t domain;
| ^~~~~~
In file included from /home/zjh/.cache/yay/ros2-galactic/src/ros2/src/eProsima/Fast-DDS/src/cpp/rtps/builtin/data/ReaderProxyData.cpp:27:
/home/zjh/.cache/yay/ros2-galactic/src/ros2/src/eProsima/Fast-DDS/src/cpp/fastdds/core/policy/QosPoliciesSerializer.hpp: In function ‘eprosima::fastrtps::rtps::ReaderProxyData::readFromCDRMessage(eprosima::fastrtps::rtps::CDRMessage_t*, const eprosima::fastrtps::rtps::NetworkFactory&, bool)::<lambda(eprosima::fastrtps::rtps::CDRMessage_t*, const eprosima::fastrtps::ParameterId_t&, uint16_t)>’:
/home/zjh/.cache/yay/ros2-galactic/src/ros2/src/eProsima/Fast-DDS/src/cpp/fastdds/core/policy/QosPoliciesSerializer.hpp:870:18: 警告:‘domain’ may be used uninitialized [-Wmaybe-uninitialized]
870 | uint64_t domain;
| ^~~~~~
make[1]: *** [CMakeFiles/Makefile2:923:src/cpp/CMakeFiles/fastrtps.dir/all] 错误 2
make: *** [Makefile:166:all] 错误 2
---
Failed <<< fastrtps [22.4s, exited with code 2]
Aborted <<< iceoryx_posh [31.2s]
Aborted <<< yaml_cpp_vendor [37.4s]
Aborted <<< google_benchmark_vendor [43.5s]
Aborted <<< shared_queues_vendor [41.1s]
Aborted <<< uncrustify_vendor [1min 27s]
Aborted <<< rviz_ogre_vendor [6min 33s]
Summary: 79 packages finished [6min 44s]
1 package failed: fastrtps
6 packages aborted: google_benchmark_vendor iceoryx_posh rviz_ogre_vendor shared_queues_vendor uncrustify_vendor yaml_cpp_vendor
83 packages had stderr output: ament_clang_format ament_clang_tidy ament_cmake ament_cmake_auto ament_cmake_clang_format ament_cmake_clang_tidy ament_cmake_copyright ament_cmake_core ament_cmake_cppcheck ament_cmake_cpplint ament_cmake_export_definitions ament_cmake_export_dependencies ament_cmake_export_include_directories ament_cmake_export_interfaces ament_cmake_export_libraries ament_cmake_export_link_flags ament_cmake_export_targets ament_cmake_flake8 ament_cmake_gmock ament_cmake_gtest ament_cmake_include_directories ament_cmake_libraries ament_cmake_lint_cmake ament_cmake_mypy ament_cmake_nose ament_cmake_pclint ament_cmake_pep257 ament_cmake_pycodestyle ament_cmake_pyflakes ament_cmake_pytest ament_cmake_python ament_cmake_target_dependencies ament_cmake_test ament_cmake_version ament_cmake_xmllint ament_copyright ament_cppcheck ament_cpplint ament_flake8 ament_index_python ament_lint ament_lint_auto ament_lint_cmake ament_mypy ament_package ament_pclint ament_pep257 ament_pycodestyle ament_pyflakes ament_xmllint domain_coordinator eigen3_cmake_module fastcdr fastrtps foonathan_memory_vendor google_benchmark_vendor iceoryx_posh launch launch_testing launch_xml launch_yaml libcurl_vendor orocos_kdl osrf_pycommon osrf_testing_tools_cpp pybind11_vendor ros_environment rosidl_cli rpyutils rviz_assimp_vendor rviz_ogre_vendor shared_queues_vendor sqlite3_vendor test_interface_files test_osrf_testing_tools_cpp tinyxml2_vendor tinyxml_vendor tracetools_read tracetools_trace uncrustify_vendor urdfdom_headers yaml_cpp_vendor zstd_vendor
245 packages not processed
==> 错误: 在 build() 中发生一个错误。
正在放弃...
-> 生成时出错: ros2-galactic-exit status 4
-> 无法安装以下软件包, 需要手动介入处理:
ros2-galactic - exit status 4
And I have installed fastrtps , but this problem is also existing . How can I do to install ros2-galactic ?