open-rmf / rmf_simulation

Support plugins for simulating RMF scenarios
Apache License 2.0
9 stars 17 forks source link

rmf_robot_sim_common in rolling fails to build on rhel targets #67

Open nuclearsandwich opened 2 years ago

nuclearsandwich commented 2 years ago

The package rmf_robot_sim_common in rolling has been detected as not building on all platforms in the buildfile rhel. The release manager for rolling will consider disabling this build if it continues to fail to build.

Here is an excerpt from the log of the most recent build:

DEBUG: [ 10%] Building CXX object CMakeFiles/rmf_robot_sim_utils.dir/src/utils.cpp.o
DEBUG: /usr/bin/c++ -DDEFAULT_RMW_IMPLEMENTATION=rmw_cyclonedds_cpp -DRCUTILS_ENABLE_FAULT_INJECTION -Drmf_robot_sim_utils_EXPORTS -I/builddir/build/BUILD/ros-rolling-rmf-robot-sim-common-1.2.0/include -isystem /opt/ros/rolling/include -isystem /usr/lib64/python3.6/site-packages/numpy/core/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -Wall -Wextra -Wpedantic -std=gnu++17 -MD -MT CMakeFiles/rmf_robot_sim_utils.dir/src/utils.cpp.o -MF CMakeFiles/rmf_robot_sim_utils.dir/src/utils.cpp.o.d -o CMakeFiles/rmf_robot_sim_utils.dir/src/utils.cpp.o -c /builddir/build/BUILD/ros-rolling-rmf-robot-sim-common-1.2.0/src/utils.cpp
DEBUG: In file included from /builddir/build/BUILD/ros-rolling-rmf-robot-sim-common-1.2.0/src/utils.cpp:4:
DEBUG: /builddir/build/BUILD/ros-rolling-rmf-robot-sim-common-1.2.0/include/rmf_robot_sim_common/utils.hpp:6:10: fatal error: Eigen/Geometry: No such file or directory
DEBUG:  #include <Eigen/Geometry>
DEBUG:           ^~~~~~~~~~~~~~~~
DEBUG: compilation terminated.
DEBUG: make[2]: *** [CMakeFiles/rmf_robot_sim_utils.dir/build.make:79: CMakeFiles/rmf_robot_sim_utils.dir/src/utils.cpp.o] Error 1
DEBUG: make[2]: Leaving directory '/builddir/build/BUILD/ros-rolling-rmf-robot-sim-common-1.2.0/obj-x86_64-redhat-linux-gnu'
DEBUG: make[1]: Leaving directory '/builddir/build/BUILD/ros-rolling-rmf-robot-sim-common-1.2.0/obj-x86_64-redhat-linux-gnu'
DEBUG: make[1]: *** [CMakeFiles/Makefile2:226: CMakeFiles/rmf_robot_sim_utils.dir/all] Error 2
audrow commented 1 year ago

It seems that the build is also failing on RHEL here: https://build.ros2.org/view/Hsrc_el8/job/Hsrc_el8__rmf_building_map_tools__rhel_8__source/2/

I think that this failure is because of missing gazebo packages because the Gazebo variant isn't building on RHEL.