You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
catkin_tools is not able to build metapackages. In particular, I tried with orocos_toolchain and with both, install mode enabled and disabled.
Works with catkin_make
Works with catkin_make_isolated --merge
Works with catkin build
Works with catkin build -p1
I did not read this
Expected Behavior
catkin build should build (and install) all packages and metapackages in the workspace. catkin build orocos_toolchain --no-deps should build (and install) the metapackage only because it has no build dependencies. Actually I am not sure whether --no-deps relates to build or run-time dependencies. I think it should consider all kind of dependencies, but in any case none of them should be built with --no-deps.
The fact that some packages are blacklisted does not change the behavior, but they have some dependencies that cannot be fulfilled in Ubuntu 14.04.
catkin build orocos_toolchain --no-deps also does not build the metapackage, but also ignores the --no-deps flag and builds all run-time dependencies, even the ones that have been blacklisted:
I think this issue is only partially related to #366. No package is depending on the meta-package in my scenario. The fact that they compile nothing themselves according to REP-140 does not imply that they can be completely ignored by catkin_tools. catkin_tools should still run the cmake, make and install steps, like for any other catkin package. Otherwise the package.xml file will not be installed, they do not end up in the ROS_PACKAGE_PATH and the (deprecated?) rosstack command would not find the meta-package.
Metapackages may not install any code or other files, although package.xml does get installed automatically. They can depend on other metapackages, but regular catkin packages cannot.
So at least the missing installation of package.xml is definitely a bug.
System Info
Linux im-laptop-002 4.4.0-57-generic #78~14.04.1-Ubuntu SMP Sat Dec 10 00:14:47 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Python 2.7.6
catkin_tools 0.4.2 (C) 2014-2016 Open Source Robotics Foundation
indigo
Build / Run Issue
This issue was already reported on ROS answers: http://answers.ros.org/question/241107/generating-metapackage-artifacts-with-catkin_tools/
catkin_tools is not able to build metapackages. In particular, I tried with orocos_toolchain and with both, install mode enabled and disabled.
catkin_make
catkin_make_isolated --merge
catkin build
catkin build -p1
read this
Expected Behavior
catkin build
should build (and install) all packages and metapackages in the workspace.catkin build orocos_toolchain --no-deps
should build (and install) the metapackage only because it has no build dependencies. Actually I am not sure whether--no-deps
relates to build or run-time dependencies. I think it should consider all kind of dependencies, but in any case none of them should be built with--no-deps
.Actual Behavior
catkin build
ignores the metapackage:The fact that some packages are blacklisted does not change the behavior, but they have some dependencies that cannot be fulfilled in Ubuntu 14.04.
catkin build orocos_toolchain --no-deps
also does not build the metapackage, but also ignores the--no-deps
flag and builds all run-time dependencies, even the ones that have been blacklisted:Steps to Reproduce the Issue
The text was updated successfully, but these errors were encountered: