Skip to content

build: migrate dev to core24 - #99

Merged
jnsgruk merged 1 commit into
snapcrafters:devfrom
clwsgruk:build/dev-core24
Sep 6, 2026
Merged

build: migrate dev to core24#99
jnsgruk merged 1 commit into
snapcrafters:devfrom
clwsgruk:build/dev-core24

Conversation

@clwsgruk

@clwsgruk clwsgruk commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

Summary

  • migrate dev from core22 to core24 with compact amd64/arm64 platforms and current Craft variables
  • migrate staged runtime packages to Noble, including libcurl4t64
  • retain automatic ELF patching and convert the main executable's generated RUNPATH to a transitive RPATH so indirect dependencies stay within the snap/core24 runtime
  • launch the real Sublime executable directly, preserving /proc/self/exe, resource discovery, and Sublime's detached self-reexec behavior
  • remove the direct-loader wrapper after Focal candidate testing proved that /proc/self/exe resolves to the loader, breaking --detached re-exec and package-resource discovery
  • remove proven-unused payload libraries, narrowly exempt runtime-loaded dependency closures from the library linter, and use shared workflow defaults

Verification

  • final signed commit: fd2433f9710589487ed3602675c1240c456b5aa2
  • clean managed-LXD core24 build: sublime-text_4207_amd64.snap
  • SHA-256: 659fc07d21b738cad2aecea5076916e28168f530e853c88a2ea19570caf9a34a
  • Snapcraft linters completed with no unhandled warnings
  • packed app command is opt/sublime_text/sublime_text
  • main interpreter is /snap/core24/current/lib64/ld-linux-x86-64.so.2
  • main ELF has transitive RPATH over its own directory, the snap's target library directory, and core24 target library directories
  • no process-scoped launcher remains in the packed artifact

GUI testing of this exact dev artifact remains pending; the equivalent candidate design passed a real Focal launch, edit, save, and read-back workflow.

FYI @jnsgruk.

@clwsgruk

clwsgruk commented Sep 5, 2026

Copy link
Copy Markdown
Contributor Author

Runtime screenshots

The final dev artifact (sublime-text_4207_amd64.snap, commit fd2433f9710589487ed3602675c1240c456b5aa2) starts successfully and reports build 4207 on all three Ubuntu releases, but it is gated by an Enter License dialog. The dialog offers only Use License; it has no Skip, Continue, or evaluation action. Closing it or pressing Escape terminates the app, so editor interaction cannot be validated without a valid development-build license.

Ubuntu 20.04.6 LTS (Focal)

Sublime Text dev license gate on Ubuntu Focal

Ubuntu 22.04.5 LTS (Jammy)

Sublime Text dev license gate on Ubuntu Jammy

Ubuntu 24.04.4 LTS (Noble)

Sublime Text dev license gate on Ubuntu Noble

Noble is a side-by-side capture of the OS/version terminal and license window from the same active Wayland session.

@clwsgruk
clwsgruk marked this pull request as ready for review September 5, 2026 14:28
@jnsgruk
jnsgruk merged commit 1d2212c into snapcrafters:dev Sep 6, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants