snapcraft in edge channel (2.39.2+git46.c22d7e2) fails to cross-compile kernel
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Released
|
High
|
Sergio Schvezov |
Bug Description
Cross-compiling a kernel snap using snapcraft in edge channel fails. Installing the one in the stable channel works though. This is in artful.
$ /snap/bin/snapcraft --target-arch=armhf
Setting target machine to 'armhf'
Cross compiling kernel target 'arm'
Skipping pull firmware (already ran)
Skipping build firmware (already ran)
Skipping stage firmware (already ran)
Skipping pull kernel (already ran)
Skipping build kernel (already ran)
Skipping stage kernel (already ran)
Priming firmware
Unable to determine library dependencies for '/home/
Unable to determine library dependencies for '/home/
Unable to determine library dependencies for '/home/
Unable to determine library dependencies for '/home/
Unable to determine library dependencies for '/home/
Unable to determine library dependencies for '/home/
Cannot find the linker to use for the target base 'core'.
Please verify that the linker exists at the expected path '/snap/
$ snap info snapcraft
name: snapcraft
summary: easily create snaps
publisher: canonical
contact: <email address hidden>
license: unknown
description: |
Snapcraft aims to make upstream developers' lives easier and as such is not a
single toolset, but instead is a collection of tools that enable the natural
workflow of an upstream to be extended with a simple release step into Snappy
enabled system.
snap-id: vMTKRaLjnOJQetI
commands:
- snapcraft
tracking: edge
installed: 2.39.2+
refreshed: 2018-03-20 05:09:48 +0100 CET
channels:
stable: 2.39.2 (1177) 46MB classic
candidate: ↑
beta: ↑
edge: 2.39.2+
Changed in snapcraft: | |
importance: | Undecided → High |
status: | New → In Progress |
assignee: | nobody → Sergio Schvezov (sergiusens) |
Changed in snapcraft: | |
status: | In Progress → Fix Committed |
Changed in snapcraft: | |
status: | Fix Committed → Fix Released |
beyond the standard kernel stuff the snapcraft.yaml
has the following firmware part
(seems this is what snapcraft stumbles over):
firmware: PART_INSTALL/
plugin: nil
source: <url to customer git tree for pre-compiled firmware binaries>
install: |
cp -a firmware $SNAPCRAFT_