← Back to issue list

Set arch for stage packages

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1655797
Type
issue
State
closed
Author
~claudioandre.br
Labels
—
Created
Updated
Closed

Current evaluation

Fixed architecture qualifiers such as i386 in stage packages via snapcore/snapcraft PR #1050.

Resolution: closed resolved

Reason: Maintainer ~kyrofa linked PR #1050 as the fix specifically for this issue. The retrieved records do not expose the merge commit SHA.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Snapcraft does not support arch usage in stage packages. - See: https://lists.ubuntu.com/archives/snapcraft/2017-January/002297.html If one tries to specify: stage-packages: - valid_package:i386 An error happens: Error downloading stage packages for part 'foo': no such package 'valid_package:i386' See also: - https://bugs.launchpad.net/snapcraft/+bug/1592022/comments/5

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Fixed architecture qualifiers such as i386 in stage packages via snapcore/snapcraft PR #1050.
stealth/space-bunny-alpha — closed resolved Architecture-qualified stage packages are now supported; fixed by merged canonical/snapcraft#1050 (commit 298f2fe85).
stealth/space-bunny-alpha — closed resolved Stage packages gained architecture-qualified name:arch support through merged PR #1050 (commit 298f2fe85), addressing the reported package-architecture selection failure.
qwen/qwen3.6-35b-a3b — — Closed without resolution. Snapcraft throws a download error when architecture qualifiers are specified in stage packages. The report was closed without comments or a fix, leaving the limitation unaddressed.
qwen/qwen3.6-35b-a3b — — Closed without resolution. Snapcraft rejected architecture qualifiers in stage-packages, causing download failures. With zero comments and no fix, the report was abandoned.
qwen/qwen3.6-35b-a3b — — Closed without resolution. Snapcraft rejects architecture qualifiers in stage packages, causing download errors. The report was abandoned with no developer response or fix implemented.
qwen3.6-35b-a3b-mtp-q6 — — Closed without resolution. Snapcraft lacks support for architecture qualifiers in stage packages, causing download failures when specifying architectures like i386. The limitation remains unaddressed.

Update history

Date Change
created

Related work

  • Likely Fixed By: snapcore/snapcraft#1050 (confidence 98%)

    The closing maintainer comment identifies this PR as the direct fix for architecture-qualified stage package names.

Related issues

Issue Project State Summary Similarity
#1664141 Set arch for build-packages snapcraft (launchpad) closed No code change: i386-qualified build-packages already worked. The separate cleanbuild multiarch failure was moved to snapcraft issue #1664857.
78%
#1637282 Allow for architecture-specific stage packages snapcraft (launchpad) closed Architecture-specific stage packages were implemented through grammar in snapcore/snapcraft#1059, later superseded by broader advanced-grammar support.
76%
#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.
75%
#1660903 using an invalid architecture in stage-packages causes a mess snapcraft (launchpad) closed Closed as stale after the legacy stage-package path was removed; modern Snapcraft now rejects hello:invalid as an unfindable package without suggesting dpkg --add-architecture.
73%
#876 repo: allow for architecture-specific stage-packages snapcraft merged Merged as 9d6f953a1 with package:arch support for stage-packages; the change was later reverted by #898 in 5ac55528f.
72%
#5997 Stage package filtering doesn't deal with foreign arch packages (e.g. i386 on amd64) snapcraft open Foreign-architecture stage packages such as xz-utils:i386 are mishandled by Snapcraft's name-only base-package filter, duplicating i386 libraries in core24/core26 snaps; maintainers recognize it as a design-first craft-parts bug, still unresolved.
71%
#1558 fix(packages/deb): preserve architecture in primed stage packages craft-parts merged Merged in canonical/craft-parts#1558 (commit 0b6a556a), preserving foreign-architecture suffixes such as :i386 in primed stage package names and adding regression coverage.
70%
#4596 fix(package): use correct target-arch on snap snapcraft merged Merged PR #4596 corrected Package service target architecture for snap builds and updated lifecycle, unit, and spread tests; landed as c68b3621c.
70%