← Back to issue list

lifecycle: rebuild with snapcraft clean part1; snapcraft build part1 breaks if part1 has an 'after' field

View original Launchpad issue

Metadata

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

Current evaluation

Closed without resolution or comments, likely abandoned. The lifecycle bug causing unsatisfied dependency errors after cleaning a specific part remains unaddressed.

Suggested action:

No scores available.

Issue body

observed that I couldnt invoke: snapcraft clean part1 snapcraft build part1 the "build" fails because it thinks there are not-fullfilled dependencies even if those haven't been cleaned. Same tree will happily try to build part1 if i run: snapcraft build Reproduce with snapcraft example in tree: cd examples/libpipeline ../../bin/snapcraft build ../../bin/snapcraft clean pipelinetest ../../bin/snapcraft build pipelinetest Fails with: Requested 'pull' of 'pipelinetest' but there are unsatisfied prerequisites: 'libpipeline'

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Closed without resolution or comments, likely abandoned. The lifecycle bug causing unsatisfied dependency errors after cleaning a specific part remains unaddressed.
qwen/qwen3.6-35b-a3b Closed without comments or resolution, indicating abandonment. The snapcraft lifecycle bug causing build failures after cleaning a part with dependencies was not addressed or fixed.
qwen3.6-35b-a3b-mtp-q6 Closed without documented resolution. The snapcraft clean and build dependency tracking bug remains unverified, likely abandoned due to prolonged inactivity.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1826262 Error: The part has run through its entire lifecycle snapcraft (launchpad) open Snapcraft 1.x build error 'part has run through its entire lifecycle' reported in 2017 when modifying multipass snapcraft.yaml; zero comments, no labels, project since fully rearchitected into craft-* subprojects.
74%
#1799925 snapcraft gives conflicting advice for cleaning parts snapcraft (launchpad) closed Closed without a fix. Snapcraft incorrectly advised running snapcraft clean with part and step flags, which were unsupported. The author worked around it with a full clean. The report appears abandoned or superseded by later updates.
71%
#4806 Build "part" action forces clean build snapcraft closed Resolved via craft-parts pull request 727. The snapcraft build part command now correctly performs incremental builds rather than forcing clean builds. Issue closed.
71%
#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.
70%
#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.
70%