← Back to issue list

Support foreign architectures

View original Github issue

Metadata

Project
snapcraft
Number
#5222
Type
issue
State
closed
Author
mr-cal
Labels
Created
Updated
Closed

Current evaluation

Request to support foreign architectures for cross-compiled core24 snaps was closed without implementation. No pull requests were merged, indicating the feature was abandoned or deferred.

Suggested action:

No scores available.

Issue body

### What needs to get done * Update craft-archives to bring https://github.com/canonical/craft-archives/issues/104 * Add a variant to `tests/spread/general/stage-packages` that exercises the following: ```yaml name: curl-consumer version: "0.1" summary: cross-compiled curl consumer description: | A cross-compiled snap that uses libcurl. This exercises installing libcurl-dev as a build package and staging libcurl, both from the armhf repo. grade: devel base: core24 confinement: strict platforms: armhf: build-on: [amd64] build-for: [armhf] lint: ignore: - library apps: curl-consumer: command: usr/bin/curl-consumer package-repositories: - type: apt architectures: [armhf] components: [main] suites: [noble] key-id: F6ECB3762474EDA9D21B7022871920D1991BC93C url: http://ports.ubuntu.com/ubuntu-ports parts: curl-consumer: plugin: autotools source: src build-environment: - PKG_CONFIG_PATH: "/usr/lib/arm-linux-gnueabihf/pkgconfig" build-packages: - libcurl4-openssl-dev:armhf stage-packages: - libcurl4t64:armhf autotools-configure-parameters: - --prefix=/usr - --host=${CRAFT_ARCH_TRIPLET_BUILD_FOR} ``` ### Why it needs to get done To improve the UX for cross-compiled `core24` snaps.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Request to support foreign architectures for cross-compiled core24 snaps was closed without implementation. No pull requests were merged, indicating the feature was abandoned or deferred.
qwen/qwen3.6-35b-a3b Closed without resolution or implementation. The feature request to support foreign architectures and update craft-archives appears abandoned or deferred, with the final activity being an automated Jira ticket sync.
qwen3.6-35b-a3b-mtp-q6 Closed without implementation. The request to update craft-archives for foreign architecture support and add cross-compilation tests was moved to internal Jira tracking (CRAFT-4038) and abandoned.
qwen3.6-35b-a3b-mtp-q6 Closed without implementation. The cross-architecture support request was abandoned after automated Jira ticket creation.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#150 Support foreign architectures craft-archives closed Closed without implementation. The foreign architecture support feature was abandoned, with no pull requests, tests, or production code merged.
80%
#5274 feat: support foreign architectures for core24 snapcraft merged 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.
77%
#4854 Accept `build-for: [all]` and `--build-for=all` for architecture-independent snaps snapcraft closed Closed without resolution. The request to add tests and fix regressions for architecture-independent snaps on core22 and core24 was abandoned with no implementation recorded.
71%