← Back to issue list

repo: add multiarch support for stage packages.

View original Github issue

Metadata

Project
snapcraft
Number
#1050
Type
pull request
State
merged
Author
kyrofa
Labels
Created
Updated
Closed

Current evaluation

Merged into master. Adds multiarch support for stage packages via the name:arch syntax, resolving LP #1655797. The author noted a simpler solution was proposed and reassigned the task, but the PR was ultimately merged.

Suggested action:

No scores available.

Issue body

Resolve LP: [#1655797](https://bugs.launchpad.net/snapcraft/+bug/1655797) by adding support for staging packages meant for another architecture with the 'name:arch' syntax. Note that the build machine needs to be configured to pull packages for that architecture, though (`dpkg --add-architecture`).

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged into master. Adds multiarch support for stage packages via the name:arch syntax, resolving LP #1655797. The author noted a simpler solution was proposed and reassigned the task, but the PR was ultimately merged.
qwen3.6-35b-a3b-mtp-q6 Merged to add multiarch support for stage packages via the name:arch syntax, resolving Launchpad bug #1655797. Implementation accepted despite maintainer noting a simpler alternative existed and initially reassigning the work.
qwen3.6-35b-a3b-mtp-q6 Merged. Adds multiarch support for stage packages via name:arch syntax, resolving Launchpad bug #1655797. Enables cross-architecture staging when the build host supports it. A maintainer later suggested a simpler approach and assumed ownership.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#3080 repo: fix for multi-arch stage-package scenario snapcraft merged Merged fix for multi-arch stage-package dependency resolution. Uses python-apt's or_dependencies to resolve architectures correctly, passes target_arch internally, and adds fallback logic. Approved and merged after test updates.
80%
#876 repo: allow for architecture-specific stage-packages snapcraft merged Merged. Implements architecture-specific stage-packages using a package:arch syntax in the stage-packages list. A per-part architecture approach was rejected during review. The updated code passed CI and was merged.
77%
#3084 repo: fix for multi-arch virtual-packages snapcraft merged Merged fix for multi-arch virtual package resolution. Correctly handles architecture tags, reverts or_dependencies to target_versions, and fixes an apt.Package.architectures method call. Approved and passed CI.
72%
#3416 repo: default to target arch for stage package cache snapcraft merged Merged into master following approval and passing CI. The change defaults the stage package cache to the target architecture, updates 22 files, and adds spread tests to verify the behavior.
72%
#3461 repo: account for arch & version when filtering stage packages snapcraft merged Merged into master. Refactored stage package filtering to correctly handle architecture and version qualifiers via a new helper. Updated cross-compile tests, achieved 90.74% diff coverage, and passed CI after maintainer approval.
72%
#1346 repo: multi-arch build deps snapcraft closed Closed without merging. The multi-arch build dependency changes were abandoned due to unresolved conflicts and lack of reviewer engagement after the author was asked to resolve them.
70%