Colcon plugin: can't run twice with eloquent
Metadata
Current evaluation
Fixed the Eloquent colcon second-run failure by correcting v1 workspace sourcing; snapcore/snapcraft#3358 merged as commit 19f2af730.
Resolution: closed resolved
Reason: PR snapcore/snapcraft#3358 corrected colcon v1 workspace sourcing and was merged as commit 19f2af730, allowing builds to run repeatedly.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Running once works as expected. Running again results in the following error:
The build time path "/opt/ros/eloquent" doesn't exist. Either source a script for a different shell or set the environment variable "AMENT_CURRENT_PREFIX" explicitly.
This is because the stage-packages are unpacked again and the prefix-fixing happens too late (since lifecycle ends up causing env() to run before build() is called).
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Fixed the Eloquent colcon second-run failure by correcting v1 workspace sourcing; snapcore/snapcraft#3358 merged as commit 19f2af730. | |
| stealth/space-bunny-alpha | — | closed resolved | Fixed the second-run Eloquent colcon failure by correcting v1 workspace sourcing; PR #3358 was merged as commit 19f2af730. | |
| stealth/space-bunny-alpha | — | closed stale | A Colcon/Eloquent second-run failure from late prefix fixing was reported; no resolving PR or commit was found, leaving the implementation outcome unverified. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without resolution. Repeated colcon plugin runs with ROS 2 Eloquent fail due to stage-package unrepacking and lifecycle ordering causing premature prefix-fixing. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
98
Complexity:
45
Confidence:
95
Support Request:
15
|
close stale | Bug report for Colcon plugin failing on second run with ROS 2 Eloquent due to prefix-fixing timing. Unlabelled, no comments, inactive for over 5 years. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
98
Complexity:
45
Confidence:
90
Support Request:
10
|
close stale | Colcon plugin fails on second run with ROS Eloquent due to prefix-fixing timing. Unlabelled, 0 comments, inactive for over 5 years. ROS Eloquent is EOL. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
98
Complexity:
45
Confidence:
90
Support Request:
10
|
close stale | Colcon plugin fails on second run with ROS 2 Eloquent due to prefix-fixing timing. Issue is over 6 years old, has zero comments, and references an EOL ROS distribution. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Likely Fixed By:
snapcore/snapcraft#3358
(confidence 100%)
Merged fix for colcon v1 workspace activation, directly referenced in the issue's closing comment.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1816565 colcon tests fail | snapcraft (launchpad) | closed | Colcon test failures were resolved by snapcore/snapcraft#2486 (commit 60c3c9b18), restoring build-time workspace chaining through Colcon setup files. |