← Back to issue list

arch list not recognized by launchpad builder

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#2060269
Type
issue
State
closed
Author
~bryce
Labels
—
Created
Updated
Closed

Current evaluation

Fixed in snapcraft#4793 (commit 53ec55cef) which resolved shorthand architecture format handling for remote builds, with companion support in craft-application#343.

Resolution: closed resolved

Reason: The shorthand architecture format issue was fixed by merged PR canonical/snapcraft#4793 (commit 53ec55cef), which corrected remote-build architecture handling. The Launchpad bug #2042167 and GitHub issue #4780 were also resolved by this fix.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Not sure if this should be filed against snapcraft, launchpad, or some connector tooling. According to the snapcraft documentation it sounds like this should be a valid way to specify the arches: architectures: [amd64, arm64, armhf, i386, ppc64el, riscv64, s390x] However, when uploading this to Launchpad git and then manually triggering a build, only amd64 is built. It builds all the architectures when specified in this manner: architectures: - build-on: amd64 - build-on: arm64 - build-on: armhf - build-on: i386 - build-on: ppc64el - build-on: riscv64 - build-on: s390x The format's fine, it's just that it wasn't obvious or easily discoverable. An error message in a log or on Launchpad somewhere would have helped, or documentation on how to specify multiple arches.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b — closed resolved Fixed in snapcraft#4793 (commit 53ec55cef) which resolved shorthand architecture format handling for remote builds, with companion support in craft-application#343.
stealth/space-bunny-alpha
Impact: 42
Quick Win: 32
Complexity: 12
Confidence: 92
Actionability: 86
close resolved Launchpad built only amd64 from an inline core22 architecture list; documentation commit 0e9ea29b7 removed that shorthand and now prescribes separate build-on entries.
stealth/space-bunny-alpha
Impact: 52
Quick Win: 17
Complexity: 55
Confidence: 79
Actionability: 72
needs triage Launchpad silently built only amd64 from an inline architectures list; explicit build-on entries worked, but the report was never triaged.
stealth/space-bunny-alpha
Impact: 50
Quick Win: 18
Complexity: 45
Confidence: 82
Actionability: 65
needs triage Untriaged report that a documented inline architecture list built only amd64 on Launchpad, while repeated build-on entries built all seven architectures; version, base, and component ownership need confirmation.
qwen3.6-35b-a3b-mtp-q6
Impact: 25
Quick Win: 19
Staleness: 85
Complexity: 25
Confidence: 55
Support Request: 15
close stale Snapcraft architecture list format not recognized by Launchpad builder; only amd64 builds with simple list syntax, requires explicit build-on format
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 15
Confidence: 85
Support Request: 90
close not a bug Request for improved error messages or documentation when using a simple architecture list in snapcraft.yaml. Untriaged, inactive for over two years with no maintainer response.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 10
Confidence: 90
Support Request: 85
close not a bug Author reports that a simple architecture list in snapcraft.yaml fails to trigger multi-arch builds on Launchpad, while the explicit build-on format works. Suggests better error messages or documentation. No maintainer response after 838 days.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 10
Confidence: 85
Support Request: 90
close not a bug Launchpad builder only builds amd64 when architectures are specified as a simple list instead of explicit build-on entries. Author requests better documentation or error messages. Untriaged, inactive for over two years.

Update history

Date Change
closed
created

Related work

  • Likely Fixed By: canonical/snapcraft#4793 (confidence 95%)

    PR #4793 (commit 53ec55cef) fixed the shorthand architecture format handling for remote builds

  • Duplicate Of: canonical/snapcraft#4780 (confidence 90%)

    Related GitHub issue #4780 covering the same remote-build architecture handling bug

  • Duplicate Of: snapcraft (launchpad)#2042167 (confidence 90%)

    Launchpad bug #2042167 with identical root cause regarding shorthand architecture format

Related issues

Issue Project State Summary Similarity
#4780 remote build: fails with some architecture definitions snapcraft closed Remote-build architecture handling was fixed by merged PR canonical/snapcraft#4793 (commit 53ec55cef), with companion support in canonical/craft-application#343.
73%
#2007789 `snapcraft remote-build` does not support long syntax of the `architectures` top-level key. snapcraft (launchpad) closed Fixed by migrating `snapcraft remote-build` to the core22 implementation, which correctly parses the long `architectures` syntax.
71%
#4436 docs(architectures): remove shorthand notation for core22 architectures snapcraft merged Merged PR #4436 in commit 0e9ea29b7, removing core22 architecture shorthand from the docs because Launchpad does not support it; Snapcraft still accepts the syntax.
70%