← Back to issue list

Accept `build-for: [all]` and `--build-for=all` for architecture-independent snaps

View original Github issue

Metadata

Project
snapcraft
Number
#4854
Type
issue
State
closed
Author
lengau
Labels
Created
Updated
Closed

Current evaluation

Closed without resolution. The request to add tests and fix regressions for architecture-independent snaps on core22 and core24 was abandoned with no implementation recorded.

Suggested action:

No scores available.

Issue body

### What needs to get done Depends on: https://github.com/canonical/craft-application/issues/360 Add tests to ensure this works on Snapcraft for both core22 and core24, and fix any issues when doing this. ### Why it needs to get done This is a core24 regression: https://forum.snapcraft.io/t/architectures/4972/25

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Closed without resolution. The request to add tests and fix regressions for architecture-independent snaps on core22 and core24 was abandoned with no implementation recorded.
qwen/qwen3.6-35b-a3b Closed without resolution. The request to support build-for all for architecture-independent snaps and fix a core24 regression was abandoned after an automated Jira sync comment, with no fix or merge implemented.
qwen/qwen3.6-35b-a3b Support for build-for: [all] and --build-for=all in architecture-independent snaps was closed without resolution. No fix or pull request was merged, indicating the request was abandoned.
qwen3.6-35b-a3b-mtp-q6 Closed without implementation. The request to accept build-for all for architecture-independent snaps was abandoned, with no tests or core22/core24 fixes applied.
qwen3.6-35b-a3b-mtp-q6 Closed without implementation. The request to add tests and fixes for architecture-independent snap builds on core22 and core24 was abandoned. No pull requests or resolution details were provided.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#4603 Investigate proper support for "build-for: all" snapcraft closed Support for build-for: all was rejected in core24 due to limited demand for architecture-independent snaps. Alternatives like per-arch builds and remote-build suffice. The feature remains disabled; users should file new tickets for specific use cases.
76%
#3821 meta: architectures snapcraft merged Merged adding build-on and build-for architecture support for core22 snaps. Introduced the SNAPCRAFT_BUILD_FOR environment variable to limit builds. Temporarily drafted to fix a duplicate build regression before final merge.
73%
#1819 build(snap): update snap to core24 charmcraft closed Snap core24 build updates were closed without merging. No reviews or CI checks were completed, and the changes were abandoned.
72%
#5222 Support foreign architectures snapcraft closed Request to support foreign architectures for cross-compiled core24 snaps was closed without implementation. No pull requests were merged, indicating the feature was abandoned or deferred.
71%
#1999580 core22: wrong arch in snap.yaml when building for all archs snapcraft (launchpad) closed Abandoned. Reported incorrect architecture mapping in core22 snap.yaml for architecture-independent snaps, where build-for all incorrectly set the architecture to amd64.
71%
#360 Allow build-for "all" for platform-independent builds. craft-application closed Closed without implementation due to inactivity. The request to support all as a build-for architecture for platform-independent builds was abandoned. No resolution, merge, or follow-up PR was created.
70%