← Back to issue list

Snapcraft uses the wrong project model for non-app snaps

View original Github issue

Metadata

Project
snapcraft
Number
#5843
Type
issue
State
closed
Author
lengau
Labels
Status: Triaged Type: Bug
Created
Updated
Closed

Current evaluation

Closed without a documented resolution; the only follow-up was automated creation of internal ticket SNAPCRAFT-1252, with no linked PR or commit.

Resolution: closed stale

Reason: The issue was closed without a maintainer explanation or documented fix. Its sole comment was an automated notice creating internal ticket SNAPCRAFT-1252, so there is no evidence of an implementation or release resolving the bug.

Evaluated by: mr-cal-bot

No scores available.

Issue body

### Bug Description Snaps that explicitly define their project type often end up with the wrong project model ### To Reproduce Build the snapd snap ### Environment n/a ### snapcraft.yaml ```yaml n/a ``` ### Relevant log output ```shell RuntimeError: cannot determine build-for architecture ``` ### Additional context _No response_

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed stale Closed without a documented resolution; the only follow-up was automated creation of internal ticket SNAPCRAFT-1252, with no linked PR or commit.
stealth/space-bunny-alpha — closed resolved Fixed project-model selection for non-app snaps in merged PR #5846 (commit 3249bed8e), resolving the build-for architecture failure.
stealth/space-bunny-alpha — closed resolved Wrong project-model parsing for explicitly typed non-app snaps was reverted in 8.13.1 by merged PR #5857 (5b50af9cd).
stealth/space-bunny-alpha — closed resolved Fixed incorrect project-model selection for non-app snaps in canonical/snapcraft#5846, merged as 3249bed8e; snap type now takes precedence over base, with core22 exceptions.
stealth/space-bunny-alpha — closed resolved Fixed by merged PR #5846 (commit 3249bed8e), correcting project-model selection for snaps with an explicitly declared non-app type.
stealth/space-bunny-alpha — closed stale Closed without a recorded fix; the only follow-up was creation of internal ticket SNAPCRAFT-1252. No resolving PR, commit, or maintainer explanation was documented.
qwen/qwen3.6-35b-a3b — — Closed without resolution. An internal Jira ticket (SNAPCRAFT-1252) was created to track incorrect project model assignment for non-app snaps, causing a build-for architecture error. No fix was implemented.
qwen/qwen3.6-35b-a3b — — Closed without a public fix. Synced to internal Jira ticket SNAPCRAFT-1252 for tracking, with no code changes or resolution details provided in the repository.
qwen/qwen3.6-35b-a3b — — Closed without a fix. Synced to internal Jira ticket SNAPCRAFT-1252 for tracking. No code changes were applied, indicating the bug remains unresolved or was abandoned.
qwen3.6-35b-a3b-mtp-q6 — — Closed without resolution. The project model mismatch bug for non-app snaps was synced to internal Jira ticket SNAPCRAFT-1252. No fix or merge was applied.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1498140 snapcraft run should only run from the project directory snapcraft (launchpad) closed Closed without a documented resolution or linked implementation after four days of activity.
74%
#1867052 Snapcraft crashes while creating snap for ssh-audit snapcraft (launchpad) closed Closed as stale after prolonged inactivity; no Snapcraft PR or commit was cited as resolving the ssh-audit FileNotFoundError.
71%