← Back to issue list

fix: make snap build on all architectures. (#1377)

View original Github issue

Metadata

Project
charmcraft
Number
#1379
Type
pull request
State
closed
Author
lengau
Labels
Created
Updated
Closed

Current evaluation

Merged to fix snap build failures across multiple architectures. Successfully enabled builds for armhf, arm64, ppc64el, and s390x, resolving issue #1369.

Suggested action:

No scores available.

Issue body

fixes #1369 Multi-platform build: https://launchpad.net/~lengau/+snap/snapcraft-charmcraft-084dfcb7321972fd248f5d75baf555ca - [x] [armhf](https://launchpad.net/~lengau/+snap/snapcraft-charmcraft-084dfcb7321972fd248f5d75baf555ca/+build/2296258) - [x] [arm64](https://launchpad.net/~lengau/+snap/snapcraft-charmcraft-084dfcb7321972fd248f5d75baf555ca/+build/2296257) - [x] [ppc64el](https://launchpad.net/~lengau/+snap/snapcraft-charmcraft-084dfcb7321972fd248f5d75baf555ca/+build/2296256) ([buildlog](https://launchpad.net/~lengau/+snap/snapcraft-charmcraft-084dfcb7321972fd248f5d75baf555ca/+build/2296256/+files/buildlog_snap_ubuntu_jammy_ppc64el_snapcraft-charmcraft-084dfcb7321972fd248f5d75baf555ca_BUILDING.txt.gz)) - [x] [s390x](https://launchpad.net/~lengau/+snap/snapcraft-charmcraft-084dfcb7321972fd248f5d75baf555ca/+build/2296255) ([buildlog](https://launchpad.net/~lengau/+snap/snapcraft-charmcraft-084dfcb7321972fd248f5d75baf555ca/+build/2296255/+files/buildlog_snap_ubuntu_jammy_s390x_snapcraft-charmcraft-084dfcb7321972fd248f5d75baf555ca_BUILDING.txt.gz))

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged to fix snap build failures across multiple architectures. Successfully enabled builds for armhf, arm64, ppc64el, and s390x, resolving issue #1369.
qwen3.6-35b-a3b-mtp-q6 Merged PR #1377 to resolve issue #1369 by enabling snap builds for all architectures. Validated successful compilation for armhf, arm64, ppc64el, and s390x.
qwen3.6-35b-a3b-mtp-q6 Merged the fix enabling snap builds across armhf, arm64, ppc64el, and s390x architectures. All multi-platform builds completed successfully, resolving the original issue.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1377 fix: make snap build on all architectures. charmcraft merged Merged to resolve issue #1369 by enabling snap builds across armhf, arm64, ppc64el, and s390x. Approved by two reviewers, the two-file change (+25/-40 lines) updates build configurations for full multi-platform compatibility.
91%
#1481 fix: make snap build on all architectures. (#1377) charmcraft merged Merged PR #1377 cherry-picks a commit to fix snap builds across all architectures (armhf, arm64, ppc64el, s390x). Approved and passing CI, this restores feature-branch functionality pending a full main branch migration.
87%
#2173 fix(snap): fix build on 32-bit platforms charmcraft merged Merged a one-line fix resolving snap build failures on 32-bit armhf platforms. Approved by three reviewers and validated via a successful Launchpad remote build.
78%
#331 feat(snap): build on arm64 fetch-service merged Merged after two approvals with zero unresolved comments. Adds arm64 build support for the snap package via a single-file change (+4/-0 lines). A successful build log confirms cross-architecture snap compilation is now enabled.
76%
#557 build: fix snap build in non-amd64 archs rockcraft merged Merged fix for snap builds on non-amd64 architectures, resolving missing dependency wheels. Approved by two reviewers, passed CI, and updated one file with 15 lines.
74%
#4150 meta: use build-for in snap.yaml architecture snapcraft merged Merged fix correcting snap.yaml architecture generation. When build-for is set to all, the file now correctly outputs architectures: all instead of the previous incorrect build-on value. Resolves CRAFT-1535.
72%
#5132 push of locally built snap fails on arm64 device snapcraft closed Resolved via PR #5147 and merged in #5136. A bug in the bundled unsquashfs 4.5 caused push failures on arm64 and x86_64. The fix is included in Snapcraft 8.6, targeting the candidate release on Jan 20, 2025.
70%
#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.
70%