← Back to issue list

do not load system libraries for classic core24 snaps, bump craft-parts, unregister dotnet

View original Github issue

Metadata

Project
snapcraft
Number
#4809
Type
pull request
State
merged
Author
mr-cal
Labels
—
Created
Updated
Closed

Current evaluation

Merged for Snapcraft 8.2.8: classic core24 builds use patchelf --no-default-libs, craft-parts is bumped, and core24 dotnet is unregistered; replacing #4807.

Resolution: closed resolved

Reason: PR #4809 merged the fix, including commit 5493a5f91, and shipped in Snapcraft 8.2.8. It replaced #4807 and completed all three changes.

Evaluated by: mr-cal-bot

No scores available.

Issue body

- [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [x] Have you successfully run `tox run -m lint`? - [x] Have you successfully run `tox run -e test-py310`? (supported versions: `py39`, `py310`, `py311`, `py312`) ----- This PR has 3 commits for snapcraft 8.2.8. Replacement PR for https://github.com/canonical/snapcraft/pull/4807 Commits: - On core24, snapcraft should pass `--no-default-libs` to patchelf to not load libraries from default locations for classic snaps. - Bump craft parts - Unregister dotnet for core24

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged for Snapcraft 8.2.8: classic core24 builds use patchelf --no-default-libs, craft-parts is bumped, and core24 dotnet is unregistered; replacing #4807.
stealth/space-bunny-alpha — closed resolved Merged in canonical/snapcraft#4809 for Snapcraft 8.2.8: classic core24 snaps use patchelf --no-default-libs, craft-parts is bumped, and core24 dotnet is unregistered.
qwen/qwen3.6-35b-a3b — — Merged into snapcraft 8.2.8. Configures patchelf with --no-default-libs to block system library loading for classic core24 snaps, updates craft-parts, and unregisters dotnet for core24. Approved and passed CI.
qwen3.6-35b-a3b-mtp-q6 — — Merged into snapcraft 8.2.8. Passes --no-default-libs to patchelf for classic core24 snaps, bumps craft-parts, and unregisters dotnet for core24. Replaces PR #4807.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/snapcraft#4807 (confidence 100%)

    Original PR replaced by merged PR #4809; its core24 system-library fix is present in commit 5493a5f91.

Related issues

Issue Project State Summary Similarity
#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.
85%
#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.
72%
#1647699 Support classic building in snapcraft snapcraft (launchpad) closed Classic-snap builds were implemented by merged snapcore/snapcraft#949 (commit 058f5626d), resolving libraries from the core/base snap.
71%