title: ROS python Error "The manifest (with format version 2) must not contain the following tags: run_depend"
body: <p>I have been following the book "Programming Robots with ROS: A Practical Introduction to the Robot Operating System"</p>
  
  <p>In the "Defining a New Message" part of the book we create a new message definition</p>
  
  <pre><code>Example 3-3. Complex.msg
  float32 real
  float32 imaginary
  </code></pre>
  
  <p>so we require to modify the package.xml and add the following lines:</p>
  
  <pre><code>&lt;build_depend&gt;message_generation&lt;/build_depend&gt;
  &lt;run_depend&gt;message_runtime&lt;/run_depend&gt; 
  </code></pre>
  
  <p>but when I run the catkin_make in the catkin_ws directory I get the following error</p>
  
  <pre><code>Error(s) in /home/gtkratosman-lap/catkin_ws/src/basic/package.xml:
  - The manifest (with format version 2) must not contain the following tags: run_depend
  </code></pre>
  
  <p>My version:</p>
  
  <pre><code>ii  python-rospkg                                         1.1.4-100                                           all          ROS package library
  ii  python-rospkg-modules                                 1.1.4-1                                             all          ROS package library
  </code></pre>
  
  <p>Here is the full package.xml file</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;package format="2"&gt;
    &lt;name&gt;basic&lt;/name&gt;
    &lt;version&gt;0.0.0&lt;/version&gt;
    &lt;description&gt;The basic package&lt;/description&gt;
  
    &lt;maintainer email="gtkratosman-lap@todo.todo"&gt;gtkratosman-
    lap&lt;/maintainer&gt;
  
    &lt;license&gt;TODO&lt;/license&gt;
  
    &lt;buildtool_depend&gt;catkin&lt;/buildtool_depend&gt;
    &lt;build_depend&gt;rospy&lt;/build_depend&gt;
  
  
    &lt;run_depend&gt;message_generation&lt;/run_depend&gt;
    &lt;run_depend&gt;message_runtime&lt;/run_depend&gt;
  
    &lt;build_export_depend&gt;rospy&lt;/build_export_depend&gt;
    &lt;exec_depend&gt;rospy&lt;/exec_depend&gt;
  
    &lt;export&gt;
    &lt;/export&gt;
  &lt;/package&gt;
  </code></pre>