`primed-stage-packages` isn't in manifest.yaml when using override-prime
Metadata
Current evaluation
primed-stage-packages missing from manifest.yaml when override-prime is used; triaged bug blocked by upstream craft-parts issue #1122 which remains open. No fix implemented in ~15 months.
Suggested action: keep open
Reason: The issue is triaged (labeled Status: Triaged, Type: Bug) and explicitly blocked by upstream craft-parts issue #1122 which is still open. The current snapcraft code (parts.py:278) still delegates to craft-parts' get_primed_stage_packages, and no fix commits were found in either repo. The problem remains reproducible and relevant to core22+ users.
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.8-27b |
Impact:
35
Quick Win:
19.25
Staleness:
60
Complexity:
45
Confidence:
75
Support Request:
5
|
keep open | primed-stage-packages missing from manifest.yaml when override-prime is used; triaged bug blocked by upstream craft-parts issue #1122 which remains open. No fix implemented in ~15 months. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
65
Complexity:
40
Confidence:
85
Support Request:
10
|
keep open | Bug: `primed-stage-packages` not populated in manifest.yaml when using `override-prime`. Caused by upstream craft-parts issue. Has workaround. Triaged, linked to internal ticket. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
85
Complexity:
25
Confidence:
75
Support Request:
10
|
keep open | primed-stage-packages missing from manifest.yaml when using override-prime due to upstream craft-parts issue. Triaged bug, inactive for over a year, awaiting upstream resolution. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
75
Complexity:
30
Confidence:
85
Support Request:
5
|
keep open | primed-stage-packages entry omitted from manifest.yaml when override-prime is used. Root cause is an upstream craft-parts bug. Status: triaged. Internal Jira ticket filed. Awaiting upstream resolution or a permanent workaround. |
Update history
No update history recorded yet.
Related work
-
Blocked By:
canonical/craft-parts#1122
(confidence 90%)
Issue body explicitly states 'This is due to an upstream issue in craft-parts' and links to this issue, which is still open
-
Related To:
canonical/snapcraft#4547
(confidence 80%)
Referenced in the issue body as a previous workaround that warned when override-prime was used
-
Duplicate Of:
snapcraft (launchpad)#2097440
(confidence 70%)
Same bug reported on Launchpad: 'override-prime disables primed-stage-packages', also still open
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #2097440 override-prime disables primed-stage-packages | snapcraft (launchpad) | open | Bug report: using override-prime in a part causes primed-stage-packages to be empty in the manifest, even when stage-packages are specified. Untriaged, 576 days old. | |
| #1122 craft-parts doesn't track primed files when using `override-prime` | craft-parts | open | craft-parts writes an empty fileset to prime state when a part uses override-prime, since the scriptlet path in _run_step returns no tracked contents. Bug confirmed still present in current code; unlabelled, no comments; downstream snapcraft issue still open. | |
| #5998 `primed-stage-packages` in `manifest.yaml` loses architecture information | snapcraft | open | primed-stage-packages in manifest.yaml drops foreign-arch qualifiers (e.g. :i386) while stage-packages keeps them. Root cause is in craft-parts origin tracking; a craft-parts PR (#1558) has since fixed it. |