← Back to issue list

`snapcraft remote-build` does not support long syntax of the `architectures` top-level key.

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#2007789
Type
issue
State
open
Author
~brlin
Labels
Created
Updated
Closed

Current evaluation

snapcraft remote-build validation error for long-form architectures syntax; likely fixed by PR #4793/craft-application PR #343

Suggested action: close not a bug

Reason: This issue reports a validation error with the long-form architectures syntax in snapcraft remote-build. A related issue (#4780) was closed as fixed via PR #4793 and craft-application PR #343, which corrected how snapcraft handles architecture definitions and build targets. Given the 1292-day age with no activity and the resolution of the related issue, this appears to have been addressed.

Impact: 60 Quick Win: 42.0 Staleness: 85 Complexity: 30 Confidence: 70 Support Request: 10

Issue body

This in the recipe: ``` architectures: - build-on: amd64 build-for: amd64 - build-on: arm64 build-for: arm64 - build-on: armhf build-for: armhf - build-on: ppc64el build-for: ppc64el ``` triggers, this: ``` Issues while validating snapcraft.yaml: The 'architectures[0]' property does not match the required schema: additional properties are not allowed ('build-for' was unexpected) or orderedDict([('build-on', 'amd64'), ('build-for', 'amd64')]) is not of type 'string' ``` Which conflicts what the documentation says: <https://forum.snapcraft.io/t/architectures/4972#heading--core22>

Evaluation history

Date Model Scores Action Summary
qwen3.6-35b-a3b-mtp-q6
Impact: 60
Quick Win: 42.0
Staleness: 85
Complexity: 30
Confidence: 70
Support Request: 10
close not a bug snapcraft remote-build validation error for long-form architectures syntax; likely fixed by PR #4793/craft-application PR #343
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 40
Confidence: 85
Support Request: 10
needs triage snapcraft remote-build fails validation when using the long-form architectures syntax in snapcraft.yaml, contradicting official documentation. Untriaged, inactive for over three years.
qwen/qwen3.6-35b-a3b
Staleness: 92
Complexity: 25
Confidence: 70
Support Request: 5
needs triage snapcraft remote-build rejects the documented long syntax for the architectures key, causing validation errors. Unlabelled, no maintainer response, inactive for over 3 years.
qwen3.6-35b-a3b-mtp-q6
Staleness: 98
Complexity: 40
Confidence: 85
Support Request: 10
close stale Reports a validation error when using the long-form architectures syntax in snapcraft.yaml during remote-build, contradicting official docs. Issue is over three years old with zero comments or maintainer engagement.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 25
Confidence: 75
Support Request: 5
close stale snapcraft remote-build fails validation when using the long-form architectures syntax in snapcraft.yaml, conflicting with documentation. The issue is unlabelled, has zero comments, and has been inactive for over three years.

Update history

No update history recorded yet.

Related work

  • Duplicate Of: snapcraft#4780 (confidence 70%)

    Issue #4780 was titled 'remote build: fails with some architecture definitions' and was fixed via PR #4793 and craft-application PR #343, which corrected architecture handling in remote-build.

Related issues

Issue Project State Summary Similarity
#2042167 remote-build doesn't support shorthand architecture format snapcraft (launchpad) open remote-build ignores shorthand architecture format in snapcraft.yaml despite documentation stating it's equivalent to full format. Untriaged, 1038 days old.
77%
#4516 regression: remote-build doesn't accept comma-seperated architectures snapcraft closed Fixed in PR #4543, the comma-separated architecture parsing regression reappeared in Snapcraft 8.2.7. The issue was closed as superseded, with the maintainer noting the regression will be tracked in a new issue.
71%