Fails to cross-compile kernel for i386
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Released
|
High
|
Paolo Pisati |
Bug Description
Snapcraft fails to cross-compile kernel app for i386 since "cross-
root@c134331fc9
Linux c134331fc9ea 3.13.0-83-generic #127-Ubuntu SMP Fri Mar 11 00:25:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
root@c134331fc9
2.6
root@c134331fc9
Setting target machine to 'i686'
Setting 'i686' as the compilation target for 'tar-content'
Setting 'i686' as the compilation target for 'kernel'
Cross compiling kernel target 'x86'
Traceback (most recent call last):
File "/usr/bin/
snapcraft.
File "/usr/lib/
commands.
File "/usr/lib/
snap = lifecycle.
File "/usr/lib/
config = snapcraft.
File "/usr/lib/
return Config()
File "/usr/lib/
self.
File "/usr/lib/
part_name, plugin_name, properties)
File "/usr/lib/
return PluginHandler(
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
KeyError: 'cross-
Workaround see attached patch.
Changed in snapcraft: | |
status: | New → Triaged |
Changed in snapcraft: | |
assignee: | nobody → Christian Dywan (kalikiana) |
Changed in snapcraft: | |
assignee: | Christian Dywan (kalikiana) → Paolo Pisati (p-pisati) |
Changed in snapcraft: | |
milestone: | none → 2.35 |
status: | In Progress → Fix Committed |
Changed in snapcraft: | |
status: | Fix Committed → Fix Released |
I can reproduce this by running it on the 96boards demo:
snapcraft/ demos/96boards- kernel$ snapcraft --target-arch i386 --debug
Setting priority to high, because we should never crash this way.