← Back to issue list

Changing to Core24 breaks docker setup

View original Github issue

Metadata

Project
snapcraft
Number
#5234
Type
issue
State
closed
Author
osteenbergen
Labels
—
Created
Updated
Closed

Current evaluation

PR #5136 (commit 2e7f5c3b9) migrated Snapcraft to core24, breaking Ubuntu 22.04 Docker hosts; #5234 was closed after acknowledgment with no recorded compatibility fix.

Resolution: closed stale

Reason: The core24 migration landed in PR #5136 at commit 2e7f5c3b9. Maintainer @mr-cal acknowledged that it should have been a major release, but no corrective, reverting, or compatibility change is documented before closure.

Evaluated by: mr-cal-bot

No scores available.

Issue body

### Bug Description Snapcraft 8 was based on core22 and now, without a mayor number change, it has switched to core24 breaking existing docker setups that use Ubuntu 22.04 as base. We use Ubuntu 22.04/core22 as that uses Python 3.10 by default, matching our internal requirements for Python. ### To Reproduce See https://github.com/canonical/snapcraft/issues/5079#issuecomment-2414747531 for example docker files ### Environment Docker image with Ubuntu 22.04 as base to build a Python 3.10 application ### snapcraft.yaml ```yaml Not applicable as build environment is broken ``` ### Relevant log output ```shell admin@39a5fec9cccd:/build$ snapcraft /snap/bin/snapcraft: 3: exec: /snap/snapcraft/current/bin/python3: not found admin@39a5fec9cccd:/build$ snapcraft /snap/bin/snapcraft: 3: exec: /snap/snapcraft/current/bin/python3: not found admin@39a5fec9cccd:/build$ ls -la /snap/snapcraft/current/bin/python3 lrwxrwxrwx 1 root root 21 Jan 23 17:19 /snap/snapcraft/current/bin/python3 -> ../usr/bin/python3.12 admin@39a5fec9cccd:/build$ ls -la /snap/snapcraft/current/usr/bin/python3.12 -rwxr-xr-x 1 root root 8031424 Jan 23 17:19 /snap/snapcraft/current/usr/bin/python3.12 admin@39a5fec9cccd:/build$ ldd /snap/snapcraft/current/usr/bin/python3.12 linux-vdso.so.1 (0x00007ffe7171f000) libm.so.6 => not found libz.so.1 => not found libexpat.so.1 => not found libc.so.6 => not found ``` ### Additional context Mostly this ticket is about why introduce a mayor change to snapcraft without upgrading the version to 9.x. Fixing the docker file by adding core24 and probably fixing python related issues is likely doable.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed stale PR #5136 (commit 2e7f5c3b9) migrated Snapcraft to core24, breaking Ubuntu 22.04 Docker hosts; #5234 was closed after acknowledgment with no recorded compatibility fix.
stealth/space-bunny-alpha — closed stale The core24 migration in PR #5136 broke Snapcraft 8 builds on Ubuntu 22.04; the issue was closed after acknowledgment without a documented compatibility fix.
stealth/space-bunny-alpha — closed stale Closed without a cited fix after the core24 migration broke Ubuntu 22.04 containers; PR #5136 (2e7f5c3b9) introduced the incompatible base.
qwen/qwen3.6-35b-a3b — — Closed without a fix. Maintainers acknowledged the core24 base switch broke Docker setups expecting core22, admitting it should have been a major release. The change was an urgent squashfs-tools update that overlooked this side effect.
qwen/qwen3.6-35b-a3b — — Closed after maintainer acknowledged the oversight. Switching to core24 broke Docker setups expecting core22. The change was an urgent squashfs-tools update that inadvertently triggered the base shift without a major version bump. No fix was applied.
qwen3.6-35b-a3b-mtp-q6 — — Closed after a maintainer acknowledged the core24 base switch was an oversight during an urgent squashfs-tools update. No fix or workaround was provided.

Update history

No update history recorded yet.

Related work

  • Caused By: canonical/snapcraft#5136 (confidence 100%)

    Merged core24 migration at commit 2e7f5c3b9 caused the incompatible base snap.

  • Related To: canonical/snapcraft#5079 (confidence 90%)

    The reporter linked an earlier Docker compatibility issue containing example Dockerfiles.

Related issues

Issue Project State Summary Similarity
#2051567 Using core24 fails due to change in apt sources snapcraft (launchpad) closed Fixed by snapcore/snapcraft#4551, which bumped craft-providers to 1.22.0; the reporter confirmed the fix on latest/edge.
71%