← Back to issue list

charmcraft build fails with LXD version

View original Github issue

Metadata

Project
charmcraft
Number
#676
Type
issue
State
closed
Author
psreekrishnan
Labels
Created
Updated
Closed

Current evaluation

Closed as working as intended. Maintainer clarified LXD 4.0+ is required for default builds and provided the --destructive-mode flag as an alternative to bypass the dependency.

Suggested action:

No scores available.

Issue body

I use 'charm' cli to build and publish the Juju charms. But recently that became unreachable and recommended using "charmcraft" for the same. I see an error while doing charmcraft build or pack, on LXD version. Is that is the requirement for building the charm? "_LXD '3.0.3' does not meet the minimum required version '4.0'._"

Evaluation history

Date Model Scores Action Summary
qwen3.6-35b-a3b-mtp-q6 Closed as working as intended. Maintainer clarified LXD 4.0+ is required for default builds and provided the --destructive-mode flag as an alternative to bypass the dependency.
qwen/qwen3.6-35b-a3b Closed after maintainer confirmed LXD 4.0+ is required for default builds. Provided the --destructive-mode flag as an alternative to build charms without LXD. No code changes were made.
qwen3.6-35b-a3b-mtp-q6 Closed as answered. Charmcraft requires LXD 4.0+ for default containerized builds. A maintainer confirmed the requirement and provided the --destructive-mode flag as a workaround to build locally without LXD.
qwen3.6-35b-a3b-mtp-q6 Closed as answered. Charmcraft requires LXD 4.0+ for default containerized builds. Users can bypass this requirement by passing the --destructive-mode flag to build directly on the host system.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#506 Build a charmed failed charmcraft closed charmcraft build failed due to an outdated LXD version lacking project support. Maintainers requested version details. Closed without resolution, likely abandoned, with a request to reopen if the problem persists.
73%
#507 charmcraft pack fails for apt-utils is not available charmcraft closed Closed as an environment conflict. Docker interfered with iptables, blocking apt-utils in LXD. The author resolved it by uninstalling Docker, and a maintainer confirmed the networking issue with a workaround. No code changes were made.
71%