ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

building gazebo_ros_pkgs for Noetic fails in Fedora 32 gazebo_dev: No definition of [libgazebo11-dev] for OS [fedora]

asked 2020-09-08 10:49:37 -0500

RobbieTheK gravatar image

updated 2020-09-08 11:34:13 -0500

I'm trying to build the gazebo_ros_pkgs as mentioned here

rosdep install --from-paths . --ignore-src --rosdistro noetic -y
ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
gazebo_dev: No definition of [libgazebo11-dev] for OS [fedora]

I could use --skip-keys "libgazebo11-dev gazebo11" and that removes the error. Do any of the following directories have the needed gazebo_ros?

ls -l devel/share/gazebo_ros
total 0
drwxr-xr-x 2 root root 74 Sep  4 15:44 cmake
drwxr-xr-x 2 root root 91 Sep  4 11:47 doc

# ls -l devel/share/gaz*
devel/share/gazebo_dev:
total 0
drwxr-xr-x 2 root root 74 Sep  4 15:44 cmake

devel/share/gazebo_msgs:
total 0
drwxr-xr-x 2 root root 147 Sep  4 15:44 cmake

devel/share/gazebo_plugins:
total 4
drwxr-xr-x 2 root root   82 Sep  4 15:44 cmake
drwxr-xr-x 2 root root 4096 Sep  4 11:47 docs

devel/share/gazebo_ros:
total 0
drwxr-xr-x 2 root root 74 Sep  4 15:44 cmake
drwxr-xr-x 2 root root 91 Sep  4 11:47 docs

devel/share/gazebo_ros_control:
total 0
drwxr-xr-x 2 root root 90 Sep  4 15:44 cmake
ls -l devel/share/gazebo_ros
total 0
drwxr-xr-x 2 root root 74 Sep  4 15:44 cmake
drwxr-xr-x 2 root root 91 Sep  4 11:47 docs

All we're trying to do is launch the Turtlebot 3 world.

roslaunch launch/turtlebot3_world.launch
... logging to /home/.ros/log/9def909c-ed25-11ea-928f-3e8e99dc0d33/roslaunch-storm.cis.fordham.edu-226047.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

Resource not found: gazebo_ros
ROS path [0]=/usr/local/bin/noetic/share/ros
ROS path [1]=/usr/local/bin/noetic/share
The traceback for the exception was written to the log file


[roslaunch][ERROR] 2020-09-08 11:46:15,047: Resource not found: gazebo_ros
ROS path [0]=/usr/local/bin/noetic/share/ros
ROS path [1]=/usr/local/bin/noetic/share
[roslaunch][ERROR] 2020-09-08 11:46:15,048: The traceback for the exception was written to the log file
[roslaunch][ERROR] 2020-09-08 11:46:15,049: Traceback (most recent call last):
  File "/usr/local/bin/noetic/lib/python3.8/site-packages/roslaunch/__init__.py", line 347, in main
    p.start()
  File "/usr/local/bin/noetic/lib/python3.8/site-packages/roslaunch/parent.py", line 305, in start
    self._start_infrastructure()
  File "/usr/local/bin/noetic/lib/python3.8/site-packages/roslaunch/parent.py", line 254, in _start_infrastructure
    self._load_config()
  File "/usr/local/bin/noetic/lib/python3.8/site-packages/roslaunch/parent.py", line 156, in _load_config
    self.config = roslaunch.config.load_config_default(self.roslaunch_files, self.port,
  File "/usr/local/bin/noetic/lib/python3.8/site-packages/roslaunch/config.py", line 461, in load_config_default
    loader.load(f, config, argv=args, verbose=verbose)
  File "/usr/local/bin/noetic/lib/python3.8/site-packages/roslaunch/xmlloader.py", line 761, in load
    self._load_launch(launch, ros_config, is_core=core, filename=filename, argv=argv, verbose=verbose)
  File "/usr/local/bin/noetic/lib/python3.8/site-packages/roslaunch/xmlloader.py", line ...
(more)
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-12-18 16:01:26 -0500

Gazebo 11 is not packaged for Fedora 32, which is why there is no rosdep rule to resolve those two keys. Fedora 32 currently has Gazebo 10: https://src.fedoraproject.org/rpms/ga...

You might be able to install Gazebo 10 by running sudo dnf install gazebo-devel. That still won't satisfy rosdep, so you'll need to continue to use --skip-keys, but the Gazebo packages might be able to build against Gazebo 10 instead of Gazebo 11 (though this wouldn't be a supported scenario).

Here is the Fedora bug tracking the update from Gazebo 10 to Gazebo 11: https://bugzilla.redhat.com/show_bug....

It appears that the only package in desktop_full which requires Gazebo is gazebo_dev:

$ find src -name package.xml | xargs grep gazebo11
src/gazebo_ros_pkgs/gazebo_dev/package.xml:  <build_export_depend>libgazebo11-dev</build_export_depend>
src/gazebo_ros_pkgs/gazebo_dev/package.xml:  <exec_depend>gazebo11</exec_depend>

Using the same method, I can see that gazebo_dev is needed by gazebo_ros, gazebo_ros_pkgs, gazebo_ros_control, and gazebo_plugins. From your original list, only gazebo_msgs can build without Gazebo.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2020-09-08 10:49:37 -0500

Seen: 445 times

Last updated: Dec 18 '20