← Back to issue list

fix: don't add armhf as a compatible arch for 25.10 and higher

View original Github issue

Metadata

Project
craft-archives
Number
#255
Type
pull request
State
merged
Author
mr-cal
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #255 via commit b4767b8 and released in 2.2.2; Ubuntu 25.10+ arm64 no longer auto-adds armhf compatibility, fixing #230.

Resolution: closed resolved

Reason: PR #255 was merged as commit b4767b8 with regression coverage and released in craft-archives 2.2.2. It stops arm64 hosts on Ubuntu 25.10+ from implicitly adding armhf, resolving #230.

Evaluated by: mr-cal-bot

No scores available.

Issue body

1. Adds a regression test to verify #230 ([passing](https://github.com/canonical/craft-archives/actions/runs/33777746941/job/100728034756?pr=255#step:4:50) on arm64 24.04, [failing](https://github.com/canonical/craft-archives/actions/runs/33777746941/job/100728036051?pr=255#step:4:55) on arm64 26.04) 2. For 25.10 and higher, stop adding armhf as a compatible arch for arm64. Instead, users will need to add a `package-repositories` entry for ports.ubuntu.com to get armhf. Originally, I was planning to check if `ubuntu.sources` had a `URIs: ports.ubuntu.com`. This quickly became too complicated. For example, the Github CI runners have `URIs: mirror+file:/etc/apt/apt-mirrors.txt`, and that file contains `azure.archive.ubuntu.com`. Chasing this URL and figuring out if armhf is available there gets complicated. So I opted for a simple check of the Ubuntu base. Fixes #230 Unblocks https://github.com/canonical/snapcraft/issues/6326 (CRAFT-5259) --- - [x] I've followed the [contribution guidelines](https://github.com/canonical/craft-archives/blob/main/CONTRIBUTING.md). - [x] I've signed the [CLA](http://www.ubuntu.com/legal/contributors/). - [ ] I've successfully run `make lint && make test`. - [ ] I've added or updated any relevant documentation. - [ ] In documents I changed, I [added a meta description](https://canonical-starflow.readthedocs-hosted.com/how-to/add-a-page-meta-description/) if one was missing. - [ ] I've updated the relevant release notes.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #255 via commit b4767b8 and released in 2.2.2; Ubuntu 25.10+ arm64 no longer auto-adds armhf compatibility, fixing #230.
stealth/space-bunny-alpha — closed resolved Merged PR #255 (b4767b8) stops arm64 on Ubuntu 25.10+ from auto-adding armhf, adds regression coverage, and requires ports.ubuntu.com configuration for armhf.
qwen3.6-35b-a3b-mtp-q6 — — Merged fix for #230. Stops auto-adding armhf as a compatible architecture for arm64 on Ubuntu 25.10+. Users must manually configure ports.ubuntu.com via package-repositories. Includes a regression test and passed all CI checks.
qwen3.6-35b-a3b-mtp-q6
Impact: 50
Quick Win: 32
Staleness: 0
Complexity: 35
Confidence: 75
needs review Fixes armhf compatibility for arm64 on Ubuntu 25.10+ by removing it from _COMPATIBLE_ARCHS, adds regression test. Pending review with some CI failures.

Update history

Date Change
updated
updated
updated
updated
updated
updated
updated
updated
updated
updated
updated
updated
created

Related work

  • Related To: canonical/craft-archives#230 (confidence 100%)

    The regression report fixed by this merged PR and cited as Fixes #230.

  • Related To: canonical/snapcraft#6326 (confidence 95%)

    PR #255 explicitly states that it unblocks this downstream Snapcraft issue.

Related issues

Issue Project State Summary Similarity
#230 Don't add armhf as a compatible architecture for 25.10 and newer craft-archives closed Fixed by merged PR #255 (commit b4767b8), released in craft-archives 2.2.2: on Ubuntu 25.10+ arm64 hosts no longer auto-add armhf to ubuntu.sources, since arm64 moved to archive.ubuntu.com.
85%