← Back to issue list

feat: support foreign architectures for core24

View original Github issue

Metadata

Project
snapcraft
Number
#5274
Type
pull request
State
merged
Author
mr-cal
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #5274 expanded core24 cross-compilation by allowing package-repositories and build-package entries for any supported architecture, fixing #5222 and #4542.

Resolution: closed resolved

Reason: PR #5274 was merged after approval by two reviewers. Its change removes the prior compatible-architecture restriction and explicitly identifies #5222 and #4542 as fixed.

Evaluated by: mr-cal-bot

No scores available.

Issue body

- [x] Have you followed the [guidelines for contributing](https://github.com/canonical/snapcraft/blob/main/CONTRIBUTING.md)? - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [x] Have you successfully run `make lint`? - [x] Have you successfully run `make test`? --- Improves cross-compiling support for core24 snaps. Previously, cross-compiling only worked for compatible architectures (`amd64` <-> `i386`, `arm64` <-> `armhf`). This restriction has been dropped so `package-repositories` and `build-package` entries can define entries for any supported architecture. Fixes #5222 Fixes #4542 (CRAFT-4038)

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #5274 expanded core24 cross-compilation by allowing package-repositories and build-package entries for any supported architecture, fixing #5222 and #4542.
stealth/space-bunny-alpha — closed resolved Merged PR #5274 expanded core24 cross-compilation so package-repositories and build-package entries can target any supported architecture, fixing #5222 and #4542.
stealth/space-bunny-alpha — closed resolved Merged PR #5274 expanded core24 cross-compilation to any supported architecture for build-packages and package-repositories, fixing #5222 and #4542.
stealth/space-bunny-alpha — closed resolved Merged PR #5274 expanded core24 cross-compilation, allowing package-repositories and build-package entries for any supported architecture and fixing #5222 and #4542.
stealth/space-bunny-alpha — closed resolved Merged cross-compilation support for foreign architectures in core24, allowing architecture-specific package-repositories and build-package entries beyond compatible amd64/i386 and arm64/armhf pairs.
qwen/qwen3.6-35b-a3b — — Merged after two approvals and passing CI. The change drops cross-compilation architecture restrictions for core24 snaps, allowing any supported foreign architecture in package-repositories and build-package entries. Resolves #5222 and #4542.
qwen3.6-35b-a3b-mtp-q6 — — Merged. Removes architecture restrictions for core24 snap cross-compilation, allowing any supported architecture in package-repositories and build-package entries. Resolves #5222 and #4542.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: canonical/snapcraft#5222 (confidence 100%)

    PR #5274 explicitly fixes this foreign-architecture support issue.

  • Likely Fixed By: canonical/snapcraft#4542 (confidence 95%)

    PR #5274 explicitly lists this cross-compilation package issue as fixed.

  • Related To: canonical/craft-archives#153 (confidence 95%)

    Commit 64f1092 added APT foreign-architecture support for core24 and was released in craft-archives 2.1.0.

Related issues

Issue Project State Summary Similarity
#153 feat: support foreign architectures craft-archives merged Merged PR #153 as commit 64f1092, adding APT foreign-architecture support for deb822-based Ubuntu sources, including core24; released in craft-archives 2.1.0.
80%
#4873 feat: support "build-for: [all]" in core24 snapcraft merged Merged PR #4873 as commit 319056d7a, adding core24 support for build-for: [all] and fixing #4854. The feature shipped in Snapcraft 8.4.0.
73%
#5222 Support foreign architectures snapcraft closed Foreign-architecture APT support landed in craft-archives#153 (64f1092), released in 2.1.0; Snapcraft added core24 cross-compilation coverage in b26b653c1.
72%