-
Notifications
You must be signed in to change notification settings - Fork 258
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rostest catkin/meta-ros dependency #404
Comments
The issue you reported is well-known for two years now, it has been thoroughly discussed with the ROS core developers, and there is an commonly agreed solution to it. If you look into the meta-ros git history, you will find these two interesting sets of changes: Commit 9879db in pull request #161 [2] shows how we patch the ROS packages with CATKIN_ENABLE_TESTING to make rostest optional. Pull request #239 [1] includes some more commits where we address the issue of making rostest dependencies optional. In fact, most patches (maybe even all) were provided back to the upstream repositories and merged into their development. Hence, meta-ros only contains the patches for those ROS packages that have not released new versions and recipes that have not been updated---which are only some very few by now. You can also find the discussion on this topic with Dirk Thomas, catkin's main developer, in the rosdistro issue tracker ros/rosdistro#3010 [3]. With all that information at hand, I hope that you can produce a patch that resolves the issue just as it was discussed and resolved in the past. We are happy to review any pull request on this matter. [1] #239 P.S.: I am on vacation, travelling through Europe and only have limited internet access; so I will not get much involved in lengthy technical discussions. Also I do not have access to any build server to check or confirm the functionality of any patch, and hence will rely on others confirming that patches work. |
While building core-image-ros-roscore, from scratch, I get a catkin error.
TL;DR: The error is that catkin can't find the 'rostest' package and one of the packages (in this case 'base-local-planner').
Error:
Some more of my thoughts:
The rostest dependency must be listed in the package.xml and CMakeLists.txt for base-local-planner, but not in the recipe for base-local-planner. There is some strange stuff going on with rostest, I think, so I didn't look into it further. Doing this does "fix" the problem, but I defer to an expert because I don't think this is what you actually want to do:
echo "DEPENDS += "rostest"" >> $FSL_DIR/sources/meta-ros/recipes-ros/navigation/base-local-planner_1.12.10.bb
I don't know anything about the rostest package, but I think it's special somehow. I also get the impression that if I was building a different set of features, a different package might fail here instead of the base-local-planner, so just adding it to that recipe is probably not the fix. Hopefully, someone recognizes this, and has a good solution.
The text was updated successfully, but these errors were encountered: