Closed rhaschke closed 1 year ago
Hi, sorry it took so long, but I finally came around to put some work into catkin_tools
again. I believe that this issue and #736 have the same cause. When --no-deps
is specified, prebuild packages are just added to the build list and not added as dependencies of the other packages.
Thanks a lot for raising the issue, I believe that it has existed since at least 2016.
Thanks a lot!
When running
catkin build --no-deps <package>
in a workspace including thecatkin
package, catkin tools will build thiscatkin
package instead ofcatkin_tools_prebuild
!? Additionally, build order is not respected, as additional packages are built in parallel tocatkin
. This can cause additional issues down the road.catkin clr; catkin build --no-deps tf2_msgs
vs.
catkin clr; catkin config --buildlist tf2_msgs; catkin build
I would expect that both cases behave exactly the same, i.e. building
catkin_tools_prebuild
first and then continuing with all other packages. Removing thecatkin
package from the workspace yields the expected behavior again.