packages: fetch stage-packages from host arch's repo
Metadata
Current evaluation
Merged in canonical/craft-parts#258 via ef86c802, fetching stage-packages from host-architecture repositories to fix cross-compilation failures.
Resolution: closed resolved
Reason: Approved PR #258 was merged through ef86c802, implementing commit 8d0ee1cd. The change uses host repositories for stage-packages, avoiding errors caused by an unregistered target architecture repository.
Evaluated by: mr-cal-bot
No scores available.
Issue body
- [X] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
-----
`stage-packages` are now fetched from the host architecture's repositories instead of the target architecture's repository.
This was causing an error during cross-compiling because the target architecture's repository was not registered.
LP: #[1983009](https://bugs.launchpad.net/snapcraft/+bug/1983009)
(CRAFT-1216)
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged in canonical/craft-parts#258 via ef86c802, fetching stage-packages from host-architecture repositories to fix cross-compilation failures. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged in canonical/craft-parts#258, fixing cross-compilation by fetching stage-packages from host architecture repositories. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged to resolve cross-compilation failures by fetching stage-packages from the host architecture repository. Approved, passed CI, and closes LP #1983009 and CRAFT-1216. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged fix resolving cross-compilation failures by fetching stage-packages from the host architecture repository instead of the unregistered target architecture repository. Resolves LP #1983009 and CRAFT-1216. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1686481 stage-packages does not handle unmet dependencies | snapcraft (launchpad) | closed | Fixed by canonical/craft-parts#258 (commit 8d0ee1cd), making stage-packages use repositories for the build host architecture when resolving cross-architecture packages. | |
| #721 fix(part_handler): fetch correct target stage packages | craft-parts | open | Targets architecture for stage-package fetches, but omits architecture:all handling; approved once with an unresolved regression-review thread and no CI after 889 days. | |
| #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. | |
| #28 Stage-packages fails at unpack_stage_packages when installing some packages | rockcraft | closed | Stage-package unpacking was fixed upstream by canonical/craft-parts#215, merged as cf1004fc, correcting symlink normalization for OpenSSL paths. |