question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

catkin build hangs on circular run depdendency

See original GitHub issue

System Info

  • Operating System: Linux PDEMUC1CML000024 4.4.0-59-generic #80~14.04.1-Ubuntu SMP Fri Jan 6 18:02:02 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
  • Python Version: Python 2.7.6
  • Version of catkin_tools: 0.4.3
  • ROS Distro: indigo

Build / Run Issue

  • Works with catkin_make
  • Works with catkin_make_isolated --merge
  • Works with catkin build
  • Works with catkin build -p1

Expected Behavior

[build] Error: The workspace packages have a circular dependency or working build.

Actual Behavior

catkin build hanging.

Steps to Reproduce the Issue

. /opt/ros/indigo/setup.bash
mkdir -p /tmp/test_ws/src
cd /tmp/test_ws
catkin init
cd src
catkin create pkg pkg_a --catkin-deps pkg_b
catkin create pkg pkg_b --catkin-deps pkg_a
sed -i '/build_depend/d' pkg_*/package.xml
catkin build

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
130scommented, May 9, 2018

@geoffreychiou (wanna share version info?) just ran into the similar issue today.

0reactions
jsprickecommented, Nov 21, 2019

@Miliks this issue is already closed, please open a new ticket and fill out the template.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why can I not have circular exec_depend? - ROS Answers
[build] Error: The workspace packages have a circular dependency, and cannot be built. Please run catkin list --deps to determine the ...
Read more >
Build Packages — catkin_tools 0.0.0 documentation
catkin build will assume that all dependencies leading up to the package specified with the --start-with option have already been successfully built.
Read more >
catkin-tools Changelog - PyUp.io
Fix workspace generation with catkin build --this and --start-with-this (685) ... Report circular dependencies detected by topological_order_packages() (617)
Read more >
Bug listing with status CONFIRMED as at 2022/12/20 18:46:38
scripts to hang" status:CONFIRMED resolution: severity:normal ... Bug:175808 - "emerge should intelligently solve circular dependencies triggered by flags ...
Read more >
3rd time getting stuck at "Building a ROS Package"
In this question we see how to solve the problem when running catkin_make on a Catkin Workspace: The specified base path /home/user/catkin_ws contains...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found