← Back to issue list

Colcon plugin: can't run twice with eloquent

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1866719
Type
issue
State
closed
Author
~kyrofa
Labels
Created
Updated
Closed

Current evaluation

Closed without resolution. Repeated colcon plugin runs with ROS 2 Eloquent fail due to stage-package unrepacking and lifecycle ordering causing premature prefix-fixing.

Suggested action:

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
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.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 40
Confidence: 85
Support Request: 5
close stale Colcon plugin fails on second run with ROS Eloquent because env() executes before build(), causing prefix-fixing to miss stage-packages. Issue remains open, unassigned, and inactive for over five years with no comments.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#2835 colcon plugin: support ROS 2 Eloquent snapcraft merged Merged after adding ROS 2 Eloquent Elusor support to the colcon plugin. Approved by two reviewers, passed CI checks, and updated two files with minimal changes.
75%
#1866723 Colcon plugin: eloquent can't find libpcre or libz snapcraft (launchpad) closed Closed without resolution. ROS 2 Eloquent packages inherit Poco's absolute paths, causing missing libpcre and libz errors. The issue is tracked externally at snapcraft-docs/ros2-talker-listener#2.
73%