Skip to content
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

--unbuilt flag appears to do nothing. #384

Open
mikepurvis opened this issue Jun 12, 2016 · 2 comments
Open

--unbuilt flag appears to do nothing. #384

mikepurvis opened this issue Jun 12, 2016 · 2 comments

Comments

@mikepurvis
Copy link
Member

mikepurvis commented Jun 12, 2016

System Info

  • Operating System: Ubuntu Trusty
  • Python Version: 2.7
  • Version of catkin_tools: 6585679 (0.4.2+)
  • ROS Distro: Indigo

Issue

Set up and build workspace:

rosinstall_generator --rosdistro indigo rospy --deps --tar > rospy.rosinstall
rosinstall src rospy.rosinstall -j8
catkin build --unbuilt
^C
catkin build --unbuilt

I would expect the second invocation of catkin build to pick up where the first one got interrupted (eg, as if --start-with foo had been passed), where foo was the first not-built package in the topological order, but in fact it starts from the beginning. I checked a few combinations of configurations and could find no scenario where the flag had any effect at all:

  • Didn't matter whether the workspace included the catkin package or not.
  • Didn't matter whether I was installing or not.
  • Didn't matter whether I had set a whitelist or not.

All of the above do the right thing with --start-with.

@mikepurvis
Copy link
Member Author

@jbohren Curious for your thoughts on this.

@ljarin
Copy link

ljarin commented Mar 2, 2017

This is way later - but I believe you also need --no-deps for this to work as you intended, otherwise it builds all of the unbuilt packages' dependencies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants