Snapcraft doesn't check if cross-compiling before trying to install necessary tools
Bug #1570414 reported by
Kyle Fazzari
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Released
|
Critical
|
Sergio Schvezov |
Bug Description
Snapcraft supports cross-compiling (assuming the given plugin also supports it), and attempts to install the correct cross-compiler when doing so. However, it doesn't check to see that it's actually cross-compiling before building those packages, so for instance running on armhf results in:
Could not find a required package in 'build-packages': "The cache has no package named 'gcc-arm-
Changed in snapcraft: | |
status: | New → In Progress |
importance: | Undecided → Critical |
assignee: | nobody → Sergio Schvezov (sergiusens) |
Changed in snapcraft: | |
status: | In Progress → Fix Committed |
Changed in snapcraft: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
https:/ /github. com/ubuntu- core/snapcraft/ pull/451