Use standard urdfdom-headers rosdep key.#3
Conversation
We're shadowing this key for r2b2 since upstream is out of date but we should use the rosdep key so we can eventually target upstream. ros2/robot_model#1
mikaelarguedas
left a comment
There was a problem hiding this comment.
lgtm, knowing that this will shadow the system one on xenial as mentioned in ros2/robot_model#1 (comment)
|
Note: I'm not sure that |
I've been making only necessary changes. If you want it gone in this PR, can you confirm it, otherwise, it's something that can be addressed later. |
|
Later is fine, I just thought it was worth noting but don't know what the minimal version we require actually is |
|
This patch breaks the default branches. Please either fix asap or revert this change. I used https://gist.github.com/dirk-thomas/001152f81a352aba3bb87c302ae1c42d to confirm that reverting this makes the build pass again. |
|
I also don't see any CI builds for this set of changes. Did you run any or build the changes locally? |
This reverts commit 17f886f.
|
The root cause of the build failure introduced with this PR is with build ordering when the package.xml dependency key and ament package name are not the same. By changing the dependency key from I tested some permanent fixes locally. Bringing the release package.xml into the source directory causes ament to raise an InvalidPackage exception due to the dashed name. Omitting the package.xml and trying to change the cmake project name causes ament to be unable to find the package because it no longer satisfies this regexp. I'm not sure what the best thing to do is. The least creative would seem to be to return to the original plan of changing the urdfdom-headers downstream packages to depend on urdfdom_headers (note underscore) with a comment that this dependency should be updated when the system urdfdom-headers is suitable. |
I was running the changes locally, both for expedience and because I'd seen mailing list chatter about ci bottlenecks, and because I had not expected package.xml dependency keys to affect the build. This was my oversight and I'll run subsequent package.xml changes through CI. |
Are you building locally with |
I was not. |
You should build with |
We're shadowing this key for r2b2 since upstream is out of date but we should
use the rosdep key so we can eventually target upstream.
ros2/robot_model#1