← Back to issue list

Remove cleanbuild

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1796980
Type
issue
State
closed
Author
~sergiusens
Labels
18.10-build-vm
Created
Updated
Closed

Current evaluation

Merged snapcore/snapcraft#2335 as 27ec9ba63, removing LXD lifecycle builds for base-based snaps and making cleanbuild redundant for them.

Resolution: closed resolved

Reason: PR #2335 was merged as commit 27ec9ba63. It removed LXD lifecycle builds for projects using the base keyword, which Snapcraft's normal build environments now handled.

Evaluated by: mr-cal-bot

No scores available.

Issue body

With the use of the base keyword comes associated the use of build environments to execute the build.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged snapcore/snapcraft#2335 as 27ec9ba63, removing LXD lifecycle builds for base-based snaps and making cleanbuild redundant for them.
stealth/space-bunny-alpha — closed resolved PR #2335 merged as 27ec9ba63, removing cleanbuild/LXD lifecycle handling for base builds; cleanbuild remained available only for non-base projects.
stealth/space-bunny-alpha — closed not a bug Closed as obsolete: the base keyword now manages build environments, making cleanbuild redundant; no further action was required.
qwen/qwen3.6-35b-a3b — — Closed as obsolete. The base keyword now manages build environments, rendering cleanbuild redundant. No further action required.
qwen/qwen3.6-35b-a3b — — Superseded by the base keyword, which now requires build environments for execution. Cleanbuild was removed and the issue closed by the maintainer without discussion.
qwen/qwen3.6-35b-a3b — — Closed without discussion. The cleanbuild removal request was superseded by the introduction of build environments associated with the base keyword.
qwen3.6-35b-a3b-mtp-q6 — — Removed the cleanbuild feature as the new base keyword and build environments now handle execution, rendering it obsolete. Closed by the maintainer.

Update history

Date Change
created

Related work

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

    The issue links this merged PR, which removed LXD lifecycle builds for base-based projects.

Related issues

Issue Project State Summary Similarity
#1752498 cleanbuild fails with lxd snap snapcraft (launchpad) closed Closed as obsolete: the cleanbuild command was removed; Snapcraft builds now perform clean builds by default.
81%
#2335 lifecycle: remove lxd support for bases snapcraft merged Merged PR #2335 as commit 27ec9ba63, removing lifecycle LXD builds for projects using bases while retaining cleanbuild/LXD for non-base projects.
77%
#1666735 snapcraft cleanbuild does not work with lxd installed via snap snapcraft (launchpad) closed Fixed by merged canonical/snapcraft#1199 (commit 417989880), making cleanbuild LXD detection packaging-independent instead of relying on apt package metadata.
76%
#1655 lxd: distinguish argless clean from clean -s pull snapcraft merged Merged in snapcraft#1655 (ed32603c7), fixing LXD cleanup so bare clean removes build containers while clean -s pull preserves or recreates them.
75%
#1587 lifecycle: clean after deleting container snapcraft merged Merged PR #1587 (commit daca4618b): LXD cleanup logic moved into lxd.py's clean() so `snapcraft clean` removes leftover build containers, addressing the forum-reported container-build clean issue.
74%
#1788654 snapcraft cleanbuild doesn't work with cross-compile stage-packages snapcraft (launchpad) closed Closed as an obsolete legacy cleanbuild/LXD issue after a maintainer directed users to migrate to bases; no targeted cross-architecture fix was recorded.
74%
#1803193 improve cleanbuild backwards compatibilty snapcraft (launchpad) closed Fixed by adding hidden cleanbuild YAML validation in snapcore/snapcraft#2404 (commit 248fe265d).
73%
#1480144 cleanbuild (through lxd) snapcraft (launchpad) closed Wishlist request for cowbuilder/pbuilder-style clean cross-arch snap builds. Closed by moving it to GitHub ubuntu-core/snapcraft#5, where clean-room building was later delivered as the LXD build provider (--use-lxd, snapcraft#2509, commit 067024732).
73%
#1007 lifecycle: clean without parsing if possible. snapcraft merged Merged in snapcraft#1007 via commit bacf75dfe, allowing full clean operations to bypass snapcraft.yaml parsing unless part-specific cleanup is required.
73%
#1788667 changes in snapd break lxd snap injection for cleanbuild snapcraft (launchpad) closed snapd's 0600 perms on injected snaps broke LXD cleanbuild injection. Fixed by merged PR snapcore/snapcraft#2222 (commit b2bd6b776), adding new-style LXD snap injection; bug closed.
73%