stage-packages does not handle unmet dependencies
Bug #1686481 reported by
ryeterrell
This bug affects 6 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Released
|
Medium
|
Cris Dywan |
Bug Description
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://
There you can see that it's ignoring amd64 debs, but of course it should instead (I think) be attempting to download ppc64le debs.
description: | updated |
Changed in snapcraft: | |
assignee: | nobody → Christian Dywan (kalikiana) |
summary: |
- stage-packages doesn't respect architectures + stage-packages does not respect architectures |
Changed in snapcraft: | |
status: | Confirmed → In Progress |
Changed in snapcraft: | |
status: | In Progress → Fix Committed |
importance: | Undecided → Medium |
Changed in snapcraft: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
You can use syntax like `stage-packages: ['hello:<arch>']`, but the builder will need to be configured to pull debs from that arch (`dpkg --add-architect ure`).