project loader: better error message for classic
Metadata
Current evaluation
Merged PR #1025 as commit bfe41e68c, clarifying the project-loader error when classic confinement requires a core snap that is missing.
Resolution: closed resolved
Reason: PR #1025 was merged as commit bfe41e68c. It replaced the confusing classic-confinement error with guidance about the required core snap.
Evaluated by: mr-cal-bot
No scores available.
Issue body
When compiling using classic confinement the core snap is needed, the check is correct but the error message is confusing.
LP: #1650946
Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #1025 as commit bfe41e68c, clarifying the project-loader error when classic confinement requires a core snap that is missing. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #1025 (commit bfe41e68c), improving the project-loader error when classic confinement lacks the required core snap. Addresses Launchpad #1650946. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged to improve the error message when classic confinement requires the core snap. Resolved Launchpad bug #1650946 after passing CI and review. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged into master. Updated the project loader to display a clearer error message when classic confinement requires the core snap, resolving LP #1650946. Coverage remained at 96.39%. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #2484 project loader: remove special LD_LIBRARY_FLAGS handling for classic | snapcraft | merged | Merged PR #2484 (legacy branch, 2019) dropped the special classic-snap LD_LIBRARY_FLAGS handling in the project loader, which caused libc6 mismatches against the base snap. Same fix landed on master as #2485 (commit a8fce1ae5). | |
| #1112 core: setup core to support classic confinement. | snapcraft | merged | Merged PR #1112 (49b39ef9a) added SNAPCRAFT_SETUP_CORE, fetching and unsquashing core into expected paths for classic-confinement builds on non-Snappy CI hosts. | |
| #1650946 unhelpful error when building a classic snap: classic confinement requires the core_dynamic_linker to be set | snapcraft (launchpad) | closed | Resolved: the cryptic "classic confinement requires the core_dynamic_linker to be set" error was fixed by snapcore/snapcraft PR #1025 (better diagnostic) and PR #1112 / commit 49b39ef9a, which auto-installs/unpacks the core snap; Launchpad builds snapcraft 2.27+ via LP: #1650946. | |
| #1090 core: classic with no exported variables. | snapcraft | closed | Closed unmerged and superseded by snapcraft#1093, which implemented the classic-confinement fix in commit e7824093f for LP #1657504. | |
| #949 project: support building classic snaps | snapcraft | merged | Merged PR #949 in commit 058f5626d, adding classic-snap build support and core-snap path configuration. |