Ask Your Question

I get this error each time I try to run rosmake --> RuntimeError: maximum recursion depth exceeded in cmp

asked 2011-12-09 03:55:00 -0500

giorgosera gravatar image


I created a new package and try to run rosmake...However, each time I do that this error appears and dunno why!

The error: RuntimeError: maximum recursion depth exceeded in cmp

Thanks George

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2011-12-09 03:57:33 -0500

DimitriProsser gravatar image

updated 2012-01-17 01:22:52 -0500

This error can occur when you have cyclical dependencies. Does your package depend on a package that also depends on your package? Sorry for the confusing wording, but I don't know of a better way to say it.


Here's an example of a cyclical dependency:

Package A is called my_robot_config. Package B is called my_robot_sensors.

In the manifest.xml files:


<depend package="my_robot_sensors" />


<depend package="my_robot_config" />

All you have to do is look through the manifest.xml files in your packages to make sure that two packages don't depend on one another.

edit flag offensive delete link more


Is there a way I can check which dependency actually cause the cycle?
giorgosera gravatar image giorgosera  ( 2011-12-09 03:58:36 -0500 )edit
I'd just look at the two manifest and see if one is listed in the other
DimitriProsser gravatar image DimitriProsser  ( 2011-12-09 04:00:40 -0500 )edit

answered 2012-01-17 00:52:21 -0500

Penny gravatar image

I have the same problem and roswtf tells that there is a circular dependency, have you solved your problem?If yes, how did you do it?

edit flag offensive delete link more


See my edit
DimitriProsser gravatar image DimitriProsser  ( 2012-01-17 01:23:08 -0500 )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: 2011-12-09 03:55:00 -0500

Seen: 519 times

Last updated: Jan 17 '12