← Back to issue list

cleanbuild (through lxd)

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1480144
Type
issue
State
closed
Author
~longsleep
Labels
wishlist
Created
Updated
Closed

Current evaluation

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

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.

Suggested action:

No scores available.

Issue body

I was trying out snapcraft current head and found that it is not the tool i can use at the moment, as i cannot compile everything quickly on the target architecture in a clean environment. For debian packages we use a combination of cowbuilder, cowdancer and pbuilder to provide clean repeatable build environment on the various target environments. It should be evaluated how building of snaps can be integrated with gear like that so it is possible to build snaps with similar gear. Ultimatively something like "ARCH=armhf snapcraft --cowbuilder ..." should produce snaps using the defined environment.

Evaluation history

Date Model Scores Action Summary
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

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1686766 cleanbuild should allow specifying options to 'lxc launch' snapcraft (launchpad) closed Request to pass custom options to lxc launch in snapcraft cleanbuild was closed without implementation, indicating the request was abandoned.
75%
#5 Snapcraft should be able to run in clean environment with pbuilder/cowbuilder snapcraft closed Closed without implementation. Maintainers recommended using LXC/LXD for clean builds instead of integrating pbuilder/cowbuilder, requesting a new issue if the alternative is insufficient.
74%
#1746612 Snapcraft cleanbuild doesn't work if you're not using the LXD snap snapcraft (launchpad) closed Closed without resolution. Snapcraft hardcodes the LXD snap path during cleanbuild, causing failures with deb-installed LXD. The report appears abandoned or superseded by updated Snapcraft versions that dynamically detect LXD installations.
74%
#1666735 snapcraft cleanbuild does not work with lxd installed via snap snapcraft (launchpad) closed Closed without resolution or merge. The report notes snapcraft cleanbuild fails to detect LXD installed via snap, suggesting checks via snap list or lxc list instead of apt cache. No fix was implemented or documented.
74%
#1570708 snapcraft should remove lxd container once finished the build snapcraft (launchpad) closed Requested automatic LXD container cleanup after snapcraft cleanbuild was closed without resolution. Zero comments and no implementation indicate the request was abandoned.
72%
#1685820 cleanbuild doesn't work in distros without /etc/apt/apt.conf.d/ snapcraft (launchpad) closed Closed without resolution. The cleanbuild command failed on non-Debian distros due to missing apt configuration. The feature was subsequently abandoned as Snapcraft deprecated LXD-based cleanbuild and shifted to cloud builders.
72%
#1610910 cleanbuild needs to support apt proxy config snapcraft (launchpad) closed Closed without resolution or discussion. The apt proxy configuration request for snapcraft cleanbuild was abandoned due to lack of engagement and evolving build tooling.
72%
#328 New command cleanbuild (using lxd) snapcraft merged Merged a new cleanbuild command using LXD for isolated builds. pylxd was removed due to API changes and Python 3 compatibility, and integration tests were skipped. Approved and merged by maintainers.
72%
#1752498 cleanbuild fails with lxd snap snapcraft (launchpad) closed A user reported snapcraft cleanbuild failing with the LXD snap due to a FUSE mount permission error inside the container. With zero comments and years of inactivity, the report was abandoned and closed without a fix or resolution.
72%
#1697979 snapcraft fails on initial cleanbuild probe snapcraft (launchpad) closed Closed without resolution. Snapcraft cleanbuild failed due to LXD connection errors when LXD was provided via a third-party snap alias. The report received no comments or fixes and was abandoned.
71%