← Back to issue list

Snapcraft stages dependencies for alternates that aren't staged

View original Launchpad issue

Metadata

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

Current evaluation

Fixed by merged snapcore/snapcraft PR #2119, which automatically prunes unneeded stage-packages (commit b9faf80bd).

Resolution: closed resolved

Reason: The proposed fix in snapcore/snapcraft#2119 was merged as commit b9faf80bd, preventing dependencies for alternate snaps from remaining staged unnecessarily.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Turning https://forum.snapcraft.io/t/snapcraft-stage-packages-inconsistent-behaviour/4746 into a bug.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Fixed by merged snapcore/snapcraft PR #2119, which automatically prunes unneeded stage-packages (commit b9faf80bd).
stealth/space-bunny-alpha — closed resolved Fixed by merged PR #2119 (commit b9faf80bd), which prunes stage-packages left unused after alternative dependency and conflict resolution.
stealth/space-bunny-alpha — closed stale Abandoned without a fix: Launchpad bug #1768908 was closed with no comments, patches, or explanation after prolonged inactivity.
qwen/qwen3.6-35b-a3b — — Abandoned and closed without resolution. Reported inconsistent staging behavior for package alternates. No comments, patches, or fixes were provided. Likely closed as stale due to prolonged inactivity.
qwen/qwen3.6-35b-a3b — — Closed without resolution. The report detailed inconsistent dependency staging in Snapcraft but received no comments and was abandoned with no fix implemented.

Update history

Date Change
created

Related work

  • Likely Fixed By: snapcore/snapcraft#2119 (confidence 99%)

    Merged fix automatically prunes stage-packages that are not needed by the snap being built.

Related issues

Issue Project State Summary Similarity
#1983009 Snapcraft 7.1.0 fails to find stage package when cross-compiling snapcraft (launchpad) closed Fixed by canonical/snapcraft#3416 (commit 8f418e3d9), restoring core20 behavior so stage packages come from build-on repositories during cross-compilation.
76%