build: fix snap build in non-amd64 archs
Metadata
Current evaluation
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.
Suggested action: —
No scores available.
Issue body
Some archs don't have wheels for some of the dependencies (like pygit2).
- [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
-----
Tested using remote-build for arm64, armhf, ppc64el, riscv64, s390x
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | 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. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged a fix for snap builds on non-amd64 architectures. Resolved missing dependency wheels, such as pygit2, enabling successful remote builds for arm64, armhf, ppc64el, riscv64, and s390x. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged a fix for snap builds on non-amd64 architectures. Resolved missing dependency wheels like pygit2 by updating build configurations. Validated via remote-build testing across arm64, armhf, ppc64el, riscv64, and s390x. |
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. | |
| #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. | |
| #1379 fix: make snap build on all architectures. (#1377) | charmcraft | closed | Merged to fix snap build failures across multiple architectures. Successfully enabled builds for armhf, arm64, ppc64el, and s390x, resolving issue #1369. | |
| #774 build(snap): update stage-packages for armhf | rockcraft | merged | Merged an update to snap stage-packages for armhf, replacing unavailable libgpgme11 and libbtrfs0 with t64 variants. Approved by two reviewers, passed CI, and modified 2 lines in 1 file. | |
| #2030 ci: build the snap on self-hosted runners | charmcraft | merged | Merged a two-line CI configuration update to build snaps on self-hosted amd64 runners. The change ensures containerized builds match the amd64 architecture required by downstream tests. Approved by two reviewers. | |
| #990 tests: fix snaps tests in armhf | snapcraft | merged | Merged into master to fix failing snap tests on the armhf architecture. Approved by a reviewer, the change updated 11 files and resolved CI failures without altering overall code coverage. | |
| #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. | |
| #1595 tests: fix the skip of snapd integration tests in armhf | snapcraft | merged | Merged a fix for snapd integration test skipping on armhf. Accessing self.deb_arch before the parent setUp caused failures. Correcting the initialization order resolved the issue. Approved by one reviewer and passed CI. | |
| #4596 fix(package): use correct target-arch on snap | snapcraft | merged | Merged following approval. Fixes incorrect target-arch in the Package service, aligns tests with craft-application updates, and updates spread tests. 14 files changed, +61/-50 lines. | |
| #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. |