← Back to issue list

Changing stage-packages requires cleaning the pull stage

View original Launchpad issue

Metadata

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

Current evaluation

⚠️ This summary may be outdated — the issue content or evaluation prompts have changed since this evaluation was made.

Closed without resolution. Snapcraft incorrectly requiring a pull stage clean after stage-packages changes was abandoned or superseded by later versions.

Suggested action:

No scores available.

Issue body

If I modify "stage-packages" for one part, snapcraft requires me to clean the part up to the "pull" stage: ========== $ snapcraft The 'pull' step of 'test' is out of date: The 'stage-packages' part property appears to have changed. Please clean that part's 'pull' step in order to continue ========== It should require cleaning the "stage" step, but nothing below that.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Closed without resolution. Snapcraft incorrectly requiring a pull stage clean after stage-packages changes was abandoned or superseded by later versions.
qwen/qwen3.6-35b-a3b Abandoned. Modifying stage-packages incorrectly required cleaning the pull stage instead of only the stage step.
qwen3.6-35b-a3b-mtp-q6 Closed as abandoned. The reported stage-packages dependency error requiring an incorrect pull stage clean was not addressed or fixed.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1772027 Pull stage of an unspecified part is unexpectedly cleaned by snapcraft snapcraft (launchpad) closed Abandoned due to inactivity. Snapcraft incorrectly cleaned an unrelated part's pull stage during partial clean operations. No comments or resolution were provided before closure.
77%
#4 snapcraft.yaml needs to make all stages dirty (was: the can't add file without recreating entire package) snapcraft closed Closed without a direct fix. The maintainer noted snapcraft failed to invalidate stages when snapcraft.yaml changed, requiring an internal --force. Tracking was moved back to Launchpad, superseding this GitHub issue.
77%
#1477904 snapcraft.yaml needs to make all stages dirty (was: the can't add file without recreating entire package) snapcraft (launchpad) closed Abandoned. Snapcraft continues to skip stages when files are added, requiring manual cleanup of build directories to trigger rebuilds.
76%
#1824473 Changed stage-snaps property does not make pull step dirty snapcraft (launchpad) open Snapcraft bug: changing a part's stage-snaps property does not mark the pull step dirty, so re-running stage skips pull and crashes. Reported ~7.4 years ago with a POC repo; no maintainer response, no labels, zero comments.
73%
#1578170 Your first snap: snapcraft clean needed before second snapcraft stage snapcraft (launchpad) closed Closed and abandoned without resolution. The issue highlights a documentation gap where the Ubuntu snap tutorial skips steps on re-runs unless snapcraft clean is run first. No fix or update was applied.
72%
#443 Automatically re-stage if dirty. snapcraft merged Merged PR automatically re-stages and strips Snapcraft steps upon YAML changes, resolving Launchpad bug #1477904. The update modifies six files to detect out-of-date configurations and trigger a clean re-run.
71%
#1675516 can't cleanbuild snapcraft itself snapcraft (launchpad) closed Closed without resolution or comments, the report of a failed snapcraft cleanbuild due to missing build-packages was abandoned.
71%
#1642446 Better documentation for stage-packages and build-packages snapcraft (launchpad) closed Request to document stage-packages and build-packages in snapcraft help plugins closed without resolution or comments, indicating abandonment.
71%
#1605164 Errors due to "missing" files using "stage:" snapcraft (launchpad) closed Abandoned. Reported a snapcraft staging error when excluding directories with missing files. Closed without comments or a fix, indicating the issue was stale.
70%
#1995895 Cannot override stage snapcraft (launchpad) open Snapcraft pack fails with FileNotFoundError during prime step when using override-stage. Open for 3.8 years with no maintainer engagement.
70%