stage-packages do not honor --target-arch
Bug #1737561 reported by
Loïc Minier
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Hi,
When cross-building, stage-packages are pulled for the host architecture instead of the target architecture.
Best,
- Loïc
Changed in snapcraft: | |
status: | New → Confirmed |
To post a comment you must log in.
Can you share some details on what you're building? A YAML snippet would be great.
From your wording this sounds like the expected behavior. There's a new "to" statement is underway which installs packages for a specific target architecture (https:/ /github. com/snapcore/ snapcraft/ pull/1639) as well as a :target suffix to generically install the package for the target architecture (https:/ /github. com/snapcore/ snapcraft/ pull/1536). My guess would be that one of those would address your use case.