← Back to issue list

catkin plugin: don't stage compilers.

View original Github issue

Metadata

Project
snapcraft
Number
#1070
Type
pull request
State
merged
Author
kyrofa
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #1070 as commit ea8736af4, moving required Catkin compilers to an alternate work area so they are available during builds but excluded from final snaps; fixes LP #1658828.

Resolution: closed resolved

Reason: PR #1070 merged as commit ea8736af4. It stopped staging compiler packages and installed them in an alternate working area, fixing LP #1658828.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Instead of pulling necessary compilers in as stage packages, this PR fixes LP: [#1658828](https://bugs.launchpad.net/snapcraft/+bug/1658828) by pulling them to an alternate working area (similar to rosdep) so they can be used without unnecessarily ending up in the final snap.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #1070 as commit ea8736af4, moving required Catkin compilers to an alternate work area so they are available during builds but excluded from final snaps; fixes LP #1658828.
stealth/space-bunny-alpha — closed resolved Merged PR #1070 (ea8736af4): catkin now pulls compilers into an alternate working area instead of staging them, fixing LP #1658828 and keeping compilers out of the final snap.
qwen/qwen3.6-35b-a3b — — Merged to master. The catkin plugin now routes compilers to an alternate working area instead of staging them, resolving LP #1658828 and preventing their inclusion in the final snap. Approved, passed CI, and merged.
qwen3.6-35b-a3b-mtp-q6 — — Merged. Resolved LP #1658828 by routing compilers to an alternate working area instead of staging them, preventing unnecessary inclusion in the final snap. Code coverage increased by 0.02%.

Update history

No update history recorded yet.

Related work

Related issues

Issue Project State Summary Similarity
#1658828 Catkin plugin stages compilers snapcraft (launchpad) closed Catkin no longer stages compilers: snapcore/snapcraft#1070 (ea8736af4) moved them to an alternate work area, keeping compiler bloat out of ROS snaps.
86%
#2545 catkin plugin: use build-packages for compilers snapcraft merged Merged PR #2545 in commit ddb2d2627, replacing Catkin's side-loaded compiler workaround with required build-packages and fixing LP: #1827148 rebuild failures.
80%
#1130 catkin plugin: produce build-ready staging area. snapcraft merged Merged PR #1130 (commit e34b7ab19) makes the Catkin plugin rewrite ROS-specific paths after building, creating a staging area reusable by later parts and fixing LP #1663385.
76%
#1663385 Catkin plugin: Staging area not suitable for building other parts snapcraft (launchpad) closed Catkin staging output was made reusable by later parts: merged snapcraft#1130 rewrote ROS-specific paths after building, fixing LP #1663385.
74%
#881 Catkin plugin: Python nodes require gcc/g++ too. snapcraft merged Merged as commit 2f0c8ba04: catkin plugin now stages gcc/g++ unconditionally at the start of the build (instead of only when roscpp is a dependency), fixing LP bug #1638317.
74%
#1638317 Catkin plugin doesn't build pure python workspaces snapcraft (launchpad) closed Catkin plugin only staged g++ when roscpp was a dependency, breaking pure-Python ROS workspaces. Fixed by snapcore/snapcraft PR #881 (merged as 2f0c8ba04), staging gcc/g++ unconditionally; issue closed by maintainer ~kyrofa.
73%
#1779 catkin-tools plugin: use stage-packages snapcraft merged Merged #1779 (ebc4f2ce2): catkin-tools now uses stage-packages for clean-system builds, with a snapd-suite integration test.
73%
#1743 catkin plugin: support building entire workspace snapcraft merged Merged #1743 in commit ec4cac26a, making catkin-packages optional so the Catkin plugin builds the entire workspace when omitted; this also resolves snapcraft#1713.
71%
#840 Catkin plugin: build with in-snap python. snapcraft merged Merged #840 as 7f9fa3ac1, fixing LP #1628990 by using in-snap Python during Catkin builds and adding gcc, libc-dev, and make as build packages.
70%