Building classic snap without core snap installed succeeds, but creates snap that doesn't run
Metadata
Current evaluation
Snapcraft 2.39.x crashes with TypeError building a classic snap without the core snap installed, as get_core_dynamic_linker() returns None during patchelf. No comments or labels; 2.x series is EOL and the code path no longer exists in the current codebase.
Suggested action: close stale
Reason: The issue has had zero comments or labels and no activity for ~3079 days, and it targets snapcraft 2.39.x, a long-EOL 2.x release. The current repo layout shows the old snapcraft/internal/ tree (elf.py, pluginhandler) from the traceback has been replaced by the rewritten snapcraft/elf and snapcraft/parts modules, so the reported code path no longer exists and the problem is no longer reproducible in current versions.
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.8-27b |
Impact:
40
Quick Win:
26.0
Staleness:
95
Complexity:
35
Confidence:
65
Support Request:
10
|
close stale | Snapcraft 2.39.x crashes with TypeError building a classic snap without the core snap installed, as get_core_dynamic_linker() returns None during patchelf. No comments or labels; 2.x series is EOL and the code path no longer exists in the current codebase. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
98
Complexity:
40
Confidence:
90
Support Request:
10
|
close stale | Snapcraft 2.39.x crashes with a TypeError during the prime step when building a classic snap without the core snap installed. Issue is over 8 years old with no maintainer interaction. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
98
Complexity:
45
Confidence:
95
Support Request:
10
|
close stale | Bug report from 2016 describing a TypeError when building classic snaps without the core snap installed. Issue is completely inactive and applies to a legacy snapcraft version. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
98
Complexity:
35
Confidence:
90
Support Request:
10
|
close stale | Bug in snapcraft 2.39 where building a classic snap without the core snap causes a TypeError during the prime step. Issue is over 8 years old with no activity and targets a deprecated version. | |
| qwen3.6-35b-moe-q4 |
Staleness:
98
Complexity:
20
Confidence:
95
Support Request:
5
|
close stale | Crash in snapcraft 2.39.x during prime step when core snap is missing. Issue is over 8 years old, references a deprecated version, and lacks maintainer engagement or labels. |
Update history
No update history recorded yet.
Related work
-
Related To:
snapcraft (launchpad)#1650946
(confidence 70%)
Same root cause: missing core snap leaves core_dynamic_linker unset during classic snap builds; that bug was closed/abandoned without a fix.
-
Related To:
snapcraft (launchpad)#1736861
(confidence 50%)
Another classic-snap patchelf build failure in the 2.x era, closed without resolution.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1650946 unhelpful error when building a classic snap: classic confinement requires the core_dynamic_linker to be set | snapcraft (launchpad) | closed | Abandoned due to age and zero comments. The request to improve error messaging for missing core_dynamic_linker in classic snaps received no resolution. | |
| #1736861 classic snap fails to build with "cannot find section" | snapcraft (launchpad) | closed | Closed without comments or resolution. The snapcraft 2.37 regression causing patchelf failures in classic snaps was abandoned or resolved in a subsequent release. | |
| #1665081 building a classic snap does'nt remove /snap/core/current | snapcraft (launchpad) | closed | Closed as fixed. Snapcraft now removes /snap/core/current after building classic snaps, resolving the directory conflict that blocked core snap installation. | |
| #1760897 Classic confined snap started segfaulting after 2.40 upgrade | snapcraft (launchpad) | open | 2018 report that a classic confined snap (kubernetes-test) segfaults when built with snapcraft 2.40 due to patchelf/ELF buildid stripping; reporter found a no-patchelf workaround. No maintainer response in 8+ years; affected version long superseded. | |
| #1660302 foreign architecture builds doesn't work with classic snaps | snapcraft (launchpad) | open | Cross-arch builds (--target-arch) of classic snaps fail because the build environment lacks the core snap. Reported 2016 against snapcraft 2.x; 0 comments, no maintainer response; codebase since fully rewritten. |