← Back to issue list

Support foreign architectures

View original Github issue

Metadata

Project
craft-archives
Number
#150
Type
issue
State
closed
Author
mr-cal
Labels
—
Created
Updated
Closed

Current evaluation

Foreign-architecture support shipped in craft-archives 2.1.0 via merged PR #153 (64f1092), replacing prototype #149 and enabling cross-compilation dependencies.

Resolution: closed resolved

Reason: PR #153 was merged as commit 64f1092, adding apt architecture support for deb822 Ubuntu sources with tests. The completed support was released in craft-archives 2.1.0.

Evaluated by: mr-cal-bot

No scores available.

Issue body

### What needs to get done Turn the [prototype](#149) from [issue 104](#104) into production code and merge to main. This includes: * add unit tests * add an integration test * decide on the cutoff - do we only support 24.04 and newer? Or if it the system has an `/etc/apt/sources.list.d/ubuntu.sources`? * release of craft-archives ### Why it needs to get done To support cross-compiling in *craft applications.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Foreign-architecture support shipped in craft-archives 2.1.0 via merged PR #153 (64f1092), replacing prototype #149 and enabling cross-compilation dependencies.
stealth/space-bunny-alpha — closed resolved Foreign-architecture support shipped in craft-archives 2.1.0: prototype PR #149 was superseded by merged PR #153 (64f1092), adding apt architecture support for deb822 Ubuntu sources.
qwen/qwen3.6-35b-a3b — — Closed without implementation. The foreign architecture support feature was abandoned, with no pull requests, tests, or production code merged.
qwen/qwen3.6-35b-a3b — — Closed without implementation. The feature request to support cross-compiling via foreign architectures was abandoned, as no code changes, tests, or merge details were recorded.
qwen/qwen3.6-35b-a3b — — Closed without implementation. The foreign architecture support feature was abandoned, with no merge or fix applied.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: canonical/craft-archives#153 (confidence 99%)

    Merged implementation of foreign-architecture support, recorded as commit 64f1092.

  • Related To: canonical/craft-archives#149 (confidence 98%)

    Prototype PR for issue #150 that was superseded by the production implementation.

  • Related To: canonical/craft-archives#104 (confidence 97%)

    Original investigation issue that led to the prototype and production implementation.

Related issues

Issue Project State Summary Similarity
#104 [Investigate] support foreign architectures craft-archives closed Foreign-architecture package installation was implemented in PR #153 (commit 64f1092) and released in craft-archives 2.1.0.
83%
#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.
82%
#149 [PROTOTYPE] feat(apt_sources_manager): support foreign architectures craft-archives closed Prototype PR #149 was closed unmerged and superseded by #153, which added foreign-architecture APT support in commit 64f1092 and shipped in craft-archives 2.1.0.
80%
#5233 [PROTOTYPE] feat: support foreign architectures snapcraft closed Prototype PR for foreign-architecture support (CRAFT-4038) was closed unmerged; maintainer mr-cal noted it was superseded by merged PR #5274, shipped on latest/edge and scheduled for Snapcraft 8.8.
78%
#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.
78%
#151 Update sources added by craft-archives craft-archives open Craft-generated deb822 sources now include explicit Architectures fields, including configured target architectures, so the requested cross-compilation behavior for craft-*.sources is already present.
71%
#532 environment: add build-on and build-for architectures craft-parts merged Merged PR #532 in commit 9f8e969e, adding build-on/build-for architecture and triplet variables, deprecating CRAFT_TARGET_ARCH and CRAFT_ARCH_TRIPLET, and fixing #514.
70%
#1027 feat: allow building on other compatible architectures craft-application merged Merged #1027 as commit 15f48281, enabling provider-compatible cross-architecture builds and CRAFT_BUILD_ON architecture selection.
70%