You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Docker image with Ubuntu 22.04 as base to build a Python 3.10 application
snapcraft.yaml
Not applicable as build environment is broken
Relevant log output
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.
The text was updated successfully, but these errors were encountered:
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 #5079 (comment) for example docker files
Environment
Docker image with Ubuntu 22.04 as base to build a Python 3.10 application
snapcraft.yaml
Not applicable as build environment is broken
Relevant log output
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.
The text was updated successfully, but these errors were encountered: