← Back to issue list

wrong architecture of stage-snaps when cross building

View original Launchpad issue

Metadata

Project
snapcraft
Number
#1921418
Type
issue
State
open
Author
~ondrak
Labels
craft-415
Created
2021-03-25 18:25:44.066655+00:00
Updated
2021-07-30 20:10:34.320843+00:00
Closed

Current evaluation

stage-snaps fetches wrong architecture during cross-compilation via --target-arch or YAML architectures definition. Open with zero comments and inactive for over five years. Needs triage and assignment to resolve the build configuration bug.

Suggested action: close stale

Reason: The issue is over 5 years old with zero maintainer interaction or follow-up. It references snapcraft 4.6, which is severely outdated, and cross-architecture build logic has likely been significantly reworked in major subsequent releases, rendering the original report irrelevant to the current codebase.

Staleness: 98 Complexity: 55 Confidence: 90 Support Request: 10

Issue body

when using stage-snaps and building snap for different than native arch, wrong stage snap is downloaded. There are two use cases this should be considered under: - cross building with: --target-arch=<> - cross building through architecture definition e.g. architectures: - build-on: amd64 run-on: arm64 Tested with snapcraft 4.6 rev 6281

Evaluation history

Date Model Scores Action Summary
2026-06-19 02:49:51.113077+00:00 qwen3.6-35b-a3b-mtp-q6
Staleness: 98
Complexity: 55
Confidence: 90
Support Request: 10
close stale stage-snaps fetches wrong architecture during cross-compilation via --target-arch or YAML architectures definition. Open with zero comments and inactive for over five years. Needs triage and assignment to resolve the build configuration bug.
2026-06-19 02:47:40.045740+00:00 pending