Ask Your Question

Error: The manifest (with format version 2) must not contain the following tags: run_depend

asked 2018-05-31 17:37:08 -0600

rahvee gravatar image

On ROS indigo, I followed the actionlib instructions to create a simple actionclient and actionserver. I was careful to click "indigo" so I'm not accidentally following the instructions for the wrong distribution. When I run catkin_make, I get an error message:

Error(s) in package '/home/eharvey/catkin_ws/src/poi_scan/package.xml':
- The manifest (with format version 2) must not contain the following tags: run_depend

Am I doing something wrong? Or is there an error in the docs?

Here are the complete steps to reproduce:

cd ~catkin_ws/src
catkin_create_pkg poi_scan std_msgs rospy roscpp
cd poi_scan
vi package.xml
mkdir action
vi action/DoDishes.action
vi CMakeLists.txt
mkdir scripts
vi scripts/
vi scripts/
chmod +x scripts/*
cd ~/catkin_ws

Here are the contents of package.xml:

<?xml version="1.0"?>
<package format="2">
  <description>The poi_scan package</description>
  <maintainer email="edward.harvey@todo.todo">turtlebot</maintainer>

I can share the contents of the other files too, if needed, but catkin_make seems to be choking on package.xml

I found this discussion on stackoverflow, where the accepted answer is to omit the format. Unfortunately, when I omit the format, the problem gets worse:

Error(s) in package '/home/eharvey/catkin_ws/src/poi_scan/package.xml':
- The manifest (with format version 1) must not contain the following tags: build_export_depend, exec_depend
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-05-31 18:09:10 -0600

marguedas gravatar image

updated 2018-05-31 18:12:28 -0600

The issue is that the actionlib tutorial has not been updated since catkin_create_pkg has been updated (and now generates package.xml format 2).

Can you try to replace the 2 run_depend with exec_depend ?

Edit: tutorial has been updated:

edit flag offensive delete link more


Thank you! :-D

rahvee gravatar image rahvee  ( 2018-06-01 06:35:52 -0600 )edit

As an FYI, I ran into this problem when working through the custom global planner plugin tutorial, so that page may need to be updated as well?

M@t gravatar image M@t  ( 2019-06-06 20:56:24 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2018-05-31 17:37:08 -0600

Seen: 3,756 times

Last updated: May 31 '18