← Back to issue list

Support classic building in snapcraft

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1647699
Type
issue
State
closed
Author
~sergiusens
Labels
—
Created
Updated
Closed

Current evaluation

Classic-snap builds were implemented by merged snapcore/snapcraft#949 (commit 058f5626d), resolving libraries from the core/base snap.

Resolution: closed resolved

Reason: The maintainer linked snapcore/snapcraft#949 as the resolution. That PR was merged as commit 058f5626d and added support for building classic snaps with core-snap library resolution.

Evaluated by: mr-cal-bot

No scores available.

Issue body

When targeting classic confinement we need to make sure we resolve libraries from the core snap.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Classic-snap builds were implemented by merged snapcore/snapcraft#949 (commit 058f5626d), resolving libraries from the core/base snap.
stealth/space-bunny-alpha — closed resolved Classic-snap builds were implemented in snapcraft#949, configuring library resolution from the core/base snap; merged as 058f5626d.
stealth/space-bunny-alpha — closed resolved Classic building support landed: the maintainer closed the issue pointing at PR #949 ("project: support building classic snaps"), merged as commit 058f5626d, which adds classic build support and configures paths into the core snap.
stealth/space-bunny-alpha — closed stale Closed without a documented resolution or linked PR; later related classic-core support landed in #1047 and #1112.
qwen/qwen3.6-35b-a3b — — Closed without resolution or linked pull request. The request to resolve libraries from the core snap for classic confinement was not implemented and appears abandoned or superseded by later snapcraft updates.
qwen/qwen3.6-35b-a3b — — Closed without resolution. The classic confinement library resolution requirement was likely abandoned or superseded by later snapcraft updates that natively handle core snap library resolution.
qwen/qwen3.6-35b-a3b — — Closed without resolution. The feature request to resolve core snap libraries for classic confinement builds was abandoned due to inactivity.
qwen3.6-35b-a3b-mtp-q6 — — Closed without implementation or discussion. Likely abandoned or superseded by newer snapcraft versions. No pull requests or code changes were created to address classic confinement library resolution.

Update history

Date Change
created

Related work

  • Likely Fixed By: snapcore/snapcraft#949 (confidence 100%)

    Merged PR implementing classic-snap builds; commit 058f5626d.

  • Related To: snapcore/snapcraft#1112 (confidence 90%)

    Follow-up PR that set up the core snap for classic builds on non-Snappy CI hosts.

Related issues

Issue Project State Summary Similarity
#949 project: support building classic snaps snapcraft merged Merged PR #949 in commit 058f5626d, adding classic-snap build support and core-snap path configuration.
79%
#1752957 Building classic snap without core snap installed succeeds, but creates snap that doesn't run snapcraft (launchpad) open Legacy Snapcraft 2.x classic builds could emit a non-running snap when core was absent; the affected base and implementation are now obsolete.
78%
#1791938 Support classic when using bases snapcraft (launchpad) closed Classic confinement with base was implemented by merged PR snapcore/snapcraft#2261, commit 8096c17b3, which injects the base into classic builds.
75%
#1665081 building a classic snap does'nt remove /snap/core/current snapcraft (launchpad) closed Closed without a code fix; the maintainer clarified that SNAPCRAFT_SETUP_CLASSIC=1 is only intended for CI use.
75%
#1656187 Support core path in classic snaps for library paths snapcraft (launchpad) closed Classic-snap core library path support was delivered by merged PR #1047 in commit 6276bca73, including wrapper LD_LIBRARY_PATH handling using /snap/core/current.
74%
#3087 meta: remove snapd workaround for classic for core20 onwards snapcraft merged Merged canonical/snapcraft#3087 as commit 244b997ca, removing the automatic classic snapcraft-runner workaround for core20 and newer while retaining it for legacy bases.
74%
#1793261 Vendor legacy snapcraft to maintain backward compatibility snapcraft (launchpad) closed Legacy Snapcraft was vendored into the snapcraft snap, dispatching projects without bases to it. Delivered via merged PRs canonical/snapcraft#2283 (commit f9592939a, override-build refactor) and #2285 (commit 5c1ee3b88).
72%
#4807 fix: do not load system libraries for classic core24 snaps snapcraft closed PR #4807 was closed in favor of #4809, which merged commit 5493a5f91 and shipped in Snapcraft 8.2.8; classic core24 snaps now use patchelf --no-default-libs.
72%
#1723208 Snapcraft snap doesn't work natively on trusty snapcraft (launchpad) closed Fixed Trusty classic-snap builds by preventing bundled-library LD_LIBRARY_PATH values from leaking into build commands; merged in snapcore/snapcraft#1635 as da9181487.
72%
#1665089 snapcraft 2.27 fails to build the mosh classic snap snapcraft (launchpad) closed Resolved by snapcraft#1146, restoring reverted libc symlinks needed for classic-confinement builds such as mosh. Merged as commit 0f4872241.
71%