Build a charmed failed
Metadata
Current evaluation
LXD 3.x lacked project support causing 'unknown flag: --project'. No Charmcraft fix; maintainers asked for lxc/os info (Aug 2021), reporter never replied, issue closed stale Jan 2024.
Resolution: closed stale
Reason: cmatsuoka and sergiusens asked for `charmcraft pack --verbose` output and `lxc`/`snap info lxd` details to confirm an old LXD (3.0.3, below the required 4.0); the reporter never responded and lengau closed the issue in January 2024 asking to reopen if still relevant. No linked PR or commit addresses it.
Evaluated by: mr-cal-bot
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')

Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed stale | LXD 3.x lacked project support causing 'unknown flag: --project'. No Charmcraft fix; maintainers asked for lxc/os info (Aug 2021), reporter never replied, issue closed stale Jan 2024. | |
| stealth/space-bunny-alpha | — | closed stale | The failure likely came from LXD lacking project support; Charmcraft required LXD 4.0+. Closed in Jan. 2024 without a fix after the requested version details went unanswered. | |
| stealth/space-bunny-alpha | — | closed stale | Closed without a verified fix after maintainers identified likely outdated LXD (3.x versus required 4.0+) and requested diagnostics; the issue was later closed as stale. | |
| 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. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #925 providers: set lxd project to 'charmcraft' | charmcraft | merged | Merged PR #925 in d82b9bb8, fixing the LXD provider regression by using the charmcraft project instead of default. | |
| #646 Failed to inject host Charmcraft snap into target environment | charmcraft | closed | Report of charmcraft 1.4.0 failing to inject the host snap into the LXD build env. Closed without a code fix: a user fixed it with `charmcraft clean --verbose` and lengau closed it in Jan 2024 as not reproducible on current versions. | |
| #511 `charmcraft pack` fails running `apt update` | charmcraft | closed | Closed with no Charmcraft code change: maintainers determined the `apt update` failure came from a broken host/LXD (fan bridge) networking setup, not a Charmcraft bug; guidance posted to Charmhub Discourse and the LXD forum. | |
| #1338 `charmcraft clean` doesn't clean | charmcraft | closed | Closed unresolved: LXD cleanup remained broken in Charmcraft 3, with the changed behavior attributed to craft-application#425, which also closed without a linked fix. | |
| #660 `charmcraft pack` fails with error writing to lxd unix socket | charmcraft | closed | A transient LXD socket timeout stopped packing; `charmcraft clean` restored operation, the error did not recur, and the reporter closed the report without a code fix. | |
| #1640 Incompatibility with latest LXD LTS | charmcraft | closed | Fixed in Charmcraft 2.6.0 by merged PR #1641 (commit 2248543f), shipping the craft-providers 1.23.1 fix for LXD versions with the LTS suffix; released to stable. |