cleanbuild (through lxd)
Metadata
Current evaluation
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).
Resolution: closed superseded
Reason: elopio closed the Launchpad bug on 2015-10-30 with the comment "Moved to https://github.com/ubuntu-core/snapcraft/issues/5". Tracking continued there; the concrete clean-build support arrived via canonical/snapcraft#2509 (commit 067024732, "build providers: initial support for LXD"), which added --use-lxd lifecycle builds and clean.
Evaluated by: mr-cal-bot
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed superseded | 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). | |
| stealth/space-bunny-alpha | — | closed resolved | LXD-backed clean builds landed via merged canonical/snapcraft#328 (2f6116267), adding the cleanbuild command for isolated builds. | |
| stealth/space-bunny-alpha | — | closed resolved | Clean target-architecture builds were delivered through LXD-based cleanbuild, merged in canonical/snapcraft#328 (commit 3e3927a53). | |
| qwen/qwen3.6-35b-a3b | — | — | Abandoned as a wishlist request. The proposal to integrate snapcraft with clean build environments like cowbuilder or LXD received no comments or development activity and was never implemented. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed as a wishlist item. The request to integrate snapcraft with clean build environments like cowbuilder or LXD was abandoned due to lack of priority and activity. | |
| qwen/qwen3.6-35b-a3b | — | — | Abandoned wishlist request for clean build environment integration. Closed without implementation as native LXD support was later added. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed as a wishlist request. The proposal to integrate snapcraft with clean build environments like cowbuilder or LXD was abandoned without implementation or further discussion. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Superseded By:
canonical/snapcraft#5
(confidence 95%)
Maintainer moved this bug to GitHub issue #5 'Snapcraft should be able to run in clean environment with pbuilder/cowbuilder'; cowbuilder/pbuilder support was dropped there for LXC/LXD builds.
-
Related To:
canonical/snapcraft#2509
(confidence 90%)
PR merged as commit 067024732 adding initial LXD build-provider support (--use-lxd), satisfying the clean-room/cross-arch build need behind a different mechanism.
-
Duplicate Of:
snapcraft (launchpad)#1805221
(confidence 80%)
Later Launchpad bug 'Build environment with lxd (--use-lxd)' tracked the same clean-build feature and was closed by the same LXD provider work.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #5 Snapcraft should be able to run in clean environment with pbuilder/cowbuilder | snapcraft | closed | Cowbuilder/pbuilder support was abandoned in favor of clean LXC/LXD builds; --use-lxd later merged in canonical/snapcraft#2509 via 067024732. | |
| #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. | |
| #1796980 Remove cleanbuild | snapcraft (launchpad) | closed | Merged snapcore/snapcraft#2335 as 27ec9ba63, removing LXD lifecycle builds for base-based snaps and making cleanbuild redundant for them. | |
| #328 New command cleanbuild (using lxd) | snapcraft | merged | Merged via2f6116267 (branch feature/1480144/cleanbuild-lxd): adds the cleanbuild command building in LXD containers, dropping pylxd due to API/Python 3 breakage. Later fixes followed in #1610, #1807 and #2404. | |
| #1805221 Build environment with lxd (--use-lxd) | snapcraft (launchpad) | closed | LXD build-provider support was implemented and merged in snapcraft PR #2509 (commit 067024732, "build providers: initial support for LXD"), making `snapcraft --use-lxd` run lifecycle steps and clean in an LXD container. Bug closed. | |
| #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. |