Snapcraft uses the wrong project model for non-app snaps
Metadata
Current evaluation
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.
Suggested action: —
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 |
|---|---|---|---|---|
| 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. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without resolution. The issue was synced to internal Jira ticket SNAPCRAFT-1252 but remains unfixed and appears abandoned. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1660696 Snapcraft is testing file collisions on unbuilt parts | snapcraft (launchpad) | closed | Closed without a merged fix. Snapcraft incorrectly checked file collisions on unbuilt parts, causing file not found errors. The author verified a local workaround, but the report was closed without upstream resolution or discussion. | |
| #1641123 snapcraft does not properly detect the architecture when kernel is 64 bits but userspace is 32 | snapcraft (launchpad) | closed | Closed without resolution. Snapcraft incorrectly identified arm64 architecture in 64-bit kernel/32-bit userspace chroots, generating mismatched snaps. The report was abandoned due to inactivity. | |
| #1921418 wrong architecture of stage-snaps when cross building | snapcraft (launchpad) | open | Cross-building with stage-snaps downloads the wrong architecture snap (tested on snapcraft 4.6). No comments, no activity for ~5 years, tracked under Jira label craft-415. |