snapcraft doesn't remove the build.sh scripts after part cleanup
Metadata
Current evaluation
2020 report that snapcraft clean leaves parts/*/run/build.sh behind, so build_environment changes don't propagate. No maintainer response in ~5 years; snapcraft 4.x is EOL and the craft-parts-based 8.x clean removes whole part dirs.
Suggested action: close stale
Reason: The issue targets snapcraft 4.0.4 (2020), a version long out of support, and the parts system was rewritten on craft-parts in snapcraft 8.x, where clean removes the entire part directory (including parts/<part>/run/build.sh) and the build script is regenerated each build, so the reported symptom is no longer reproducible. Zero comments and no maintainer interaction for ~5 years confirm it is abandoned; a similar 4.x-era clean bug (LP #1591056) was likewise closed without resolution.
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.8-27b |
Impact:
35
Quick Win:
21.0
Staleness:
95
Complexity:
40
Confidence:
65
Support Request:
10
|
close stale | 2020 report that snapcraft clean leaves parts/*/run/build.sh behind, so build_environment changes don't propagate. No maintainer response in ~5 years; snapcraft 4.x is EOL and the craft-parts-based 8.x clean removes whole part dirs. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
95
Complexity:
40
Confidence:
90
Support Request:
10
|
close stale | Bug report stating snapcraft fails to remove build.sh scripts after part cleanup. Unanswered for over 5 years with no maintainer interaction. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
95
Complexity:
30
Confidence:
85
Support Request:
10
|
close stale | Snapcraft 4.0.4 fails to remove build.sh scripts in the parts directory after running snapcraft clean, preventing build_environment changes from propagating on subsequent runs. The issue has been inactive for nearly five years with no maintainer response. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
98
Complexity:
35
Confidence:
70
Support Request:
5
|
close stale | Bug report stating snapcraft clean fails to remove build.sh scripts from part directories, preventing build_environment changes from propagating. Issue is 6 years old, references obsolete snapcraft v4.0.4, and has zero maintainer interaction. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
95
Complexity:
40
Confidence:
75
Support Request:
15
|
close stale | Reports that snapcraft clean leaves build.sh scripts behind, preventing environment variable updates. Open for 6 years with no maintainer response or labels. |
Update history
No update history recorded yet.
Related work
-
Related To:
snapcraft (launchpad)#1591056
(confidence 55%)
Similar 4.x-era bug: snapcraft clean <part> didn't remove the bin/ directory; closed without resolution, indicating the same class of stale clean-related reports from the pre-craft-parts architecture.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1591056 snapcraft clean <part> doesn't remove the bin/ directory | snapcraft (launchpad) | closed | The bug where snapcraft clean <part> leaves the bin/ directory behind was abandoned and closed without resolution. No fix was implemented or merged, likely due to prolonged inactivity. | |
| #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. | |
| #1615060 snapcraft clean is incomplete | snapcraft (launchpad) | closed | Reporting that snapcraft clean skips local .snap files was closed without comments or resolution, indicating the report was abandoned or left unresolved. | |
| #1815658 snapcraft leaks build-environment across parts | snapcraft (launchpad) | closed | Closed without comments. Reports snapcraft build-environment variables leaking across parts. Likely abandoned due to inactivity, with no explicit resolution or fix noted. |