← Back to issue list

stage-packages does not handle unmet dependencies

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1686481
Type
issue
State
closed
Author
~ryeterrell
Labels
kubernetes
Created
Updated
Closed

Current evaluation

stage-packages ignored target architectures, downloading dependencies for the build host instead. Closed without comments or resolution after 288 days, effectively abandoned.

Suggested action:

No scores available.

Issue body

We're attempting to build snaps for multiple platforms from a single box (so a single platform, amd64). We're doing this with pre-built binaries and the dump plugin. We've gotten things to mostly work using the `architectures` yaml tag, but we hit a snag when we need to use `stage-packages` within a part. Instead of pulling down the platform-specific package and dependencies, it appears to pull them down for the current arch. In the following gist, the snap was built against amd64 followed by ppc64le: http://bit.ly/2oMRbLb There you can see that it's ignoring amd64 debs, but of course it should instead (I think) be attempting to download ppc64le debs.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b stage-packages ignored target architectures, downloading dependencies for the build host instead. Closed without comments or resolution after 288 days, effectively abandoned.
qwen/qwen3.6-35b-a3b Closed without resolution. stage-packages ignores cross-architecture dependencies, fetching host arch packages instead of target arch. With zero comments and significant age, the report was abandoned.
qwen/qwen3.6-35b-a3b stage-packages ignores target architecture and downloads host packages. Closed without resolution or comments, indicating the report was abandoned due to inactivity.
qwen3.6-35b-a3b-mtp-q6 stage-packages incorrectly downloads dependencies for the build host architecture instead of the target architecture. The report was closed without comments or a fix, indicating the bug was abandoned.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1660903 using an invalid architecture in stage-packages causes a mess snapcraft (launchpad) closed Closed. The issue was abandoned due to lack of comments or resolution details.
79%
#4386 stage-packages pull, fails for arm64 target architecture snapcraft closed Closed as abandoned after the author changed their build process and could not confirm if the arm64 stage-packages pull failure persists. No fix was implemented.
74%
#1737561 stage-packages do not honor --target-arch snapcraft (launchpad) open Cross-building stage-packages pulls host architecture packages instead of target architecture. Issue is 8.7 years old with no maintainer interaction or comments. Old cross-build mode deprecated in favor of core24/craft-parts architecture.
73%
#1637282 Allow for architecture-specific stage packages snapcraft (launchpad) closed The request for architecture-specific or optional stage packages was abandoned. No implementation or resolution was provided, and the issue closed after over nine years without activity.
72%
#1767 stage-packages does not respect architectures snapcraft closed Superseded by PR #1788, which addresses related functionality but does not fully resolve the architecture handling bug. The core issue remains unfixed and requires a dedicated follow-up report.
71%
#1655797 Set arch for stage packages snapcraft (launchpad) closed Closed without resolution. Snapcraft rejected architecture qualifiers in stage-packages, causing download failures. With zero comments and no fix, the report was abandoned.
71%