fix: make snap build on all architectures. (#1377)
Metadata
Current evaluation
Merged #1481 cherry-picked #1377’s f5558b8f fix, restoring feature-branch snap builds on armhf, arm64, ppc64el, and s390x.
Resolution: closed resolved
Reason: PR #1481 was merged after cherry-picking commit f5558b8f from #1377. Launchpad builds confirmed successful multi-platform builds on all four supported architectures.
Evaluated by: mr-cal-bot
No scores available.
Issue body
This is a cherry-pick of commit f5558b8f39faf96332be63b to get this feature-branch working again and give us some breathing room until we can fully merge `origin/main` (which needs to migrate the extension support to the new craft-application-based code).
Original commit message:
----------
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 |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged #1481 cherry-picked #1377’s f5558b8f fix, restoring feature-branch snap builds on armhf, arm64, ppc64el, and s390x. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #1377 in commit f5558b8f, restoring feature-branch snap builds on armhf, arm64, ppc64el, and s390x using the multi-architecture fix from main. | |
| qwen/qwen3.6-35b-a3b | — | — | 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. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged cherry-pick f5558b8f39faf96332be63b to restore feature-branch functionality. The fix enables snap builds across armhf, arm64, ppc64el, and s390x, pending main branch migration. |
Update history
No update history recorded yet.
Related work
-
Duplicate Of:
charmcraft#1377
(confidence 99%)
#1481 cherry-picked the already-merged multi-architecture build fix from #1377.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1377 fix: make snap build on all architectures. | charmcraft | merged | Merged PR #1377 as f5558b8f, fixing #1369 with successful Charmcraft snap builds on armhf, arm64, ppc64el, and s390x. | |
| #1379 fix: make snap build on all architectures. (#1377) | charmcraft | closed | Merged PR #1379 as commit f5558b8f, fixing Charmcraft snap builds on armhf, arm64, ppc64el, and s390x; all four Launchpad builds passed. | |
| #2173 fix(snap): fix build on 32-bit platforms | charmcraft | merged | Merged PR #2173 as commit d1f2746a, restoring Charmcraft snap builds on 32-bit armhf platforms. | |
| #331 feat(snap): build on arm64 | fetch-service | merged | Merged PR #331 via commit 1847b25, adding arm64 to the Snap build platforms. | |
| #1024 build(snap): re-enable riscv64 and armhf | rockcraft | merged | Merged #1024 in commit a570ef92, re-enabling riscv64 and armhf Snap builds after store support and a compatible armhf uv Snap became available. | |
| #2061 fix(snap): build all packages from source | charmcraft | merged | Merged PR #2061 (commit 33519b4a), updating snap packaging to build all packages from source. | |
| #557 build: fix snap build in non-amd64 archs | rockcraft | merged | Merged PR #557 fixed Rockcraft snap builds on non-amd64 architectures lacking dependency wheels, including pygit2; merged as f03bda56. | |
| #4996 remote build: fix cross-compiling errors and `build-for: all` errors | snapcraft | closed | Fixed by merged PR canonical/snapcraft#5265 (commit f94da8f13), sending build-on architectures to Launchpad for correct cross-compilation and build-for: all behavior. |