core18/20: inconsistent architecture parsing
Metadata
Current evaluation
⚠️ This summary may be outdated — the issue content or evaluation prompts have changed since this evaluation was made.
Abandoned. The reported YAML architecture parsing inconsistency in snapcraft was closed without resolution or fix.
Suggested action: —
No scores available.
Issue body
snapcraft: 7.x (6.x)
base: core18/core20
Architecture parsing is inconsistent and preferred syntax leads to invalid yaml syntax
The following arch definition is promoted by snapcraft, but this does not follow yaml syntax and is refused by the launchpad parser
base: core20
architectures:
- build-on: amd64, arm64, armhf
run-on: armhf
- build-on: amd64, arm64
run-on: arm64
At the same time the following syntax is valid yaml, but refused by snapcraft
base: core20
architectures:
- build-on: [amd64, arm64, armhf]
run-on: armhf
- build-on: [amd64, arm64]
run-on: arm64
Error message from SN:
The 'architectures' property does not match the required schema: 'amd64' and 'arm64' are present in the 'build-on' of multiple items, which means snapcraft doesn't know which 'run-on' to use when building on those architectures
Ideally, we should support a valid yaml option, while not breaking the existing use of "current" syntax.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Abandoned. The reported YAML architecture parsing inconsistency in snapcraft was closed without resolution or fix. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution. The report highlighted inconsistent architecture parsing in snapcraft for core18/20, where promoted syntax broke YAML standards and valid YAML triggered schema errors. No fix was implemented. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without resolution. The inconsistent architecture parsing for core18/20 bases remains unaddressed, with no fix implemented or syntax update adopted. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1997752 base core20: wrong arch triplet | snapcraft (launchpad) | closed | Closed without a fix or resolution, likely abandoned due to inactivity. The report indicated Snapcraft incorrectly sets SNAPCRAFT_ARCH_TRIPLET when building on a mismatched host architecture. No comments or patches were submitted. | |
| #1605541 snapcraft-parser doesn't work | snapcraft (launchpad) | closed | Closed as a regression without resolution. snapcraft-parser 2.13 failed to parse multi-document YAML streams, causing a parser error. The issue was abandoned with no fix or follow-up. | |
| #1817288 snapcraft cleanbuild produces incorrect architecture snap | snapcraft (launchpad) | closed | Abandoned and closed without resolution. The legacy mode cleanbuild multi-arch naming bug remains unfixed due to lack of activity and deprecation of legacy mode. |