Ask Your Question
1

prerelease overlay fails: catkin_make_isolated not found

asked 2016-05-03 08:56:27 -0600

fmauch gravatar image

Hi there,

I'm currently struggling to run a prerelease-test for a package. Whenever the overlay build is performed, it complains that the command 'catkin_make_isolated' is not found.

My package is a 3rd-party package (plain cmake). I did follow the instructions on http://wiki.ros.org/bloom/Tutorials/R... and http://wiki.ros.org/bloom/Tutorials/F... and the first release as such went well. However, the prerelease-test fails at building the overlay workspace as it is trying to run catkin_make_isolated.

As far as I could follow the error the problem is that is sources my setup.* files inside the package install folder which however is an almost empty dummy file, as my package is no catkin-package. Thus /opt/ros/indigo/setup.* is never sourced and the ros binary folder is not inside the PATH.

My package.xml relevant part looks as follows:

  <buildtool_depend>cmake</buildtool_depend>
  <build_depend>boost</build_depend>
  <run_depend>boost</run_depend>

  <!-- Since this is a plain cmake package we need catkin as a run dependency -->
  <run_depend>catkin</run_depend>

  <!-- The export tag contains other, unspecified, tags -->
  <export>
    <!-- Other tools can request additional information be placed here -->
    <rosdoc config="etc/rosdoc.yaml" />
    <build_type>cmake</build_type>
  </export>

Am I missing something there?

Cheers Felix

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-05-08 14:18:17 -0600

tfoote gravatar image

To be able to call catkin_make_isolated in the prerelease you need to have catkin as a buildtool_depend. It's a dependency of the prerelease toolchain but we don't want to inject this dependency from the toolchain since it would mask packages which fail to declare the dependency that need it. Prereleasing 3rdparty packages is kind of an edge case for our prerelease scripts. The debian build pipeline doesn't use catkin_make_isolated so it will release and build in the current state.

edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-05-03 08:56:27 -0600

Seen: 134 times

Last updated: May 08 '16