snapcraft in edge channel (2.39.2+git46.c22d7e2) fails to cross-compile kernel
Metadata
Current evaluation
Closed without comments. The cross-compilation failure was likely resolved in later stable releases or abandoned due to inactivity. The stable channel served as a functional workaround.
Suggested action: —
No scores available.
Issue body
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/abeato/src/tillamook/linux/prime/firmware/ath6k/AR6004/hw3.0/abtfilt-sf'
Unable to determine library dependencies for '/home/abeato/src/tillamook/linux/prime/firmware/ath10k/Qcmbr-hfp'
Unable to determine library dependencies for '/home/abeato/src/tillamook/linux/prime/firmware/ec21/quectel-CM-hf'
Unable to determine library dependencies for '/home/abeato/src/tillamook/linux/prime/firmware/ec21/quectel-CM-sf'
Unable to determine library dependencies for '/home/abeato/src/tillamook/linux/prime/firmware/ath10k/Qcmbr-sfp'
Unable to determine library dependencies for '/home/abeato/src/tillamook/linux/prime/firmware/ath6k/AR6004/hw3.0/abtfilt-hf'
Cannot find the linker to use for the target base 'core'.
Please verify that the linker exists at the expected path '/snap/core/current/lib/ld-linux-armhf.so.3' and try again. If the linker does not exist contact the author of the base (run `snap info core` to get information for this base).
$ 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: vMTKRaLjnOJQetI78HjntT37VuoyssFE
commands:
- snapcraft
tracking: edge
installed: 2.39.2+git46.c22d7e2 (1309) 43MB classic
refreshed: 2018-03-20 05:09:48 +0100 CET
channels:
stable: 2.39.2 (1177) 46MB classic
candidate: ↑
beta: ↑
edge: 2.39.2+git46.c22d7e2 (1309) 43MB classic
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Closed without comments. The cross-compilation failure was likely resolved in later stable releases or abandoned due to inactivity. The stable channel served as a functional workaround. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution. Cross-compilation failed due to missing target linker and library dependency errors in the edge channel. Issue appears abandoned or resolved by switching to the stable channel. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1560570 snapcraft needs to export CROSS32CC var when building arm64 kernel | snapcraft (launchpad) | closed | Closed without resolution. The report detailing missing CROSS32CC variable exports for arm64 kernel builds was abandoned due to age and lack of follow-up. | |
| #1769551 snapcraft 2.42 not working in trusty armhf | snapcraft (launchpad) | closed | Closed without comments or resolution. The author reverted to version 2.41, indicating the issue was abandoned or superseded by newer releases. | |
| #1569734 snapcraft kernel: Failed to download 'ubuntu-core/edge' | snapcraft (launchpad) | closed | Closed without resolution. The kernel plugin failed to download 'ubuntu-core/edge' via the store API in snapcraft 2.7. Zero comments indicate the report was abandoned or closed due to inactivity. | |
| #1984227 Snapcraft 7.1.1 does not build with core22 on riscv64 | snapcraft (launchpad) | closed | Closed without resolution or comments, effectively abandoned due to lack of activity or lack of riscv64 support. | |
| #5219 Snapcraft unable to compile ARM64 kernel | snapcraft | open | Cross-compiling an ARM64 kernel with snapcraft 7.5.8/8.5.1 fails when the kernel plugin runs 'apt-get download snapd:arm64' for snap bootstrap, because the Focal build environment has no snapd arm64 candidate. No maintainer response; reporter reproduced the apt error on Ubuntu 20/22 in Jan 2025. | |
| #1570414 Snapcraft doesn't check if cross-compiling before trying to install necessary tools | snapcraft (launchpad) | closed | Closed without resolution or comments, likely abandoned or superseded. Snapcraft failed to conditionally install cross-compilation tools, triggering armhf build errors. |