Snapcraft unable to compile ARM64 kernel
Metadata
Current evaluation
ARM64 core20 kernel cross-builds fail while fetching snapd:arm64; a minimal apt reproducer exists, but the report has no maintainer triage or release mapping.
Suggested action: needs triage
Reason: The report includes exact Snapcraft versions, build commands, package configuration, and logs, and the author later reproduced the failure directly with `apt-get download snapd:arm64` on Ubuntu 20.04 and 22.04. However, the only comment is from the reporter, there are no labels or maintainer response, and the failing function no longer exists in the current tree following kernel-plugin work including #6237, so maintainers must determine which supported releases are affected or fixed.
Evaluated by: mr-cal-bot
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha |
Impact:
45
Quick Win:
14
Complexity:
62
Confidence:
87
Actionability:
82
|
needs triage | ARM64 core20 kernel cross-builds fail while fetching snapd:arm64; a minimal apt reproducer exists, but the report has no maintainer triage or release mapping. | |
| qwen/qwen3.6-35b-a3b |
Impact:
20
Quick Win:
14
Complexity:
10
Confidence:
80
Actionability:
80
|
close not a bug | User reports snapcraft failing to cross-compile ARM64 kernel because apt cannot download snapd:arm64 package from configured repositories | |
| qwen/qwen3.8-27b |
Impact:
40
Quick Win:
18
Staleness:
78
Complexity:
55
Confidence:
55
Support Request:
25
|
needs triage | 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. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
95
Complexity:
45
Confidence:
90
Support Request:
85
|
close not a bug | Cross-compiling ARM64 kernels with snapcraft fails when downloading snapd:arm64. Inactive for over 1.5 years with no maintainer response. Author identified the root cause as an external apt repository issue rather than a snapcraft defect. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
95
Complexity:
15
Confidence:
85
Support Request:
90
|
close not a bug | Cross-compiling ARM64 kernel fails due to apt-get download snapd:arm64 error. Author identifies it as an apt repository configuration issue rather than a snapcraft bug. |
Update history
No update history recorded yet.
Related work
-
Related To:
snapcraft#6237
(confidence 90%)
Kernel-plugin migration history touches the legacy `download_snap_bootstrap` path, which is absent from the current implementation.
-
Related To:
snapcraft#5814
(confidence 78%)
Introduced the current kernel and initrd plugin implementation, replacing the legacy code path that issued `apt-get download snapd:arm64`.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #2012074 snapcraft cannot build snap by default on aarch64 | snapcraft (launchpad) | open | ARM64 default builds failed on Snapcraft 7.3.1 because core20 selected amd64-only Multipass images; later defaults use core22/LXD on Linux, addressing the reported path. | |
| #1757094 snapcraft in edge channel (2.39.2+git46.c22d7e2) fails to cross-compile kernel | snapcraft (launchpad) | closed | Cross-compile priming was fixed by snapcore/snapcraft#2012, merged as eae356003, skipping ELF dependency and linker checks for non-app snaps such as kernel snaps. | |
| #2099923 Snapcraft builds are failing: install of snap "snapcraft" failed | snapcraft (launchpad) | open | Reported Launchpad Bionic non-i386 builds cannot install Snapcraft 7.x/stable because core20 needs snapd 2.61; the issue remains open, untriaged, and unanswered. | |
| #2015091 snapcraft download debian package from incorrect arch | snapcraft (launchpad) | open | Cross-building for arm64 on amd64 resolved explicitly qualified bsdmainutils:arm64 to an amd64 package; the valid report remains untriaged and a similar bug is still open. | |
| #1866300 snapcraft fails to build core20 snap | snapcraft (launchpad) | closed | Closed without a documented fix after core20 Multipass/LXD failures; core20 build-base support was unavailable and the workaround was destructive mode. | |
| #1943603 snapcraft --target-arch=i386 does not build i386 images, because core20 does not support i386 and yet the build starts and wastes time | snapcraft (launchpad) | open | Legacy Snapcraft accepted an unsupported core20/i386 target, wasted build time, and produced an amd64 snap; current validation excludes i386 and drops core20. | |
| #1641123 snapcraft does not properly detect the architecture when kernel is 64 bits but userspace is 32 | snapcraft (launchpad) | closed | Fixed in snapcore/snapcraft#1089 by deriving the build architecture from the compiler target, preventing 32-bit ARM artifacts from being mislabeled arm64. | |
| #5638 Snapcraft fails to run on 32bit userspace container on 64bit ARM kernel. | snapcraft | closed | Fixed by merged PR #6394 (commit e51640488): Snapcraft now maps armv8l to armv7l, supporting ARMHF builds in 32-bit ARM userspace on 64-bit ARM kernels. | |
| #1569280 Snapcraft fails to strip go binaries on arm | snapcraft (launchpad) | closed | ARM cross-builds failed when ELF crawling ran ldd on Go binaries; ubuntu-core/snapcraft PR #440 made ldd failures non-fatal. | |
| #1907721 Snapcraft broken on ARM64 | snapcraft (launchpad) | closed | Closed as a configuration issue: a system-wide Python package broke apt-installed Snapcraft, while Multipass lacked ARM64 support; maintainers recommended the Snapcraft snap and --use-lxd. |