← Back to issue list

repo: allow for architecture-specific stage-packages

View original Github issue

Metadata

Project
snapcraft
Number
#876
Type
pull request
State
merged
Author
stgraber
Labels
—
Created
Updated
Closed

Current evaluation

Merged as 9d6f953a1 with package:arch support for stage-packages; the change was later reverted by #898 in 5ac55528f.

Resolution: closed resolved

Reason: PR #876 was merged in commit 9d6f953a1, adding package:arch syntax for architecture-specific stage packages. PR #898 later reverted it in commit 5ac55528f.

Evaluated by: mr-cal-bot

No scores available.

Issue body

This makes it possible to instruct snapcraft to only install some packages on a given architecture or set of architectures by making a part specific to a particular architecture. LP: #1637282 Signed-off-by: Stéphane Graber stgraber@ubuntu.com

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged as 9d6f953a1 with package:arch support for stage-packages; the change was later reverted by #898 in 5ac55528f.
stealth/space-bunny-alpha — closed resolved Merged as canonical/snapcraft#1059 (9e00ffc15), adding architecture-conditional stage-package grammar with optional packages and fallbacks; resolved LP #1637282.
stealth/space-bunny-alpha — closed resolved Merged as #1059 (9e00ffc15), adding stage-package architecture selection via on/try/else grammar, resolving LP #1637282.
qwen/qwen3.6-35b-a3b — — 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.
qwen3.6-35b-a3b-mtp-q6 — — Merged architecture-specific stage-packages support in snapcraft. Implemented package:arch syntax for stage-package lists, replacing rejected per-part architecture fields and slash syntax to avoid apt pocket conflicts.

Update history

No update history recorded yet.

Related work

  • Superseded By: snapcraft#898 (confidence 100%)

    Commit 5ac55528f reverted all changes introduced by #876.

Related issues

Issue Project State Summary Similarity
#3080 repo: fix for multi-arch stage-package scenario snapcraft merged Merged in commit 4a75be6ec, fixing multi-arch stage-package dependency resolution with architecture-aware package lookup.
80%
#1050 repo: add multiarch support for stage packages. snapcraft merged Merged #1050 added multiarch stage-package support via name:arch syntax, resolving LP #1655797 in commit 298f2fe85.
79%
#3459 repo: account for arch & version when filtering stage packages snapcraft closed Closed unmerged and superseded by #3461, merged as commit 0bf7a2e66 to remove architecture and version qualifiers from stage-package filters.
78%
#3416 repo: default to target arch for stage package cache snapcraft merged Merged #3416, defaulting stage package caches to the target architecture and adding Spread coverage; landed as commit 8f418e3d9.
75%
#898 Revert "Allow for architecture-specific packages (#876)" snapcraft merged Merged commit 5ac55528f reverting #876 (9d6f953a1) because its architecture-specific package syntax could not support deb multiarch.
74%
#3461 repo: account for arch & version when filtering stage packages snapcraft merged Merged in snapcraft#3461 via commit 0bf7a2e66, adding DebPackage-based filtering so architecture and version qualifiers are excluded from package-name filters.
73%
#1767 stage-packages does not respect architectures snapcraft closed Closed after PR #1788 (9e588f51e) added broken-dependency errors but not architecture support; the same multi-arch scenario was later fixed by merged PR #3080 (4a75be6ec).
72%
#1655797 Set arch for stage packages snapcraft (launchpad) closed Fixed architecture qualifiers such as i386 in stage packages via snapcore/snapcraft PR #1050.
72%
#258 packages: fetch stage-packages from host arch's repo craft-parts merged Merged in canonical/craft-parts#258 via ef86c802, fetching stage-packages from host-architecture repositories to fix cross-compilation failures.
71%
#3740 repo: enable package repository architectures snapcraft merged Merged PR #3740 via merge commit 7b848f76d; implementation 7e0403d runs dpkg --add-architecture for package-repository architectures.
71%