← Back to issue list

Build a charmed failed

View original Github issue

Metadata

Project
charmcraft
Number
#506
Type
issue
State
closed
Author
hanjl93
Labels
Created
Updated
Closed

Current evaluation

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.

Suggested action:

No scores available.

Issue body

build a charmed failed. root@admin:~/my-new-charm# charmcraft build Failed to show profile 'default'. * Command that failed: 'lxc --project default profile show local:default' * Command exit code: 1 * Command standard error output: b'Error: unknown flag: --project\n' (full execution logs in '/root/snap/charmcraft/common/charmcraft-log-5c69smtr') ![Snipaste_2021-08-25_10-26-22](https://user-images.githubusercontent.com/89497692/130716059-105918a2-1d56-4569-a633-8e6dd4f7a737.png)

Evaluation history

Date Model Scores Action Summary
qwen3.6-35b-a3b-mtp-q6 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.
qwen/qwen3.6-35b-a3b Closed as abandoned. The build failed due to LXD 3.0.3 lacking project support required by charmcraft. Maintainers requested version details and logs but received no follow-up. Closed in 2024 pending reactivation if the issue persists.
qwen/qwen3.6-35b-a3b Closed as stale. The build failure stemmed from an outdated LXD version lacking required project flag support. Maintainers requested version details but received no further response. Closed due to inactivity, with a request to reopen if the problem persists.
qwen3.6-35b-a3b-mtp-q6 Closed without resolution. The build failed due to an outdated LXD version lacking the --project flag. Maintainers requested version details to confirm LXD 4.0+ compatibility but received no response. Issue closed as stale in 2024.
qwen3.6-35b-a3b-mtp-q6 Closed as stale. The charmcraft build failed because the user ran LXD 3.0.3, which lacks required project support. The tool requires LXD 4.0+. No code changes were made; upgrading LXD resolves the error.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#511 `charmcraft pack` fails running `apt update` charmcraft closed Closed as out of scope. The failure stemmed from an LXD container networking bug, not charmcraft. No code changes were implemented; users were directed to external LXD and Discourse discussions for troubleshooting.
75%
#1640 Incompatibility with latest LXD LTS charmcraft closed charmcraft failed parsing LXD 5.21 LTS version strings due to the appended LTS suffix. The issue was resolved by upgrading craft-providers to 1.23.1 and releasing the fix in charmcraft 2.6.0, now available on stable.
74%
#391 LXD issue when build multiple charms in parallel craft-providers open LXD race condition causing parallel charm build failures; reopened by maintainer after resurfacing in modern Charmcraft
73%
#560 Charmcraft pack is giving error frequently charmcraft closed Charmcraft pack failed due to an apt-get network error installing snapd in an LXD container. Maintainers linked it to a known networking issue. The reporter confirmed a workaround failed. Closed without a code fix, likely abandoned.
73%
#676 charmcraft build fails with LXD version charmcraft closed 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.
73%
#1260 Charmcraft hangs or fails with LXD 5.18 charmcraft closed Closed due to an upstream LXD bug. A fix was released for LXD 5.18 compatibility, resolving the hangs and failures. The investigation also uncovered a separate craft-providers issue tracked independently.
73%
#2833 charmcraft no longer available for `armhf` charmcraft closed Abandoned. Armhf support was intentionally dropped in Charmcraft 4. Charmcraft 3 retains support, so the LXD charm team will keep the last working revision but stop publishing new armhf builds.
71%
#554 Issues with concurrent builds charmcraft closed Concurrent charm builds triggered LXD race conditions and project conflicts. A fix resolving these concurrency issues is now included in Charmcraft, closing the issue.
71%
#1104 charmcraft pack on Ubuntu 23.04 (Lunar) fails. charmcraft closed Charmcraft pack failed on Ubuntu 23.04 due to unavailable build environments. PR #1130 addressed the issue but was blocked by an external cloud-images bug. The issue was closed pending upstream resolution.
71%
#660 `charmcraft pack` fails with error writing to lxd unix socket charmcraft closed charmcraft pack failed due to an LXD socket I/O timeout. The author closed the issue as the error did not recur after a clean rebuild. No code changes were applied.
71%